:root {
  color: #1c1b19;
  background: #f3f1ed;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  --paper: #f3f1ed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body.locked { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100svh;
  color: white;
  overflow: hidden;
  background-color: #0e1215;
  background-image: var(--hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 7, 9, .72) 0%, rgba(4, 7, 9, .2) 46%, rgba(4, 7, 9, .24) 100%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 28%, rgba(0,0,0,.36));
}

.nav-shell {
  position: relative;
  z-index: 10;
  width: min(1440px, calc(100% - 96px));
  height: 140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.wordmark { display: inline-flex; flex-direction: column; width: max-content; line-height: 1; }
.wordmark span { font: 400 35px/1 'Italiana', serif; letter-spacing: -.04em; }
.wordmark small { margin-top: 8px; font-size: 9px; letter-spacing: .32em; text-transform: uppercase; opacity: .72; }

.nav-controls { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 42px; }
.nav-links a { position: relative; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: white; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.language-toggle { position: relative; z-index: 12; padding: 8px 0; display: flex; align-items: center; gap: 7px; border: 0; color: white; background: transparent; cursor: pointer; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.language-toggle span { opacity: .38; transition: opacity .25s ease; }
.language-toggle span.active { opacity: 1; }
.language-toggle i { display: block; width: 18px; height: 1px; background: rgba(255,255,255,.42); }
.menu-toggle { display: none; }

.hero-copy { position: absolute; z-index: 2; left: max(48px, calc((100vw - 1440px) / 2)); bottom: 15vh; }
.eyebrow { margin: 0 0 24px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow.dark { color: #817c74; }
.hero h1 { margin: 0; font: 400 clamp(56px, 7vw, 112px)/.92 'Italiana', serif; letter-spacing: -.05em; }
.text-link { margin-top: 40px; display: inline-flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.text-link svg, .submit-button svg, .gallery-overlay svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s ease; }
.text-link:hover svg, .submit-button:hover svg { transform: translateX(6px); }
.hero-index { position: absolute; z-index: 2; right: 48px; bottom: 48px; margin: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 42px; background: rgba(255,255,255,.65); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scaleY(.65); transform-origin: top; } }

.section-pad { padding-left: max(48px, calc((100vw - 1440px) / 2)); padding-right: max(48px, calc((100vw - 1440px) / 2)); }
.about { min-height: 790px; display: grid; grid-template-columns: 24% 1fr; align-content: center; gap: 6%; }
.section-label { align-self: start; display: flex; align-items: center; gap: 16px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.section-label span { color: #9e9990; }
.section-label p { margin: 0; }
.section-label p::before { content: ''; display: inline-block; width: 30px; height: 1px; margin-right: 16px; vertical-align: middle; background: #b9b4ab; }
.about-copy { max-width: 970px; }
.about h2 { max-width: 920px; margin: 0; font: 400 clamp(38px, 4.5vw, 72px)/1.08 'Italiana', serif; letter-spacing: -.035em; }
.about-body { max-width: 780px; margin: 58px 0 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; color: #77726a; font-size: 14px; line-height: 1.9; }
.about-body p { margin: 0; }

.work { background: #0f0f0e; color: white; }
.work-heading { min-height: 420px; display: grid; grid-template-columns: 24% 1fr auto; align-content: center; align-items: end; gap: 6%; }
.work-heading h2 { margin: 0; font: 400 clamp(48px, 6vw, 90px)/1 'Italiana', serif; letter-spacing: -.05em; }
.work-heading > p { max-width: 240px; margin: 0 0 8px; color: #85837e; font-size: 13px; line-height: 1.7; }
.work .section-label { align-self: center; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; background: #0f0f0e; }
.gallery-item { position: relative; grid-column: span 6; grid-row: span 2; min-width: 0; padding: 0; border: 0; background: #222; overflow: hidden; color: white; cursor: pointer; text-align: left; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.tall { grid-column: span 4; grid-row: span 3; }
.gallery-item.standard:nth-of-type(3), .gallery-item.standard:nth-of-type(4) { grid-column: span 4; }
.gallery-item:nth-of-type(5) { grid-column: 5 / span 8; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.72); }
.gallery-overlay { position: absolute; inset: 0; padding: 36px; display: flex; align-items: flex-end; gap: 28px; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.68)); opacity: 0; transition: opacity .4s ease; }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-overlay .gallery-number { align-self: flex-start; margin-right: auto; font-size: 10px; letter-spacing: .16em; }
.gallery-overlay strong, .lightbox-caption strong { display: block; font: 400 30px/1 'Italiana', serif; }
.gallery-overlay small, .lightbox-caption small { display: block; margin-top: 9px; color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.gallery-overlay i { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; }

.quote { min-height: 650px; display: grid; place-content: center; text-align: center; }
.quote blockquote { max-width: 1030px; margin: 0; font: 400 clamp(38px, 5vw, 76px)/1.12 'Italiana', serif; letter-spacing: -.04em; }
.quote > span { margin-top: 40px; color: #908a81; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }

.contact { color: white; background: #11110f; }
.contact-panel { min-height: 780px; padding-top: 130px; padding-bottom: 130px; display: grid; grid-template-columns: 18% 36% 1fr; gap: 7%; align-items: start; background: radial-gradient(circle at 15% 95%, rgba(129,94,57,.26), transparent 30%); }
.light-label { color: white; }
.contact h2 { margin: 0; font: 400 clamp(48px, 6vw, 88px)/.95 'Italiana', serif; letter-spacing: -.05em; }
.contact-copy > p:last-child { max-width: 380px; margin: 36px 0 0; color: #888680; font-size: 14px; line-height: 1.8; }
.contact-form { display: grid; gap: 28px; padding-top: 38px; }
.contact-form label { display: block; }
.contact-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-form input:not([type='hidden']), .contact-form textarea { width: 100%; padding: 0 0 16px; border: 0; border-bottom: 1px solid #3b3a37; outline: 0; color: white; background: transparent; resize: vertical; border-radius: 0; transition: border-color .25s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #787670; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #c9a77c; }
.submit-button { width: max-content; margin-top: 15px; padding: 16px 0; display: flex; align-items: center; gap: 28px; border: 0; border-bottom: 1px solid #9c7a52; color: white; background: none; cursor: pointer; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.form-status { margin: 0; color: #bda98f; font-size: 12px; }
.form-status.error { color: #e0a094; }

.site-footer { min-height: 280px; padding: 75px max(48px, calc((100vw - 1440px) / 2)) 38px; display: grid; grid-template-columns: 1fr auto; align-items: start; color: white; background: #090909; }
.footer-mark { grid-row: span 2; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links p, .footer-links a, .back-top { margin: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.back-top { margin-top: 20px; text-align: right; }
.copyright { align-self: end; grid-column: 1 / -1; margin: 58px 0 0; padding-top: 24px; border-top: 1px solid #262626; color: #63615e; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.lightbox { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 70px; color: white; background: rgba(8,8,7,.97); }
.lightbox[hidden] { display: none; }
.lightbox > img { max-width: min(1200px, 86vw); max-height: 76vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 30px; right: 36px; padding: 10px; border: 0; color: white; background: none; cursor: pointer; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.lightbox-caption { position: absolute; left: 7vw; right: 7vw; bottom: 28px; display: flex; align-items: end; gap: 28px; }
.lightbox-caption > span { color: #777; font-size: 10px; letter-spacing: .18em; }
.lightbox-nav { position: absolute; top: 50%; width: 48px; height: 48px; border: 1px solid #3c3c3a; border-radius: 50%; color: white; background: rgba(0,0,0,.3); cursor: pointer; transform: translateY(-50%); }
.lightbox-nav.previous { left: 24px; }
.lightbox-nav.next { right: 24px; }

.basic-page { min-height: 70vh; padding-top: 140px; padding-bottom: 100px; }
.basic-page h1 { font: 400 clamp(42px, 6vw, 80px)/1 'Italiana', serif; }
.basic-page p { max-width: 760px; line-height: 1.8; }

@media (max-width: 900px) {
  .nav-shell { width: calc(100% - 48px); height: 100px; }
  .wordmark span { font-size: 28px; }
  .nav-controls { gap: 15px; }
  .language-toggle { padding: 10px 2px; }
  .menu-toggle { position: relative; z-index: 12; width: 38px; height: 38px; padding: 0; display: grid; align-content: center; gap: 7px; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: white; transition: transform .3s ease; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links { position: fixed; z-index: 11; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 36px; background: #11110f; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  .admin-bar .nav-links { top: 46px; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font: 400 42px/1 'Italiana', serif; letter-spacing: -.03em; text-transform: none; }
  .hero-copy { left: 24px; bottom: 16vh; }
  .hero h1 { font-size: clamp(48px, 13vw, 78px); }
  .hero.language-el h1 { max-width: calc(100vw - 48px); font-size: clamp(37px, 10.5vw, 60px); line-height: .98; }
  .hero.language-el .hero-copy .eyebrow { max-width: 290px; line-height: 1.6; }
  .hero-index { right: 22px; bottom: 28px; }
  .scroll-cue { display: none; }
  .section-pad { padding-left: 24px; padding-right: 24px; }
  .about { min-height: auto; padding-top: 110px; padding-bottom: 110px; grid-template-columns: 1fr; gap: 72px; }
  .about-body { margin-top: 42px; grid-template-columns: 1fr; gap: 20px; }
  .work-heading { min-height: 460px; grid-template-columns: 1fr; align-content: center; align-items: start; gap: 42px; }
  .work-heading > p { max-width: 330px; }
  .gallery { display: block; }
  .gallery-item { width: 100%; height: 72vw; display: block; }
  .gallery-item.tall { height: 120vw; }
  .gallery-overlay { padding: 24px; opacity: 1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); }
  .gallery-overlay .gallery-number, .gallery-overlay i { display: none; }
  .quote { min-height: 570px; }
  .contact-panel { min-height: auto; padding-top: 100px; padding-bottom: 100px; grid-template-columns: 1fr; gap: 65px; }
  .contact-form { padding-top: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-mark { grid-row: auto; }
  .footer-links { align-items: flex-start; flex-direction: column; }
  .back-top { margin-top: 0; text-align: left; }
  .copyright { grid-column: auto; }
  .lightbox { padding: 50px 12px 100px; }
  .lightbox > img { max-width: 100%; max-height: 70vh; }
  .lightbox-nav { top: auto; bottom: 28px; transform: none; }
  .lightbox-caption { bottom: 35px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
  .lightbox-caption div { display: none; }
}

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

