:root {
  --black: #0a0a0a;
  --ink: #161616;
  --paper: #f4f2ed;
  --white: #fff;
  --line-dark: rgba(255, 255, 255, .17);
  --line-light: rgba(10, 10, 10, .17);
  --muted: #a6a6a6;
  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.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: white; color: black; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(10,10,10,.88); border-color: var(--line-dark); backdrop-filter: blur(16px); }
.brand { display: block; width: 145px; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; }
.site-nav a { position: relative; padding: .5rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: .2rem; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; color: white; background: none; border: 0; width: 44px; height: 44px; padding: 11px 6px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .25s ease; }

.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10rem var(--pad) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .65fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 44vw; height: 44vw; max-width: 690px; max-height: 690px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; left: 38%; top: 22%; pointer-events: none; }
.eyebrow { margin: 0 0 1.4rem; font-size: .68rem; letter-spacing: .23em; text-transform: uppercase; font-weight: 700; }
.hero h1, .section-heading h2, .quote-intro h2 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 6.6vw, 6.7rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.055em;
}
.hero h1 em { font-weight: 400; color: #b4b4b4; }
.hero-text { max-width: 560px; margin: 2rem 0 0; color: #bcbcbc; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9rem 1.35rem; border: 1px solid transparent; cursor: pointer; font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: white; color: black; }
.button-dark { background: var(--black); color: white; }
.button-outline { color: var(--black); background: transparent; border-color: var(--black); }
.text-link { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--line-dark); padding: .6rem 0; }
.text-link span { padding-left: .5rem; }
.hero-art { position: relative; justify-self: end; width: min(100%, 400px); }
.frame-main { aspect-ratio: 4/5.3; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, #272727, #101010 60%, #1b1b1b); position: relative; display: grid; place-items: center; overflow: hidden; }
.frame-main::before, .portfolio-placeholder::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.13); }
.frame-main::after { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.placeholder-label, .portfolio-placeholder span { position: relative; z-index: 1; text-align: center; font-size: .62rem; letter-spacing: .22em; line-height: 1.7; color: #9a9a9a; }
.frame-number { position: absolute; right: 1rem; bottom: .8rem; font-family: Georgia, serif; font-size: 2rem; color: #525252; }
.vertical-note { position: absolute; right: -3.4rem; top: 50%; margin: 0; transform: rotate(90deg) translateY(-50%); font-size: .55rem; letter-spacing: .25em; color: #777; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 2.3rem; display: flex; align-items: center; gap: .8rem; color: #767676; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 1px; background: currentColor; }

.work-section { background: var(--paper); color: var(--black); padding: clamp(6rem, 10vw, 10rem) var(--pad); }
.work-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 2rem; align-items: start; }
.section-heading h2 { font-size: clamp(2.7rem, 5.3vw, 5.3rem); }
.service-grid { margin-top: clamp(4rem, 8vw, 8rem); border-top: 1px solid var(--line-light); }
.service-card { display: grid; grid-template-columns: 90px 1fr auto; gap: clamp(1rem, 4vw, 4rem); align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line-light); }
.service-index { font-family: Georgia, serif; color: #777; }
.service-card h3 { margin: 0 0 .4rem; font-family: Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-card p { max-width: 620px; margin: 0; color: #555; }
.service-meta { align-self: center; text-align: right; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-block { padding-top: clamp(7rem, 12vw, 12rem); scroll-margin-top: 80px; }
.portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.portfolio-note { max-width: 430px; margin: 0; color: #676767; font-size: .83rem; }
.portfolio-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; margin-top: 2rem; align-items: start; }
.portfolio-item { min-width: 0; }
.portfolio-item:nth-child(3) { grid-column: 2; }
.portfolio-tall { grid-row: span 2; }
.portfolio-placeholder { position: relative; min-height: 260px; aspect-ratio: 16/9; display: grid; place-items: center; background: #dedbd3; overflow: hidden; }
.portfolio-tall .portfolio-placeholder { aspect-ratio: 4/5; }
.portfolio-placeholder.dark { color: white; background: #181818; }
.portfolio-placeholder.light { background: #e9e6df; }
.portfolio-placeholder::before { border-color: rgba(0,0,0,.12); }
.portfolio-placeholder.dark::before { border-color: rgba(255,255,255,.13); }
.play { position: absolute; right: 1.2rem; bottom: 1rem; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .7rem; }
.portfolio-item footer { display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; font-size: .72rem; }
.portfolio-item footer span { color: #777; text-transform: uppercase; letter-spacing: .1em; }

.quote-section { padding: clamp(6rem, 10vw, 10rem) var(--pad) 2rem; background: var(--black); color: var(--paper); display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr); column-gap: clamp(3rem, 9vw, 9rem); }
.quote-section > * { width: 100%; max-width: 620px; }
.quote-intro { justify-self: end; }
.quote-intro h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.quote-intro > p:not(.eyebrow) { color: #aaa; max-width: 520px; margin: 2rem 0; }
.quote-intro blockquote { margin: 4rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-family: Georgia, serif; color: #767676; font-size: 1.35rem; font-style: italic; }
.calculator { background: var(--paper); color: var(--black); padding: clamp(1.5rem, 4vw, 3.2rem); }
.calculator fieldset { border: 0; padding: 0; margin: 0; }
.calculator legend { margin-bottom: 1.1rem; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.choice-card { position: relative; min-height: 120px; padding: 1rem; border: 1px solid rgba(0,0,0,.16); display: flex; flex-direction: column; cursor: pointer; transition: background .2s, color .2s; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:has(input:checked) { background: var(--black); color: white; }
.choice-card:has(input:focus-visible) { outline: 2px solid #888; outline-offset: 2px; }
.choice-icon { margin-bottom: auto; font-size: 1.3rem; }
.choice-card strong { font-family: Georgia, serif; font-weight: 400; font-size: 1.25rem; }
.choice-card small { font-size: .62rem; color: #777; }
.choice-card:has(input:checked) small { color: #aaa; }
.quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line-light); }
.quantity-row label { display: block; font-size: .78rem; font-weight: 700; }
.quantity-row small { color: #777; font-size: .68rem; }
.stepper { display: flex; align-items: center; gap: .9rem; }
.stepper button { width: 34px; height: 34px; border: 1px solid var(--line-light); background: transparent; cursor: pointer; }
.stepper output { min-width: 1ch; font-family: Georgia, serif; font-size: 1.2rem; }
.estimate { padding: 1.7rem 0; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.estimate > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.estimate strong { font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -.04em; }
.estimate small { grid-column: 1/-1; text-align: right; color: #777; }
.quote-button { width: 100%; justify-content: space-between; }
.privacy-note { text-align: center; color: #777; font-size: .65rem; }
.contact-panel { margin-top: 1.7rem; padding-top: 1.7rem; border-top: 1px solid var(--line-light); }
.contact-panel[hidden] { display: none; }
.contact-panel h3 { margin: 0 0 .6rem; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.contact-panel p { color: #555; font-size: .82rem; }
.contact-panel label { display: block; margin-top: 1rem; font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-panel textarea { width: 100%; margin: .45rem 0 .8rem; padding: .8rem; color: #222; background: white; border: 1px solid var(--line-light); resize: none; font-size: .8rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.copy-status { margin-left: .8rem; font-size: .72rem; }
.site-footer { grid-column: 1/-1; max-width: none; margin: clamp(6rem, 10vw, 10rem) auto 0; padding-top: 2rem; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 2rem; color: #888; font-size: .7rem; }
.footer-brand { width: 180px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.site-footer small { white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 840px) {
  .site-header { height: 72px; }
  .site-header .brand { width: 132px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 1rem var(--pad) 2rem; background: rgba(10,10,10,.97); border-bottom: 1px solid var(--line-dark); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-top: 8.5rem; align-content: center; }
  .hero::before { width: 90vw; height: 90vw; left: 23%; top: 35%; }
  .hero-art { width: min(70%, 320px); margin-right: 1.7rem; }
  .scroll-cue { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 48px 1fr; }
  .service-meta { grid-column: 2; justify-self: start; text-align: left; }
  .quote-section { grid-template-columns: 1fr; }
  .quote-section > * { max-width: 680px; justify-self: center; }
  .calculator { margin-top: 4rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 4rem; gap: 3.5rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .text-link { text-align: center; }
  .hero-art { width: calc(100% - 1.7rem); }
  .service-card { grid-template-columns: 38px 1fr; gap: .6rem; padding: 1.6rem 0; }
  .service-card p { font-size: .88rem; }
  .portfolio-heading { display: block; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portfolio-item:nth-child(3) { grid-column: auto; }
  .portfolio-placeholder, .portfolio-tall .portfolio-placeholder { aspect-ratio: 4/3; }
  .quote-section { padding-left: 0; padding-right: 0; }
  .quote-intro, .site-footer { margin-left: var(--pad); margin-right: var(--pad); width: auto; }
  .calculator { padding: 1.25rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 92px; padding-left: 4rem; justify-content: center; }
  .choice-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); margin: 0; }
  .estimate { grid-template-columns: 1fr; gap: .4rem; }
  .estimate small { text-align: left; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

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