:root {
  --ink: #121212;
  --ink-2: #1c1c1c;
  --paper: #F4F1EA;
  --paper-2: #E9E4D8;
  --gold: #F2B33D;
  --gold-dark: #8A5A00;
  --muted-on-dark: #B9B4AA;
  --muted-on-light: #5E5A52;
  --line-dark: rgba(244, 241, 234, 0.14);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

a { color: var(--gold); }
a:hover { color: #FFD27A; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: var(--paper); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 16px;
}
.brand-word span { color: var(--gold); font-weight: 400; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 0;
}
.nav a:hover { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #FFC85A; color: var(--ink); }
.btn-line { border-color: var(--line-dark); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); color: var(--paper); }

/* ---------- home ---------- */
.hero {
  padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px);
}
.hero h1 {
  margin: 18px 0 0;
  font-weight: 800;
  font-size: clamp(44px, 8.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted-on-dark);
  font-size: 19px;
}
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line-dark);
}
.section h2 {
  margin: 12px 0 32px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
}

.wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 17vw, 230px);
  gap: 8px;
}
.wall-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--ink-2);
}
.wall-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.wall-tile:nth-child(6),
.wall-tile:nth-child(7) { grid-column: span 2; }
.wall-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s ease;
}
.wall-tile img.on { opacity: 1; }
.wall-tile:hover img.on { transform: scale(1.04); }

@media (max-width: 640px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .wall-tile:nth-child(1) { grid-row: span 1; }
  .wall-tile:nth-child(7) { display: none; }
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.service {
  position: relative;
  background: var(--ink);
  padding: 32px 28px 36px;
  transition: background 0.25s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service:hover { background: var(--ink-2); }
.service:hover::before { transform: scaleX(1); }
.section-center { text-align: center; }
.service-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 8px auto 24px;
  color: var(--gold);
  transition: transform 0.25s ease;
}
.service:hover .service-icon { transform: translateY(-3px); }
.service-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted-on-dark);
}
.service h3 { margin: 0 0 10px; font-size: 24px; }
.service p { margin: 0; color: var(--muted-on-dark); }
.service-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 8px;
}
.service-list li {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.service-list li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin: -2px 10px 0 0;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.process { margin-top: clamp(48px, 7vw, 72px); }
.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.step { position: relative; }
.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(50% + 28px);
  right: calc(-50% + 4px); /* stops 28px short of the next circle's center, across the 24px gap */
  height: 1px;
  background: var(--line-dark);
}
.step:last-child::after { display: none; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 15px;
}
.step h4 { margin: 16px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted-on-dark); font-size: 16px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding-left: 56px; text-align: left; }
  .step-num { position: absolute; left: 0; top: 0; }
  .step h4 { margin-top: 8px; }
  .step::after { top: 48px; bottom: -24px; left: 20px; right: auto; width: 1px; height: auto; display: block; }
  .step:nth-child(2)::after { display: block; }
  .step:last-child::after { display: none; }
}

.gallery-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.gallery-link:hover { color: var(--ink); background: #FFFDF7; }
.gallery-link .eyebrow { color: var(--muted-on-light); }
.gallery-link h3 { margin: 6px 0 0; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.2; }
.gallery-link .arrow { width: 28px; height: 28px; color: var(--gold-dark); }

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 32px 0 48px;
  color: var(--muted-on-dark);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--paper); }

/* ---------- gallery page ---------- */
.gallery-head {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
}
.gallery-head h1 {
  margin: 14px 0 0;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  max-width: 900px;
}
.gallery-meta {
  margin-top: 18px;
  color: var(--muted-on-dark);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}
.gallery-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.gallery-count {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.soon {
  margin: 0 0 clamp(64px, 10vw, 120px);
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  color: var(--ink);
  max-width: 760px;
}
.soon h2 { margin: 0 0 12px; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; }
.soon p { margin: 0 0 10px; color: #3A3731; }
.soon p:last-child { margin-bottom: 0; }
.soon .bar { width: 56px; height: 4px; background: var(--gold); margin-bottom: 20px; }

/* ---------- countdown ---------- */
.countdown {
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--paper);
  color: var(--ink);
}
.countdown .bar { width: 56px; height: 4px; background: var(--gold); margin-bottom: 20px; }
.countdown h2 { margin: 0; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; }
.cd-sub { margin: 10px 0 0; color: #3A3731; }
.cd-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 760px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(14px, 2.6vw, 24px) 4px;
  background: var(--ink);
  color: var(--paper);
}
.cd-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(30px, 7vw, 64px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.cd-label {
  font-family: var(--mono);
  font-size: clamp(10px, 1.6vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cd-when {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted-on-light);
}
.countdown.is-preview { background: transparent; color: var(--paper); padding: 0; }
.countdown.is-preview h2 { font-size: clamp(22px, 3vw, 28px); }
.countdown.is-preview .cd-sub { color: var(--muted-on-dark); }
.countdown.is-preview .cd-when { color: var(--muted-on-dark); }
.countdown.is-preview .cd-unit { background: var(--ink-2); }

/* ---------- signup ---------- */
.signup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line-dark);
}
.signup h2 { margin: 12px 0 12px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; }
.signup-copy p { margin: 0; color: var(--muted-on-dark); max-width: 460px; }
.signup-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.field .opt { text-transform: none; letter-spacing: 0; }
.field input {
  min-height: 50px;
  padding: 0 14px;
  background: var(--ink-2);
  color: var(--paper);
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 2px;
  font: inherit;
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #FF8A7A; }
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  color: var(--paper);
  font-size: 16px;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-form .btn { align-self: flex-start; min-width: 180px; }
.signup-form .btn[disabled] { opacity: 0.6; cursor: wait; }
.form-msg { margin: 0; min-height: 1.55em; font-size: 16px; }
.form-msg.ok { color: var(--gold); }
.form-msg.err { color: #FF8A7A; }

.grid {
  columns: 3 320px;
  column-gap: 10px;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.grid:empty { display: none; }
.tile {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: var(--ink-2);
  cursor: zoom-in;
  break-inside: avoid;
  overflow: hidden;
}
.tile img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.tile:hover img { transform: scale(1.025); }

.cta {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(40px, 7vw, 72px) 0;
}
.cta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { margin: 0; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.15; max-width: 620px; }
.cta p { margin: 8px 0 0; color: var(--muted-on-light); }
.cta .btn-line { border-color: rgba(18, 18, 18, 0.25); color: var(--ink); }
.cta .btn-line:hover { border-color: var(--ink); }
.cta .contact-grid { gap: 10px; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.97);
  color: var(--paper);
}
.lightbox::backdrop { background: rgba(10, 10, 10, 0.97); }
.lb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.lb-top, .lb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(10px, 2vw, 20px);
}
.lb-counter {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted-on-dark);
}
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 clamp(8px, 6vw, 72px);
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.icon-btn:hover { background: rgba(244, 241, 234, 0.1); }
.icon-btn svg { width: 24px; height: 24px; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev { left: clamp(4px, 1vw, 16px); }
.lb-next { right: clamp(4px, 1vw, 16px); }

@media (max-width: 640px) {
  .lb-prev, .lb-next { display: none; }
  .lb-stage { padding: 0; }
  .gallery-link { grid-template-columns: minmax(0, 1fr); }
  .gallery-link .arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
  .service, .service::before, .service-icon { transition: none; }
  .wall-tile img { transition: none; }
  .wall-tile:hover img.on { transform: none; }
  .service:hover .service-icon { transform: none; }
}
