/* ============ OBRYS — boutique architecture atelier
   palette: ink #13110e · travertine #efe9dc · concrete #908a7d · brass #b89968 · pine #4a5e44
   type: Tenor Sans (display, single 400) · Manrope (body) · Major Mono Display (mono)
============ */

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: #13110e;
  color: #efe9dc;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}
section { scroll-margin-top: 90px; }

:root {
  --ink: #13110e;
  --ink-2: #1c1a16;
  --ink-3: #25221d;
  --trav: #efe9dc;
  --trav-2: #d8d1c1;
  --trav-3: #a8a294;
  --concrete: #908a7d;
  --concrete-2: #6e695e;
  --brass: #b89968;
  --brass-soft: #cdb389;
  --pine: #4a5e44;
  --pine-soft: #6b8061;
  --rose: #c46b5e;

  --line: rgba(239, 233, 220, 0.08);
  --line-strong: rgba(239, 233, 220, 0.2);
  --line-brass: rgba(184, 153, 104, 0.32);

  --f-display: 'Tenor Sans', 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'Major Mono Display', ui-monospace, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1640px;
  --nav-h: 70px;
  --ease: cubic-bezier(.55, .06, .22, .99);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

body {
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1vw, 17px);
  line-height: 1.6;
  background: var(--ink);
  color: var(--trav);
  font-weight: 300;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--brass); color: var(--ink); }

em { font-style: italic; }

/* ---------- micro / mono labels ---------- */
.micro {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.micro em {
  color: var(--brass);
  font-style: normal;
  margin: 0 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s var(--ease-out);
  white-space: nowrap;
  border-radius: 0;
}
.btn--sm { padding: 10px 16px; font-size: 10px; }
.btn--lg { padding: 17px 28px; font-size: 12px; }
.btn--xl { padding: 22px 34px; font-size: 12px; }
.btn--solid {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}
.btn--solid:hover {
  background: var(--brass-soft);
  border-color: var(--brass-soft);
}
.btn--ghost {
  background: transparent;
  color: var(--trav);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--trav);
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
@media (hover: none) { .btn { cursor: pointer; } }

/* ---------- boot loader ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .55s var(--ease), visibility .55s;
}
body:not(.is-loading) .boot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot__inner {
  width: min(540px, 84vw);
  display: grid;
  gap: clamp(20px, 4vh, 36px);
  justify-items: stretch;
}
.boot__bracket {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.boot__bracket span {
  width: 28px;
  height: 28px;
  border: 1px solid var(--brass);
}
.boot__bracket span:first-child { border-right: 0; border-bottom: 0; }
.boot__bracket span:last-child { border-left: 0; border-bottom: 0; }
.boot__name {
  font-family: var(--f-display);
  font-size: clamp(64px, 11vw, 140px);
  line-height: 1;
  font-weight: 400;
  color: var(--trav);
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0;
}
.boot__bar {
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.boot__bar-fill {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.boot__meta {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--trav-3);
}
.boot__meta span:nth-child(2) {
  text-align: center;
  color: var(--brass);
}
.boot__meta span:last-child { text-align: right; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  z-index: 100;
  transition: width .1s linear;
}

/* ---------- 3D stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 30%, #1f1d18 0%, #13110e 60%),
    var(--ink);
}
.stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.stage__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(19, 17, 14, 0.45) 0%, rgba(19, 17, 14, 0.1) 50%, transparent 75%),
    linear-gradient(180deg, rgba(19, 17, 14, 0.5) 0%, rgba(19, 17, 14, 0.05) 30%, rgba(19, 17, 14, 0.05) 70%, rgba(19, 17, 14, 0.55) 100%);
}

/* ---------- header ---------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(19, 17, 14, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.hdr__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--trav);
}
.hdr__mark {
  display: inline-flex;
  color: var(--brass);
  align-self: center;
}
.hdr__name {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--trav);
}
.hdr__cap {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--trav-3);
}
.hdr__nav {
  display: flex;
  gap: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}
.hdr__nav a {
  color: var(--trav-2);
  position: relative;
  transition: color .3s var(--ease);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
}
.hdr__nav a em {
  font-style: normal;
  color: var(--brass);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.hdr__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.hdr__nav a:hover { color: var(--trav); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hdr__burger {
  width: 42px; height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--trav);
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease);
}
.hdr__burger:hover { border-color: var(--brass); color: var(--brass); }
body.menu-open .hdr__burger { transform: rotate(45deg); }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-flex; }
}
@media (max-width: 520px) {
  .hdr__cap { display: none; }
  .hdr .btn--sm { display: none; }
}

/* ---------- mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transition: opacity .55s var(--ease), visibility .55s;
  overflow-y: auto;
}
.mmenu.is-open { visibility: visible; opacity: 1; }
.mmenu__inner {
  padding: 100px var(--gutter) 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mmenu__nav { display: flex; flex-direction: column; }
.mmenu__link {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(28px, 8vw, 44px);
  color: var(--trav);
  letter-spacing: 0.04em;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .5s var(--ease) calc(var(--i) * 70ms), opacity .5s var(--ease) calc(var(--i) * 70ms), color .3s var(--ease);
}
.mmenu__link em {
  font-family: var(--f-mono);
  font-size: 11px;
  font-style: normal;
  color: var(--brass);
  letter-spacing: 0.15em;
}
.mmenu.is-open .mmenu__link { transform: translateY(0); opacity: 1; }
.mmenu__link:nth-child(1) { --i: 1; }
.mmenu__link:nth-child(2) { --i: 2; }
.mmenu__link:nth-child(3) { --i: 3; }
.mmenu__link:nth-child(4) { --i: 4; }
.mmenu__link:nth-child(5) { --i: 5; }
.mmenu__bot {
  margin-top: auto;
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
body.menu-open { overflow: hidden; }

/* ============================================================
   SECTIONS
   ============================================================ */
main { position: relative; z-index: 2; }

.sx {
  position: relative;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.sx__head {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sx__head--split {
  max-width: var(--max);
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: clamp(32px, 5vw, 64px);
}
.sx__head--split .sx__sub { margin: 0; max-width: 460px; }
.sx__h {
  font-family: var(--f-display);
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 0;
  color: var(--trav);
  text-shadow: 0 4px 36px rgba(19, 17, 14, 0.85);
}
.sx__h em {
  color: var(--brass);
  font-style: italic;
  font-family: var(--f-display);
}
.sx__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 620px;
  color: var(--trav-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .sx__head--split { grid-template-columns: 1fr; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 70px;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}
.hero__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero__main {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) {
  .hero__main { grid-template-columns: 1fr; gap: 32px; }
}
.hero__h {
  font-family: var(--f-display);
  font-size: clamp(36px, 6.4vw, 96px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  font-weight: 400;
  margin: 0;
  color: var(--trav);
  text-shadow: 0 4px 60px rgba(19, 17, 14, 0.9);
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: reveal 1.05s var(--ease-out) calc(var(--i) * 110ms + 500ms) forwards;
}
.hero__h em {
  color: var(--brass);
  font-style: italic;
}
@keyframes reveal {
  to { transform: translateY(0); opacity: 1; }
}
.hero__side {
  display: grid;
  gap: 24px;
  padding-top: clamp(8px, 1vw, 16px);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero__intro {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--trav-2);
  max-width: 480px;
  margin: 0;
  text-shadow: 0 1px 8px rgba(19, 17, 14, 0.9);
}
.hero__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  margin: 0;
}
.hero__data > div {
  background: rgba(19, 17, 14, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}
.hero__data dt {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav-3);
  margin: 0;
}
.hero__data dd {
  font-family: var(--f-display);
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1;
  color: var(--trav);
  margin: 0;
  letter-spacing: 0.015em;
}
.hero__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding-top: clamp(12px, 2vw, 24px);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.7s forwards;
}
.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--trav-3);
}
.hero__scroll-cap {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.hero__scroll-rule {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-rule::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  width: 30%;
  animation: scrollLine 2.6s linear infinite;
}
@keyframes scrollLine {
  to { transform: translateX(180%); }
}

/* ---------- MANIFEST ---------- */
.manifest__body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.manifest__col {
  background: rgba(19, 17, 14, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 14px;
  align-content: start;
}
.manifest__col p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--trav-2);
}
@media (max-width: 920px) { .manifest__body { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .manifest__body { grid-template-columns: 1fr; } }

/* ---------- METHOD ---------- */
.method__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.method__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background .4s var(--ease);
}
.method__row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(184, 153, 104, 0.04), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.method__row:hover::before { opacity: 1; }
.method__no {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--brass);
}
.method__body { display: grid; gap: 8px; }
.method__body h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0;
  color: var(--trav);
  letter-spacing: 0.005em;
  text-shadow: 0 2px 14px rgba(19, 17, 14, 0.9);
}
.method__body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--trav-2);
  margin: 0;
  max-width: 740px;
  text-shadow: 0 1px 8px rgba(19, 17, 14, 0.85);
}
.method__when {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--brass);
  margin-top: 6px;
}
@media (max-width: 640px) {
  .method__row { grid-template-columns: 60px 1fr; gap: 18px; }
}

/* ---------- WORKS ---------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.work {
  display: grid;
  gap: 14px;
  align-content: start;
}
.work__cover {
  aspect-ratio: 4/5;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .6s var(--ease-out);
}
.work:hover .work__cover { transform: scale(1.015); }
.work__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(0,0,0,0.08) 12px 13px),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
}
.work__no {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(239, 233, 220, 0.95);
  z-index: 2;
}
.work__meta {
  display: grid;
  gap: 4px;
}
.work__name {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  margin: 0;
  color: var(--trav);
  letter-spacing: 0.005em;
}
.work__name em { color: var(--brass); font-style: italic; }
.work__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--trav-3);
}
.work__about {
  font-size: 14px;
  line-height: 1.6;
  color: var(--trav-2);
  margin: 0;
}
@media (max-width: 960px) { .works__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .works__grid { grid-template-columns: 1fr; } }

/* ---------- STUDIO ---------- */
.studio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.founder {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(19, 17, 14, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: border-color .35s var(--ease);
}
.founder:hover { border-color: var(--line-brass); }
.founder__portrait {
  width: 84px;
  height: 84px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--brass);
  border: 1px solid var(--line-brass);
}
.founder h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  margin: 4px 0 0;
  color: var(--trav);
  letter-spacing: 0.005em;
}
.founder__role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--brass);
}
.founder p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--trav-2);
  margin: 0;
}
@media (max-width: 960px) { .studio__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .studio__grid { grid-template-columns: 1fr; } }

.studio__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.studio__strip > div {
  background: rgba(19, 17, 14, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(20px, 2.8vw, 32px);
  display: grid;
  gap: 6px;
}
.studio__strip b {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--brass);
  letter-spacing: 0.005em;
  line-height: 1;
}
.studio__strip span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav-3);
}
@media (max-width: 720px) { .studio__strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CONTACT ---------- */
.contact { text-align: center; }
.contact__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  justify-items: center;
}
.contact__h {
  font-family: var(--f-display);
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  font-weight: 400;
  margin: 0;
  color: var(--trav);
  text-shadow: 0 4px 40px rgba(19, 17, 14, 0.9);
}
.contact__h em { color: var(--brass); font-style: italic; }
.contact__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--trav-2);
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}
.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
  width: 100%;
  margin: 24px 0 0;
}
.contact__details > div {
  text-align: left;
  display: grid;
  gap: 6px;
}
.contact__details dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav-3);
}
.contact__details dd {
  font-size: 14px;
  color: var(--trav-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 760px) { .contact__details { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .contact__details { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.foot {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 7vw, 90px) var(--gutter) 26px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  max-width: var(--max);
  margin: 0 auto;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.foot__brand { display: flex; gap: 16px; align-items: start; color: var(--brass); }
.foot__mark { display: inline-flex; }
.foot__name {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--trav);
  margin: 0 0 4px;
}
.foot__desc {
  font-size: 13.5px;
  color: var(--trav-2);
  margin: 0;
  line-height: 1.55;
  max-width: 320px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col a, .foot__col p {
  font-size: 13.5px;
  color: var(--trav-2);
  margin: 0;
  transition: color .3s var(--ease);
}
.foot__col a:hover { color: var(--brass); }
.foot__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__credit {
  color: var(--brass);
}
.foot__credit:hover { text-decoration: underline; }
@media (max-width: 880px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .foot__cols { grid-template-columns: 1fr; } }

/* ============================================================
   FORM MODAL
   ============================================================ */
.formx {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease), visibility .5s;
}
body.form-open .formx { visibility: visible; opacity: 1; }
.formx__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.formx__panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(184, 153, 104, 0.08) 0%, transparent 200px),
    linear-gradient(180deg, #1a1814 0%, #131110 100%);
  border: 1px solid rgba(184, 153, 104, 0.22);
  width: min(620px, 92vw);
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 32px);
  transform: translateY(30px) scale(0.97);
  transition: transform .55s var(--ease-out);
  box-shadow: 0 40px 100px -10px rgba(0,0,0,0.75), inset 0 1px 0 rgba(184, 153, 104, 0.2);
  scrollbar-width: thin;
  scrollbar-color: var(--brass) transparent;
}
.formx__panel::-webkit-scrollbar { width: 6px; }
.formx__panel::-webkit-scrollbar-track { background: transparent; }
.formx__panel::-webkit-scrollbar-thumb { background: rgba(184, 153, 104, 0.5); }
body.form-open .formx__panel { transform: translateY(0) scale(1); }
.formx__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--trav);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.formx__close:hover { border-color: var(--brass); color: var(--brass); transform: rotate(90deg); }
.formx__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-right: 50px;
}
.formx__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav);
}
.formx__brand-mark {
  width: 8px; height: 8px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brass);
}
.formx__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.formx__progress-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav-3);
}
.formx__progress-step em {
  font-style: normal;
  font-family: var(--f-mono);
  color: var(--trav-3);
  border: 1px solid var(--trav-3);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 10px;
  transition: all .3s var(--ease);
}
.formx__progress-step.is-active { color: var(--trav); }
.formx__progress-step.is-active em {
  color: var(--ink);
  background: var(--brass);
  border-color: var(--brass);
}
.formx__progress-step.is-done em {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--trav);
}
.formx__progress-sep {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  min-width: 18px;
}
.formx__step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  flex-direction: column;
  gap: 18px;
}
.formx__step.is-active { display: flex; animation: stepIn .55s var(--ease-out); }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.formx__legend { display: grid; gap: 6px; padding: 0; margin: 0 0 6px; }
.formx__legend h2 {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin: 0;
  color: var(--trav);
}
.formx__legend p {
  font-size: 14px;
  color: var(--trav-2);
  margin: 4px 0 0;
}
.formx__field { display: grid; gap: 8px; }
.formx__field > span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--trav-2);
}
.formx__field > span em { color: var(--brass); font-style: normal; margin-left: 4px; }
.formx__field input,
.formx__field textarea {
  width: 100%;
  background: rgba(13, 11, 8, 0.55);
  border: 1px solid rgba(239, 233, 220, 0.14);
  padding: 14px 16px;
  color: var(--trav);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  resize: vertical;
  border-radius: 0;
}
.formx__field input::placeholder,
.formx__field textarea::placeholder { color: var(--trav-3); }
.formx__field input:focus,
.formx__field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(13, 11, 8, 0.85);
  box-shadow: 0 0 0 4px rgba(184, 153, 104, 0.12);
}
.formx__field.is-error input,
.formx__field.is-error textarea { border-color: var(--rose); }
.formx__err {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--rose);
  letter-spacing: 0.05em;
  min-height: 12px;
}
.formx__check-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.formx__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--trav-2);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.formx__pill input { position: absolute; opacity: 0; pointer-events: none; }
.formx__pill i {
  width: 10px; height: 10px;
  border: 1px solid var(--trav-3);
  transition: all .3s var(--ease);
}
.formx__pill:hover { border-color: var(--brass); color: var(--trav); }
.formx__pill:has(input:checked) {
  border-color: var(--brass);
  background: rgba(184, 153, 104, 0.1);
  color: var(--trav);
}
.formx__pill:has(input:checked) i { background: var(--brass); border-color: var(--brass); }
.formx__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.formx__success {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 20px 0;
}
.formx__success-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--pine-soft);
  border: 1px solid var(--pine-soft);
  border-radius: 50%;
  margin-bottom: 8px;
}
.formx__success h2 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  margin: 0;
  color: var(--trav);
}
.formx__success p { color: var(--trav-2); margin: 0; max-width: 380px; }
body.form-open { overflow: hidden; }

/* ---------- mobile-specific ---------- */
@media (max-width: 720px) {
  .sx { padding: clamp(48px, 9vw, 80px) var(--gutter); }
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero__foot { flex-direction: column; align-items: start; }
  .formx { padding: 0; align-items: stretch; }
  .formx__panel {
    width: 100%;
    max-width: 100%;
    max-height: 100svh;
    height: 100svh;
    border-radius: 0;
    border: 0;
  }
}

/* ---------- reduced motion fallback ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__word { transform: none; opacity: 1; }
  .hero__side, .hero__foot { opacity: 1; }
  .stage { display: none; }
}
