/* Mama's Daily Dough Bakery — palette + type built up from the real logo artwork
   (cocoa #633C19, crust gold #C68E45, cream #FEF9F3 sampled from the mark itself) */

/* === defensive base — injected by harden_css.py; do not hand-edit === */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: calc(var(--nav-h, 72px) + 1rem); }
img, svg, video, iframe, canvas, table { display: block; max-width: 100%; }
p, li, h1, h2, h3, h4, blockquote, td, dd, dt { overflow-wrap: anywhere; }
form[style*="min-height"] { align-content: center; }
/* === end defensive base === */

:root{
  --paper:      #FEF9F3;   /* exact background of the logo artwork */
  --paper-2:    #F9F0E1;
  --paper-3:    #F3E4CC;
  --ink:        #2C1A0C;
  --ink-soft:   #6A5240;
  --cocoa:      #633C19;
  --cocoa-dk:   #4A2C11;
  --crust:      #B8802F;
  --crust-lt:   #DCB678;
  --wheat:      #EFD6A6;
  --roast:      #23150A;
  --line:       rgba(99,60,25,.16);
  --line-2:     rgba(99,60,25,.30);

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:    'Karla', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;

  --nav-h: 64px;
  --wrap: 1200px;
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --shadow: 0 1px 2px rgba(74,44,17,.06), 0 10px 28px -12px rgba(74,44,17,.20);
  --shadow-lg: 0 2px 4px rgba(74,44,17,.07), 0 28px 60px -24px rgba(74,44,17,.32);
}

@media (min-width: 900px){ :root{ --nav-h: 78px; } }

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

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

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(15.5px, 1.02vw + 12px, 17.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* faint paper grain — gives the cream some tooth instead of flat colour */
body::before{
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}
body > *{ position: relative; z-index: 1; }

img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; }

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--cocoa-dk);
  margin: 0;
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
}

p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }

.wrap{ width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

/* hidden off the TOP, never off the side — a negative `left` reads as horizontal overflow */
.skip{
  position: absolute; left: .75rem; top: -6rem; z-index: 999;
  background: var(--cocoa); color: var(--paper); font-weight: 600;
  padding: .7rem 1.1rem; border-radius: var(--r-sm); text-decoration: none;
  transition: top .18s ease;
}
.skip:focus{ top: .75rem; }

:where(a,button,input,textarea):focus-visible{
  outline: 2.5px solid var(--crust); outline-offset: 3px; border-radius: 4px;
}

/* ============================ buttons ============================ */
.btn{
  --bg: var(--cocoa); --fg: var(--paper); --bd: var(--cocoa);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 700;
  font-size: .95rem; letter-spacing: .01em;
  padding: .85em 1.5em; min-height: 48px;
  border: 1.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  box-shadow: 0 1px 2px rgba(74,44,17,.10);
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(74,44,17,.55); }
.btn:active{ transform: translateY(0); }
.btn-primary{ --bg: var(--cocoa); --fg: #FFF8EC; --bd: var(--cocoa); }
.btn-primary:hover{ --bg: var(--cocoa-dk); --bd: var(--cocoa-dk); }
.btn-ghost{ --bg: transparent; --fg: var(--cocoa); --bd: var(--line-2); box-shadow: none; }
.btn-ghost:hover{ --bg: rgba(99,60,25,.06); --bd: var(--cocoa); }
.btn-outline{ --bg: transparent; --fg: var(--wheat); --bd: rgba(239,214,166,.45); box-shadow: none; }
.btn-outline:hover{ --bg: rgba(239,214,166,.10); --bd: var(--wheat); }
.btn-sm{ min-height: 42px; padding: .6em 1.15em; font-size: .875rem; }
.btn-lg{ min-height: 54px; padding: .95em 1.9em; font-size: 1.02rem; }
.btn-block{ display: flex; width: 100%; }

/* ============================ nav ============================ */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(254,249,243,.90);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in{
  width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand{ display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.brand-mark{ width: auto; height: 42px; }
.brand-text{ display: flex; flex-direction: column; line-height: 1; }
.brand-name{
  font-family: var(--display); font-weight: 600; font-size: 1.06rem;
  color: var(--cocoa-dk); letter-spacing: -.01em;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.brand-sub{
  font-size: .625rem; letter-spacing: .30em; text-transform: uppercase;
  color: var(--crust); font-weight: 700; margin-top: .28rem;
}

.nav-links{ display: none; align-items: center; gap: 1.7rem; }
.nav-links a{
  text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  transition: color .16s ease;
}
.nav-links a:hover{ color: var(--cocoa); }
.nav-links .btn{ color: var(--fg); }

.nav-toggle{
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: transparent; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; background: var(--cocoa); border-radius: 2px; transition: transform .22s ease, opacity .22s 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); }

@media (min-width: 900px){
  .nav-links{ display: flex; }
  .nav-toggle{ display: none; }
  .brand-mark{ height: 48px; }
  .brand-name{ font-size: 1.16rem; }
}

/* mobile drawer — display:none by default so a class can win over [hidden] */
@media (max-width: 899px){
  .nav-links{
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .9rem 1.2rem 1.4rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open{ display: flex; }
  .nav-links a{ padding: .8rem .25rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child{ border-bottom: 0; margin-top: .7rem; }
}

/* ============================ hero ============================ */
.hero{
  container-type: inline-size;
  min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
  padding: clamp(.9rem, 2.2cqi, 2.6rem) 0 clamp(1.1rem, 2.6cqi, 2.8rem);
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(239,214,166,.55) 0%, rgba(239,214,166,0) 55%),
    radial-gradient(90% 70% at 4% 96%, rgba(184,128,47,.13) 0%, rgba(184,128,47,0) 60%);
}
/* no flex-grow here — it would beat `width` and blow the gutters out to 0 */
.hero-in{
  width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1rem, 3cqi, 2.2rem);
}
.hero-copy{ display: flex; flex-direction: column; gap: clamp(.55rem, 1.7cqi, 1.15rem); }

.eyebrow{
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: clamp(.68rem, 1.9cqi, .78rem); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--crust);
}
.eyebrow .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--crust); flex: 0 0 auto; }

.hero-h1{
  font-size: clamp(2.05rem, 11cqi, 4.5rem);
  font-weight: 600; line-height: 1.0; letter-spacing: -.028em;
  font-variation-settings: 'SOFT' 45, 'WONK' 1;
  color: var(--cocoa-dk);
}
.hero-h1 em{
  font-style: italic; color: var(--crust);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
}
.hero-sub{
  font-size: clamp(.94rem, 2.5cqi, 1.14rem);
  color: var(--ink-soft); max-width: 46ch; line-height: 1.6;
}
.hero-cta{ display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-proof{
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .45rem clamp(.7rem, 2.4cqi, 1.4rem);
  font-size: clamp(.74rem, 2cqi, .85rem); font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft);
}
.hero-proof li{ display: flex; align-items: center; gap: .45rem; }
.hero-proof li + li::before{
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--crust-lt); margin-right: .35rem;
}

/* definite height so `height:100%` + object-fit:cover actually resolve */
.hero-media{
  position: relative; height: 32svh; min-height: 168px;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(99,60,25,.10);
}
.hero-media picture{ display: block; height: 100%; }
/* scoped to the photo — the seal's logo below must NOT inherit object-fit: cover */
.hero-media > picture > img{ width: 100%; height: 100%; object-fit: cover; }

.hero-seal{
  display: none;
  position: absolute; left: 18px; bottom: 18px;
  background: var(--paper); border-radius: 16px; padding: 10px 12px;
  box-shadow: 0 12px 30px -12px rgba(35,21,10,.5);
  border: 1px solid rgba(99,60,25,.12);
}
.hero-seal img{ width: auto; height: 92px; }

@media (min-width: 900px){
  .hero-in{
    display: grid; grid-template-columns: 1.02fr .98fr;
    align-items: center; gap: clamp(2rem, 4cqi, 4rem);
  }
  .hero-copy{ gap: clamp(.8rem, 1.5cqi, 1.35rem); }
  .hero-media{ height: min(58svh, 540px); align-self: center; }
  .hero-seal{ display: block; }
}

/* ============================ values ============================ */
.values{
  padding: clamp(2.6rem, 6vw, 4.4rem) 0;
  background: var(--paper-2); border-block: 1px solid var(--line);
}
.ribbon{
  width: max-content; max-width: 100%; margin: 0 auto clamp(1.6rem, 3.5vw, 2.6rem);
  background: linear-gradient(180deg, var(--crust-lt), #CFA057);
  color: #3A2109; font-family: var(--display); font-weight: 600;
  font-size: clamp(.95rem, 2.4vw, 1.24rem); letter-spacing: .015em;
  padding: .55em 1.9em; border-radius: 4px;
  box-shadow: 0 6px 18px -10px rgba(74,44,17,.6);
  text-align: center;
}
.value-grid{
  display: grid; gap: clamp(1.1rem, 2.6vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.value-grid li{ text-align: center; padding: 0 .4rem; }
.value-grid h3{
  font-size: 1.06rem; margin-bottom: .45rem; color: var(--cocoa);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.value-grid p{ font-size: .93rem; color: var(--ink-soft); line-height: 1.55; }

/* ============================ section heads ============================ */
.sec-head{ max-width: 58ch; margin-bottom: clamp(2rem, 4.5vw, 3.2rem); }
.kicker{
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 1.02rem; color: var(--crust); margin-bottom: .45rem;
}
.sec-head h2{ font-size: clamp(1.85rem, 4.6vw, 3.1rem); margin-bottom: .7rem; }
.sec-sub{ color: var(--ink-soft); font-size: 1.02rem; line-height: 1.62; }

/* ============================ menu ============================ */
.menu{ padding: clamp(3.2rem, 8vw, 6rem) 0; }
/* explicit 2-up rather than auto-fit: 4 cards over 3 tracks strands one alone */
.menu-grid{
  display: grid; gap: clamp(1.1rem, 2.4vw, 1.7rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .menu-grid{ grid-template-columns: repeat(2, 1fr); }
}
.menu-card{
  container-type: inline-size;
  background: #FFFCF6; border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.menu-cat{
  font-size: 1.42rem; color: var(--cocoa); margin-bottom: 1.15rem;
  padding-bottom: .7rem; border-bottom: 2px solid var(--paper-3);
  font-variation-settings: 'SOFT' 45, 'WONK' 1;
}
.menu-list{ display: flex; flex-direction: column; gap: .95rem; }
/* no wrap: a long name must shrink-and-wrap inside its own track and keep the
   price on the first baseline, instead of shoving the price onto its own line */
.menu-list li{
  display: flex; align-items: baseline;
  column-gap: .6rem;
}
.mi-name{
  flex: 1 1 auto; display: flex; flex-direction: column;
  font-weight: 600; color: var(--ink); font-size: 1rem;
}
.mi-name em{
  font-style: normal; font-weight: 400; font-size: .84rem;
  color: var(--ink-soft); line-height: 1.45; margin-top: .18rem;
}
.mi-dot{
  flex: 1 1 1.5rem; min-width: 1.25rem; align-self: baseline;
  border-bottom: 1.5px dotted var(--line-2); transform: translateY(-.3em);
}
.menu-list li:has(em) .mi-dot{ display: none; }
.mi-price{
  flex: 0 0 auto; font-family: var(--display); font-weight: 600;
  font-size: 1.04rem; color: var(--crust); white-space: nowrap;
}
.mi-price small{ font-family: var(--body); font-weight: 500; font-size: .72rem; color: var(--ink-soft); }
.mi-ask{ font-style: italic; font-size: .92rem; color: var(--ink-soft); }
/* Once a card is narrow, a nowrap price steals so much of the row that a long
   name breaks to one word per line. Below that width, drop the price onto its
   own line instead. Keyed to the CARD, so it fires on phones and on the narrow
   two-up cards alike. */
@container (max-width: 400px){
  .menu-list li{ flex-wrap: wrap; row-gap: .12rem; }
  .mi-name{ flex: 1 1 100%; }
  .mi-dot{ display: none; }
  .mi-price{ margin-top: .1rem; }
}

.menu-note{
  margin-top: 1.2rem; padding-top: 1.05rem; border-top: 1px dashed var(--line-2);
  font-size: .89rem; color: var(--ink-soft); font-style: italic;
}
.menu-card .btn{ margin-top: auto; }
.menu-card .btn-block{ margin-top: 1.2rem; }

/* ============================ gallery ============================ */
.bakes{ padding: clamp(3.2rem, 8vw, 6rem) 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.gal{ display: grid; gap: clamp(.85rem, 1.9vw, 1.35rem); grid-template-columns: 1fr; }
.gal-item{
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r); background: var(--paper-3);
  border: 1px solid rgba(99,60,25,.10); box-shadow: var(--shadow);
}
.gal-item picture{ display: block; height: 100%; }
.gal-item img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gal-tall img{ aspect-ratio: 4 / 3; }
.gal-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.9rem .95rem .8rem;
  font-size: .85rem; font-weight: 600; color: #FFF6E7;
  background: linear-gradient(180deg, rgba(35,21,10,0) 0%, rgba(35,21,10,.72) 62%);
}
@media (min-width: 700px){
  .gal{ grid-template-columns: repeat(2, 1fr); }
}
/* 6 tiles over 3 tracks = exactly two full rows; a row-span would strand one */
@media (min-width: 1100px){
  .gal{ grid-template-columns: repeat(3, 1fr); }
}

/* ============================ story ============================ */
.story{ padding: clamp(3.2rem, 8vw, 6rem) 0; }
.story-in{ display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.story-mark{
  justify-self: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow);
  max-width: 320px;
}
.story-mark img{ width: 100%; height: auto; }
.story-copy > * + *{ margin-top: 1.05rem; }
.story-copy h2{ font-size: clamp(1.8rem, 4.4vw, 2.9rem); }
.story-copy p{ color: var(--ink-soft); font-size: 1.04rem; line-height: 1.68; }
.story-copy blockquote{
  margin: 1.5rem 0 0; padding: 1.3rem 0 1.3rem 1.5rem;
  border-left: 3px solid var(--crust-lt);
}
.story-copy blockquote p{
  font-family: var(--display); font-style: italic; font-size: clamp(1.06rem, 2.4vw, 1.3rem);
  line-height: 1.5; color: var(--cocoa-dk);
}
.story-copy cite{
  display: block; margin-top: .9rem; font-style: normal; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--crust); font-weight: 700;
}
.verse{
  font-family: var(--display); font-style: italic;
  color: var(--cocoa) !important; font-size: 1.02rem;
  padding-top: 1.1rem; border-top: 1px dashed var(--line-2);
}
.verse span{
  display: block; font-family: var(--body); font-style: normal; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--crust); margin-top: .4rem; font-weight: 700;
}
@media (min-width: 900px){
  .story-in{ grid-template-columns: .8fr 1.2fr; }
}

/* ============================ ordering ============================ */
.order{ padding: clamp(3.2rem, 8vw, 6rem) 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.order-grid{
  display: grid; gap: clamp(1.1rem, 2.4vw, 1.7rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.ord-card{
  background: #FFFCF6; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.ord-n{
  font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  color: var(--crust); display: block; margin-bottom: .85rem;
}
.ord-card h3{ font-size: 1.3rem; margin-bottom: .6rem; color: var(--cocoa); }
.ord-card p{ color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }
.ord-list{ margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.ord-list li{ font-size: .93rem; color: var(--ink-soft); padding-left: 1.05rem; position: relative; }
.ord-list li::before{
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--crust-lt);
}
.ord-list a{ color: var(--cocoa); font-weight: 600; }
.ord-card .btn-block{ margin-top: 1.4rem; }

/* ============================ cta ============================ */
.cta{
  padding: clamp(3.4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(85% 130% at 50% 0%, rgba(184,128,47,.32) 0%, rgba(184,128,47,0) 62%),
    var(--roast);
  color: #F6E7CE;
}
.cta-in{ text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.15rem; }
.cta-kicker{
  font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--crust-lt);
}
.cta h2{
  color: #FFF7EA; font-size: clamp(1.85rem, 5vw, 3.2rem); max-width: 20ch;
  font-variation-settings: 'SOFT' 50, 'WONK' 1;
}
.cta-btns{ display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: .4rem; }
.cta .btn-primary{ --bg: var(--crust-lt); --fg: #2E1A06; --bd: var(--crust-lt); }
.cta .btn-primary:hover{ --bg: #E9C88C; --bd: #E9C88C; }
.cta-verse{
  font-family: var(--display); font-style: italic; font-size: .98rem;
  color: rgba(246,231,206,.62); margin-top: .5rem;
}

/* ============================ footer ============================ */
.foot{ background: var(--paper); padding: clamp(2.8rem, 6vw, 4.2rem) 0 1.8rem; border-top: 1px solid var(--line); }
.foot-in{
  display: grid; gap: clamp(1.6rem, 3.5vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.foot-brand img{ width: 132px; height: auto; }
.foot-col h4{
  font-size: 1.02rem; margin-bottom: .7rem; color: var(--cocoa);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.foot-col p{ color: var(--ink-soft); font-size: .93rem; line-height: 1.6; margin-bottom: .38rem; }
.foot-col a{ color: var(--cocoa); font-weight: 600; text-decoration: none; }
.foot-col a:hover{ text-decoration: underline; }
.foot-bar{
  border-top: 1px solid var(--line); padding: 1.2rem 0 1.5rem;
  font-size: .82rem; color: var(--ink-soft);
}
.foot-bar p{ text-align: center; }

/* ============================ contact / order page ============================ */
.sr-only{
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.contact-hero{
  padding: clamp(2.4rem, 6vw, 4.4rem) 0 clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(110% 100% at 82% 0%, rgba(239,214,166,.55) 0%, rgba(239,214,166,0) 58%),
    var(--paper);
}
.contact-hero .eyebrow{ margin-bottom: .8rem; }
.contact-hero h1{ font-size: clamp(2rem, 5.4vw, 3.4rem); max-width: 18ch; }
.contact-lead{
  margin-top: 1rem; max-width: 56ch; color: var(--ink-soft);
  font-size: 1.04rem; line-height: 1.65;
}

.contact-body{
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(3.2rem, 8vw, 5.5rem);
  background: var(--paper-2); border-top: 1px solid var(--line);
}
.contact-grid{ display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
@media (min-width: 940px){
  .contact-grid{ grid-template-columns: 1.25fr .75fr; }
}

.form-panel{
  background: #FFFCF6; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.4vw, 2.6rem); box-shadow: var(--shadow-lg);
}
.form-panel h2{ font-size: clamp(1.5rem, 3.2vw, 2rem); }
.form-intro{ margin-top: .6rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }

#estimate-form{ display: grid; gap: 1.05rem; margin-top: 1.6rem; }
.field{ display: grid; gap: .42rem; }
.field label{
  font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--cocoa);
}
.field input, .field textarea{
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: .82rem .95rem; width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field textarea{ resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder{ color: rgba(106,82,64,.55); }
.field input:focus, .field textarea:focus{
  outline: none; border-color: var(--crust); background: #FFFDF8;
  box-shadow: 0 0 0 4px rgba(184,128,47,.14);
}

.turnstile-box{ margin: .2rem 0; }

#estimate-form .btn.is-sent{
  --bg: #4E7A3F; --fg: #F4FBF0; --bd: #4E7A3F;
  opacity: 1; cursor: default; transform: none; box-shadow: none;
}
#estimate-form button[disabled]:not(.is-sent){ opacity: .65; cursor: default; }

.form-status{
  margin: 0; padding: 1rem 1.15rem; border-radius: 12px;
  font-size: .97rem; line-height: 1.6;
}
.form-status.ok{
  background: rgba(78,122,63,.10); border: 1px solid rgba(78,122,63,.32); color: #2E4A24;
}
.form-status.ok span{ display: block; margin-top: .5rem; font-size: .88rem; color: #43603A; }
.form-status.err{
  background: rgba(176,58,46,.08); border: 1px solid rgba(176,58,46,.30); color: #7C2A21;
}
.form-status a{ color: inherit; font-weight: 700; }
.form-fineprint{ font-size: .88rem; color: var(--ink-soft); text-align: center; }
.form-fineprint a{ color: var(--cocoa); font-weight: 700; }

.contact-side{ display: grid; gap: clamp(.9rem, 2vw, 1.2rem); }
.side-card{
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.25rem, 2.6vw, 1.6rem);
  box-shadow: var(--shadow);
}
.side-card h3{ font-size: 1.14rem; color: var(--cocoa); margin-bottom: .6rem; }
.side-card p{ color: var(--ink-soft); font-size: .95rem; line-height: 1.6; margin-bottom: .45rem; }
.side-card p:last-child{ margin-bottom: 0; }
.side-card strong{ color: var(--ink); }
.side-big{ font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 1.75rem); font-weight: 600; }
.side-big a{ color: var(--cocoa-dk); text-decoration: none; }
.side-big a:hover{ color: var(--crust); }
.side-note{ font-size: .86rem !important; font-style: italic; color: rgba(106,82,64,.85) !important; }
.side-links{ display: grid; gap: .5rem; margin: .8rem 0 .7rem; }
.side-links a{ color: var(--cocoa); font-weight: 600; font-size: .93rem; text-decoration: none; }
.side-links a:hover{ text-decoration: underline; }
.side-verse{
  background: linear-gradient(180deg, var(--wheat), var(--paper-3));
  border-color: rgba(99,60,25,.18); text-align: center;
}
.side-verse p{
  font-family: var(--display); font-style: italic; font-size: 1.05rem;
  color: var(--cocoa-dk) !important; margin: 0;
}

/* ============================ reveal (below the fold only) ============================ */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal{ opacity: 1; transform: none; }
  .btn:hover{ transform: none; }
}

/* === site credit (injected by credit_footer.py); do not hand-edit === */
.site-credit {
  margin: 2.25rem 0 0;
  padding-inline: 1.25rem;
  font-size: .73rem;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  opacity: .65;
}
.site-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(128, 128, 128, .5);
  border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  transition: border-bottom-color .25s ease;
}
.site-credit a:hover,
.site-credit a:focus-visible { border-bottom-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .site-credit a { transition: none; }
}
/* === end site credit === */
