/* =====================================================================
   ATELIER — layout & components
   Philosophy: quiet confidence. Warm ivory canvas, ink text, one hero
   material (copper). Hairline rules instead of boxes, generous white space,
   high-contrast serif for display, clean grotesk for reading. Motion is slow
   and refined. Colours come from theme.css only.
   ===================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); font-size: 1.04rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--ivory); padding: .6rem 1rem; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h3 { line-height: 1.1; }
em { font-style: italic; color: var(--accent); }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.pad { padding: clamp(5rem, 10vw, 9rem) 0; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.rule { display: block; width: 36px; height: 1px; background: currentColor; transform-origin: left; }
.intro { color: var(--muted); font-size: 1.1rem; max-width: 44ch; margin-top: 1.2rem; }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.2rem); }
.sec-head h2 { margin-top: 1.2rem; }
.sec-head .intro { justify-self: end; margin-top: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: 1rem 1.7rem; border-radius: 3px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font-weight: 600; font-size: .95rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .4s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.btn-sm { padding: .72rem 1.2rem; font-size: .88rem; }
.btn-block { width: 100%; padding: 1.15rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ivory) 84%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.site-header.stuck, .site-header.menu-open { border-color: var(--line); background: color-mix(in srgb, var(--ivory) 95%, transparent); }
.hdr { display: flex; align-items: center; gap: 2rem; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: .8rem; }
.logo-mark { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; transition: background .4s, color .4s; }
.logo:hover .logo-mark { background: var(--accent); color: var(--on-accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; }
.logo-text small { font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.logo-img { height: 44px; width: auto; }
.hdr-nav { margin-inline: auto; }
.hdr-nav ul { display: flex; gap: 2.2rem; }
.hdr-nav a { position: relative; display: block; padding: .5rem 0; font-size: .92rem; font-weight: 500; color: var(--ink); }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hdr-nav a:hover::after, .hdr-nav a.active::after { transform: scaleX(1); }
.hdr-right { display: flex; align-items: center; gap: 1.4rem; }
.hdr-phone { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; transition: color .3s; }
.hdr-phone .icon { color: var(--accent); }
.hdr-phone:hover { color: var(--accent); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; margin-left: auto; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 19px; } .burger i:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }
.drawer { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gutter); background: var(--ivory); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility .6s; }
.drawer.open { clip-path: inset(0); visibility: visible; padding-bottom: 1.8rem; }
.drawer li { border-bottom: 1px solid var(--line); overflow: hidden; }
.drawer li a { display: block; padding: .9rem 0; font-family: var(--font-heading); font-size: 2rem; font-weight: 500; transform: translateY(100%); transition: transform .6s var(--ease) calc(var(--i) * 50ms + .1s), color .2s; }
.drawer.open li a { transform: none; }
.drawer li a:hover { color: var(--accent); }
.drawer .btn { margin-top: 1.4rem; width: 100%; }

/* ---------- Hero ---------- */
.hero { --hdr: 85px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); background: radial-gradient(50rem 34rem at 92% 6%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%), radial-gradient(40rem 30rem at -5% 100%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%), var(--ivory); }
.hero-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(.8rem, 2.5vh, 2rem) 0; }
.hero-copy { display: grid; }
.hslide { grid-area: 1 / 1; align-self: center; visibility: hidden; pointer-events: none; }
.hslide.on { visibility: visible; pointer-events: auto; }
.hslide > * { opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .5s; }
.hslide.on > * { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.hslide.on > :nth-child(1) { transition-delay: .15s; } .hslide.on > :nth-child(2) { transition-delay: .28s; } .hslide.on > :nth-child(3) { transition-delay: .42s; } .hslide.on > :nth-child(4) { transition-delay: .56s; }
.hslide .rule { transform: scaleX(0); transition: transform 1.1s var(--ease) .45s; }
.hslide.on .rule { transform: scaleX(1); }
.hslide h1, .hslide .h-title { font-size: clamp(2.8rem, min(7.2vw, 11.5vh), 6.9rem); line-height: .95; letter-spacing: -.03em; margin: clamp(1rem, 2.6vh, 1.5rem) 0 clamp(1rem, 2.6vh, 1.6rem); max-width: 11ch; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.22rem); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.4rem, 3.4vh, 2.2rem); }

/* the artwork scales with the viewport height so the whole hero (and the slide arrows) always fits */
.hero-art { --mx: 0; --my: 0; position: relative; height: min(calc(100svh - var(--hdr) - 140px), 680px); min-height: 320px; width: auto; max-width: 100%; aspect-ratio: 1 / 1.06; justify-self: center; }
.plinth { position: absolute; inset: 7% 3% 9%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fffdf9 0, var(--sand) 58%, color-mix(in srgb, var(--sand) 80%, #b9a98a) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 50px 90px -50px rgba(70, 45, 20, .45); }
.plinth::after { content: ""; position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); animation: spin 90s linear infinite; }
.art { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease); }
.art.on { opacity: 1; transform: none; }
.art img { width: 100%; height: 100%; object-fit: contain; transform: translate(calc(var(--mx) * 18px), calc(var(--my) * 12px)); transition: transform .8s var(--ease); }

.hero-foot { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0 1.3rem; border-top: 1px solid var(--line); }
.h-count { display: flex; align-items: center; gap: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.h-count b { font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink); letter-spacing: 0; font-weight: 600; }
.h-bar { position: relative; width: clamp(80px, 14vw, 160px); height: 1px; background: var(--line); overflow: hidden; }
.h-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; height: 1px; }
.h-btns { display: flex; gap: .6rem; }
.h-btns button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s; }
.h-btns button:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.t-item { padding: 1.7rem 1.6rem; border-left: 1px solid var(--line); }
.t-item:first-child { border-left: 0; padding-left: 0; }
.t-item span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.t-item strong { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.01em; line-height: 1.15; }

/* ---------- Services ---------- */
.tabs { display: flex; gap: 2.4rem; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.tab { position: relative; padding: .9rem 0 1.1rem; border: 0; background: none; font-size: 1rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.tab sup { font-size: .66rem; margin-left: .4rem; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tab.on { color: var(--ink); } .tab.on::after { transform: scaleX(1); } .tab:hover { color: var(--ink); }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.sgrid.on { animation: fadein .7s var(--ease); }
.cell { position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 2.1rem 2rem 1.9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .5s var(--ease); }
.cell::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cell:hover { background: var(--paper); }
.cell:hover::before { transform: scaleX(1); }
.cell .num { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--accent); }
.cell h3 { font-size: 1.9rem; font-weight: 600; margin: 1.1rem 0 .8rem; }
.cell p { color: var(--muted); font-size: .98rem; max-width: 36ch; }
.cell .more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: 1.4rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cell:hover .more, .cell:focus-visible .more { opacity: 1; transform: none; }
.foot-note { margin-top: 1.8rem; color: var(--muted); }
.foot-note a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--accent); }

/* ---------- About ---------- */
.about { background: var(--sand); padding: clamp(5rem, 10vw, 9rem) 0; }
.about-top .eyebrow { margin-bottom: 1.8rem; }
.big-quote { margin: 0; font-family: var(--font-heading); font-weight: 500; font-size: clamp(2.2rem, 4.8vw, 4.3rem); line-height: 1.08; letter-spacing: -.02em; max-width: 24ch; }
.about-cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 7vw, 6rem); padding-top: 3rem; border-top: 1px solid rgba(21, 24, 29, .16); }
.about-text p { color: color-mix(in srgb, var(--ink) 72%, transparent); margin-bottom: 1rem; max-width: 44ch; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.principle .num { font-family: var(--font-heading); font-style: italic; color: var(--accent); font-size: 1.2rem; }
.principle h3 { font-size: 1.7rem; font-weight: 600; margin: .6rem 0 .6rem; }
.principle p { color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: .96rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { position: relative; padding-top: 2rem; border-top: 1px solid var(--line); }
.step .dot { position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.step .num { display: block; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 4rem; line-height: 1; color: color-mix(in srgb, var(--accent) 45%, transparent); margin-bottom: 1rem; transition: color .5s; }
.step:hover .num { color: var(--accent); }
.step h3 { font-size: 1.8rem; font-weight: 600; margin-bottom: .6rem; }
.step p { color: var(--muted); max-width: 30ch; }

/* ---------- Commercial ---------- */
.biz { background: var(--ink); color: var(--ivory); padding: clamp(5rem, 10vw, 9rem) 0; position: relative; overflow: hidden; }
.biz::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -22vw; top: -28vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent); pointer-events: none; }
.biz-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.biz .eyebrow { color: var(--accent-2); }
.biz h2 { margin: 1.2rem 0 1.5rem; } .biz em { color: var(--accent-2); }
.biz .lead { color: rgba(247, 243, 236, .72); max-width: 48ch; }
.checks { margin: 2rem 0 2.4rem; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .9rem; align-items: flex-start; font-weight: 500; }
.checks .icon { color: var(--accent-2); margin-top: .25rem; }
.sectors .mono-label { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 243, 236, .55); margin-bottom: 1rem; }
.sectors li { display: flex; align-items: baseline; gap: 1.2rem; padding: 1.1rem 0; border-top: 1px solid rgba(247, 243, 236, .16); font-family: var(--font-heading); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; transition: padding .5s var(--ease), color .3s; }
.sectors li:last-child { border-bottom: 1px solid rgba(247, 243, 236, .16); }
.sectors li span { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; color: var(--accent-2); font-weight: 700; }
.sectors li:hover { padding-left: 1rem; color: var(--accent-2); }

/* ---------- Reviews (optional) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.quote { margin: 0; padding: 2.2rem 2rem; border-right: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.4rem; }
.quote blockquote { margin: 0; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.3; flex: 1; }
.quote figcaption b { display: block; } .quote figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.areas h2 { margin-top: 1.2rem; }
.suburbs { font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.35; letter-spacing: -.01em; }
.suburbs b { font-weight: inherit; white-space: nowrap; }
.suburbs span { transition: color .3s; cursor: default; }
.suburbs span:hover { color: var(--accent); font-style: italic; }
.suburbs i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin: 0 .55em; vertical-align: middle; opacity: .7; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); border-block: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq h2 { margin-top: 1.2rem; }
.acc { border-bottom: 1px solid var(--line); }
.acc-item { border-top: 1px solid var(--line); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; border: 0; background: none; text-align: left; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.3vw, 1.9rem); font-weight: 600; line-height: 1.15; transition: color .3s; }
.acc-q:hover { color: var(--accent); }
.acc-q i { flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.acc-item.open .acc-q i { transform: rotate(135deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 3.5rem 1.7rem 0; color: var(--muted); max-width: 58ch; }

/* ---------- Contact ---------- */
.contact { background: var(--sand); padding: clamp(5rem, 10vw, 9rem) 0; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact h2 { margin: 1.2rem 0 0; }
.mega { display: block; margin: 2.2rem 0 2rem; width: fit-content; }
.mega small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.mega span { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; padding-bottom: .12em; }
.mega:hover span { background-size: 100% 2px; color: var(--accent); }
.irows { border-top: 1px solid rgba(21, 24, 29, .16); }
.irow { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(21, 24, 29, .16); }
.irow span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.map { margin-top: 2rem; height: 250px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(21, 24, 29, .16); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.15); }

.fcard { position: relative; background: var(--paper); border-radius: 10px; padding: clamp(1.6rem, 3.5vw, 2.8rem); box-shadow: 0 50px 100px -50px rgba(60, 40, 20, .45), 0 0 0 1px rgba(21, 24, 29, .06); overflow: hidden; }
.fcard h3 { font-size: 2.2rem; font-weight: 600; margin-bottom: 1.4rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 1.4rem; overflow: hidden; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; padding: .85rem; font-weight: 600; font-size: .95rem; transition: background .35s, color .35s; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--ink); color: var(--ivory); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.f { margin-bottom: 1.15rem; }
.f label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.f label i { color: var(--accent); font-style: normal; }
.f input, .f select, .f textarea { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.f textarea { min-height: 108px; resize: vertical; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236a6862' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: rgba(21, 24, 29, .35); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.f .err { display: none; margin-top: .35rem; color: #b3261e; font-size: .82rem; font-weight: 600; }
.f.invalid input { border-color: #b3261e; background: #fff7f6; }
.f.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; opacity: 0; }
.btn-block .spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-block.loading { pointer-events: none; } .btn-block.loading .spin { display: block; } .btn-block.loading .icon { display: none; }
.form-error { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 4px; background: #fdecea; color: #8a1c14; font-size: .92rem; }
.form-error.show { display: block; }
.fine { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .8rem; }

.done { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; padding: 2rem; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s; }
.done.show { opacity: 1; visibility: visible; transform: none; }
.done-x { position: absolute; top: 1.1rem; right: 1.1rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.done-x:hover { background: var(--ink); color: var(--ivory); transform: rotate(90deg); }
.done-in { max-width: 400px; }
.tick { width: 88px; height: 88px; margin: 0 auto 1.5rem; }
.tick circle { fill: color-mix(in srgb, var(--accent) 8%, transparent); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 240; stroke-dashoffset: 240; }
.tick path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.done.show .tick circle { animation: draw .9s .15s ease forwards; } .done.show .tick path { animation: draw .55s .85s ease forwards; }
.done h3 { font-size: 2.6rem; font-weight: 600; margin-bottom: .6rem; }
.done p { color: var(--muted); }
.dchips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.4rem 0 1.8rem; }
.dchips span { padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 600; }
.dchips span:first-child { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(247, 243, 236, .72); padding-top: clamp(3.5rem, 7vw, 6rem); font-size: .97rem; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer .logo { color: var(--ivory); margin-bottom: 1.2rem; }
.footer .logo-text small { color: rgba(247, 243, 236, .55); }
.footer .logo-mark { border-color: var(--accent-2); color: var(--accent-2); }
.footer h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.2rem; }
.footer li { margin-bottom: .6rem; }
.footer a { transition: color .3s; } .footer a:hover { color: var(--accent-2); }
.fcontact li { display: flex; gap: .7rem; } .fcontact .icon { color: var(--accent-2); margin-top: .3rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(247, 243, 236, .25); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--accent-2); color: var(--ink); border-color: var(--accent-2); }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; border-top: 1px solid rgba(247, 243, 236, .16); font-size: .85rem; }
.foot-bottom ul { display: flex; gap: 1.6rem; }

/* ---------- Mobile call pill ---------- */
.callpill { display: none; position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 55; align-items: center; gap: .7rem; white-space: nowrap; padding: .95rem 1.6rem; border-radius: 999px; background: var(--ink); color: var(--ivory); font-weight: 700; font-size: .95rem; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5); }
.callpill .icon { color: var(--accent-2); }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.rv .rule { transform: scaleX(0); }
.rv.in .rule { transform: scaleX(1); transition: transform 1.2s var(--ease) .35s; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes barfill { to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hdr-phone span { display: none; }
  .hdr-nav ul { gap: 1.5rem; }
  .sgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; gap: 1.6rem; }
  .quotes { grid-template-columns: 1fr 1fr; }
}
/* short desktop windows: tighten so the whole hero still fits in one screen */
@media (min-width: 961px) and (max-height: 760px) {
  .hslide h1, .hslide .h-title { max-width: 15ch; font-size: clamp(2.5rem, min(6vw, 10vh), 5.2rem); margin: .9rem 0 1rem; }
  .lead { font-size: 1rem; max-width: 54ch; line-height: 1.55; }
  .cta-row { margin-top: 1.2rem; }
  .hero-grid { padding: .6rem 0; }
  .hero-foot { padding: .8rem 0 1rem; }
  .hero-art { height: min(calc(100svh - var(--hdr) - 110px), 600px); }
}
@media (max-width: 960px) {
  .hdr-nav, .hdr-right { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 0 1rem; }
  .hslide h1, .hslide .h-title { max-width: none; font-size: clamp(3rem, 11vw, 5rem); }
  .hero-art { width: 100%; height: auto; min-height: 0; max-width: 420px; margin-top: 1rem; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .intro { justify-self: start; }
  .about-cols, .biz-grid, .areas-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .t-item { border-top: 1px solid var(--line); padding-left: 1.2rem; }
  .t-item:nth-child(-n+2) { border-top: 0; }
  .t-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .callpill { display: inline-flex; }
  body { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  .sgrid, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cell { min-height: 0; padding: 1.7rem 1.4rem; }
  .cell .more { opacity: 1; transform: none; }
  .tabs { gap: 1.6rem; }
  .g2 { grid-template-columns: 1fr; }
  .irow { grid-template-columns: 1fr; gap: .1rem; }
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; }
  .cta-row .btn { flex: 1 1 100%; }
  .logo-text small { display: none; }
  .acc-a p { padding-right: 0; }
  .hero-foot { padding-bottom: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, .hslide > * { opacity: 1; transform: none; }
  .plinth::after { animation: none !important; }
}
