/* Flippin Furniture website. Palette, type and voice from the brand identity (October 2026). */
:root {
  --bark: #22170F; --esp: #33231A; --wal: #4B3122; --ches: #6B4430; --tob: #8C5E3C; --sad: #A97B52;
  --brass: #C9A05A; --brass-hi: #D9B571; --chalk: #EFE6D6; --parch: #F6EFE3; --line: #DCCDB6; --ink-soft: #5A4232;
  --display: 'IM Fell English', 'Iowan Old Style', Georgia, serif;
  --body: 'Lora', Georgia, 'Times New Roman', serif;
  --hand: 'Homemade Apple', 'Segoe Script', cursive;
  --r: 6px;
  --gut: max(18px, env(safe-area-inset-left, 0px));
  --gut-r: max(18px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parch); color: var(--bark); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin-bottom: 22px; }
h3 { font-size: 25px; line-height: 1.15; }
p { margin: 0 0 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.narrow { max-width: 820px; }
.lab { font: 600 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--tob); margin-bottom: 14px; }
.lab.brass { color: var(--brass); }
.lede { font-size: 19px; line-height: 1.6; max-width: 62ch; }
.small { font-size: 14px; opacity: .8; }
.apple { font-family: var(--hand); }
.link { color: var(--ches); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.dark .link { color: var(--brass); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; font: 600 16px/1 var(--body); padding: 16px 24px;
  border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn.brass { background: var(--brass); color: var(--bark); }
.btn.brass:hover { background: var(--brass-hi); }
.btn.ghost { border-color: rgba(239, 230, 214, .45); color: var(--chalk); }
.btn.ghost:hover { border-color: var(--chalk); }
.btn.sm { padding: 11px 18px; font-size: 15px; }
.btn.big { padding: 19px 30px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(34, 23, 15, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 160, 90, .18); padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--chalk); text-decoration: none; font-size: 15.5px; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; color: var(--brass); }
.menu { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu span { display: block; height: 2px; background: var(--chalk); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { position: relative; background: var(--bark); color: var(--chalk); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url(grain-hero.svg) center / cover no-repeat; opacity: .9; }
/* real walnut photo (photos/wood-hero.jpg); darker on the left so the headline reads, the knot shows on the right */
.hero.has-wood .hero-bg { opacity: 1; background:
  linear-gradient(90deg, rgba(23,15,9,.88) 0%, rgba(23,15,9,.72) 38%, rgba(23,15,9,.28) 70%, rgba(23,15,9,.18) 100%),
  linear-gradient(180deg, rgba(23,15,9,.35) 0%, rgba(23,15,9,0) 30%, rgba(23,15,9,.45) 100%),
  var(--wood) center / cover no-repeat; }
.hero.has-photo .hero-bg { background: linear-gradient(90deg, rgba(34,23,15,.96) 0%, rgba(34,23,15,.82) 45%, rgba(34,23,15,.35) 100%), var(--hero-photo) center / cover no-repeat; opacity: 1; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 88px 104px; }
.hero h1 { font-size: clamp(56px, 9vw, 112px); line-height: .92; margin: 6px 0 26px; color: var(--chalk); }
.hero h1 em { color: var(--brass); }
.hero .lede { color: #DDCFBA; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(201, 160, 90, .25); }
.trust li { font-size: 14px; color: #C8B79F; max-width: 15ch; line-height: 1.4; }
.trust b { display: block; font: 400 30px/1 var(--display); color: var(--brass); margin-bottom: 6px; }

/* before / after slider */
.ba { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; --pos: 50%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 160, 90, .25); touch-action: pan-y; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { width: 100%; height: 100%; }
.ba::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--chalk); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--chalk);
  display: grid; place-items: center; z-index: 2; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ba-handle svg { width: 24px; fill: none; stroke: var(--bark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba input:focus-visible ~ .ba-handle, .ba:has(input:focus-visible) .ba-handle { outline: 3px solid var(--brass); outline-offset: 3px; }
.ba-tag { position: absolute; top: 14px; font: 600 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px;
  background: rgba(34, 23, 15, .78); color: var(--chalk); z-index: 1; pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba figcaption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--chalk); text-shadow: 0 1px 8px rgba(0,0,0,.6); pointer-events: none; z-index: 1; }
.hero-ba { transform: rotate(1.2deg); }

/* ticker */
.ticker { background: var(--brass); color: var(--bark); overflow: hidden; white-space: nowrap; border-block: 1px solid #A8843F; }
.ticker-in { display: inline-flex; animation: tick 50s linear infinite; padding-block: 14px; }
.ticker span { font: 400 22px/1 var(--display); padding: 0 22px; }
.ticker span::after { content: '✦'; font-size: 12px; margin-left: 44px; vertical-align: 4px; opacity: .55; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none; } html { scroll-behavior: auto; } }

/* sections */
.sec { position: relative; padding-block: 104px; overflow: hidden; }
.sec.light { background: var(--parch); }
.sec.parch { background: var(--chalk); }
.sec.dark { background: var(--bark); color: var(--chalk); }
.sec.dark h2 { color: var(--chalk); }
.sec.dark p { color: #DDCFBA; }
.grain-band { position: absolute; inset: 0; color: var(--esp); background: url(grain-band.svg) center / cover no-repeat; opacity: .75; pointer-events: none; }
.sec > .wrap { position: relative; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split > * { min-width: 0; }

/* services */
.svc { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 22px; margin-top: 40px; }
.svc article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.svc-main { grid-row: span 2; display: grid; grid-template-columns: 1fr; padding: 0 !important; overflow: hidden; background: var(--bark) !important; color: var(--chalk); border-color: var(--bark) !important; }
.svc-photo { min-height: 220px; background: url(top-after.svg) center / cover; }
.svc-photo.loaded { min-height: 280px; }
.svc-body { padding: 32px; }
.svc-main h3 { color: var(--chalk); font-size: 32px; margin-bottom: 12px; }
.svc-main p { color: #DDCFBA; }
.svc-main .link { color: var(--brass); }
.num { display: block; font: 400 15px/1 var(--display); color: var(--brass); margin-bottom: 12px; letter-spacing: .1em; }
.svc-side .num { color: var(--tob); }
.svc-side h3 { color: var(--ches); margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-size: 15.5px; color: #E8DCC8; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

/* prices */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 44px; }
.levels div { border-top: 3px solid var(--ches); padding-top: 16px; }
.levels b { display: block; font: 400 27px/1.1 var(--display); color: var(--ches); margin-bottom: 8px; }
.levels p { font-size: 15.5px; margin: 0; }
.levels .from { display: block; font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--tob); margin-top: 12px; }
.est { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--bark); color: var(--chalk); border-radius: 10px; overflow: hidden; }
.est-grain { position: absolute; inset: 0; color: var(--esp); background: url(grain-band.svg) center / cover; opacity: .6; }
.est-form, .est-out { position: relative; padding: 38px; min-width: 0; }
.est-form h3 { font-size: 30px; margin-bottom: 20px; color: var(--chalk); }
.est-out { background: rgba(0, 0, 0, .22); border-left: 1px solid rgba(201, 160, 90, .2); display: flex; flex-direction: column; }
.est-total { font: 400 clamp(52px, 7vw, 76px)/1 var(--display); color: var(--brass); margin: 0 0 18px; font-variant-numeric: lining-nums; }
.est-lines { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 18px; font-size: 15px; }
.est-lines dt { color: #C8B79F; } .est-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.est-lines .sub { grid-column: 1 / -1; font-size: 13px; color: #A8967E; margin-top: -6px; }
.est-out .small { color: #C8B79F; margin-bottom: 22px; }
.est-out .btn { margin-top: auto; align-self: flex-start; }

/* form controls */
.fld { display: grid; gap: 7px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.fld > span, .fld legend { font: 600 13px/1.3 var(--body); letter-spacing: .06em; color: inherit; opacity: .85; padding: 0; margin-bottom: 7px; }
.fld i { font-weight: 400; opacity: .75; letter-spacing: 0; }
input, select, textarea { font: 400 16px/1.4 var(--body); color: var(--bark); background: var(--parch); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 13px 14px; width: 100%; min-width: 0; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B4430' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201, 160, 90, .3); }
.dark input, .dark select, .dark textarea, .est input, .est select { background-color: rgba(246, 239, 227, .07); color: var(--chalk); border-color: rgba(201, 160, 90, .35); }
.dark select option, .est select option { color: var(--bark); background: var(--parch); }
.dark input::placeholder, .dark textarea::placeholder { color: #9C8A73; }
.dark select, .est select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A05A' stroke-width='2'/%3E%3C/svg%3E"); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 11px 14px; border-radius: var(--r); border: 1.5px solid rgba(201, 160, 90, .35); cursor: pointer; font-size: 15px; white-space: nowrap; }
.seg input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--bark); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.seg.wrap4 span { white-space: normal; }

.pricelist { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 8px; }
.pricelist summary, .faq summary { cursor: pointer; font: 400 22px/1.3 var(--display); color: var(--ches); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pricelist summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.pricelist summary::after, .faq summary::after { content: '+'; font-family: var(--body); font-size: 26px; line-height: 1; color: var(--tob); transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
.pricelist h4 { font-size: 20px; color: var(--ches); margin: 22px 0 8px; }
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th { text-align: left; font: 600 11.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--tob); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ches); vertical-align: bottom; }
td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dark th { color: var(--brass); border-color: var(--brass); }
.dark td { border-color: rgba(201, 160, 90, .2); color: #E8DCC8; }
.zones td:first-child b { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--ches); }
.zones .ex { display: block; font-size: 13px; color: var(--tob); }
ul.dots { padding-left: 20px; margin: 0; } ul.dots li { margin-bottom: 8px; }
.small-list { margin-top: 22px !important; font-size: 15px; }
.small-list li:empty { display: none; }

/* steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 34px; counter-reset: s; }
.steps li { border-top: 1px solid rgba(201, 160, 90, .35); padding-top: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.steps .n { grid-row: span 3; font: 400 54px/.85 var(--display); color: var(--brass); }
.steps h3 { color: var(--chalk); font-size: 24px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; margin-bottom: 10px; }
.steps .t { font: 600 11.5px/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--sad); }

.photo-slot { display: none; border-radius: var(--r); aspect-ratio: 4 / 3; background-size: cover; background-position: center; margin-top: 26px; max-width: 100%; }
.photo-slot.loaded { display: block; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 34px; }
.gallery figure { margin: 0; }
.gallery .ba { aspect-ratio: 4 / 3; box-shadow: none; }
.gallery .cap { font-size: 15px; margin-top: 10px; }
.gallery .cap b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ches); display: block; }

/* builds */
.rules { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.rules li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; font-size: 15.5px; border-top: 1px solid rgba(201, 160, 90, .3); padding-top: 14px; color: #DDCFBA; }
.rules b { font: 600 11.5px/1.7 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--brass); }
.builds td { font-size: 16.5px; }
.builds td.r { font-family: var(--display); font-size: 21px; color: var(--brass); }
#builds .btn { margin-top: 18px; }

/* about */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; }
.about .stamp { width: 260px; height: auto; opacity: .92; transform: rotate(-8deg); }
.about > div { max-width: 66ch; }
.sig { font-size: 26px; color: var(--ches); margin-top: 18px; }

/* faq */
.faq { border-top: 1px solid var(--line); margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq p { padding: 0 40px 18px 0; color: var(--ink-soft); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; align-items: start; }
.contact > * { min-width: 0; }
.reach { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 4px; }
.reach li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(201, 160, 90, .25); }
.reach span { font: 600 11.5px/1.9 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--brass); }
.reach a, .reach b { color: var(--chalk); font-weight: 400; text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { color: var(--brass); }
.enq { background: rgba(0, 0, 0, .25); border: 1px solid rgba(201, 160, 90, .25); border-radius: 10px; padding: 34px; }
.drop { display: grid; justify-items: center; gap: 4px; padding: 26px; border: 1.5px dashed rgba(201, 160, 90, .5); border-radius: var(--r); cursor: pointer; text-align: center; transition: background .15s; }
.drop:hover, .drop.over { background: rgba(201, 160, 90, .08); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop svg { width: 34px; fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-linejoin: round; }
.drop b { font-weight: 600; } .drop small { opacity: .7; }
.drop:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs div { position: relative; width: 84px; height: 84px; border-radius: var(--r); overflow: hidden; background: var(--esp); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(34, 23, 15, .85); color: var(--chalk); cursor: pointer; font-size: 15px; line-height: 1; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-bottom: 14px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brass); padding: 0; }
.hp { position: absolute; left: -9999px; }
.err { background: #F3DDD3; color: #7A2615; border-radius: var(--r); padding: 12px 14px; font-size: 15px; }
.enq .small a { color: var(--brass); }
.thanks { grid-column: 2; padding: 34px; border: 1px solid rgba(201, 160, 90, .35); border-radius: 10px; background: rgba(0, 0, 0, .25); }

/* footer */
.foot { background: #170F09; color: #BFAE96; padding-block: 64px 30px; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.foot-logo { width: 200px; height: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols b { font: 600 11.5px/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.foot-cols a { color: #D9CBB6; text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--brass); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #33231A; font-size: 13px; }
.foot-base .apple { color: var(--brass); font-size: 14px; }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px;
  border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 980px) {
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bark);
    padding: 10px var(--gut-r) 24px var(--gut); border-bottom: 1px solid rgba(201, 160, 90, .25); transform: translateY(-120%); transition: transform .25s; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(201, 160, 90, .15); font-size: 18px; }
  .nav .btn { margin-top: 18px; }
  .menu { display: block; }
  .hero-in { grid-template-columns: 1fr; padding-block: 56px 72px; gap: 44px; }
  .split, .contact, .est { grid-template-columns: 1fr; gap: 40px; }
  .est { gap: 0; }
  .est-out { border-left: 0; border-top: 1px solid rgba(201, 160, 90, .2); }
  .svc { grid-template-columns: 1fr; }
  .svc-main { grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about .stamp { width: 170px; }
  .thanks { grid-column: 1; }
  .foot-in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding-block: 72px; }
  .levels, .steps, .row2 { grid-template-columns: 1fr; }
  .levels { gap: 24px; }
  .est-form, .est-out, .enq, .svc-body, .svc article { padding: 24px; }
  .svc-main { padding: 0 !important; }
  .rules li, .reach li { grid-template-columns: 1fr; gap: 4px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .brand img { height: 38px; }
  .hero-ba { transform: none; }
  .seg span { white-space: normal; }
}

/* prices read in Lora: IM Fell's old-style figures make R2,100 look like R2,ioo */
.est-total { font: 500 clamp(48px, 6.5vw, 70px)/1 var(--body); letter-spacing: -.02em; }
.trust b { font: 600 27px/1 var(--body); }
.builds td.r { font: 600 18px/1.3 var(--body); }
.seg.wrap4 { display: grid; grid-template-columns: 1fr 1fr; }

/* ---------- real wood backgrounds (photos/bg-*.jpg). Each section is washed in its own colour so text keeps its contrast. */
.sec::before, .foot::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.sec.has-wood::before, .foot.has-wood::before { opacity: 1; }
.sec.light::before { background: linear-gradient(rgba(246, 239, 227, .86), rgba(246, 239, 227, .86)), var(--wood) center / cover no-repeat; }
.sec.parch::before { background: linear-gradient(rgba(239, 230, 214, .84), rgba(239, 230, 214, .84)), var(--wood) center / cover no-repeat; }
.sec.dark::before  { background: linear-gradient(rgba(23, 15, 9, .80), rgba(23, 15, 9, .86)), var(--wood) center / cover no-repeat; }
.sec.dark.has-wood .grain-band { display: none; }
#builds::before { background: linear-gradient(rgba(23, 15, 9, .86), rgba(23, 15, 9, .9)), var(--wood) center / cover no-repeat; }   /* olivewood is the busiest */
#contact::before { background: linear-gradient(rgba(23, 15, 9, .86), rgba(23, 15, 9, .9)), var(--wood) 70% 50% / cover no-repeat; }
#faq::before { background-position: center, 30% 80%; }
.foot { position: relative; }
.foot > * { position: relative; }
.foot::before { background: linear-gradient(rgba(16, 10, 6, .9), rgba(16, 10, 6, .93)), var(--wood) 0 100% / cover no-repeat; }
.est-grain.has-wood { opacity: 1; background: linear-gradient(rgba(23, 15, 9, .84), rgba(23, 15, 9, .9)), var(--wood) center / cover no-repeat; }
/* light cards sit on wood now: keep them solid so they read as objects on the bench */
.svc article:not(.svc-main) { background: rgba(255, 253, 248, .94); }

/* real job photos */
.ba-before img { object-fit: cover; }
.hero-ba .ba-tag, .hero-ba figcaption { z-index: 2; }
.hero-ba figcaption { background: linear-gradient(transparent, rgba(23, 15, 9, .55)); bottom: 0; padding: 30px 0 12px; }
.svc-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--bark); }
.svc-strip figure { margin: 0; position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.svc-strip img { width: 100%; height: 100%; object-fit: cover; }
.svc-strip figcaption { position: absolute; left: 10px; bottom: 10px; font: 600 10.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px; background: rgba(34, 23, 15, .82); color: var(--chalk); }
.svc-strip figure:last-child figcaption { background: var(--brass); color: var(--bark); }
@media (max-width: 640px) { .svc-strip figcaption { font-size: 9px; padding: 6px 8px; left: 6px; bottom: 6px; letter-spacing: .1em; } }
