/* Layout: one white "sheet" on a dark backdrop. Oversized light headline + photo,
   client marquee, then label-pill sections, ending in a dark contact footer. */
:root {
  --backdrop: #1c1c1c;
  --paper: #ffffff;
  --tint: #f5f5f3;
  --ink: #141414;
  --muted: #7a7a76;
  --line: #e6e6e2;
  --dark: #161616;
  --on-dark: #f2f2ef;
  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: max(clamp(20px, 4.5vw, 56px), calc((100vw - 1200px) / 2));
  --r: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { text-wrap: balance; font-weight: 400; letter-spacing: -0.03em; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.page {
  background: var(--paper); overflow: hidden;
}

/* NAV */
.nav {
  display: flex; align-items: center; gap: 24px;
  padding: 22px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.brand-mark {
  width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 600;
}
.nav nav { display: flex; gap: 28px; margin: 0 auto; }
.nav nav a { text-decoration: none; font-size: 0.88rem; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted); font: 500 0.75rem var(--mono);
  padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.pill-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); font: 500 0.85rem var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.pill-btn:hover { background: var(--ink); color: var(--paper); }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-dark:hover { background: transparent; color: var(--ink); }

/* PHOTO SLOTS */
.photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-empty {
  position: absolute; inset: 0; display: none; place-content: center; text-align: center;
  border: 1.5px dashed #c9c9c4; border-radius: inherit; color: var(--muted); font-size: 0.9rem;
  background: repeating-linear-gradient(-45deg, var(--tint) 0 12px, #efefec 12px 24px);
}
.photo-empty span { font: 0.75rem var(--mono); }
.photo.is-empty .photo-empty { display: grid; }
.photo.is-empty img { display: none; }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  column-gap: 32px; row-gap: 24px;
  padding: clamp(24px, 4vw, 40px) var(--gutter) clamp(32px, 5vw, 56px);
  align-items: end;
}
.hero h1 {
  grid-column: 1; grid-row: 1 / 3; align-self: end;
  font-size: clamp(3.4rem, 12vw, 9.5rem); font-weight: 300; line-height: 0.92; letter-spacing: -0.055em;
}
.photo-hero { grid-column: 2; grid-row: 1; width: clamp(150px, 20vw, 210px); aspect-ratio: 4 / 5; max-width: 100%; }
.hero-intro { grid-column: 2; grid-row: 2; width: clamp(150px, 20vw, 210px); text-align: right; font-size: 0.85rem; font-weight: 500; line-height: 1.4; }

/* MARQUEE */
.marquee {
  overflow: hidden; padding-block: 12px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a {
  white-space: nowrap; padding: 12px 26px; border-radius: 10px; background: var(--tint);
  font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: background .2s;
}
.marquee-track a:hover { background: var(--line); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* BLOCKS */
.block { padding: clamp(48px, 7vw, 88px) var(--gutter); }
.block-tint { background: var(--tint); }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 36px; }
.block-head > div { min-width: 0; }
.label {
  display: inline-block; font-size: 0.72rem; font-weight: 500; padding: 3px 10px;
  border: 1px solid var(--ink); border-radius: 999px; margin-bottom: 12px;
}
.block h2, .services h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; max-width: 16em; }
.side-note { color: var(--muted); font-size: 0.85rem; max-width: 26em; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.photo-wide { aspect-ratio: 16 / 10; max-width: 100%; }
.stats { display: flex; flex-direction: column; gap: 40px; }
.stat-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-text { color: var(--muted); font-size: 0.85rem; margin-top: 8px; max-width: 22em; }

/* SERVICES */
.services { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 4vw, 56px); }
.services-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.services-intro .label { margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service {
  position: relative; min-height: 190px; padding: 22px; border-radius: 6px;
  background: var(--tint); display: flex; flex-direction: column; gap: 10px; cursor: default;
  transition: background .3s, color .3s; overflow: hidden; border-top: 1px solid var(--line);
}
.service h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.service p { font-size: 0.84rem; color: var(--muted); transition: color .3s; }
.service .arrow { margin-top: auto; align-self: flex-end; font-size: 1.1rem; transition: transform .3s; }
.service.is-active { background: var(--dark); color: var(--on-dark); }
.service.is-active p { color: #b4b4ae; }
.service.is-active .arrow { transform: rotate(-45deg); }
.service.is-active::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  border: 1px solid #3a3a38; border-radius: 50%;
}

/* ROWS */
.rows { list-style: none; padding: 0; margin: 0; }
.rows li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center;
  padding: 20px 16px; margin-inline: -16px; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.rows li:hover { background: #e9e9e6; }
.row-title { font-weight: 500; }
.row-sub { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.row-count { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 400; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-count small { font-size: 0.8rem; color: var(--muted); letter-spacing: 0; margin-left: 4px; }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot {
  position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%;
  border-radius: 8px; overflow: hidden; text-decoration: none; background: var(--dark);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.shot:hover img { transform: scale(1.04); }
.shot-ph {
  position: absolute; inset: 0; display: none; place-content: center; object-position: top center; text-align: center;
  color: #8d8d88; font-size: 0.78rem; font-family: var(--mono);
  background: radial-gradient(circle at 30% 20%, #2c2c2a, var(--dark));
}
.shot.is-empty .shot-ph { display: grid; }
.shot.is-empty img { display: none; }
.shot-info {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.shot:hover .shot-info, .shot:focus-visible .shot-info { opacity: 1; transform: none; }
.shot-info::before {
  content: ""; position: absolute; inset: -60px -12px -12px; z-index: -1;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.shot-name { font-weight: 500; }
.shot-cat { display: inline-block; font-size: 0.68rem; padding: 2px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; margin-bottom: 6px; }
.shot-arrow { font-size: 1.2rem; }

/* FOOTER */
.footer { background: var(--dark); color: var(--on-dark); padding: clamp(48px, 7vw, 80px) var(--gutter) 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.connect { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.connect h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.045em; }
.contact-note { color: #a6a6a0; max-width: 28em; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pill-wa { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); padding: 6px 18px 6px 6px; }
.pill-wa:hover { background: transparent; color: var(--on-dark); }

/* FORM */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; color: #a6a6a0; }
.field .opt { color: #6f6f69; }
.field input, .field select, .field textarea {
  width: 100%; font: 0.95rem var(--sans); color: var(--on-dark);
  background: #1f1f1e; border: 1px solid #333331; border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #8d8d88 50%), linear-gradient(135deg, #8d8d88 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field select option { background: #1f1f1e; color: var(--on-dark); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--on-dark); }
.field textarea::placeholder { color: #6f6f69; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pill-send { padding: 11px 24px; }
.pill-send:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 0.85rem; color: #a6a6a0; min-height: 1.3em; flex: 1; min-width: 200px; }
.form-status.is-ok { color: #9fd8a9; }
.form-status.is-error { color: #f0a58f; }
.pill-light { border-color: #555; color: var(--on-dark); padding: 6px 18px 6px 6px; }
.pill-light:hover { background: var(--on-dark); color: var(--dark); }
.circle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.copy-msg { min-height: 1.4em; color: #a6a6a0; font-size: 0.85rem; }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
  margin-top: clamp(48px, 7vw, 90px); font-size: 0.85rem; color: #b4b4ae;
}
.foot-grid > div { min-width: 0; }
.foot-grid .mono { overflow-wrap: anywhere; }
.foot-brand p { margin-top: 12px; max-width: 24em; }
.brand-light .brand-mark { background: var(--on-dark); color: var(--dark); }
.brand-light { color: var(--on-dark); }
.foot-label { color: var(--on-dark); font-weight: 500; margin-bottom: 8px; }
.foot-bottom { text-align: center; color: #77776f; font-size: 0.75rem; margin-top: 48px; padding-top: 18px; border-top: 1px solid #2a2a28; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav-right { margin-left: auto; }
  .about-grid, .services { grid-template-columns: 1fr; }
  .stats { flex-direction: row; flex-wrap: wrap; gap: 32px 56px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { grid-row: 1; }
  .photo-hero { grid-column: 1; grid-row: 2; width: 100%; aspect-ratio: 4 / 5; }
  .hero-intro { grid-column: 1; grid-row: 3; width: auto; text-align: left; font-size: 1rem; }
  .service-grid, .gallery, .foot-grid { grid-template-columns: 1fr; }
  .service { min-height: 150px; }
  .rows li { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav .pill-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition: none !important; }
}
.photo-hero img { object-position: center top; }
