/* =========================================================
   SECTIONS — work, capabilities, about, process, press,
   journal, contact CTA, footer, menu overlay
   ========================================================= */

/* ---------- Generic section frame ---------- */
.section {
  padding: 120px 80px;
  position: relative;
}
.section--light  { background: #fff; color: var(--c-ink); }
.section--cream  { background: var(--c-cream); color: var(--c-ink); }
.section--dark   { background: var(--c-dark); color: #f5f0e6; }
.section--tight  { padding: 80px 80px; }
.section--page   { padding-top: 200px; padding-bottom: 160px; }

/* =========================================================
   CASE STUDY PAGE
   ========================================================= */
.case-hero {
  max-width: 1280px;
  margin: 0 auto;
}
.case-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 24px;
}
.case-hero__title {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 32px;
}
.case-hero__lead {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  max-width: 760px;
  color: var(--c-ink-soft);
}

.case-meta {
  max-width: 1280px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--c-line);
  padding-top: 32px;
}
.case-meta__col { display: flex; flex-direction: column; gap: 6px; }
.case-meta__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.case-meta__value {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-ink);
}
@media (max-width: 720px) {
  .case-meta { grid-template-columns: 1fr 1fr; }
}

.case-shots {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.case-shot__figure {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}
.case-shot__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.35);
}
.case-shot__caption {
  position: sticky;
  top: 120px;
}
.case-shot__caption .eyebrow {
  margin-bottom: 12px;
}
.case-shot__caption h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.case-shot__caption p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .case-shot__figure { grid-template-columns: 1fr; gap: 24px; }
  .case-shot__caption { position: static; }
}

.case-summary {
  max-width: 1280px;
  margin: 0 auto;
}
.case-summary__title {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 48px;
}
.case-summary__title em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
}
.case-summary__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
}
.case-summary__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.case-summary--light .case-summary__item {
  border-top-color: var(--c-line);
}
.case-summary__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.55;
}
.case-summary__heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.case-summary__copy {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.78;
}
@media (max-width: 720px) {
  .case-summary__list { grid-template-columns: 1fr; gap: 24px; }
}

.case-cta {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.case-cta__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.case-cta__sub {
  font-size: 16px;
  color: var(--c-ink-soft);
  margin-bottom: 32px;
}
.case-back {
  max-width: 1280px;
  margin: 64px auto 0;
}

/* =========================================================
   FULL-PAGE SECTION (capabilities + process)
   ========================================================= */
.fp-section {
  padding: 110px 80px;
  position: relative;
}
.fp-section--cream  { background: var(--c-cream); }
.fp-section--dark   { background: var(--c-dark); color: #f5f0e6; }
.fp-section--accent { background: linear-gradient(135deg, #2a1610 0%, #5a2818 100%); color: #f5f0e6; }
.fp-section--ink    { background: var(--c-dark-2); color: #f5f0e6; }

.fp-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fp-grid--reverse .fp-demo { order: -1; }

.fp-text { max-width: 520px; }
.fp-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 16px;
}
.fp-section--dark .fp-num,
.fp-section--accent .fp-num,
.fp-section--ink .fp-num { color: rgba(245, 240, 230, 0.55); }

.fp-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 24px;
}
.fp-title em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
}
.fp-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin-bottom: 28px;
}
.fp-section--dark .fp-lead,
.fp-section--accent .fp-lead,
.fp-section--ink .fp-lead { color: rgba(245, 240, 230, 0.78); }

.fp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.fp-bullets li {
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.fp-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  background: var(--c-accent);
  border-radius: 50%;
}

.fp-demo {
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.25);
}
.fp-section--dark .fp-demo,
.fp-section--ink .fp-demo { background: #14110d; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.fp-section--accent .fp-demo { background: rgba(0, 0, 0, 0.28); }

@media (max-width: 900px) {
  .fp-section { padding: 64px 24px; }
  .fp-grid { grid-template-columns: 1fr; gap: 40px; }
  .fp-grid--reverse .fp-demo { order: 0; }
}

/* ---------- DEMO: Brand card ---------- */
.demo-brand {
  width: 78%;
  height: 78%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border-radius: 14px;
}
.demo-brand__mark {
  background: linear-gradient(135deg, var(--c-accent), #ff9c63);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.demo-brand__mark::before {
  content: '';
  position: absolute;
  inset: 30%;
  background: #fff;
  border-radius: 50%;
  animation: brandMorph 5s ease-in-out infinite;
}
@keyframes brandMorph {
  0%, 100% { transform: rotate(0) scale(1); border-radius: 50%; }
  25% { transform: rotate(45deg) scale(0.7); border-radius: 0; }
  50% { transform: rotate(180deg) scale(1.1); border-radius: 25%; }
  75% { transform: rotate(225deg) scale(0.85); border-radius: 50% 0; }
}
.demo-brand__type {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  animation: brandWeight 5s ease-in-out infinite;
}
@keyframes brandWeight {
  0%, 100% { font-weight: 900; letter-spacing: -0.04em; }
  50% { font-weight: 200; letter-spacing: 0.06em; }
}
.demo-brand__swatches {
  display: flex;
  gap: 6px;
  height: 36px;
}
.demo-brand__swatch {
  flex: 1;
  border-radius: 6px;
  animation: swatchPulse 6s ease-in-out infinite;
}
.demo-brand__swatch:nth-child(1) { background: #1a1a1a; animation-delay: 0.0s; }
.demo-brand__swatch:nth-child(2) { background: var(--c-accent); animation-delay: 0.3s; }
.demo-brand__swatch:nth-child(3) { background: #f5f3ee; animation-delay: 0.6s; border: 1px solid #e0dccf; }
.demo-brand__swatch:nth-child(4) { background: #2c5e8a; animation-delay: 0.9s; }
.demo-brand__swatch:nth-child(5) { background: #c4413c; animation-delay: 1.2s; }
@keyframes swatchPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.45; transform: translateY(-3px); }
}

/* ---------- DEMO: App mock ---------- */
.demo-app {
  width: 58%;
  aspect-ratio: 9/16;
  background: #f5f3ee;
  border-radius: 22px;
  padding: 22px 16px;
  border: 7px solid #1a1a1a;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}
.demo-app__statusbar {
  height: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a1a1a;
}
.demo-app__title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.demo-app__sub {
  font-size: 9px;
  color: #888;
  margin-bottom: 14px;
}
.demo-app__row {
  height: 44px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  opacity: 0;
  animation: appRowIn 5s ease infinite;
}
.demo-app__row:nth-child(4) { animation-delay: 0.0s; }
.demo-app__row:nth-child(5) { animation-delay: 0.2s; }
.demo-app__row:nth-child(6) { animation-delay: 0.4s; }
.demo-app__row:nth-child(7) { animation-delay: 0.6s; }
.demo-app__row:nth-child(8) { animation-delay: 0.8s; }
@keyframes appRowIn {
  0% { opacity: 0; transform: translateX(-10px); }
  16%, 84% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-10px); }
}
.demo-app__avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}
.demo-app__lines { flex: 1; }
.demo-app__line {
  height: 5px;
  background: #e8e3d8;
  border-radius: 3px;
  margin-bottom: 3px;
}
.demo-app__line:last-child { width: 60%; }

/* ---------- DEMO: Lighthouse gauges ---------- */
.demo-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px;
}
.demo-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.demo-gauge__circle {
  width: 90px;
  height: 90px;
  position: relative;
}
.demo-gauge__circle svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.demo-gauge__circle .track {
  fill: none;
  stroke: rgba(245, 240, 230, 0.15);
  stroke-width: 6;
}
.demo-gauge__circle .bar {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.6, 0, 0.2, 1);
}
.fp-demo.is-revealed .demo-gauge__circle .bar { stroke-dashoffset: var(--target, 30); }
.demo-gauge__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #f5f0e6;
}
.demo-gauge__lbl {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- DEMO: Bar chart ---------- */
.demo-chart {
  width: 75%;
  height: 70%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 24px 0;
}
.demo-chart__bar {
  flex: 1;
  background: linear-gradient(180deg, var(--c-accent), #ff9c63);
  border-radius: 8px 8px 0 0;
  position: relative;
  height: 0;
  transition: height 1.2s cubic-bezier(0.6, 0, 0.2, 1);
}
.fp-demo.is-revealed .demo-chart__bar { height: var(--h, 50%); }
.demo-chart__bar:nth-child(1) { transition-delay: 0.1s; }
.demo-chart__bar:nth-child(2) { transition-delay: 0.2s; }
.demo-chart__bar:nth-child(3) { transition-delay: 0.3s; }
.demo-chart__bar:nth-child(4) { transition-delay: 0.4s; }
.demo-chart__bar:nth-child(5) { transition-delay: 0.5s; }
.demo-chart__bar:nth-child(6) { transition-delay: 0.6s; }
.demo-chart__bar::before {
  content: attr(data-val);
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}
.fp-section--dark .demo-chart__bar::before,
.fp-section--ink .demo-chart__bar::before { color: #f5f0e6; }

/* ---------- DEMO: Headline cycler ---------- */
.demo-headline {
  width: 80%;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-headline__text { display: inline; }
.demo-headline__cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--c-accent);
  vertical-align: middle;
  margin-left: 4px;
  animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ---------- DEMO: Workflow ---------- */
.demo-workflow {
  width: 84%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-workflow__line {
  position: absolute;
  top: 50%;
  left: 25px; right: 25px;
  height: 2px;
  background: rgba(245, 240, 230, 0.18);
  z-index: 1;
}
.demo-workflow__node {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(245, 240, 230, 0.06);
  border: 1.5px solid rgba(245, 240, 230, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(245, 240, 230, 0.85);
  position: relative;
  z-index: 2;
  animation: nodeBlink 4s ease-in-out infinite;
}
.demo-workflow__node:nth-child(2) { animation-delay: 0.0s; }
.demo-workflow__node:nth-child(3) { animation-delay: 0.8s; }
.demo-workflow__node:nth-child(4) { animation-delay: 1.6s; }
.demo-workflow__node:nth-child(5) { animation-delay: 2.4s; }
.demo-workflow__node:nth-child(6) { animation-delay: 3.2s; }
@keyframes nodeBlink {
  0%, 80%, 100% { background: rgba(245,240,230,0.06); border-color: rgba(245,240,230,0.25); }
  10%, 25% { background: var(--c-accent); border-color: var(--c-accent); color: #fff; transform: scale(1.1); }
}
.demo-workflow__packet {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  background: var(--c-accent);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 14px var(--c-accent);
  animation: packetFlow 4s linear infinite;
}
@keyframes packetFlow {
  0%   { left: 25px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: calc(100% - 37px); opacity: 0; }
}

/* ---------- DEMO: Magnify (process #1) ---------- */
.demo-magnify {
  width: 80%;
  height: 80%;
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(245,240,230,0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(245,240,230,0.08) 0 1px, transparent 1px 32px);
  border-radius: 12px;
  overflow: hidden;
}
.demo-magnify::before {
  content: '';
  position: absolute;
  width: 70px; height: 70px;
  border: 3px solid var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 107, 53, 0.45);
  background: rgba(255, 107, 53, 0.08);
  animation: magnifyMove 6s ease-in-out infinite;
}
.demo-magnify::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 4px;
  background: var(--c-accent);
  border-radius: 2px;
  transform-origin: 0 50%;
  animation: magnifyHandle 6s ease-in-out infinite;
}
@keyframes magnifyMove {
  0% { left: 10%; top: 20%; }
  25% { left: 60%; top: 15%; }
  50% { left: 70%; top: 60%; }
  75% { left: 20%; top: 60%; }
  100% { left: 10%; top: 20%; }
}
@keyframes magnifyHandle {
  0% { left: calc(10% + 60px); top: calc(20% + 60px); transform: rotate(45deg); }
  25% { left: calc(60% + 60px); top: calc(15% + 60px); transform: rotate(45deg); }
  50% { left: calc(70% + 60px); top: calc(60% + 60px); transform: rotate(45deg); }
  75% { left: calc(20% + 60px); top: calc(60% + 60px); transform: rotate(45deg); }
  100% { left: calc(10% + 60px); top: calc(20% + 60px); transform: rotate(45deg); }
}

/* ---------- DEMO: Decision tree (process #2) ---------- */
.demo-tree {
  width: 80%;
  height: 70%;
  position: relative;
}
.demo-tree__node {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 240, 230, 0.08);
  border: 1.5px solid rgba(245, 240, 230, 0.3);
  color: rgba(245, 240, 230, 0.85);
}
.demo-tree__node--root { left: 50%; top: 0; transform: translateX(-50%); background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.demo-tree__node--a   { left: 10%; bottom: 0; }
.demo-tree__node--b   { left: 50%; bottom: 0; transform: translateX(-50%); }
.demo-tree__node--c   { right: 10%; bottom: 0; }
.demo-tree svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.demo-tree__path {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: treeDraw 4s ease-in-out infinite;
}
.demo-tree__path:nth-child(2) { animation-delay: 0.4s; }
.demo-tree__path:nth-child(3) { animation-delay: 0.8s; }
@keyframes treeDraw {
  0% { stroke-dashoffset: 240; }
  40% { stroke-dashoffset: 0; }
  90% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 240; opacity: 0; }
}

/* ---------- DEMO: Wireframe → hi-fi (process #3) ---------- */
.demo-morph {
  width: 80%;
  aspect-ratio: 4/3;
  background: #fafaf6;
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.demo-morph__line {
  height: 8px;
  background: #d4d0c4;
  border-radius: 4px;
  margin-bottom: 10px;
  animation: morphFill 6s ease-in-out infinite;
}
.demo-morph__line:nth-child(1) { width: 60%; }
.demo-morph__line:nth-child(2) { width: 88%; animation-delay: 0.2s; }
.demo-morph__line:nth-child(3) { width: 76%; animation-delay: 0.4s; }
.demo-morph__line:nth-child(4) {
  width: 100%;
  height: 60px;
  margin-top: 14px;
  border-radius: 8px;
  animation-delay: 0.6s;
}
.demo-morph__line:nth-child(5) {
  width: 40%;
  height: 32px;
  margin-top: 14px;
  border-radius: 6px;
  animation-delay: 0.8s;
}
@keyframes morphFill {
  0%, 100% { background: #d4d0c4; }
  50% { background: var(--c-accent); }
}

/* ---------- DEMO: Code typer (process #4) ---------- */
.demo-code {
  width: 82%;
  background: #14110d;
  border-radius: 10px;
  padding: 16px 18px;
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #f5f0e6;
  position: relative;
}
.demo-code__dots {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.demo-code__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.3);
}
.demo-code__line { white-space: nowrap; overflow: hidden; }
.demo-code__line:nth-child(2) { color: #c084fc; animation: codeType 8s steps(20) infinite; max-width: 0; }
.demo-code__line:nth-child(3) { color: #facc15; animation: codeType 8s steps(28) infinite 0.8s; max-width: 0; }
.demo-code__line:nth-child(4) { color: #4ade80; animation: codeType 8s steps(20) infinite 1.6s; max-width: 0; }
.demo-code__line:nth-child(5) { color: #f5f0e6; animation: codeType 8s steps(24) infinite 2.4s; max-width: 0; }
.demo-code__line:nth-child(6) { color: var(--c-accent); animation: codeType 8s steps(16) infinite 3.2s; max-width: 0; }
@keyframes codeType {
  0% { max-width: 0; }
  6% { max-width: 100%; }
  60% { max-width: 100%; }
  61% { max-width: 100%; opacity: 1; }
  85% { opacity: 1; }
  100% { max-width: 100%; opacity: 0.4; }
}

/* ---------- DEMO: Launch countdown (process #5) ---------- */
.demo-launch {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.demo-launch__rocket {
  font-size: 64px;
  line-height: 1;
  animation: rocketBob 3s ease-in-out infinite;
}
@keyframes rocketBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}
.demo-launch__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.demo-launch__check {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.4;
  animation: checkOn 4s ease-in-out infinite;
}
.demo-launch__check::before {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.demo-launch__check.is-done::before {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.demo-launch__check:nth-child(1) { animation-delay: 0s; }
.demo-launch__check:nth-child(2) { animation-delay: 0.5s; }
.demo-launch__check:nth-child(3) { animation-delay: 1s; }
.demo-launch__check:nth-child(4) { animation-delay: 1.5s; }
@keyframes checkOn {
  0%, 100% { opacity: 0.4; }
  30%, 70% { opacity: 1; }
}

/* ---------- DEMO: Iteration loop (process #6) ---------- */
.demo-loop {
  width: 70%;
  aspect-ratio: 1/1;
  position: relative;
}
.demo-loop svg { width: 100%; height: 100%; }
.demo-loop__circle {
  fill: none;
  stroke: rgba(245, 240, 230, 0.18);
  stroke-width: 4;
}
.demo-loop__bar {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100 280;
  animation: loopRun 3s linear infinite;
}
@keyframes loopRun {
  to { stroke-dashoffset: -380; }
}
.demo-loop__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   ABOUT — FOUNDERS
   ========================================================= */
.founders {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.founder-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.founder-card__portrait {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-card__portrait--mario {
  background-image: url('../img/team/mario.jpg');
  background-size: cover;
  background-position: center 18%;
  background-color: #4a1a14;
}
.founder-card__portrait--mario .founder-card__initials { display: none; }
.founder-card__portrait--jonathan {
  background-image: url('../img/team/jonathan.jpg');
  background-size: cover;
  background-position: center 30%;
  background-color: #0e2a44;
}
.founder-card__portrait--jonathan .founder-card__initials { display: none; }
.founder-card__portrait--nicholas {
  background-image: url('../img/team/nicholas.jpg');
  background-size: cover;
  background-position: center 22%;
  background-color: #0e3a2a;
}
.founder-card__portrait--nicholas .founder-card__initials { display: none; }
.founder-card__initials {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
}
.founder-card__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.founder-card__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: -10px;
}
.founder-card__bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-ink-soft);
}
@media (max-width: 900px) {
  .founders { grid-template-columns: 1fr; gap: 32px; }
}

.about-origin {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.about-origin__lead {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-ink);
  margin-top: 16px;
}
.about-origin__lead em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
}

/* =========================================================
   WIZARD (Start a project)
   ========================================================= */
.wizard {
  max-width: 720px;
  margin: 0 auto;
}
.wizard__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
}
.wizard__progress-bar {
  flex: 1;
  height: 3px;
  background: var(--c-line);
  border-radius: 2px;
  overflow: hidden;
}
.wizard__progress-bar.is-done { background: var(--c-accent); }
.wizard__progress-bar.is-current { background: var(--c-ink); }

.wizard__step {
  display: none;
  animation: stepIn 0.35s ease;
}
.wizard__step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 12px;
}
.wizard__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.wizard__subtitle {
  font-size: 15px;
  color: var(--c-ink-soft);
  margin-bottom: 32px;
  line-height: 1.55;
}

.wizard__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.wizard__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
}
.wizard__hint {
  font-size: 12px;
  color: var(--c-mute);
  margin-top: -4px;
}
.wizard__input,
.wizard__textarea {
  font-family: var(--ff-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  color: var(--c-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wizard__textarea {
  min-height: 110px;
  resize: vertical;
  font-family: var(--ff-sans);
  line-height: 1.5;
}
.wizard__input:focus,
.wizard__textarea:focus {
  outline: none;
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

.wizard__radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wizard__radio {
  position: relative;
  cursor: pointer;
}
.wizard__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard__radio-card {
  border: 1.5px solid var(--c-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wizard__radio-card-sub {
  font-size: 12px;
  color: var(--c-mute);
  font-weight: 400;
}
.wizard__radio:hover .wizard__radio-card { border-color: var(--c-mute); }
.wizard__radio input:checked + .wizard__radio-card {
  border-color: var(--c-ink);
  background: var(--c-cream);
}
.wizard__radio input:focus-visible + .wizard__radio-card {
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 12px;
}
.wizard__nav .cta { padding: 14px 28px; font-size: 11px; }
.wizard__back {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
  background: none;
  cursor: pointer;
  padding: 14px 18px;
}
.wizard__back:hover { color: var(--c-ink); }
.wizard__back:disabled { opacity: 0.4; cursor: default; }

.wizard__review {
  background: var(--c-cream);
  border-radius: 12px;
  padding: 24px 28px;
}
.wizard__review-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
}
.wizard__review-row:last-child { border-bottom: none; }
.wizard__review-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
  padding-top: 2px;
}
.wizard__review-value {
  color: var(--c-ink);
  word-wrap: break-word;
  white-space: pre-wrap;
}

.wizard__success {
  text-align: center;
  padding: 40px 0;
}
.wizard__success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .wizard__radio-grid { grid-template-columns: 1fr; }
  .wizard__review-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .section--page { padding-top: 140px; padding-bottom: 100px; }
}

@media (max-width: 900px) {
  .section { padding: 80px 24px; }
  .section--tight { padding: 56px 24px; }
}

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 24px;
}
.eyebrow--light { color: rgba(245, 240, 230, 0.55); }

.section__head {
  max-width: 1280px;
  margin: 0 auto 64px;
}
.section__head--center { text-align: center; }

.section__title {
  font-size: clamp(40px, 5.6vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.section__title em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.section__cta {
  max-width: 1280px;
  margin: 56px auto 0;
}

/* ---------- Selected Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.work-card {
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); }

.work-card__visual {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
}
.work-card__visual--coral {
  background: radial-gradient(circle at 30% 30%, #f4a484 0%, #c66a3e 50%, #5a2818 100%);
  color: #fff;
}
.work-card__visual--dark {
  background: linear-gradient(135deg, #2a2520 0%, #0a0a0a 70%);
  color: #fff;
}
.work-card__visual--cream {
  background: linear-gradient(135deg, #f5f0e6 0%, #d8c8b0 50%, #8c7860 100%);
  color: #2a1a0e;
}
.work-card__visual--accent {
  background: radial-gradient(circle at 70% 30%, #ffb088 0%, #ff6b35 60%, #8a2c10 100%);
  color: #fff;
}

/* Photo variant — real screenshot fills the card */
.work-card__visual--photo {
  background-color: #0a0a0a;
  background-size: cover;
  background-position: top center;
  color: #fff;
  position: relative;
}
.work-card__visual--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.work-card__visual--photo .work-card__index {
  position: relative;
  z-index: 1;
}
.work-card__index {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 16px;
  opacity: 0.85;
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.work-card__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.work-card__role {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 15px;
  color: var(--c-mute);
}

@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-card__meta { flex-direction: column; gap: 4px; }
}

/* ---------- Link arrow ---------- */
.link-arrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.25s var(--ease-out);
}
.link-arrow:hover { gap: 16px; }
.link-arrow--small { font-size: 11px; }

/* ---------- Capabilities ---------- */
.cap-list {
  max-width: 1280px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245, 240, 230, 0.15);
}
.cap {
  padding: 40px 32px 40px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.15);
}
.cap:nth-child(odd) { padding-right: 64px; }
.cap:nth-child(even) {
  border-left: 1px solid rgba(245, 240, 230, 0.15);
  padding-left: 32px;
}
.cap__num {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 14px;
  color: rgba(245, 240, 230, 0.5);
  display: block;
  margin-bottom: 16px;
}
.cap__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cap__copy {
  font-family: var(--ff-serif);
  font-size: 18px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.75);
  max-width: 460px;
}

@media (max-width: 720px) {
  .cap-list { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(odd), .cap:nth-child(even) {
    padding: 32px 0;
    border-left: none;
  }
}

/* ---------- Manifesto ---------- */
.manifesto {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.manifesto__copy {
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-top: 16px;
}
.manifesto__copy em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
}

/* ---------- Process ---------- */
.process {
  max-width: 1280px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.process__step {
  background: #fff;
  padding: 40px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.process__num {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 14px;
  color: var(--c-mute);
  margin-bottom: 24px;
}
.process__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.process__copy {
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink-soft);
}

@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ---------- Press row ---------- */
.press-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.press-row__item {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: clamp(22px, 2.4vw, 32px);
  color: rgba(245, 240, 230, 0.85);
}
.press-row__divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---------- Journal ---------- */
.journal-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.journal-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--c-cream);
  border-radius: 14px;
  transition: transform 0.4s var(--ease-out);
  position: relative;
}
.journal-card:hover { transform: translateY(-4px); }
.journal-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-mute);
}
.journal-card__cat {
  background: var(--c-ink);
  color: #f5f0e6;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.12em;
  font-size: 10px;
}
.journal-card__date {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.journal-card__byline {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-top: -4px;
}
.journal-card__byline strong { font-weight: 700; color: var(--c-ink); }
.journal-card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.journal-card__excerpt {
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  flex: 1;
}

@media (max-width: 900px) { .journal-grid { grid-template-columns: 1fr; } }

/* ---------- Contact CTA ---------- */
.contact-cta {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 140px;
}
.contact-cta__headline {
  font-size: clamp(48px, 7.6vw, 140px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 16px 0 56px;
}
.contact-cta__email {
  display: inline-block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  color: rgba(245, 240, 230, 0.85);
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.4);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.contact-cta__email:hover { color: var(--c-accent); border-color: var(--c-accent); }

.cta-row--center { justify-content: center; }

.cta--invert {
  border-color: rgba(245, 240, 230, 0.6);
  color: #f5f0e6;
}
.cta--invert::before { background: #f5f0e6; }
.cta--invert:hover { color: var(--c-dark); }
.cta--invert.cta--primary {
  background: #f5f0e6;
  color: var(--c-dark);
  border-color: #f5f0e6;
}
.cta--invert.cta--primary::before { background: var(--c-accent); }
.cta--invert.cta--primary:hover { color: var(--c-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-dark);
  color: rgba(245, 240, 230, 0.85);
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  padding: 80px 80px 40px;
}
.footer__top {
  max-width: 1280px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.4);
  margin-bottom: 4px;
}
.footer__address {
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.5;
}
.footer__link {
  font-size: 14px;
  color: rgba(245, 240, 230, 0.85);
  width: fit-content;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}
.footer__link:hover { border-color: rgba(245, 240, 230, 0.85); }

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 230, 0.5);
}
.footer__brand {
  font-weight: 900;
  font-size: 14px;
  color: rgba(245, 240, 230, 0.95);
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .footer { padding: 56px 24px 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 56px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* =========================================================
   MENU OVERLAY
   ========================================================= */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--c-dark);
  color: #f5f0e6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.menu[hidden] { display: none; }
.menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu__close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f0e6;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s var(--ease-out);
}
.menu__close:hover { background: var(--c-accent); transform: rotate(90deg); }

.menu__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding: 96px 80px 48px;
  max-width: 1480px;
  margin: 0 auto;
  overflow-y: auto;
}

.menu__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.5);
  margin-bottom: 24px;
}

.menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu__list li {
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  overflow: hidden;
}
.menu__list li:last-child {
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: clamp(8px, 1.2vh, 14px) 0;
  font-size: clamp(28px, min(4vw, 7vh), 64px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #f5f0e6;
  transition: color 0.25s ease, padding-left 0.35s var(--ease-out);
}
.menu__link:hover {
  color: var(--c-accent);
  padding-left: 16px;
}
.menu__num {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: clamp(18px, min(1.4vw, 2.4vh), 26px);
  font-weight: 200;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 230, 0.6);
  min-width: 56px;
}
.menu__word { display: inline-block; }

/* Slide-in animation when menu opens */
.menu.is-open .menu__list li {
  animation: menuRise 0.6s var(--ease-out) backwards;
}
.menu.is-open .menu__list li:nth-child(1) { animation-delay: 0.10s; }
.menu.is-open .menu__list li:nth-child(2) { animation-delay: 0.16s; }
.menu.is-open .menu__list li:nth-child(3) { animation-delay: 0.22s; }
.menu.is-open .menu__list li:nth-child(4) { animation-delay: 0.28s; }
.menu.is-open .menu__list li:nth-child(5) { animation-delay: 0.34s; }
.menu.is-open .menu__list li:nth-child(6) { animation-delay: 0.40s; }
@keyframes menuRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu__side {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-self: end;
}
.menu__block { display: flex; flex-direction: column; gap: 8px; }
.menu__address {
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.85);
}
.menu__email {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #f5f0e6;
  border-bottom: 1px solid rgba(245, 240, 230, 0.4);
  padding-bottom: 4px;
  width: fit-content;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.menu__email:hover { color: var(--c-accent); border-color: var(--c-accent); }
.menu__phone {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(245, 240, 230, 0.78);
  margin-top: 8px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
  display: inline-block;
}
.menu__phone:hover { color: var(--c-accent); border-color: var(--c-accent); }
.menu__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.menu__social a {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 230, 0.85);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}
.menu__social a:hover { border-color: rgba(245, 240, 230, 0.85); }

/* Body scroll-lock helper */
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .menu__inner {
    grid-template-columns: 1fr;
    padding: 100px 24px 40px;
    gap: 40px;
  }
  .menu__close { top: 20px