/* Field Investing — shared styles
   Palette derived from the Liet brand guide:
   #D66844 terracotta · #E7A62E ochre · #AABCCC pale slate
   #DC5455 red-clay · #C4CDA8 sage · #7D8E9C steel-blue
   Type: Newsreader (light + light italic) for everything.
*/

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200;0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,200;1,6..72,300;1,6..72,400&display=swap');

:root {
  --paper:        #F6F1E8;       /* warm off-white background */
  --paper-soft:   #EFE7D8;       /* slightly deeper section panel */
  --ink:          #2A2622;       /* near-black warm */
  --ink-soft:     #5A4F44;       /* body text */
  --ink-mute:     #8B7E70;       /* meta / captions */
  --rule:         #D9CFBC;       /* hairline */

  --terracotta:   #D66844;
  --ochre:        #E7A62E;
  --slate:        #AABCCC;
  --clay:         #DC5455;
  --sage:         #C4CDA8;
  --steel:        #7D8E9C;

  --accent:       #5F7548;       /* mossy green — primary highlight */
  --sage-deep:    #3F4D2F;

  --maxw:         1200px;
  --gutter:       clamp(20px, 4vw, 56px);

  font-family: 'Newsreader', 'Iowan Old Style', 'Georgia', serif;
  font-weight: 300;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}

/* ---- Typography ---- */
.serif-italic { font-style: italic; font-weight: 300; }

h1, h2, h3, h4 {
  font-weight: 300;
  font-family: 'Newsreader', serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-mute);
}

p { margin: 0 0 1.1em; }
p.lead { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.5; color: var(--ink); font-weight: 300; }
.lede-italic { font-style: italic; color: var(--ink-soft); }

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .25s, color .25s; }
a:hover { border-bottom-color: var(--accent); color: var(--accent); }

a.plain { border-bottom: none; }
a.plain:hover { color: var(--accent); }

a.arrow {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  font-style: italic;
  font-size: 1.05em;
  border-bottom: none;
  color: var(--ink);
}
a.arrow::after { content: "→"; font-style: normal; transition: transform .3s ease; }
a.arrow:hover { color: var(--accent); }
a.arrow:hover::after { transform: translateX(6px); color: var(--accent); }

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(72px, 10vw, 140px) 0; }
section + section { border-top: 1px solid var(--rule); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Header ---- */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-header .brand {
  display: flex; align-items: center; gap: 12px;
  border: none;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.site-header .brand img { width: 56px; height: auto; display: block; }
.site-header nav {
  display: flex; gap: 28px;
  font-size: 15px;
  letter-spacing: 0.02em;
  align-items: center;
}
.site-header nav a { border: none; color: var(--ink-soft); font-weight: 300; transition: color .2s ease, font-weight .2s ease, background .2s ease; }
.site-header nav a:hover, .site-header nav a.active { color: var(--sage-deep); font-weight: 500; }
.site-header nav a.contact-btn {
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}
.site-header nav a.contact-btn:hover {
  background: var(--accent);
  color: var(--paper);
  font-weight: 500;
}

/* ---- Footer ---- */
.site-footer {
  padding: 56px var(--gutter) 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
}
.site-footer .colophon { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-mute); border-color: transparent; }
.site-footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 640px) {
  .site-footer { flex-direction: column; }
}
