/* Grayson Underwriting — preview stylesheet
   One file, linked from every page. Replaces the per-page inlined CSS. */

:root {
  /* Grayson brand — taken from the staging site, unchanged */
  --green:        #408F1C;   /* logo */
  --green-dark:   #2D6614;
  --green-darker: #1A3D0A;
  --green-pale:   #E5F1DD;
  --green-tint:   #85B76E;   /* logo */

  --gray:       #808080;   /* logo */
  --gray-dark:  #4A4A4A;
  --gray-mid:   #6E6E6E;
  --gray-pale:  #E5E5E2;
  --gray-soft:  #F5F5F2;

  /* structural tokens mapped onto the brand */
  --ink:      var(--green-darker);
  --ink-2:    var(--green-dark);
  --paper:    #FAFAF8;
  --paper-2:  #FFFFFF;
  --slate:    #4A4A4A;
  --slate-2:  #6E6E6E;
  --line:     #E5E5E2;
  --line-ink: rgba(255,255,255,0.18);

  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1080px;
  --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--green); }
a:hover { color: var(--green-dark); border-bottom-color: var(--green-dark); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--green); letter-spacing: -0.5px; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); line-height: 1.15; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
  display: block;
}
.eyebrow-slate { color: var(--slate-2); }

.lede { font-size: 1.17rem; line-height: 1.6; }

/* to-come marker: anything Carolyn or Tucker still needs to confirm */
.tk {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--green-dark);
  background: rgba(192, 138, 46, 0.13);
  border-bottom: 1px dashed var(--green);
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---------- masthead ---------- */
.masthead { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }

.mark { display: flex; align-items: baseline; gap: 9px; border-bottom: 0; }
.mark:hover { border-bottom: 0; }
.mark-logo { display: block; height: 38px; width: auto; }
.mark-sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green); }






/* ---------- hero ---------- */
.hero { padding: 76px 0 132px; }
.hero h1 { max-width: 20ch; color: #FFFFFF; }
.hero-lede { max-width: 62ch; margin-top: 24px; font-size: 1.17rem; line-height: 1.6; }

.hero-act { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-act .hero-mail { white-space: nowrap; font-size: 0.93rem; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: 14px 26px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 500;
}
.btn:hover { background: var(--green-dark); color: #fff; border-bottom-color: transparent; }

.btn-ghost { background: #fff; color: var(--green-darker); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--green-pale); color: var(--green-darker); border-color: var(--green); }




/* page header (interior pages) */
.pagehead { }
.pagehead h1 { max-width: 26ch; font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.pagehead p {  max-width: 60ch; margin-top: 18px; font-size: 1.1rem; }

/* ---------- signature: the route panel ---------- */
.route-lift { position: relative; z-index: 2; margin-top: -70px; margin-bottom: 88px; }
.route {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px 30px 30px;
  box-shadow: 0 18px 44px rgba(16, 35, 29, 0.13);
}
.route-title { font-family: var(--display); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-2); margin: 0 0 26px; }

.route-row { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.route-row:first-of-type { border-top: 0; padding-top: 0; }
.route-tag {
  font-family: var(--display); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--slate-2); width: 108px; flex: none; padding-top: 7px;
}
.route-tag-on { color: var(--ink); font-weight: 600; }

.route-path { display: flex; align-items: center; flex-wrap: wrap; gap: 0; row-gap: 8px; }
.node {
  font-family: var(--mono); font-size: 0.79rem; letter-spacing: 0.01em;
  border: 1px solid var(--line); border-radius: 2px; padding: 6px 11px; color: var(--slate-2); background: var(--paper);
  white-space: nowrap;
}
.link { width: 26px; height: 1px; background: var(--line); flex: none; }
.link-dash { background: none; border-top: 1px dashed var(--line); }

.route-row-on .node { border-color: var(--green); color: var(--green-darker); background: var(--green-pale); font-weight: 500; }
.route-row-on .node-end { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.route-row-on .link { background: var(--green); height: 2px; width: 44px; }

.route-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.96rem; color: var(--slate-2); }
.route-note strong { color: var(--ink); font-weight: 600; }

/* ---------- generic sections ---------- */
.band { padding: 70px 0; }
.band-tight { padding: 52px 0; }
.band-paper2 { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--green-pale); color: var(--green-darker); border-top: 1px solid var(--green-tint); border-bottom: 1px solid var(--green-tint); }
.band-ink h2 { color: var(--green-darker); }

.band-head { max-width: none; margin-bottom: 40px; }
.band-head h2 { max-width: none; }
.band-head p { margin-top: 16px; max-width: 68ch; }

/* card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; padding: 26px 24px; }
.card h3 { margin-bottom: 10px; color: var(--green); }
.card p { font-size: 0.97rem; }
.card-num { font-family: var(--display); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.02em; color: var(--green); display: block; margin-bottom: 12px; }

/* yes / no appetite columns */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.yesno-col { padding: 28px 26px; }
.yesno-single { grid-template-columns: 1fr; }
.yesno-col + .yesno-col { border-left: 1px solid var(--line); }
.yesno-head { font-family: var(--display); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.yesno-head-y { color: var(--green); }
.yesno-head-n { color: var(--slate-2); }
.yesno ul { list-style: none; margin: 0; padding: 0; }
.yesno li { font-size: 0.99rem; padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid var(--line); }
.yesno li:last-child { border-bottom: 0; }
.yesno li::before { position: absolute; left: 0; top: 8px; font-family: var(--mono); font-size: 0.85rem; }
.yesno-y li::before { content: "+"; color: var(--green); }
.yesno-n li::before { content: "\2212"; color: var(--slate-2); }

/* pull quote */
.pull { padding: 58px 0; text-align: center; }
.pull blockquote { margin: 0; color: #fff; font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.2; max-width: 20ch; margin-inline: auto; font-weight: 600; }
.pull-attr { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.92); margin-top: 24px; }

/* spec list (limits, terms) */
.spec { border-top: 1px solid var(--line); }
.spec-row { display: flex; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.spec-key { font-family: var(--display); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--slate-2); width: 210px; flex: none; padding-top: 3px; }
.spec-val { flex: 1; min-width: 240px; font-size: 1rem; color: var(--ink); }

/* callout */
.callout {
  background: var(--green-pale);
  border: 1px solid var(--green-tint);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 34px 0;
}
.callout p { font-size: 1.04rem; }

/* ---------- form ---------- */
.form-shell { background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; padding: 32px 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 0.71rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 11px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(64,143,28,0.16); }
.field textarea { min-height: 132px; resize: vertical; }
.field-hint { font-size: 0.87rem; color: var(--slate-2); margin: 7px 0 0; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.foot { background: #2D6614; color: rgba(255,255,255,0.85); padding: 52px 0 40px; font-size: 0.9rem; }
.foot a { color: #FFFFFF; border-bottom-color: rgba(255,255,255,0.35); }
.foot a:hover { color: #fff; border-bottom-color: #FFFFFF; }
.foot-top { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line-ink); }
.foot-col h4 { font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin: 0 0 13px; font-weight: 700; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-bottom { padding-top: 24px; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-legal { max-width: 62ch; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .route-row-on .link { animation: draw 620ms cubic-bezier(.2,.7,.3,1) both; animation-delay: 240ms; }
  .route-row-on .node-end { animation: settle 520ms cubic-bezier(.2,.7,.3,1) both; animation-delay: 700ms; }
  @keyframes draw { from { width: 0; } to { width: 44px; } }
  @keyframes settle { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .yesno { grid-template-columns: 1fr; }
  .yesno-col + .yesno-col { border-left: 0; border-top: 1px solid var(--line); }
  .field-2 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding: 54px 0 104px; }
  .route-lift { margin-top: -56px; margin-bottom: 64px; }
  .route { padding: 26px 20px 24px; }
  .route-tag { width: 100%; padding-top: 0; padding-bottom: 4px; }
  .route-path { row-gap: 6px; }
  .link { width: 16px; }
  .route-row-on .link { width: 28px; }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes draw { from { width: 0; } to { width: 28px; } }
  }
  .masthead .wrap { padding-top: 16px; padding-bottom: 16px; }
  .nav { gap: 15px; }
  .band { padding: 52px 0; }
  .spec-key { width: 100%; }
}

/* compact list used on the appetite reference cards */
.tight-list { list-style: none; margin: 0; padding: 0; }
.tight-list li { font-size: 0.94rem; line-height: 1.45; padding: 6px 0 6px 18px; position: relative; border-bottom: 1px solid var(--line); }
.tight-list li:last-child { border-bottom: 0; }
.tight-list li::before { content: "+"; position: absolute; left: 0; top: 6px; font-family: var(--mono); font-size: 0.8rem; color: var(--green); }
.card .spec-key { width: 34px; }


/* masthead logo */
.mark { display: flex; align-items: center; gap: 0; border-bottom: 0; }
.mark img { display: block; height: 76px; width: auto; }
@media (max-width: 700px) {
  .mark img { height: 56px; }
  .nav { justify-content: flex-start; gap: 14px 16px; }
}

/* Carolyn portrait on the About page */
.portrait { width: 100%; max-width: 220px; border-radius: 50%; display: block; margin: 0 0 22px; }


/* ---------- hero two-column ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-art { width: 100%; max-width: 420px; margin-left: auto; }
.hero-art svg { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art svg > g { animation: cardIn 620ms cubic-bezier(.2,.7,.3,1) both; }
  .hero-art svg > g:nth-child(1) { animation-delay: 60ms; }
  .hero-art svg > g:nth-child(2) { animation-delay: 150ms; }
  .hero-art svg > g:nth-child(3) { animation-delay: 240ms; }
  .hero-art svg > g:nth-child(4) { animation-delay: 460ms; }
  @keyframes cardIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; }
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-art { display: none; }
}



/* ============================================================
   Header — the masthead is the header. Hero sits under it as
   page content, with a light ring texture for depth.
   ============================================================ */

.hero, .pagehead {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCF8 55%, var(--green-pale) 100%);
  color: var(--text);
}

.hero { padding: 96px 0 186px; }
.pagehead { border-bottom: 1px solid var(--line); }


.hero h1, .pagehead h1 { color: var(--green); }
.hero h1 { max-width: 20ch; color: #FFFFFF; }
.pagehead h1 { max-width: 26ch; color: var(--green); }

.hero .eyebrow, .pagehead .eyebrow { color: var(--green); }
.hero-lede { max-width: 62ch; margin-top: 24px; color: var(--gray-dark);
             font-size: 1.17rem; line-height: 1.6; }
.hero-lede strong { color: var(--text); font-weight: 600; }
.pagehead p { color: var(--gray-dark); }

.hero-act { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-act .hero-mail { white-space: nowrap; font-size: 0.93rem; }
.hero-mail { color: var(--gray-dark); border-bottom-color: var(--green-tint); }
.hero-mail:hover { color: var(--green-dark); }

.hero .btn { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(64,143,28,0.22); }
.hero .btn:hover { background: var(--green-dark); color: #fff; }

.route { box-shadow: 0 20px 48px rgba(16,35,29,0.16); }

/* masthead is the header: logo plate, green hairline, nothing else */
.masthead { border-bottom: 2px solid var(--green); }


/* programs panel: limit chip carries the emphasis */
.route-row-on .link { background: var(--line); height: 1px; width: 18px; animation: none; }
.route-row-on .node-end { animation: none; }


/* tagline lockup in the footer */
.foot-tag {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 18px;
  max-width: 22ch;
  font-weight: 600;
}


/* statement band (replaces the attributed pull-quote) */
.pull-line {
  margin: 0 auto;
  color: var(--green-darker);
  max-width: 32ch;
  text-wrap: balance;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.25;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 74ch; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-q { font-size: 1.16rem; font-weight: 700; color: var(--green); margin: 0 0 10px; line-height: 1.32; }
.faq-a { margin: 0; color: var(--slate); font-size: 1.02rem; line-height: 1.62; }


/* ============================================================
   Homepage hero — photograph with a scrim so the copy stays legible.
   The scrim is heaviest on the left, where the text sits, and clears
   to the right so the faces and the handshake stay visible.
   ============================================================ */

.hero {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.80) 0%,
      rgba(26,61,10,0.76) 38%,
      rgba(32,72,14,0.66) 58%,
      rgba(45,102,20,0.48) 78%,
      rgba(45,102,20,0.34) 100%),
    url("assets/hero-handshake.jpg");
  background-size: cover, cover;
  background-position: center, 34% 40%;
  background-repeat: no-repeat, no-repeat;
  padding: 104px 0 116px;
}

.hero h1 { color: #FFFFFF; max-width: 20ch; }
.hero .eyebrow { color: var(--green-tint); }
.hero-lede { color: rgba(255,255,255,0.90); }
.hero-lede strong { color: #FFFFFF; font-weight: 600; }

.hero .btn {
  background: #FFFFFF;
  color: var(--green-darker);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.hero .btn:hover { background: var(--green-pale); color: var(--green-darker); }

.hero-copy { max-width: 34rem; }

/* the panel below overlaps the photograph, so it needs more lift */
.route { box-shadow: 0 24px 56px rgba(16,35,29,0.28); }

@media (max-width: 900px) {
  .hero {
    background-position: center, 42% 62%;
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.84) 0%,
        rgba(26,61,10,0.80) 48%,
        rgba(32,72,14,0.70) 100%),
      url("assets/hero-handshake.jpg");
    padding: 76px 0 84px;
  }
  .hero-copy { max-width: none; }
}


/* ---------- About header with portrait ---------- */
.pagehead-portrait .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
/* pull the portrait in from the right edge so it sits nearer the middle */
.pagehead-portrait .pagehead-img { margin-right: 13%; }
.pagehead-portrait .pagehead-copy { min-width: 0; }
.pagehead-img {
  width: 290px;
  height: 290px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
  border: 5px solid #fff;
  box-shadow: 0 14px 38px rgba(16,35,29,0.20);
}

@media (max-width: 1040px) {
  .pagehead-portrait .pagehead-img { width: 225px; height: 225px; margin-right: 4%; }
}

@media (max-width: 820px) {
  .pagehead-portrait .wrap { grid-template-columns: 1fr; gap: 28px; }
  .pagehead-img { width: 195px; height: 195px; order: -1; margin-right: 0; }
}


/* ---------- diagram in a page header ---------- */
.pagehead-diagram .wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: center;
}
.pagehead-diagram .pagehead-copy { min-width: 0; }
.pagehead-art { width: 100%; max-width: 400px; }

.pagehead-art svg { width: 100%; height: auto; display: block; }

@media (max-width: 1040px) {
  .pagehead-diagram .wrap { grid-template-columns: 1fr 330px; gap: 36px; }
}
@media (max-width: 860px) {
  .pagehead-diagram .wrap { grid-template-columns: 1fr; gap: 32px; }
  .pagehead-art { max-width: 400px; margin: 0 auto; }
}


/* a content band opening a page in place of a header */
.band-open { padding-top: 76px; }
.band-open h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); max-width: 26ch; margin-bottom: 0; color: var(--green); }
.band-open .band-head p { max-width: 70ch; }


/* ---------- document list ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.doc-name { font-size: 1.02rem; color: var(--text); }
.doc-link {
  flex: none; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green-dark); border-bottom: 1px solid var(--green-tint);
  white-space: nowrap;
}
.doc-link:hover { color: var(--green-darker); border-bottom-color: var(--green); }
.callout-note { background: var(--gray-soft); border-color: var(--line); margin: 0 0 22px; }
.callout-note p { font-size: 0.97rem; color: var(--slate-2); }
.callout-note strong { color: var(--text); font-weight: 600; }
.note-list { margin: 0; padding-left: 1.15rem; }
.note-list li { font-size: 0.97rem; color: var(--slate-2); line-height: 1.55; }
.note-list li + li { margin-top: 0.5rem; }

@media (max-width: 560px) {
  .doc { flex-direction: column; gap: 6px; align-items: flex-start; }
}

.band-open-tight { padding-bottom: 8px; }
.band-open-tight .band-head { margin-bottom: 0; }


/* an intro block standing in for a page header — same tint as .pagehead */
.band-intro {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCF8 55%, var(--green-pale) 100%);
  border-bottom: 1px solid var(--green-tint);
  padding-bottom: 64px;
}
.band-intro .band-head { margin-bottom: 0; }


/* two-column list for highlights and enhancements */
.two-col { column-count: 2; column-gap: 48px; }
.two-col .tight-list li { break-inside: avoid; }
@media (max-width: 760px) { .two-col { column-count: 1; } }


/* ---------- profile links ---------- */
.profile-links { list-style: none; margin: 22px 0 0; padding: 0; }
.profile-links li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.profile-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.97rem; font-weight: 600; color: var(--green-dark);
  border-bottom: 1px solid var(--green-tint);
}
.profile-link:hover { color: var(--green-darker); border-bottom-color: var(--green); }
.profile-link svg { flex: none; display: block; }
/* pending links are inert until a real address is supplied */
.profile-link.is-pending { pointer-events: none; opacity: 0.55; border-bottom-style: dashed; }


/* ten nav items need a little more room on mid-size screens */



/* ---------- photographic page headers ---------- */
.pagehead-photo {
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
}
.pagehead-photo h1 { color: #FFFFFF; max-width: 22ch; }
.pagehead-photo .eyebrow { color: var(--green-tint); }
.pagehead-photo p { color: rgba(255,255,255,0.92); }
.pagehead-photo .pagehead-copy { max-width: 36rem; }

.pagehead-residential {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.93) 0%,
      rgba(26,61,10,0.88) 38%,
      rgba(32,72,14,0.74) 60%,
      rgba(45,102,20,0.52) 82%,
      rgba(45,102,20,0.38) 100%),
    url("assets/hero-residential.jpg");
  background-position: center, 30% 55%;
}

@media (max-width: 900px) {

  .pagehead-residential {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.88) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-residential.jpg");
    background-position: center, 40% 55%;
  }
  .pagehead-photo .pagehead-copy { max-width: none; }
}


.pagehead-medspa {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.94) 0%,
      rgba(26,61,10,0.89) 38%,
      rgba(32,72,14,0.76) 60%,
      rgba(45,102,20,0.54) 82%,
      rgba(45,102,20,0.40) 100%),
    url("assets/hero-med-spa.jpg");
  background-position: center, 62% 42%;
}

@media (max-width: 900px) {
  .pagehead-medspa {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.80) 100%),
      url("assets/hero-med-spa.jpg");
    background-position: center, 58% 45%;
  }
}


.pagehead-allied {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 38%,
      rgba(32,72,14,0.76) 60%,
      rgba(45,102,20,0.52) 82%,
      rgba(45,102,20,0.36) 100%),
    url("assets/hero-allied-health.jpg");
  background-position: center, 72% 34%;
}

@media (max-width: 900px) {
  .pagehead-allied {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-allied-health.jpg");
    background-position: center, 68% 34%;
  }
}


.pagehead-excess {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 38%,
      rgba(32,72,14,0.74) 60%,
      rgba(45,102,20,0.50) 82%,
      rgba(45,102,20,0.34) 100%),
    url("assets/hero-excess.jpg");
  background-position: center, 55% 55%;
}

/* the tower diagram, now sitting in the page body */
.tower-wrap { max-width: 460px; }
.tower-wrap .pagehead-art { max-width: 460px; }

@media (max-width: 900px) {
  .pagehead-excess {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-excess.jpg");
    background-position: center, 55% 60%;
  }
  .tower-wrap { max-width: none; }
}


.pagehead-applications {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 40%,
      rgba(32,72,14,0.74) 62%,
      rgba(45,102,20,0.48) 84%,
      rgba(45,102,20,0.32) 100%),
    url("assets/hero-applications.jpg");
  background-position: center, 62% 55%;
}
/* the eyebrow inside this header was styled for a light ground */
.pagehead-applications .eyebrow-slate { color: var(--green-tint); }
.pagehead-applications h1 { color: #FFFFFF; }

@media (max-width: 900px) {
  .pagehead-applications {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.95) 0%,
        rgba(26,61,10,0.90) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-applications.jpg");
    background-position: center, 58% 55%;
  }
}


/* ============================================================
   Page headers: one height everywhere, whatever sits inside them
   ============================================================ */
.pagehead {
  padding: 72px 0;
  min-height: 460px;
  display: flex;
  align-items: center;
}
/* nothing inside a header may exceed the height it sets */
.pagehead-art svg { max-height: 288px; width: auto; margin: 0 auto; }
.pagehead-art { display: flex; justify-content: flex-end; }
.pagehead-portrait .pagehead-img { width: 276px; height: 276px; }
.pagehead > .wrap { width: 100%; }

@media (max-width: 1040px) {
  .pagehead { min-height: 420px; }
}
@media (max-width: 900px) {
  .pagehead { padding: 56px 0; min-height: 0; }
  .pagehead-art svg { max-height: none; }
}
@media (max-width: 600px) {
  .pagehead { padding: 52px 0; min-height: 0; }
}


/* ============================================================
   Navigation — two grouped menus, About, and a contact button
   ============================================================ */
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-group { position: relative; }

.nav-top {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--green-dark); background: none; border: 0;
  padding: 10px 14px; border-radius: 3px; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-top:hover { color: var(--green); background: var(--green-pale); }
.nav-top.is-here { color: var(--green-darker); border-bottom-color: var(--green); }
a.nav-top { text-decoration: none; }

.nav-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform 160ms ease;
}
.nav-group.is-open .nav-caret { transform: rotate(180deg); }

.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  min-width: 236px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 14px 34px rgba(16,35,29,0.16);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
}
.nav-group.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }

.nav-menu a {
  display: block; padding: 9px 12px; border-radius: 3px; border-bottom: 0;
  font-size: 0.92rem; font-weight: 600; color: var(--green-dark); white-space: nowrap;
}
.nav-menu a:hover { background: var(--green-pale); color: var(--green-darker); border-bottom: 0; }
.nav-menu a[aria-current="page"] { color: var(--green-darker); background: var(--green-pale); }

.nav-cta {
  font-family: var(--display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  background: var(--green); color: #fff; border-bottom: 0;
  padding: 11px 20px; border-radius: 3px; margin-left: 8px;
}
.nav-cta:hover { background: var(--green-dark); color: #fff; border-bottom: 0; }

@media (max-width: 820px) {
  .masthead .wrap { align-items: flex-start; }
  .nav {
    width: 100%; gap: 2px;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap;
  }
  .nav-group { position: static; width: 100%; }
  .nav-top { width: 100%; justify-content: space-between; text-align: left; }
  .nav-cta { align-self: flex-start; }
  .nav-menu {
    position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 14px;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-group.is-open .nav-menu { display: block; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
}

.pagehead-appetite {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 38%,
      rgba(32,72,14,0.74) 60%,
      rgba(45,102,20,0.50) 82%,
      rgba(45,102,20,0.34) 100%),
    url("assets/hero-appetite.jpg");
  background-position: center, 58% 55%;
}
@media (max-width: 900px) {
  .pagehead-appetite {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-appetite.jpg");
    background-position: center, 55% 55%;
  }
}

.pagehead-marketing {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 38%,
      rgba(32,72,14,0.74) 60%,
      rgba(45,102,20,0.50) 82%,
      rgba(45,102,20,0.34) 100%),
    url("assets/hero-marketing.jpg");
  background-position: center, 55% 58%;
}
@media (max-width: 900px) {
  .pagehead-marketing {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-marketing.jpg");
    background-position: center, 52% 58%;
  }
}

.pagehead-faq {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 38%,
      rgba(32,72,14,0.74) 60%,
      rgba(45,102,20,0.50) 82%,
      rgba(45,102,20,0.34) 100%),
    url("assets/hero-faq.jpg");
  background-position: center, 50% 6%;
}
@media (max-width: 900px) {
  .pagehead-faq {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-faq.jpg");
    background-position: center, 62% 6%;
  }
}

.pagehead-contact {
  background-image:
    linear-gradient(100deg,
      rgba(26,61,10,0.95) 0%,
      rgba(26,61,10,0.90) 38%,
      rgba(32,72,14,0.74) 60%,
      rgba(45,102,20,0.50) 82%,
      rgba(45,102,20,0.34) 100%),
    url("assets/hero-contact.jpg");
  background-position: center, 65% 50%;
}
@media (max-width: 900px) {
  .pagehead-contact {
    background-image:
      linear-gradient(175deg,
        rgba(26,61,10,0.94) 0%,
        rgba(26,61,10,0.89) 48%,
        rgba(32,72,14,0.78) 100%),
      url("assets/hero-contact.jpg");
    background-position: center, 62% 50%;
  }
}

.pagehead-photo .eyebrow-slate { color: var(--green-tint); }


/* long eligible-class list, set in two columns */
.two-col-list { column-count: 2; column-gap: 30px; }
.two-col-list li { break-inside: avoid; }
@media (max-width: 900px) { .two-col-list { column-count: 1; } }


/* ---------- sitewide coverage disclaimer ---------- */
.disclaimer { background: var(--gray-soft); border-top: 1px solid var(--line); padding: 26px 0; }
.disclaimer p { font-size: 0.88rem; line-height: 1.6; color: var(--slate-2); max-width: 86ch; margin: 0; }
.disclaimer a { white-space: nowrap; }

.faq-group {
  font-family: var(--display); font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green);
  margin: 46px 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--green-tint);
}
.faq-group:first-child { margin-top: 0; }
