/* Brannon Solutions. Warm craftsman: linen paper, loden leather, saddle stitching.
   Field palette + Fraunces/Source Sans 3. Mobile-first, no frameworks. */

:root {
  --loden:         #414A2C;
  --loden-dark:    #2F3720;
  --loden-soft:    #55613A;
  --tan:           #C6B48A;
  --tan-dark:      #A08A5C;
  --saddle:        #8A5A2E;
  --saddle-dark:   #6F4623;
  --cream:         #F7F2E7;
  --cream-2:       #EFE7D4;
  --paper:         #FBF7EC;
  --charcoal:      #2E2C26;
  --charcoal-soft: #56524A;
  --muted:         #7A7465;
  --line:          #E3DAC4;
  --thread:        rgba(160, 138, 92, .55);
  --thread-light:  rgba(198, 180, 138, .6);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* keep anchor targets clear of the sticky nav */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* linen weave */
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(0deg,  rgba(46,44,38,.024) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(46,44,38,.018) 0 1px, transparent 1px 3px);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--charcoal);
  margin: 0;
}
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--saddle); text-decoration: none; }
a:hover { color: var(--saddle-dark); }
img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--saddle); outline-offset: 3px; border-radius: 2px; }
.band :focus-visible, .footer :focus-visible { outline-color: var(--tan); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--loden); color: var(--cream); padding: 10px 18px;
  font-weight: 600; border-radius: 0 0 8px 0;
}
.skip:focus-visible { left: 0; color: var(--cream); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- layout utilities ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--saddle);
  margin: 0 0 16px;
}
.eyebrow.light { color: var(--tan); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--loden);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .2px;
  padding: 15px 26px;
  border-radius: 7px;
  border: 1px solid var(--loden-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 3px rgba(46,44,38,.22);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
  text-align: center;
}
.btn:hover { background: var(--loden-soft); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }

.btn-ghost {
  background: transparent;
  color: var(--loden);
  border: 1.5px solid var(--loden);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(65,74,44,.08); color: var(--loden-dark); }

.btn-tan {
  background: var(--tan);
  color: var(--loden-dark);
  border-color: var(--tan-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.3);
}
.btn-tan:hover { background: #D3C39E; color: var(--loden-dark); }

.btn-text { font-weight: 600; color: var(--saddle); border-bottom: 1px dashed var(--thread); padding-bottom: 2px; }
.btn-text:hover { color: var(--saddle-dark); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,231,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 13px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand-name {
  font-family: var(--display); font-weight: 600; font-size: 23px;
  color: var(--loden); letter-spacing: .01em;
}
.brand-b { display: inline; height: .82em; width: auto; vertical-align: baseline; margin-right: 1.5px; }

/* Mobile menu panel sits directly under the sticky header (no hard-coded offset:
   the header itself is the positioning context, so any header height works). */
.nav-links {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  padding: 6px 0 16px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(46,44,38,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .22s ease, visibility 0s linear .22s;
}
.nav-links.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .22s ease;
}
.nav-links a {
  font-weight: 600; font-size: 17px; color: var(--charcoal-soft);
  padding: 13px 22px; border-top: 1px dashed var(--line);
}
.nav-links a:hover { color: var(--loden); }
.nav-links a.btn { margin: 12px 22px 4px; color: var(--cream); border-top: 1px solid var(--loden-dark); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--loden); display: block; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: flex; flex-direction: column; gap: 56px; align-items: center; }
.hero-copy { max-width: 640px; text-align: center; }

.hero h1 {
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 22px;
}
.hero h1 em { color: var(--saddle); }
.lede {
  font-size: clamp(18px, 2.4vw, 20.5px);
  color: var(--charcoal-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.hero-cta .btn { width: 100%; max-width: 380px; }
.hero-guarantee { margin-top: 24px; font-size: 15.5px; font-weight: 600; }
.hero-guarantee a {
  color: var(--loden);
  border-bottom: 1px dashed var(--thread);
  padding-bottom: 2px;
}
.hero-guarantee a:hover { color: var(--saddle-dark); }

/* the hang tag */
.hero-tagwrap { position: relative; padding-top: 34px; }
.tag-string {
  position: absolute;
  top: 4px; left: 50%;
  width: 74px; height: 58px;
  margin-left: -58px;
  border: 2px solid var(--tan-dark);
  border-color: transparent transparent var(--tan-dark) var(--tan-dark);
  border-radius: 50%;
  transform: rotate(38deg);
  opacity: .8;
}
.tag {
  position: relative;
  width: min(320px, 84vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px 28px 26px;
  text-align: center;
  transform: rotate(1.6deg);
  box-shadow: 0 22px 44px rgba(46,44,38,.14), 0 3px 8px rgba(46,44,38,.08);
}
.tag::after {
  content: "";
  position: absolute; inset: 9px;
  border: 1px dashed var(--thread);
  border-radius: 6px;
  pointer-events: none;
}
.tag-hole {
  position: absolute; top: 16px; left: 50%;
  width: 15px; height: 15px; margin-left: -8px;
  background: var(--cream);
  border: 2px solid var(--tan-dark);
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(46,44,38,.3);
}
.tag-eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--saddle); margin: 6px 0 6px;
}
.tag-name { font-family: var(--display); font-weight: 600; font-size: 23px; color: var(--charcoal); margin: 0 0 4px; }
.tag-price { font-family: var(--display); font-weight: 700; font-size: 44px; color: var(--loden); margin: 0 0 16px; line-height: 1; }
.tag-flat { font-size: 17px; font-weight: 500; font-style: italic; color: var(--charcoal-soft); }
.tag-list { list-style: none; margin: 0 0 16px; padding: 14px 4px 2px; border-top: 1px dashed var(--line); text-align: left; }
.tag-list li {
  font-size: 15px; color: var(--charcoal-soft);
  padding: 5px 0 5px 22px; position: relative;
}
.tag-list li::before {
  content: "";
  position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px;
  background: var(--saddle);
  transform: rotate(45deg);
}
.tag-note { font-size: 13.5px; font-style: italic; color: var(--charcoal-soft); margin: 0; }

/* ---------- the letter ---------- */

.letter { padding: 26px 0 78px; }
.letter-rule {
  display: block;
  width: 74px;
  margin: 0 0 26px;
  border-bottom: 2px dashed var(--thread);
}
.letter h2 { font-size: clamp(28px, 4.6vw, 40px); margin-bottom: 22px; }
.letter p { font-size: 18px; color: var(--charcoal-soft); margin-bottom: 1.15em; }
.letter p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 700; color: var(--loden);
  font-size: 3.1em; line-height: .82; float: left; padding: 6px 10px 0 0;
}
.signoff {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 23px; color: var(--charcoal); margin-top: 34px;
}
.signoff-sub {
  display: block; font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: 13.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* ---------- sections ---------- */

.section { padding: 76px 0; }
.section.alt {
  background: linear-gradient(rgba(160,138,92,.10), rgba(160,138,92,.10));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 42px); }
.section-sub { color: var(--charcoal-soft); font-size: 17.5px; margin-top: 14px; }

/* ---------- how it works ---------- */

.steps {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 720px;
  display: flex; flex-direction: column; gap: 34px;
}
.step { position: relative; padding-left: 74px; }
.step-no {
  position: absolute; left: 0; top: -6px;
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 46px; line-height: 1; color: var(--saddle);
}
.step-no::after {
  content: "";
  display: block;
  width: 34px; margin-top: 8px;
  border-bottom: 1px dashed var(--thread);
}
.step h3 { font-size: 21.5px; margin-bottom: 7px; }
.step p { color: var(--charcoal-soft); margin: 0; }

.time-ticket {
  max-width: 620px;
  margin: 48px auto 0;
  padding: 18px 26px;
  text-align: center;
  font-size: 16.5px;
  color: var(--charcoal-soft);
  background: var(--paper);
  border: 1px dashed var(--tan-dark);
  border-radius: 8px;
}
.time-ticket strong { color: var(--loden); }

/* ---------- what you get: report contents ---------- */

.toc {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px clamp(24px, 5vw, 56px) 36px;
  box-shadow: 0 16px 36px rgba(46,44,38,.09), 0 2px 6px rgba(46,44,38,.05);
}
.toc::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px dashed var(--thread);
  border-radius: 8px;
  pointer-events: none;
}
.toc-label {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--saddle);
  margin: 0 0 10px;
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0;
  border-top: 1px dashed var(--line);
}
.toc-row:first-child { border-top: none; }
.toc-num {
  flex: none;
  width: 44px;
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 24px; line-height: 1.3;
  color: var(--saddle);
  text-align: center;
}
.toc-row h3 { font-size: 20.5px; margin-bottom: 5px; }
.toc-row p { color: var(--charcoal-soft); font-size: 16px; margin: 0; }

.build-note {
  max-width: 640px;
  margin: 34px auto 0;
  text-align: center;
  font-style: italic;
  font-size: 16px;
  color: var(--charcoal-soft);
}

/* ---------- dark bands: leather ---------- */

.band {
  position: relative;
  color: var(--cream);
  padding: 84px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(255,255,255,.055), transparent 52%),
    radial-gradient(ellipse at 85% 95%, rgba(0,0,0,.22), transparent 58%),
    radial-gradient(circle at 55% 45%, rgba(85,97,58,.4), transparent 65%),
    var(--loden);
}
.band h2 { color: var(--cream); }
.band.mission {
  background:
    radial-gradient(ellipse at 18% 8%, rgba(255,255,255,.05), transparent 52%),
    radial-gradient(ellipse at 85% 95%, rgba(0,0,0,.26), transparent 58%),
    radial-gradient(circle at 55% 45%, rgba(65,74,44,.5), transparent 65%),
    var(--loden-dark);
}

/* guarantee plate */
.g-plate {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 60px) clamp(22px, 5vw, 56px);
  border: 1px dashed var(--thread-light);
  border-radius: 14px;
  background: rgba(0,0,0,.14);
  box-shadow: inset 0 2px 12px rgba(0,0,0,.35), inset 0 -1px 0 rgba(255,255,255,.05);
}
.guarantee h2 {
  font-size: clamp(27px, 4.6vw, 44px);
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto 18px;
}
.g-sub { color: var(--tan); font-size: 18px; margin: 0 auto 30px; max-width: 520px; }

/* pressed seal */
.seal {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 26px;
}
.seal svg { width: 100%; height: 100%; display: block; }
.seal-outer, .seal-mid, .seal-inner {
  fill: none;
  stroke: var(--tan);
}
.seal-outer { stroke-width: 2.5; }
.seal-mid { stroke-width: 1; opacity: .55; }
.seal-inner { stroke-width: 1.25; }
.seal-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  fill: var(--tan);
}
.seal-b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(.88) sepia(.35);
  opacity: .92;
}

/* mission */
.mission blockquote {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(21px, 3.2vw, 29px); line-height: 1.45;
  color: var(--cream); margin: 0 0 24px;
}
.mission .vision { color: var(--tan); font-size: 17px; max-width: 620px; margin: 0 auto 26px; }
.mission .local-line {
  display: inline-block;
  font-size: 15.5px; color: var(--cream);
  padding: 12px 22px;
  border: 1px dashed var(--thread-light);
  border-radius: 8px;
  margin: 0;
}

/* ---------- not sure yet ---------- */

#mini h2 { font-size: clamp(27px, 4.2vw, 38px); margin-bottom: 16px; }
.mini-sub { color: var(--charcoal-soft); font-size: 17.5px; max-width: 580px; margin: 0 auto 30px; }
.mini-cta { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.mini-cta .btn { width: 100%; max-width: 420px; }
.mini-alt { font-size: 15.5px; color: var(--charcoal-soft); margin: 0; }

/* ---------- values ---------- */

.values { display: grid; grid-template-columns: 1fr; gap: 26px 34px; max-width: 1020px; margin: 0 auto; }
.value { border-top: 2px solid var(--saddle); padding-top: 16px; }
.value h3 { font-size: 21px; margin-bottom: 7px; color: var(--loden); }
.value p { color: var(--charcoal-soft); font-size: 15.5px; margin: 0; }

/* ---------- contact ---------- */

.contact { padding-bottom: 92px; }
.contact h2 { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 16px; }
.contact-sub { font-size: 18.5px; color: var(--charcoal-soft); margin: 0 auto 34px; }
.contact-actions {
  display: flex; flex-direction: column; gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}
.contact-actions .btn { width: 100%; max-width: 420px; }
.contact-alt { font-size: 15.5px; color: var(--charcoal-soft); margin: 0; }
.contact-alt a { font-weight: 600; }

/* ---------- footer ---------- */

.footer {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,255,255,.04), transparent 55%),
    var(--loden-dark);
  color: var(--cream);
  padding: 44px 0;
  border-top: 3px solid var(--saddle);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 22px; display: block; color: var(--cream); }
.footer-b { filter: brightness(0) invert(.95); }
.footer-tag { font-family: var(--display); font-style: italic; color: var(--tan); font-size: 15px; }
.footer-meta p { margin: 2px 0; font-size: 14px; color: var(--tan); }
.footer-meta a { color: var(--cream); }
.footer-meta a:hover { color: var(--tan); }

/* ---------- desktop and up ---------- */

@media (min-width: 700px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { width: auto; }
  .mini-cta .btn, .contact-actions .btn { width: auto; }
  .contact-actions { flex-direction: row; justify-content: center; }
  .values { grid-template-columns: 1fr 1fr; }
  .steps { gap: 0; flex-direction: row; max-width: none; }
  .step { flex: 1; padding: 0 28px 0 0; }
  .step + .step { padding-left: 28px; border-left: 1px dashed var(--line); }
  .step-no { position: static; margin-bottom: 14px; display: block; }
  .seal { width: 170px; height: 170px; }
  .seal-b { width: 62px; }
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static; inset: auto;
    background: none; box-shadow: none; border: none;
    flex-direction: row; align-items: center; gap: 28px;
    padding: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav-links a { padding: 0; border: none; font-size: 15.5px; }
  .nav-links a.btn { margin: 0; padding: 9px 18px; border: 1px solid var(--loden-dark); }
}

@media (min-width: 940px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { flex-direction: row; gap: 48px; justify-content: space-between; }
  .hero-copy { text-align: left; flex: 1 1 58%; }
  .lede { margin-left: 0; }
  .hero-cta { flex-direction: row; justify-content: flex-start; align-items: center; }
  .hero-tagwrap { flex: 0 0 auto; margin-right: 20px; }
  .values { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
