:root {
  --paper: #f6f1f1;
  --paper-deep: #ebe4e4;
  --ink: #373a40;
  --muted: #686d76;
  --line: rgba(55, 58, 64, 0.38);
  --accent: #dc5f00;
  --white: #fffafa;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; width: 100%; }
.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: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 1.4rem;
  left: 50%;
  width: min(45rem, calc(100% - 2.5rem));
  min-height: 4.5rem;
  padding: .65rem .75rem .65rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: rgba(246, 241, 241, .76);
  border: 1px solid rgba(104, 109, 118, .55);
  border-radius: 99px;
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: background .3s, box-shadow .3s, top .3s;
}
.site-header.scrolled { top: .8rem; background: rgba(246,241,241,.94); box-shadow: 0 10px 36px rgba(55,58,64,.08); }
.brand { display: flex; font: 500 1.15rem/1 var(--serif); font-style: italic; letter-spacing: -.02em; }
.brand span:last-child { margin-left: .25em; }
.site-nav { display: flex; align-items: center; gap: .2rem; font-size: .76rem; font-weight: 400; }
.site-nav > a { padding: .65rem .8rem; border-radius: 99px; transition: background .25s; }
.site-nav > a:hover { background: rgba(55,58,64,.08); }
.site-nav .nav-cta { margin-left: .3rem; padding: .8rem 1.05rem; background: var(--ink); color: var(--white); }
.site-nav .nav-cta:hover { background: var(--accent); }
.nav-cta span { margin-left: .4rem; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; padding: .65rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 23px; height: 1px; margin: 6px; background: currentColor; transition: transform .25s; }

.hero {
  position: relative;
  width: min(94rem, 100%);
  min-height: 100svh;
  margin: auto;
  padding: clamp(8rem, 15vh, 11rem) var(--pad) 5rem;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 48rem; }
.hero-kicker { margin: 0 0 .25rem; font-size: clamp(1rem, 1.6vw, 1.35rem); }
.hero h1, h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-style: italic; font-weight: 500; line-height: .88; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(5.3rem, 10vw, 10rem); }
.hero-intro { width: min(33rem, 90%); margin: 1.8rem 0 2.1rem; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.65; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 34rem; margin: 0 0 2.2rem; border-top: 1px solid var(--line); }
.hero-facts div { padding: .75rem .5rem .75rem 0; border-bottom: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: .58rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; }
.hero-facts dd { margin: .28rem 0 0; font-size: .84rem; font-weight: 400; }
.primary-button { display: inline-flex; align-items: center; gap: .8rem; padding: .9rem 1.25rem; color: var(--white); background: var(--ink); border-radius: 99px; font-size: .78rem; font-weight: 500; transition: background .25s, transform .25s; }
.primary-button:hover { background: var(--accent); transform: translateY(-2px); }
.hero-image-wrapper { position: relative; justify-self: center; width: min(34rem, 42vw); height: min(45rem, 74vh); isolation: isolate; }
.hero-image-wrapper::before { content: ""; position: absolute; inset: 7% -5% -3% 5%; z-index: -1; border: 1px solid var(--line); border-radius: 50% 50% 1.4rem 1.4rem; }
.hero-orbit { position: absolute; z-index: -2; top: -8%; right: -15%; width: 13rem; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50% 50% 1.2rem 1.2rem; filter: saturate(.82) contrast(.96); }
.hero-stamp { position: absolute; right: -2rem; bottom: 2.5rem; width: 6.2rem; aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--white); background: var(--accent); border-radius: 50%; font-size: .62rem; font-weight: 500; line-height: 1.35; text-transform: uppercase; letter-spacing: .13em; transform: rotate(8deg); }
.hero-credit { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .55rem; color: var(--ink); background: rgba(246,241,241,.88); border-radius: 99px; font-size: .52rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 1.5rem; display: flex; gap: .8rem; align-items: center; color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .15em; }
.scroll-cue b { color: var(--accent); font-size: 1rem; }

.specialties { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; padding: 1.4rem var(--pad); border-block: 1px solid var(--line); overflow: hidden; }
.specialties > p { margin: 0; font: 500 italic 1.05rem var(--serif); white-space: nowrap; }
.specialties-track { display: flex; align-items: center; justify-content: space-around; gap: 2rem; min-width: 68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; }
.specialties-track i { color: var(--accent); font-style: normal; }

.section { padding: clamp(6rem, 11vw, 10rem) var(--pad); }
.work, .services { width: min(94rem, 100%); margin: auto; }
.section-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.section-heading::before, .section-heading::after { content: ""; height: 1px; background: var(--line); }
.section-heading .eyebrow { display: none; }
.section-heading h2 { text-align: center; font-size: clamp(4rem, 8vw, 8rem); letter-spacing: .18em; text-indent: .18em; }
.eyebrow { margin: 0 0 1.5rem; color: var(--muted); font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; }
.filter-bar { display: flex; justify-content: center; gap: .45rem; margin: 2.8rem 0 1.5rem; }
.filter { padding: .55rem .85rem; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 99px; cursor: pointer; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.filter.is-active { color: var(--ink); border-color: var(--line); }
.filter.is-active::before { content: "•"; margin-right: .45rem; color: var(--accent); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.project, .portfolio-quote { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.project { padding: .85rem; transition: opacity .25s; }
.project.is-hidden { display: none; }
.project figure { margin: 0; overflow: hidden; }
.project img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); transition: transform .7s ease, filter .4s; }
.project:hover img { transform: scale(1.025); filter: saturate(1); }
.project figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem .1rem .1rem; color: var(--ink); font-size: .68rem; font-weight: 400; }
.project figcaption span:last-child { color: var(--muted); }
.project-tall, .project-portrait, .portfolio-quote, .project-wide { grid-column: span 2; }
.project-tall img, .project-portrait img { aspect-ratio: 4 / 4.8; }
.project-wide img { aspect-ratio: 16 / 8; }
.project-city { grid-column: 1 / -1; }
.project-city figure { position: relative; background: #ded6d1; }
.project-city figure::before { content: ""; position: absolute; inset: -2rem; background: linear-gradient(rgba(246,241,241,.48), rgba(246,241,241,.48)), url("assets/images/portfolio-city.webp") center 38% / cover; filter: blur(22px); opacity: .65; }
.project-city img { position: relative; aspect-ratio: 16 / 8; object-fit: contain; object-position: center; }
.project-city figcaption { position: relative; background: var(--paper); }
.portfolio-quote { min-height: 24rem; margin: 0; padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.portfolio-quote p { max-width: 30rem; margin: 0; font: 400 italic clamp(2.2rem, 4vw, 4.1rem)/.98 var(--serif); }
.portfolio-quote cite { margin-top: 1.2rem; color: var(--muted); font-size: .68rem; font-style: normal; text-transform: uppercase; letter-spacing: .14em; }

.profile { display: grid; grid-template-columns: minmax(18rem,.8fr) 1.2fr; gap: clamp(3rem, 9vw, 10rem); background: var(--paper-deep); align-items: center; }
.profile-photo { position: relative; max-width: 35rem; }
.profile-photo::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: 0; border: 1px solid var(--line); border-radius: 12rem 12rem .5rem .5rem; }
.profile-photo img { position: relative; z-index: 1; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 12rem 12rem .5rem .5rem; filter: saturate(.75); }
.profile-photo > span { position: absolute; z-index: 2; bottom: 1rem; left: 1rem; padding: .55rem .8rem; background: rgba(246,241,241,.9); border-radius: 99px; font-size: .55rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.profile h2, .contact h2 { font-size: clamp(3.7rem, 7vw, 7.2rem); }
.profile-intro { max-width: 38rem; margin: 2.5rem 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.measurements { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 2.7rem; border-top: 1px solid var(--line); }
.measurements div { display: flex; justify-content: space-between; gap: .8rem; padding: .8rem .7rem .8rem 0; border-bottom: 1px solid var(--line); }
.measurements dt { color: var(--muted); font-size: .58rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.measurements dd { margin: 0; font-size: .8rem; font-weight: 400; }
.text-link { display: inline-flex; gap: .55rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }

.services { background: var(--paper); }
.services .section-heading h2 { font-size: clamp(3.5rem, 7vw, 7rem); letter-spacing: -.04em; text-indent: 0; }
.service-list { margin-top: 4rem; border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 4rem 1fr 1fr; align-items: center; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--accent); font-size: .65rem; }
.service-list h3 { margin: 0; font: 400 italic clamp(2.2rem, 4vw, 4rem)/1 var(--serif); }
.service-list p { margin: 0; color: var(--muted); }

.contact { padding: clamp(8rem, 13vw, 12rem) var(--pad) clamp(6rem, 10vw, 9rem); color: var(--white); background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 10vw, 10rem); border-radius: 50% 50% 0 0 / 4rem 4rem 0 0; }
.contact .eyebrow { color: #c1c3c6; }
.contact h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { max-width: 30rem; margin: 2.5rem 0; color: #c1c3c6; line-height: 1.7; }
.contact-copy > a { display: block; width: fit-content; margin-top: .55rem; border-bottom: 1px solid #85888e; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form label { display: flex; flex-direction: column; gap: .55rem; color: #c1c3c6; font-size: .6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .15em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .4rem 0 .75rem; color: #fff; background: transparent; border: 0; border-bottom: 1px solid #777a80; border-radius: 0; outline: none; resize: vertical; }
.contact-form select option { color: #111; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #fff; }
.contact-form button { align-self: flex-start; padding: .85rem 1.2rem; color: var(--ink); background: var(--white); border: 0; border-radius: 99px; cursor: pointer; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; transition: background .25s, color .25s; }
.contact-form button:hover { color: #fff; background: var(--accent); }
.form-status { min-height: 1.5em; margin: 0; color: #f2ad79; font-size: .8rem; }

footer { padding: 2rem var(--pad); color: #b8b9bc; background: var(--ink); border-top: 1px solid #5b5e63; display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: center; gap: 2rem; font-size: .62rem; text-transform: uppercase; letter-spacing: .11em; }
.brand-light { color: #fff; text-transform: none; font-size: 1.2rem; }
footer div { display: flex; gap: 1.5rem; }
footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: fixed; inset: -.7rem; z-index: 1; min-height: calc(100svh - 1.4rem); padding: 7rem 2rem 3rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .6rem; color: var(--ink); background: var(--paper); border-radius: 2rem; transform: translateY(-110%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .site-nav.open { transform: none; }
  .site-nav > a { font: 400 italic 2.7rem/1 var(--serif); }
  .site-nav .nav-cta { margin: 1rem 0 0; font: 500 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; }
  .menu-active .menu-toggle > span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-active .menu-toggle > span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 9.5rem; }
  .hero-image-wrapper { width: min(34rem, 82vw); height: 42rem; margin: 1rem auto 2rem; }
  .hero-orbit { right: -7%; }
  .scroll-cue { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project-tall, .project-portrait, .portfolio-quote, .project-wide, .project-city { grid-column: span 2; }
  .project-city img { aspect-ratio: 4 / 3; object-fit: contain; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { width: min(100%, 32rem); }
  .contact { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer div { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .site-header { top: .8rem; width: calc(100% - 1.5rem); min-height: 4rem; padding-left: 1.25rem; }
  .hero { padding-top: 7.5rem; }
  .hero h1 { font-size: clamp(4.5rem, 23vw, 7rem); }
  .hero-intro { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { display: flex; justify-content: space-between; }
  .hero-image-wrapper { width: 88vw; height: 33rem; }
  .hero-stamp { right: -.5rem; bottom: 1.5rem; width: 5.5rem; }
  .specialties { grid-template-columns: 1fr; gap: .8rem; }
  .section-heading { gap: .8rem; }
  .section-heading h2 { font-size: 3.5rem; letter-spacing: .08em; text-indent: .08em; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-tall, .project-portrait, .portfolio-quote, .project-wide, .project-city { grid-column: 1; }
  .project-wide img { aspect-ratio: 4 / 4.4; }
  .project-city img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
  .portfolio-quote { min-height: 20rem; }
  .measurements { grid-template-columns: 1fr 1fr; }
  .service-list article { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .service-list p { grid-column: 2; }
  .contact { border-radius: 50% 50% 0 0 / 2rem 2rem 0 0; }
  .contact h2, .profile h2 { font-size: 3.6rem; }
  footer { grid-template-columns: 1fr; }
  footer > *, footer div { grid-column: 1; grid-row: auto; }
}

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