/* cecemirates.com. Dark, editorial layout: serif display, quiet sans, hairline grid, photography as atmosphere. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--maroon); color: var(--ink); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); position: relative; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 16px; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.display-xl, .display-l, .title-l, .title-m { font-family: var(--font-serif); font-weight: 300; font-variation-settings: "opsz" 72; margin: 0; text-wrap: balance; }
.display-xl { font-size: clamp(52px, 9.6vw, 160px); line-height: .96; letter-spacing: -0.025em; }
.display-l  { font-size: clamp(42px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.02em; }
.title-l    { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 400; font-variation-settings: "opsz" 36; }
.title-m    { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 400; font-variation-settings: "opsz" 36; }
/* The emphasised line switches to the condensed italic: wide regular against narrow italic */
.display-xl em, .display-l em, .title-l em { font-family: var(--font-serif-italic); font-style: italic; font-weight: 400; font-variation-settings: normal; letter-spacing: -0.02em; }
.display-xl em, .display-l em { display: block; font-size: 1.08em; line-height: .92; margin-top: .02em; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 34ch; }
.body-muted, .muted { color: var(--ink-muted); }
.code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-muted); text-transform: none; }
.code--sand { color: var(--sand); }
.mt { margin-top: 32px; }

/* SplitText line masks */
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Links ---------- */
.arrow { display: inline-block; width: 18px; height: 10px; position: relative; flex: none; transition: transform .45s var(--ease-out); }
.arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1px; background: currentColor; }
.arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.arrow--down { transform: rotate(90deg); width: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px; text-decoration: none; padding-bottom: 8px; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong); }
.link-arrow::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); z-index: 1; }
.link-arrow:hover::before { transform: scaleX(1); transform-origin: left; }
.link-arrow:hover .arrow { transform: translateX(6px); }
.link-under { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.link-under:hover { text-decoration-color: var(--sand); }

/* ---------- Grid lines with drifting flecks ---------- */
.grid-lines { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: flex; justify-content: space-between; padding: 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.grid-lines span { position: relative; width: 1px; height: 100%; background: var(--grid); overflow: hidden; }
.grid-lines span::after {
  content: ""; position: absolute; left: 0; width: 1px; height: 22vh; top: -25vh;
  background: linear-gradient(to bottom, transparent, var(--rose), transparent);
  opacity: .55; animation: fleck 11s linear infinite;
}
.grid-lines span:nth-child(3n)::after { background: linear-gradient(to bottom, transparent, var(--sand), transparent); animation-duration: 14s; }
.grid-lines span:nth-child(1)::after { animation-delay: -2s; }
.grid-lines span:nth-child(2)::after { animation-delay: -7s; animation-duration: 17s; }
.grid-lines span:nth-child(3)::after { animation-delay: -4s; }
.grid-lines span:nth-child(4)::after { animation-delay: -10s; animation-duration: 13s; }
.grid-lines span:nth-child(5)::after { animation-delay: -1s; animation-duration: 19s; }
.grid-lines span:nth-child(6)::after { animation-delay: -8s; }
.grid-lines span:nth-child(7)::after { animation-delay: -12s; animation-duration: 15s; }
.grid-lines span:nth-child(8)::after { animation-delay: -5s; animation-duration: 21s; }
.grid-lines span:nth-child(9)::after { animation-delay: -9s; }
.grid-lines span:nth-child(10)::after { animation-delay: -3s; animation-duration: 16s; }
.grid-lines span:nth-child(11)::after { animation-delay: -13s; }
.grid-lines span:nth-child(12)::after { animation-delay: -6s; animation-duration: 18s; }
.grid-lines span:nth-child(13)::after { animation-delay: -11s; }
@keyframes fleck { to { transform: translateY(150vh); } }
@media (max-width: 860px) { .grid-lines span:nth-child(even) { display: none; } }

main, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  transition: background-color .5s, transform .6s var(--ease-out), padding .5s;
}
.site-header.is-scrolled { background: rgba(20, 17, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 12px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__logo img { height: 44px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: 32px; align-items: center; font-size: 14px; }
.site-nav a { text-decoration: none; position: relative; padding: 4px 0; color: var(--ink-muted); transition: color .3s; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--ink); }
.site-nav a:not(.site-nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav__cta { color: var(--ink) !important; border: 1px solid var(--line-strong); padding: 9px 16px !important; border-radius: 999px; transition: background-color .3s, border-color .3s !important; }
.site-nav__cta:hover { background: var(--maroon); border-color: var(--maroon); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 500 14px var(--font-sans); min-height: 44px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 96px max(var(--gutter), env(safe-area-inset-left, 0px)) 48px;
    background: var(--ground); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .site-nav a { font-family: var(--font-serif); font-weight: 300; font-variation-settings: "opsz" 48; font-size: 44px; line-height: 1.15; color: var(--ink); }
  .site-nav__cta { font-family: var(--font-sans) !important; font-size: 16px !important; margin-top: 24px; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 40%; filter: saturate(.8) contrast(1.05); will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 70% 30%, rgba(115, 2, 23, .28), transparent 60%),
    linear-gradient(180deg, rgba(20,17,19,.72) 0%, rgba(20,17,19,.55) 40%, rgba(20,17,19,.92) 85%, var(--ground) 100%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: 48px; gap: 32px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(43, 40, 41, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(230,200,138,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(230,200,138,0); } 100% { box-shadow: 0 0 0 0 rgba(230,200,138,0); } }
.hero h1 { max-width: 13ch; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 24px; }
.hero__aside { display: flex; flex-direction: column; gap: 24px; max-width: 420px; }
.hero__lede { font-size: 17px; line-height: 1.5; color: var(--ink-muted); }
.hero__lede strong { color: var(--ink); font-weight: 500; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; text-decoration: none; color: var(--ink-muted); }
.scroll-cue .arrow { animation: nudge 2s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(5px); } }
@media (max-width: 760px) { .hero__foot { flex-direction: column-reverse; align-items: flex-start; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.split-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 112px); }
.split-head__aside { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; gap: 28px; } }

/* Atmospheric glows */
.glow { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; z-index: -1; }
.glow--right { right: -20vw; top: 0; background: radial-gradient(circle, var(--rose) 0%, var(--maroon) 40%, transparent 70%); }
.glow--left { left: -25vw; top: 10%; background: radial-gradient(circle at 40% 60%, var(--sand) 0%, var(--rose) 25%, var(--maroon) 50%, transparent 72%); opacity: .42; }
.section > .glow, .why, .process { isolation: isolate; }
.why, .process, .section { overflow: clip; }

/* Photos as atmosphere */
.atmos { position: absolute; z-index: -1; pointer-events: none; overflow: hidden; }
.atmos img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.atmos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground), transparent 30%, transparent 70%, var(--ground)); }
.atmos--full::after { background: linear-gradient(90deg, rgba(20,17,19,.85), rgba(20,17,19,.35) 50%, rgba(20,17,19,.85)); }
.atmos--right { right: 0; top: 0; width: 62%; height: 78%; opacity: .5; -webkit-mask-image: radial-gradient(75% 70% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(75% 70% at 70% 40%, #000 30%, transparent 75%); }
.atmos--right img { filter: saturate(.6) brightness(.8); }
.atmos--full { inset: 0; opacity: .5; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 65%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 65%, transparent); }
.atmos--full img { filter: saturate(.75) brightness(.85); }
.atmos--bottom { left: 0; right: 0; bottom: 0; height: 75%; opacity: .45; -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%); mask-image: linear-gradient(180deg, transparent, #000 55%); }
.atmos--bottom img { filter: saturate(.7) brightness(.7); object-position: center 60%; }
.why, .fitout, .experience, .contact { isolation: isolate; }

/* Why pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
.pillars article { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.pillars p { color: var(--ink-muted); font-size: 16px; }
@media (max-width: 1060px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Marquee */
.marquee { padding-block: clamp(24px, 4vw, 64px) var(--section); overflow: hidden; }
.marquee__row { display: flex; white-space: nowrap; font-family: var(--font-serif); font-weight: 300; font-variation-settings: "opsz" 72; font-size: clamp(56px, 9vw, 150px); line-height: 1.08; letter-spacing: -0.02em; will-change: transform; }
.marquee__row span { padding-right: .3em; }
.marquee__row em { font-family: var(--font-serif-italic); font-style: italic; font-weight: 400; font-variation-settings: normal; color: var(--sand); }
.marquee__row:nth-child(2) { margin-left: -40vw; }

/* ---------- Drawing panel ---------- */
.drawing { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); border: 1px solid var(--line); background: rgba(43, 40, 41, .55); backdrop-filter: blur(6px); }
.drawing__art { position: relative; padding: clamp(16px, 3vw, 40px); border-right: 1px solid var(--line); min-width: 0; }
.dw-thumbs { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.dw-guide { position: absolute; background: var(--sand); opacity: .32; }
.dw-guide--v { width: 1px; top: 0; bottom: 0; transform: scaleY(0); transform-origin: top; }
.dw-guide--h { height: 1px; left: 0; right: 0; transform: scaleX(0); transform-origin: left; }
.dw-thumb { position: absolute; overflow: hidden; border: 1px solid var(--sand); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); opacity: 0; will-change: opacity, transform; }
.dw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25) brightness(.72) contrast(1.05); }
.dw-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,19,.1), rgba(20,17,19,.5)); }
.dw-thumb__code { position: absolute; left: 8px; bottom: 6px; z-index: 1; font: 500 11px var(--font-mono); letter-spacing: .04em; color: var(--sand); }
@media (max-width: 640px) { .dw-thumbs { display: none; } }
.drawing__art svg { display: block; width: 100%; height: auto; color: #6a6062; }
.drawing__art .ly { transition: color .35s, opacity .35s; }
.drawing[data-active] .drawing__art .ly { opacity: .45; }
.drawing[data-active="el"] .ly-el, .drawing[data-active="ac"] .ly-ac, .drawing[data-active="pd"] .ly-pd,
.drawing[data-active="ff"] .ly-ff, .drawing[data-active="dt"] .ly-dt, .drawing[data-active="id"] .ly-id { color: var(--sand); opacity: 1 !important; }
.drawing__art .callout { fill: var(--sand); }
.drawing__art .callout-label { fill: var(--ink); font: 500 11px var(--font-mono); letter-spacing: .04em; }
.drawing__caption { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.drawing .ly path, .drawing .ly rect { stroke-dasharray: var(--len, 0); }
.index { list-style: none; margin: 0; padding: 8px 28px; }
.index__row { border-bottom: 1px solid var(--line); }
.index__row:last-child { border-bottom: 0; }
.index__btn { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: baseline; padding: 18px 0; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; }
.index__title { font-family: var(--font-serif); font-weight: 400; font-variation-settings: "opsz" 36; font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; transition: transform .45s var(--ease-out); }
.index__btn:hover .index__title { transform: translateX(6px); }
.index__row[data-open="true"] .code:first-child { color: var(--sand); }
.index__body { padding: 0 0 20px 68px; color: var(--ink-muted); font-size: 15px; }
.index__body ul { margin: 0; padding-left: 18px; }
.index__body li + li { margin-top: 4px; }
@media (max-width: 960px) {
  .drawing { grid-template-columns: 1fr; }
  .drawing__art { border-right: 0; border-bottom: 1px solid var(--line); }
  .index { padding: 8px 16px; }
}

/* ---------- Columns & lists ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.cols3 > div { display: flex; flex-direction: column; gap: 20px; }
.clients .cols3 > div { gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.clients .cols3 p { color: var(--ink-muted); font-size: 16px; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ruled > li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-muted); transition: color .3s, padding-left .45s var(--ease-out); }
.ruled > li:hover { color: var(--ink); padding-left: 8px; }
.people > li { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.people > li:hover { padding-left: 0; }
.people .muted { font-size: 14px; }
.creds { margin: 0; border-top: 1px solid var(--line); }
.creds > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.creds dt { color: var(--ink-muted); }
.creds dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .cols3 { grid-template-columns: 1fr; } }

/* ---------- After handover (image as a field) ---------- */
.handover { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.handover__media { position: absolute; inset: 0; z-index: -1; }
.handover__media img { width: 100%; height: 125%; object-fit: cover; object-position: 40% 30%; filter: grayscale(1) contrast(1.1) brightness(.9); mix-blend-mode: luminosity; opacity: .55; will-change: transform; }
.handover__media { background: linear-gradient(120deg, var(--maroon), #3a0a14 45%, var(--ground)); }
.handover__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ground), transparent 25%, transparent 70%, var(--ground)), linear-gradient(90deg, transparent 40%, rgba(20,17,19,.75)); }
.handover__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: end; padding-block: var(--section); }
.handover__text { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 860px) { .handover__inner { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 128px); }
.process__intro { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 32px; }
.process__figure { margin: 8px 0 0; overflow: hidden; aspect-ratio: 4 / 3; max-width: 440px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.process__figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); opacity: .85; transition: transform 1.2s var(--ease-out); }
.process__figure:hover img { transform: scale(1.04); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(56px, 6vw, 96px); }
.steps li { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.steps__num { font-family: var(--font-serif-italic); font-style: italic; font-size: clamp(64px, 7vw, 112px); line-height: .9; letter-spacing: -0.03em; color: var(--ink); }
.steps li p { color: var(--ink-muted); }
@media (max-width: 960px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .process__figure { display: none; }
}

/* ---------- Experience ---------- */
.projects { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.projects article { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.projects .names { font-family: var(--font-serif); font-weight: 300; font-variation-settings: "opsz" 48; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.18; letter-spacing: -0.01em; }
.note { margin-top: 32px; max-width: 72ch; font-size: 14px; color: var(--ink-faint); }
@media (max-width: 860px) { .projects article { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Contact ---------- */
.contact { position: relative; padding-top: var(--section); padding-bottom: clamp(64px, 8vw, 120px); overflow: hidden; }
.contact__title { margin-bottom: clamp(56px, 7vw, 112px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 128px); }
.contact__info { display: flex; flex-direction: column; gap: 40px; }
.contact__block { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink-muted); }
.contact__block a { color: var(--ink); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

/* Form: underline fields with floating labels */
.enquiry { display: flex; flex-direction: column; gap: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { position: relative; display: flex; flex-direction: column; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  color: var(--ink); font: 400 18px/1.4 var(--font-sans); padding: 26px 0 10px; min-height: 56px; resize: vertical;
  transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 12px) 60%, calc(100% - 7px) 60%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ground-raised); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--sand); }
.field label { position: absolute; left: 0; top: 26px; font-size: 18px; color: var(--ink-muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease-out), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.is-static { transform: translateY(-22px) scale(.72); color: var(--ink-muted); }
.field input:focus + label, .field textarea:focus + label { color: var(--sand); }
.field__hint { font-size: 13px; color: var(--ink-faint); margin-top: 8px; }
.field__error { font-size: 13px; color: var(--danger); margin-top: 8px; }
.field[data-invalid="true"] input { border-bottom-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enquiry__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--maroon); background: var(--maroon); color: var(--ink); font: 500 15px var(--font-sans); cursor: pointer; transition: background-color .3s, border-color .3s; }
.btn:hover { background: #8f0a22; border-color: #8f0a22; }
.btn:hover .arrow { transform: translateX(6px); }
.btn[disabled] { opacity: .5; cursor: progress; }
.form-status { font-size: 14px; color: var(--ink-muted); }
.form-status[data-tone="error"] { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--ink-faint); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin-left: auto; }
@media (max-width: 860px) { .site-footer p { margin-left: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .grid-lines span::after { display: none; }
}
