:root {
  --ink: #171612;
  --paper: #f2efe8;
  --paper-2: #e7e1d5;
  --cream: #fbf8f1;
  --accent: #c6a36a;
  --line: rgba(23, 22, 18, .18);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", 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-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.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; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; transform: translateY(-160%); background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.demo-bar { position: relative; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: .45rem clamp(1.25rem, 4vw, 4.5rem); background: #11100d; color: #c8c2b7; font-size: .75rem; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; gap: .5rem; }
.demo-bar strong { color: #fff; }
.demo-bar a { color: #c6a36a; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }
.demo-bar a:hover { text-decoration: underline; color: #d8b97f; }

.site-header { position: absolute; z-index: 20; top: 2.3rem; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.45rem clamp(1.25rem, 4vw, 4.5rem); color: white; border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: .86rem; letter-spacing: .05em; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.5rem); }
.site-nav a { position: relative; text-decoration: none; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -.35rem; 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; }
.nav-cta { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.7); }
.menu-toggle { display: none; background: transparent; border: 0; padding: .5rem; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: white; }
.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-picture img, .hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 46%;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,10,.77) 0%, rgba(11,12,10,.32) 52%, rgba(11,12,10,.08) 100%), linear-gradient(0deg, rgba(11,12,10,.45), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(770px, 90%); padding: 10rem clamp(1.25rem, 8vw, 8.5rem) clamp(5.5rem, 10vh, 8rem); }
.eyebrow { margin: 0 0 1.4rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.eyebrow.dark { color: #685d4c; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.025em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.3rem, 7.6vw, 7.5rem); }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero-copy { max-width: 570px; margin-bottom: 2rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.85); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 3.2rem; padding: .8rem 1.25rem; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { border-color: rgba(255,255,255,.75); color: white; }
.button-light:hover { background: white; color: var(--ink); }
.button-accent { width: 100%; background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #d8b97f; }
.hero-note { position: absolute; z-index: 2; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 2rem; margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; writing-mode: vertical-rl; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.5rem; width: 2rem; height: 3rem; border: 1px solid rgba(255,255,255,.5); border-radius: 2rem; }
.scroll-cue span { position: absolute; top: .65rem; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: white; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translate(-50%,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%,1rem); opacity: 0; } }

.section-pad { padding: clamp(5rem, 10vw, 9.5rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-heading { display: grid; grid-template-columns: minmax(160px,.45fr) 1.25fr .7fr; gap: 3rem; align-items: start; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading h2, .services h2, .manifesto h2, .process h2, .contact h2 { font-size: clamp(2.8rem, 5.4vw, 5.5rem); }
.section-heading p:last-child { max-width: 430px; color: #625e56; }
.portfolio-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(1rem, 2vw, 2rem); }
.project { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #d3c9b8; cursor: zoom-in; text-align: left; }
.project-wide { grid-row: span 2; min-height: 760px; }
.project-tall, .project-landscape { min-height: 365px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.project-wide img {
  object-position: center center;
}
.project-tall img { object-position: center 38%; }
.project:hover img, .project:focus-visible img { transform: scale(1.035); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,14,12,.65), transparent 48%); }
.project-meta { position: absolute; z-index: 2; left: 1.5rem; bottom: 1.35rem; color: white; }
.project-meta strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.project-meta small { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.project-open { position: absolute; z-index: 2; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: white; font-size: 1.4rem; }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; min-height: 850px; background: var(--ink); color: white; }
.manifesto-copy { display: flex; flex-direction: column; justify-content: center; }
.manifesto-copy > p:not(.eyebrow) { max-width: 540px; color: rgba(255,255,255,.67); font-size: 1.08rem; }
.manifesto-photo { margin: 0; min-height: 700px; overflow: hidden; }
.manifesto-photo img { width: 100%; height: 100%; object-fit: cover; }
.signature { margin-top: 2rem; font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--accent); transform: rotate(-6deg); transform-origin: left; }

.services { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 10rem); background: var(--cream); }
.services-lead { position: sticky; top: 3rem; align-self: start; }
.service { display: grid; grid-template-columns: 3rem 1fr 3rem; gap: 1rem; align-items: start; padding: 2.25rem 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service > span { color: #877a67; font-size: .75rem; letter-spacing: .1em; }
.service h3 { margin-bottom: .5rem; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 400; }
.service p { max-width: 530px; margin-bottom: 0; color: #665f56; }
.service a { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; transition: background .2s ease, color .2s ease; }
.service a:hover { background: var(--ink); color: white; }

.process { background: #292720; color: white; }
.process h2 { max-width: 760px; margin-bottom: 5rem; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-grid li { min-height: 250px; padding: 1.7rem 1.7rem 1.7rem 0; border-right: 1px solid rgba(255,255,255,.2); }
.process-grid li:not(:first-child) { padding-left: 1.7rem; }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: var(--accent); font-size: .75rem; }
.process-grid h3 { margin: 3rem 0 .7rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.process-grid p { color: rgba(255,255,255,.62); font-size: .92rem; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 10vw, 11rem); background: var(--ink); color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,.65); }
.contact-details { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-form { position: relative; display: grid; gap: 1.2rem; padding-top: 2rem; }
.demo-badge { position: absolute; right: 0; top: 0; color: var(--accent); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.contact-form label { display: grid; gap: .4rem; color: rgba(255,255,255,.7); font-size: .74rem; text-transform: uppercase; letter-spacing: .11em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .85rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; outline: none; background: transparent; color: white; resize: vertical; }
.contact-form select {
  color: #ffffff;
  background-color: transparent;
}
.contact-form select option {
  color: #11100d;
  background-color: #ffffff;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form .field-error { border-color: #eaa49c; }
.form-status { min-height: 1.5rem; margin: 0; color: var(--accent); font-size: .85rem; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 2fr auto; gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 4vw, 4.5rem); background: #0e0e0c; color: rgba(255,255,255,.58); font-size: .74rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; color: white; }
.footer-brand strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.site-footer p { margin: 0; }
.demo-note { text-align: center; }

.lightbox { max-width: none; width: 100vw; height: 100vh; padding: clamp(2rem, 5vw, 5rem); border: 0; background: rgba(10,10,9,.95); }
.lightbox::backdrop { background: rgba(10,10,9,.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1.5rem; border: 0; background: transparent; color: white; font-size: 2.5rem; cursor: pointer; }

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

@media (max-width: 900px) {
  .menu-toggle { display: grid; gap: 6px; position: relative; z-index: 30; }
  .menu-toggle span:not(.sr-only) { display: block; width: 1.7rem; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 25; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2rem; visibility: hidden; opacity: 0; background: var(--ink); transition: opacity .25s ease, visibility .25s; }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav a { font-family: var(--serif); font-size: 2rem; text-transform: none; letter-spacing: 0; }
  .nav-cta { border: 0; padding: 0; color: var(--accent); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading h2 { margin-bottom: 1rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-wide { grid-row: auto; min-height: 590px; }
  .project-tall, .project-landscape { min-height: 440px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-photo { min-height: 650px; order: -1; }
  .services { grid-template-columns: 1fr; }
  .services-lead { position: static; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .demo-note { text-align: left; }
}

@media (max-width: 580px) {
  .site-header { padding: 1.1rem 1.2rem; }
  .brand-name { font-size: 1.05rem; }
  .hero-content { width: 100%; padding: 8rem 1.25rem 5rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-note, .scroll-cue { display: none; }
  .section-pad { padding: 4.5rem 1.25rem; }
  .section-heading h2, .services h2, .manifesto h2, .process h2, .contact h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .project-wide, .project-tall, .project-landscape { min-height: 460px; }
  .manifesto { min-height: 0; }
  .manifesto-photo { min-height: 520px; }
  .service { grid-template-columns: 2rem 1fr 2.7rem; }
  .service p { font-size: .9rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li:not(:first-child) { min-height: 0; padding: 1.7rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .process-grid h3 { margin-top: 1.7rem; }
  .site-footer { grid-template-columns: 1fr; }
}

@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; }
}
