:root {
  --ink: #101311;
  --paper: #f3f1eb;
  --white: #fffdf8;
  --brass: #b79b6c;
  --line: rgba(16,19,17,.16);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { height: 90px; padding: 0 clamp(22px,4vw,68px); display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 14px; }
.monogram { width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; }
.brand-name { font-size: 12px; letter-spacing: .17em; font-weight: 600; line-height: 1.25; }
.brand-name i { display: block; font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: .13em; }
nav { display: flex; align-items: center; gap: clamp(20px,3vw,48px); font-size: 13px; font-weight: 500; }
nav a:not(.nav-cta) { border-bottom: 1px solid transparent; }
nav a:hover:not(.nav-cta) { border-color: currentColor; }
.nav-cta { padding: 13px 18px; border: 1px solid var(--ink); transition: .25s ease; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-button { display: none; border: 0; background: none; }

.hero { position: relative; height: calc(100svh - 90px); min-height: 650px; color: var(--white); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-image: url("assets/boston-millwork-hero.png"); background-size: cover; background-position: center; transform: scale(1.015); animation: settle 1.6s ease-out forwards; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,9,.84) 0%, rgba(8,10,9,.49) 43%, rgba(8,10,9,.06) 78%); }
.hero-content { position: relative; z-index: 2; height: 100%; width: min(800px, 88%); padding: clamp(80px,12vh,150px) clamp(22px,6vw,100px); display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .kicker { margin: 0 0 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .23em; font-weight: 600; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(70px,10vw,152px); line-height: .77; letter-spacing: -.055em; font-weight: 400; }
.hero h1 em, h2 em { font-weight: 400; color: var(--brass); }
.hero-copy { max-width: 540px; margin: 40px 0 0; color: rgba(255,253,248,.78); font-size: clamp(16px,1.35vw,19px); }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: auto; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 240px; padding: 17px 20px; font-size: 13px; font-weight: 600; transition: .25s ease; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--brass); }
.text-link { display: inline-flex; gap: 26px; align-items: center; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 5px; }
.text-link.dark { border-bottom-color: var(--line); margin-top: 24px; }
.image-note { position: absolute; z-index: 2; right: 20px; bottom: 18px; margin: 0; font-size: 10px; opacity: .45; text-transform: uppercase; letter-spacing: .12em; }
.hero-index { position: absolute; z-index: 2; top: 34px; right: clamp(22px,4vw,68px); display: flex; gap: 30px; font-size: 11px; letter-spacing: .12em; }

.section-pad { padding: clamp(90px,12vw,180px) clamp(22px,8vw,128px); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: clamp(50px,10vw,170px); align-items: end; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px,6.7vw,104px); line-height: .94; letter-spacing: -.04em; font-weight: 400; }
.intro-copy p { margin: 0 0 24px; color: rgba(16,19,17,.7); font-size: 17px; }

.expertise { background: var(--ink); color: var(--white); }
.section-heading { padding-bottom: 70px; }
.service-list { border-top: 1px solid rgba(255,255,255,.18); }
.service-row { min-height: 210px; padding: 44px clamp(22px,8vw,128px); display: grid; grid-template-columns: 60px 1.25fr .75fr 40px; gap: 34px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .25s ease, color .25s ease; }
.service-row:hover { background: var(--brass); color: var(--ink); }
.service-number { font-size: 11px; opacity: .62; align-self: start; }
.service-row h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px,4.3vw,64px); line-height: .96; }
.service-row p { margin: 0; color: currentColor; opacity: .68; max-width: 410px; }
.service-arrow { font-size: 24px; }

.approach { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: clamp(60px,10vw,160px); }
.approach-title h2 { font-size: clamp(50px,5.6vw,86px); }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li > span { font-size: 11px; color: #75674f; }
.steps h3 { margin: -7px 0 8px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.steps p { margin: 0; max-width: 500px; color: rgba(16,19,17,.66); }

.about { min-height: 700px; background: #c9bda8; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.about-mark { font-family: var(--serif); font-size: min(66vw,800px); line-height: .8; align-self: end; color: rgba(16,19,17,.08); transform: translate(-4%,8%); }
.about-copy { padding: clamp(90px,12vw,180px) clamp(22px,9vw,150px) clamp(90px,12vw,180px) 40px; align-self: center; }
.about-copy h2 { font-size: clamp(48px,5.7vw,88px); }
.about-copy > p:not(.kicker) { max-width: 640px; color: rgba(16,19,17,.7); font-size: 17px; margin-top: 34px; }

.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(50px,10vw,170px); align-items: end; }
.contact-info > p:first-child { color: rgba(16,19,17,.67); font-size: 17px; margin: 0 0 32px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--brass); color: var(--ink); }
.service-area { font-size: 12px; color: rgba(16,19,17,.54); margin-top: 24px; }

footer { background: var(--ink); color: rgba(255,253,248,.76); padding: 70px clamp(22px,5vw,80px) 32px; display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 60px; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--white); }
.footer-brand > span { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 32px; }
.footer-brand p { letter-spacing: .18em; line-height: 1.4; }
.footer-brand i { font-family: var(--serif); font-weight: 400; }
.footer-label { margin: 0 0 12px; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }
footer p { margin: 0; }
.footer-bottom { grid-column: 1/-1; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 11px; }

@keyframes settle { from { transform: scale(1.055); opacity: .78; } to { transform: scale(1.015); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-image { animation: none; } }

@media (max-width: 820px) {
  .site-header { height: 74px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); padding: 25px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { height: calc(100svh - 74px); min-height: 650px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(8,10,9,.82),rgba(8,10,9,.22)); }
  .hero-content { width: 100%; padding: 95px 22px 45px; }
  .hero h1 { font-size: clamp(66px,21vw,105px); }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 20px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-index { display: none; }
  .intro-grid, .approach, .about, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 45px; }
  .service-row { grid-template-columns: 38px 1fr 24px; gap: 16px; padding-top: 34px; padding-bottom: 34px; }
  .service-row p { grid-column: 2/4; }
  .approach { gap: 60px; }
  .about-mark { display: none; }
  .about-copy { padding: 100px 22px; }
  .contact-grid { gap: 50px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 520px) {
  h2 { font-size: 50px; }
  .section-pad { padding-top: 90px; padding-bottom: 90px; }
  .hero-copy { margin-top: 28px; }
  .service-row h3 { font-size: 38px; }
  footer { grid-template-columns: 1fr; }
  .footer-brand, .footer-bottom { grid-column: 1; }
  .footer-bottom { align-items: flex-start; gap: 12px; flex-direction: column; margin-top: 20px; }
}
