/* Oakcrest Homes & Development */

/* Fonts are hosted with the site (both SIL Open Font License, Latin subset) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #131311;
  --charcoal: #1c1b19;
  --char-2: #262522;
  --paper: #faf8f4;
  --stone: #f2eee7;
  --sand: #e4ddd0;
  --muted: #69645b;
  --muted-dark: #a8a296;
  --brass: #c9a54f;      /* sampled from the crest */
  --brass-ink: #85672c;  /* darker gold for text on light backgrounds */
  --white: #fff;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1.2em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--charcoal); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--brass); }
.h2 { font-size: clamp(38px, 4.6vw, 64px); }
.h2 em, .h1 em { font-style: italic; color: var(--brass); }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 40em; }
.section--dark .lede { color: var(--muted-dark); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .lede { margin-top: 18px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; background: none;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--brass); color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,9,.55), rgba(10,10,9,0));
  transition: opacity .4s var(--ease);
}
.site-header.is-solid { background: rgba(19,19,17,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); --header-h: 72px; }
.site-header.is-solid::before { opacity: 0; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease); }
.is-solid .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-size: 9.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; color: rgba(255,255,255,.75); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.main-nav a:not(.btn) {
  position: relative; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 0; color: rgba(255,255,255,.88); transition: color .3s;
}
.main-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .btn { height: 44px; padding: 0 24px; }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 100px var(--gutter) 48px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: clamp(38px, 10vw, 56px); letter-spacing: 0; text-transform: none; padding: 4px 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--brass); }
  .main-nav .btn { margin-top: 28px; height: 54px; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand { position: relative; z-index: 2; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 8.5px; letter-spacing: .24em; }
  .brand img { width: 40px; height: 40px; }
}

/* Home hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,11,.25) 0%, rgba(12,12,11,0) 30%, rgba(12,12,11,.35) 62%, rgba(12,12,11,.85) 100%),
    linear-gradient(90deg, rgba(12,12,11,.55) 0%, rgba(12,12,11,0) 60%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 140px; }
.hero .eyebrow { color: var(--brass); }
.hero h1 { font-size: clamp(56px, 9vw, 132px); font-weight: 400; line-height: .95; max-width: 9.5em; }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.86); max-width: 30em; margin: 26px 0 40px; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 110px); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,.7);
}
.hero-scroll::after { content: ''; width: 1px; height: 64px; background: linear-gradient(var(--brass), transparent); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* Stats */
.stats { background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 32px); border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--brass); font-weight: 400; }
.stat-label { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.page-hero--short { min-height: 380px; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,11,.55) 0%, rgba(12,12,11,.4) 40%, rgba(12,12,11,.88) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 150px; padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(50px, 7.5vw, 104px); font-weight: 400; line-height: 1; }
.page-hero p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 34em; margin-top: 22px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 26px; }
.crumbs a:hover { color: var(--brass); }
.crumbs span[aria-hidden] { color: var(--brass); }

/* Split / about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-text .h2 { margin-bottom: 30px; }
.split-text p { color: var(--muted); font-size: 17px; }
.split-text .link-arrow { margin-top: 18px; }
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.frame::before { content: ''; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--brass); }
.frame-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 48px;
  background: var(--ink); color: var(--white); padding: 26px 30px; text-align: left;
}
.frame-badge strong { display: block; font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; color: var(--brass); }
.frame-badge span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: 0; }
  .frame { margin-right: 28px; }
  .frame img { aspect-ratio: 4 / 3; }
  .frame-badge { left: 16px; bottom: 16px; padding: 18px 22px; }
  .frame-badge strong { font-size: 40px; }
  .split-text { max-width: 640px; }
}

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; display: block; overflow: hidden; background: var(--ink); color: var(--white); aspect-ratio: 3 / 4.3; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.1s var(--ease), opacity .6s var(--ease); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,11,.1) 30%, rgba(12,12,11,.92) 100%); }
.service-card:hover img { transform: scale(1.06); opacity: .6; }
.service-card-body { position: absolute; inset: auto 0 0; z-index: 1; padding: 28px 26px; }
.service-num { position: absolute; top: 24px; left: 26px; z-index: 1; font-family: var(--serif); font-size: 18px; color: var(--brass); letter-spacing: .08em; }
.service-card h3 { font-size: clamp(26px, 2.1vw, 32px); }
.service-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.8); margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.service-card:hover p, .service-card:focus-visible p { max-height: 8em; opacity: 1; margin-top: 14px; }
@media (hover: none) { .service-card p { max-height: none; opacity: 1; margin-top: 14px; } }
@media (max-width: 1100px) { .service-grid { grid-template-columns: 1fr 1fr; } .service-card { aspect-ratio: 4 / 4.2; } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } .service-card { aspect-ratio: 4 / 3.6; } .service-card p { max-height: none; opacity: 1; margin-top: 12px; } }

/* Service rows (services page) */
.service-rows { display: grid; gap: clamp(80px, 10vw, 140px); }
.service-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; scroll-margin-top: 110px; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { overflow: hidden; }
.service-row-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.04); }
.service-row-num { font-family: var(--serif); font-size: clamp(80px, 9vw, 140px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--brass); display: block; margin-bottom: 24px; }
.service-row h2 { font-size: clamp(36px, 3.8vw, 54px); margin-bottom: 22px; }
.service-row p { font-size: 18px; color: var(--muted); max-width: 26em; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: minmax(0, 1fr); }
  .service-row:nth-child(even) .service-row-media { order: 0; }
}

/* Projects */
.featured { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 22px; }
.featured .project-card:first-child { grid-row: span 2; }
.featured .project-card:first-child .project-card-media { aspect-ratio: auto; height: 100%; min-height: 520px; }
.featured .project-card:first-child { display: flex; flex-direction: column; }
.featured .project-card:first-child .project-card-media { flex: 1; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(22px, 3vw, 40px); }
.project-card { display: block; position: relative; }
.project-card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.05); }
.project-card-media::after {
  content: 'View project'; position: absolute; right: 18px; bottom: 18px;
  background: var(--paper); color: var(--ink); padding: 10px 16px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.project-card:hover .project-card-media::after { opacity: 1; transform: none; }
.project-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-top: 18px; }
.project-card h3 { font-size: clamp(26px, 2.4vw, 34px); transition: color .3s; }
.project-card:hover h3 { color: var(--brass-ink); }
.project-card-info { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) {
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured .project-card:first-child { grid-row: auto; }
  .featured .project-card:first-child .project-card-media { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }

/* Locations */
.locations { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.location-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.location-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1;
  transition: padding .45s var(--ease), color .3s;
}
.location-list li span { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--brass); }
.location-list li:hover { padding-left: 14px; color: var(--brass); }
@media (max-width: 860px) { .locations { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { position: relative; color: var(--white); background: var(--ink); overflow: hidden; text-align: center; }
.cta-band-media { position: absolute; inset: -14% 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(12,12,11,.6), rgba(12,12,11,.1)); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; padding-top: clamp(100px, 13vw, 170px); padding-bottom: clamp(100px, 13vw, 170px); }
.cta-band h2 { font-size: clamp(42px, 6vw, 84px); font-weight: 400; max-width: 12em; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.82); font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; margin: 26px auto 42px; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Project detail */
.project-hero { min-height: 100vh; min-height: 100svh; }
.project-hero .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.project-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.project-hero-actions .btn { height: 44px; padding: 0 22px; }
.project-hero .year-tag { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); border: 1px solid rgba(192,154,95,.5); padding: 10px 16px; }
.overview { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); }
.overview p { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); line-height: 1.75; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sand); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--sand); }
.facts dt, .facts .k { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts .v { font-family: var(--serif); font-size: 24px; line-height: 1.2; text-align: right; }
.facts .v a:hover { color: var(--brass-ink); }
@media (max-width: 860px) { .overview { grid-template-columns: minmax(0, 1fr); } }

.gallery { columns: 3; column-gap: 14px; }
.gallery-item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--sand); overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform 1s var(--ease), opacity .5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(19,19,17,0); transition: background .4s; }
.gallery-item:hover::after { background: rgba(19,19,17,.12); }
@media (max-width: 1000px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gallery-count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.single-photo { cursor: zoom-in; border: 0; padding: 0; background: none; display: block; width: 100%; }
.single-photo img { width: 100%; max-height: 82vh; object-fit: cover; }

.project-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sand); }
.project-nav a { display: block; padding: clamp(36px, 5vw, 64px) var(--gutter); transition: background .4s var(--ease); }
.project-nav a + a { border-left: 1px solid var(--sand); text-align: right; }
.project-nav a:hover { background: var(--stone); }
.project-nav small { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.project-nav strong { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
@media (max-width: 600px) { .project-nav { grid-template-columns: 1fr; } .project-nav a + a { border-left: 0; border-top: 1px solid var(--sand); text-align: left; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12,12,11,.97); color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(16px, 7vw, 110px); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; transition: opacity .3s; }
.lb-stage img.is-loading { opacity: .25; }
.lb-btn { background: none; border: 1px solid rgba(255,255,255,.25); width: 52px; height: 52px; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb-btn:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(10px, 2vw, 32px); }
.lb-next { right: clamp(10px, 2vw, 32px); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: -70px; transform: none; } .lb-stage { padding: 0 8px; } }

/* About values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.value { padding: 44px 32px 8px 0; }
.value + .value { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.value-num { font-family: var(--serif); color: var(--brass); font-size: 20px; display: block; margin-bottom: 28px; }
.value h3 { font-size: 34px; margin-bottom: 16px; }
.value p { color: var(--muted-dark); font-size: 15.5px; }
@media (max-width: 1000px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; }
}
@media (max-width: 600px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 32px 0 0; border-left: 0; }
  .value + .value { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; }
}

.story p { font-size: 18px; color: var(--muted); }
.story p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 84px; line-height: .8; padding: 8px 12px 0 0; color: var(--brass-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-card { background: var(--charcoal); color: var(--white); padding: clamp(32px, 4vw, 52px); position: sticky; top: 110px; }
.contact-card h2 { font-size: clamp(32px, 3vw, 42px); margin-bottom: 34px; }
.contact-item { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-item:last-of-type { border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-icon { flex: none; width: 46px; height: 46px; border: 1px solid rgba(192,154,95,.5); display: grid; place-items: center; color: var(--brass); }
.contact-icon svg { width: 18px; height: 18px; }
.contact-item h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 6px; }
.contact-item a, .contact-item p { font-family: var(--serif); font-size: 24px; line-height: 1.25; word-break: break-word; }
.contact-item a:hover { color: var(--brass); }
.contact-areas { margin-top: 30px; }
.contact-areas h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 13px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); }

.form h2 { font-size: clamp(36px, 3.6vw, 52px); margin-bottom: 12px; }
.form > p { color: var(--muted); margin-bottom: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #cfc6b6; border-radius: 0;
  padding: 10px 0 12px; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2386663a' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass-ink); }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #a8432c; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 var(--brass-ink); }
.field input::placeholder, .field textarea::placeholder { color: #857e72; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.form-foot small { color: var(--muted); font-size: 13.5px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-card { position: static; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 34px; margin: 52px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brass-ink); }
.prose a { color: var(--brass-ink); border-bottom: 1px solid currentColor; }

/* Message pages */
.message { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--white); padding: 140px var(--gutter) 80px; }
.message h1 { font-size: clamp(54px, 8vw, 110px); font-weight: 400; }
.message p { color: rgba(255,255,255,.8); font-size: 19px; max-width: 30em; margin: 22px auto 40px; }
.message .big { font-family: var(--serif); font-size: clamp(110px, 20vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--brass); display: block; margin-bottom: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(70px, 9vw, 110px) 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 48px; padding-bottom: 70px; }
.footer-brand img { width: 96px; margin: -10px 0 14px -8px; }
.footer-brand p { max-width: 22em; }
.footer-h { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--white); }
.footer-contact a { display: block; color: var(--white); font-family: var(--serif); font-size: 22px; line-height: 1.3; word-break: break-word; }
.footer-contact a:hover { color: var(--brass); }
.footer-contact li span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px;
  display: grid; place-items: center; background: var(--brass); color: var(--ink); border: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease), visibility .35s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--white); }
.to-top svg { width: 18px; height: 18px; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .contact-item { flex-direction: column; gap: 14px; }
  .contact-item a, .contact-item p { font-size: 22px; }
}

/* ------------------------------------------------------------------
   Motion
   Everything below only applies when JS is running (.js on <html>)
   and is switched off for prefers-reduced-motion at the end.
------------------------------------------------------------------- */

/* Page-to-page crossfade (Chrome/Edge/Safari 18.2+; others just navigate) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
.site-header { view-transition-name: site-header; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* Scroll progress */
.progress {
  position: fixed; left: 0; right: 0; top: 0; z-index: 120; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* Header: fades in on load, tucks away while scrolling down */
.js .site-header { transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), transform .5s var(--ease-out), opacity .6s var(--ease); }
.js:not(.is-ready) .site-header { opacity: 0; transform: translateY(-16px); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Hero intro: black veil lifts, photo settles */
.hero-media, .page-hero-media { will-change: transform; }
.js .hero-media::after, .js .page-hero-media::after {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  transition: opacity 1.6s var(--ease);
}
.js.is-ready .hero-media::after, .js.is-ready .page-hero-media::after { opacity: 0; }
.js .hero-media img, .js .page-hero-media img { transform: scale(1.14); transition: transform 2.8s var(--ease-out); }
.js.is-ready .hero-media img, .js.is-ready .page-hero-media img { transform: scale(1); }

/* Headings: words rise out of a mask */
.js [data-reveal][data-split] { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .14em; margin: 0 -.02em -.14em; }
.js [data-split] .wi {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 65ms);
}
.js [data-split].is-in .wi { transform: none; }

/* Eyebrow rule draws in */
.js [data-reveal].eyebrow::before, .js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .25s; }
.js [data-reveal].eyebrow.is-in::before, .js [data-reveal].is-in .eyebrow::before { transform: none; }

/* Photos wipe up into view */
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"] img { transform: scale(1.18); transition: transform 1.8s var(--ease-out), opacity .6s var(--ease); transition-delay: var(--d, 0s), 0s; }
.js [data-reveal="mask"].is-in img { transform: scale(1); }
/* keep hover zooms working once revealed */
.js .project-card:hover [data-reveal="mask"].is-in img { transform: scale(1.05); transition-duration: 1.2s; transition-delay: 0s; }
.js .service-row:hover [data-reveal="mask"].is-in img { transform: scale(1.04); transition-duration: 1.2s; transition-delay: 0s; }
.js .service-card[data-reveal="mask"].is-in:hover img { transform: scale(1.06); transition-duration: 1.1s, .6s; transition-delay: 0s; }
.frame-img { position: relative; z-index: 1; }

/* Gallery tiles: quick staggered rise */
.js .gallery-item[data-reveal] { transform: translateY(36px); transition-duration: .9s; }

/* Buttons: fill sweeps in from the left */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn--brass::before { background: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--dark::before { background: var(--brass); }
.btn--line::before { background: var(--ink); }
.btn--brass:hover { background: var(--brass); }
.btn--ghost:hover { background: transparent; }
.btn--dark:hover { background: var(--ink); }
.btn--line:hover { background: transparent; }

/* Project card title underline */
.project-card h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out), color .3s; padding-bottom: 2px; }
.project-card:hover h3, .project-card:focus-visible h3 { background-size: 100% 1px; }

/* Lightbox photo change */
.lb-stage img { transition: opacity .35s var(--ease), transform .5s var(--ease-out); }
.lb-stage img.is-loading { opacity: .3; transform: scale(.985); }
.lightbox .lb-stage { transform: scale(.97); transition: transform .5s var(--ease-out); }
.lightbox.is-open .lb-stage { transform: none; }

/* Phone call-to-action bar */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 1px;
    background: rgba(255,255,255,.1);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); transition: transform .5s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  }
  .mobile-cta svg { width: 16px; height: 16px; }
  .mobile-cta .call { background: var(--ink); color: var(--white); }
  .mobile-cta .quote { background: var(--brass); color: var(--ink); }
  .to-top { display: none; }
  .has-mobile-cta .site-footer { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .js:not(.is-ready) .site-header { opacity: 1; transform: none; }
  .js .hero-media::after, .js .page-hero-media::after { opacity: 0; }
  .js .hero-media img, .js .page-hero-media img,
  .js [data-split] .wi,
  .js [data-reveal="mask"] img, .js .gallery-item[data-reveal] { transform: none; }
  .js [data-reveal="mask"] { clip-path: none; }
  .js [data-reveal].eyebrow::before, .js [data-reveal] .eyebrow::before { transform: none; }
  .progress { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Phones: the hero text sits over the brightest part of the photo, so deepen the shade there */
@media (max-width: 700px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(12,12,11,.35) 0%, rgba(12,12,11,.1) 22%, rgba(12,12,11,.5) 45%, rgba(12,12,11,.88) 72%, rgba(12,12,11,.95) 100%);
  }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
}
