:root {
  --navy: #06142f;
  --navy-deep: #020b1d;
  --navy-soft: #102543;
  --brass: #b87a45;
  --brass-light: #d5a16f;
  --ivory: #f4f0e9;
  --white: #ffffff;
  --ink: #15202d;
  --muted: #657080;
  --line: rgba(184, 122, 69, 0.34);
  --display: "Bodoni 72", "Bodoni MT", Didot, "Times New Roman", serif;
  --sans: Avenir, "Avenir Next", Montserrat, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0 0 14px; color: var(--brass); font-size: .76rem; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(3.4rem, 7.5vw, 7.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.65rem, 2.5vw, 2.4rem); }
p { margin: 0 0 1.2rem; }
.lead { max-width: 760px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.7; }
.brass { color: var(--brass-light); }
.section { padding: 110px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--ivory { background: var(--ivory); }
.rule { width: 74px; height: 1px; background: var(--brass); margin: 26px 0; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; height: 86px; background: rgba(2,11,29,.9); border-bottom: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(14px); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; height: 78px; align-items: center; }
.brand img { width: auto; height: 74px; object-fit: contain; }
.brand .brand-logo { width: 270px; height: auto; }
.wordmark { display: flex; flex-direction: column; align-items: center; color: white; font-family: var(--display); line-height: .9; text-transform: uppercase; }
.wordmark__name { font-size: 1.35rem; letter-spacing: .13em; }
.wordmark__bespoke { margin-top: 5px; color: var(--brass-light); font-size: .92rem; letter-spacing: .35em; padding-left: .35em; }
.wordmark__tagline { margin-top: 7px; color: rgba(255,255,255,.72); font-family: var(--sans); font-size: .42rem; letter-spacing: .3em; }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.84); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brass-light); }
.nav-cta { border: 1px solid var(--brass); padding: 12px 18px; }
.menu-toggle { display: none; width: 46px; height: 42px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); }

.hero { min-height: 100svh; color: white; position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--navy-deep) url("banstead-home.jpeg") center 75% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,11,29,.98) 0%, rgba(2,11,29,.93) 44%, rgba(2,11,29,.66) 68%, rgba(2,11,29,.28) 100%), linear-gradient(0deg, rgba(2,11,29,.78), rgba(2,11,29,.08) 68%); }
.hero-content { padding-top: 180px; padding-bottom: 90px; }
.hero h1 { max-width: 980px; }
.hero h1 span { display: block; color: var(--brass-light); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid var(--brass); background: var(--brass); color: var(--navy-deep); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: .2s ease; }
.button:hover { background: var(--brass-light); border-color: var(--brass-light); }
.button--ghost { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.button--ghost:hover { color: white; background: rgba(255,255,255,.1); border-color: white; }
.button--navy { background: var(--navy); color: white; border-color: var(--navy); }

.statement-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: start; }
.statement-grid .lead { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 55px; border: 1px solid var(--line); }
.service-card { position: relative; min-height: 420px; padding: 42px 34px; display: flex; flex-direction: column; justify-content: space-between; background: var(--navy); color: white; overflow: hidden; }
.service-card::after { content: attr(data-number); position: absolute; right: 18px; bottom: -40px; color: rgba(255,255,255,.035); font-family: var(--display); font-size: 12rem; line-height: 1; }
.service-card p { color: rgba(255,255,255,.68); }
.service-card a { width: fit-content; color: var(--brass-light); border-bottom: 1px solid var(--brass); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }

.image-split { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 680px; }
.image-split__image { background: var(--navy) center / cover no-repeat; min-height: 500px; }
.image-split__image--cobham { background-image: url("cobham-kitchen.jpeg"); }
.image-split__copy { background: var(--navy-deep); color: white; padding: 90px clamp(36px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.image-split__copy p { color: rgba(255,255,255,.72); }

.process-grid { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 42px; margin-top: 58px; }
.process-item { counter-increment: step; border-top: 1px solid var(--line); padding-top: 26px; }
.process-item::before { content: "0" counter(step); display: block; margin-bottom: 30px; color: var(--brass); font-family: var(--display); font-size: 1.3rem; }
.process-item h3 { font-size: 1.85rem; margin-bottom: 13px; }
.process-item p { color: var(--muted); font-size: .95rem; }

.quote-band { padding: 88px 0; background: var(--brass); color: var(--navy-deep); text-align: center; }
.quote-band h2 { font-size: clamp(2.7rem, 6vw, 6rem); }
.quote-band p { margin: 20px auto 0; max-width: 650px; }

.page-hero { padding: 210px 0 100px; color: white; background: radial-gradient(circle at 85% 20%, #18345d 0%, var(--navy) 34%, var(--navy-deep) 75%); }
.page-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 6.8rem); }
.page-hero .lead { margin-top: 26px; color: rgba(255,255,255,.74); }
.content-grid { display:grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.content-grid + .content-grid { margin-top: 90px; }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 26px; }
.list li { position: relative; padding-left: 20px; }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--brass); }
.feature-panel { padding: 45px; background: var(--ivory); border-left: 2px solid var(--brass); }
.feature-panel h3 { margin-bottom: 15px; }
.projects-heading, .case-study__intro, .mechanical-feature { display:grid; grid-template-columns:.85fr 1.15fr; gap:90px; align-items:start; }
.project-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:30px; margin-top:58px; }
.project-card { background:var(--ivory); }
.project-card__image { display:block; aspect-ratio:4/3; background-position:center; background-size:cover; overflow:hidden; }
.project-card__image--banstead { background-image:url("banstead-room.jpeg"); background-position:center 58%; }
.project-card__image--cobham { background-image:url("cobham-kitchen.jpeg"); }
.project-card__body { padding:34px; }
.project-card__body h3 { margin-bottom:18px; }
.project-card__body p:not(.eyebrow) { color:var(--muted); }
.text-link { display:inline-block; margin-top:10px; padding-bottom:3px; color:var(--brass); border-bottom:1px solid var(--brass); font-size:.76rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.case-study__intro { margin-bottom:55px; }
.case-study__intro h2 { max-width:520px; }
.gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.gallery figure { margin:0; min-height:360px; overflow:hidden; background:var(--navy); }
.gallery__wide { grid-column:1/-1; aspect-ratio:16/9; }
.gallery img { width:100%; height:100%; object-fit:cover; }
.gallery--banstead figure:not(.gallery__wide) { aspect-ratio:4/5; }
.gallery--cobham figure:not(.gallery__wide) { aspect-ratio:4/3; }
.mechanical-feature .lead { color:rgba(255,255,255,.82); }
.mechanical-feature p:not(.eyebrow) { color:rgba(255,255,255,.7); }
.timeline { display: grid; margin-top: 56px; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.timeline-item strong { color: var(--brass-light); font-family: var(--display); font-size: 1.45rem; font-weight: 400; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-detail { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-detail span { display:block; color: var(--brass); font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.contact-detail p { margin: 5px 0 0; }
.sample-note { padding: 14px 18px; margin-bottom: 28px; background: #fff8ed; border: 1px solid #e7c99e; color: #6d4c2b; font-size: .88rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field { display:flex; flex-direction:column; gap:8px; }
.field--full { grid-column:1/-1; }
label { color: var(--navy); font-size:.76rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
input, textarea, select { width:100%; border:1px solid #cbd0d6; border-radius:0; background:white; padding:14px; color:var(--ink); }
textarea { min-height:140px; resize:vertical; }
input:focus, textarea:focus, select:focus { outline:2px solid rgba(184,122,69,.3); border-color:var(--brass); }
.form-status { display:none; margin-top:20px; padding:18px; background:#eef5ef; color:#24492b; }

.site-footer { padding: 70px 0 32px; background: var(--navy-deep); color: rgba(255,255,255,.7); }
.footer-grid { display:grid; grid-template-columns: 1.4fr .8fr .8fr; gap:60px; padding-bottom:60px; }
.footer-logo { width: 250px; height: auto; margin-bottom: 30px; }
.site-footer .wordmark { width: fit-content; margin-bottom: 30px; align-items: flex-start; }
.footer-logo { width: min(280px, 100%); height: auto; margin-bottom: 30px; }
.footer-heading { color:var(--brass-light); font-size:.72rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }
.footer-links { list-style:none; padding:0; margin:18px 0 0; }
.footer-links li { margin:8px 0; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); font-size:.78rem; }

@media (max-width: 920px) {
  .shell { width: min(100% - 32px, 720px); }
  .site-header { height: 76px; }
  .brand { height: 68px; }
  .brand img { height: 64px; }
  .brand .brand-logo { width: 210px; height: auto; }
  .menu-toggle { display:block; }
  .nav-links { display:none; position:absolute; top:76px; left:0; right:0; padding:24px 20px 32px; flex-direction:column; align-items:stretch; background:var(--navy-deep); }
  .nav-links.open { display:flex; }
  .nav-links a { padding:9px 0; }
  .statement-grid, .content-grid, .contact-grid, .projects-heading, .case-study__intro, .mechanical-feature { grid-template-columns:1fr; gap:42px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:320px; }
  .image-split { grid-template-columns:1fr; }
  .image-split__image { min-height:420px; }
  .process-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :first-child { grid-column:1/-1; }
  .project-grid { grid-template-columns:1fr; }
}

@media (max-width: 600px) {
  .section { padding:78px 0; }
  .hero-content { padding-bottom:60px; }
  .hero::after { background: linear-gradient(90deg,rgba(2,11,29,.94),rgba(2,11,29,.52)),linear-gradient(0deg,rgba(2,11,29,.85),transparent); }
  .process-grid, .form-grid, .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :first-child { grid-column:auto; }
  .list { grid-template-columns:1fr; }
  .timeline-item { grid-template-columns:76px 1fr; }
  .gallery { grid-template-columns:1fr; }
  .gallery__wide { grid-column:auto; aspect-ratio:4/3; }
  .footer-bottom { flex-direction:column; }
}
