:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #5a5a5a;
  --line: #e4e4e4;
  --soft: #f3f3f1;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.045em; line-height: 0.94; margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  color: #fff;
}
.nav.solid,
.nav:has(.nav-links.open) {
  position: fixed;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 30;
}
.nav:has(.nav-links.open) {
  background: #fff;
  backdrop-filter: none;
}
.nav:has(.nav-links.open) .brand,
.nav:has(.nav-links.open) .nav-call,
.nav:has(.nav-links.open) .language-switch,
.nav:has(.nav-links.open) .menu-toggle {
  position: relative;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand img {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
}
.brand b { font-weight: 500; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { text-decoration: none; font-size: 15px; }
.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  white-space: nowrap;
  border: 1px solid currentColor;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.1;
}
.nav-call strong { font-weight: 600; }
.nav.solid .nav-call,
.nav:has(.nav-links.open) .nav-call {
  background: #111;
  color: #fff;
}
.language-switch {
  flex: none;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  padding: 8px 10px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 50%;
}
.nav:not(.solid):not(:has(.nav-links.open)) .menu-toggle {
  background: rgba(17, 17, 17, 0.9);
}
.nav:not(.solid):not(:has(.nav-links.open)) .menu-toggle span {
  background: #fff;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 7px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.05) 16%),
    radial-gradient(ellipse 72% 58% at 50% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.08) 76%);
}
.hero-copy {
  position: relative;
  margin: 64px auto 0;
  padding: 0 28px;
  max-width: 980px;
  text-align: center;
}
.kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker.dark { color: var(--muted); }
.kicker.light { color: rgba(255, 255, 255, 0.72); }
.hero h1 {
  font-size: clamp(52px, 7.2vw, 104px);
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-line {
  max-width: 38ch;
  margin: 22px auto 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-light { background: #fff; color: #111; }
.btn-dark { background: #111; color: #fff; width: 100%; }
.btn-outline { border: 1px solid #111; background: #fff; color: #111; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.strip {
  display: flex;
  gap: 28px;
  overflow: auto;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip p { margin: 0; }

.statement, .work, .how, .quote {
  padding: 88px 28px;
}
.statement {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  background: var(--soft);
}
.statement h2, .how h2, .quote h2, .work h2 {
  font-size: clamp(40px, 4.6vw, 68px);
  max-width: 14ch;
}
.statement-copy p + p { margin-top: 16px; }
.statement-copy { max-width: 42ch; color: #242424; }
.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--ink);
}

.work-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
.work-head p { max-width: 28ch; color: var(--muted); }

.service-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: #777; transform: translateY(-2px); }
.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  min-height: 112px;
  padding: 16px;
}
.service-card-copy strong {
  font-size: clamp(20px, 1.75vw, 27px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.service-card-copy small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.service-card-copy small span { font-size: 20px; line-height: 1; }
.service-dialog {
  width: min(1000px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: var(--soft);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}
.service-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.service-detail {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--soft);
}
.service-detail > img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 32px);
  min-height: 420px;
  object-fit: cover;
}
.service-detail-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 72px);
}
.service-detail h3 { font-size: clamp(36px, 4vw, 60px); max-width: 12ch; }
.service-detail #detail-description { max-width: 32ch; margin: 24px 0 28px; color: #303030; }
.service-detail .btn-dark { width: auto; }
.photo-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  max-width: 62ch;
}

.how { border-top: 1px solid var(--line); }
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.steps span {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 8px;
}
.steps h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 10px; }
.steps p { max-width: 46ch; color: #333; }

.area {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  padding: 88px 28px;
  background: #111;
  color: #fff;
}
.area h2 { font-size: clamp(42px, 5vw, 76px); max-width: 12ch; }
.area-side p { max-width: 32ch; color: rgba(255, 255, 255, 0.78); margin-bottom: 22px; }

.quote {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.quote-intro p:last-child { margin-top: 18px; max-width: 28ch; color: #333; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact-actions .btn-dark { width: auto; }
.contact-email { overflow-wrap: anywhere; font-size: 14px; }
.form-preview { align-self: start; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.form-preview summary { cursor: pointer; list-style: none; padding: 20px 4px; font-size: 19px; font-weight: 600; }
.form-preview summary::-webkit-details-marker { display: none; }
.form-preview summary::after { content: '+'; float: right; font-size: 24px; line-height: 1; }
.form-preview[open] summary::after { content: '−'; }
.quote-form {
  display: grid;
  gap: 18px;
  padding: 12px 4px 28px;
}
.quote-form h3 { font-size: 30px; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  background: transparent;
  padding: 10px 0 12px;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note, .form-result small { color: var(--muted); font-size: 13px; }
.form-result {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.form-result strong { display: block; margin-bottom: 8px; }
.form-result p { margin: 0 0 8px; }

.footer { padding: 48px 28px 32px; border-top: 1px solid var(--line); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.footer .brand { color: var(--ink); }
.footer-cols { display: flex; gap: 64px; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.footer-cols a { text-decoration: none; }
.footer-legal {
  margin-top: 40px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    color: #111;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 32px 24px 48px;
    gap: 18px;
    font-size: 32px;
    letter-spacing: -0.04em;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 32px; }
  .nav { gap: 12px; }
  .nav-call { margin-left: auto; }
  .nav-call span { display: none; }
  .statement, .work-head, .area, .quote, .footer-top { grid-template-columns: 1fr; display: grid; }
  .footer-top { display: grid; }
  .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail > img { height: min(38dvh, 320px); min-height: 0; }
  .service-detail-copy { padding: 32px 24px 40px; }
  .form-split { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .statement, .work, .how, .quote, .area { padding: 64px 20px; }
  .hero-copy, .nav, .strip { padding-left: 20px; padding-right: 20px; }
  .footer-cols { gap: 28px; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .nav { gap: 8px; }
  .nav .brand span { display: none; }
  .nav-call { padding: 9px 8px; font-size: 12px; }
  .language-switch { padding: 8px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .service-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .service-gallery { gap: 10px; }
  .service-card-copy { min-height: 102px; padding: 12px; }
  .service-card-copy strong { font-size: 18px; }
  .service-dialog { max-height: calc(100dvh - 16px); }
  .service-detail-copy { padding: 24px 20px 30px; }
  .service-detail h3 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .btn { transition: none; }
}
