/* style.css — ellisrb.com v6 */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

:root {
  --forest:     #111008;
  --bark:       #1e1610;
  --cream:      #f2ead8;
  --parchment:  #e8ddc8;
  --honey:      #c4892a;
  --moss:       #3d5c2a;
  --lichen:     #7a9c5e;
  --fog:        #8a9088;
  --ink:        #1a180e;
  --wipe-col:   #c4892a;

  --ff-head:   'Cormorant Garamond', Georgia, serif;
  --ff-body:   'DM Sans', system-ui, sans-serif;
  --ff-italic: 'Lora', Georgia, serif;
}

html, body {
  width: 100%; height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

/* ─── PANEL SYSTEM ─── */
#world {
  position: relative;
}

.panel {
  position: relative;
  width: 100%;
  min-height: 100svh;
  opacity: 1;
  pointer-events: all;
  overflow: hidden;
  scroll-snap-align: start;
}

/* ─── STORY NAV ─── */
#story-nav {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 14px;
}

.story-dot {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(242, 234, 216, 0.85);
  background: rgba(242, 234, 216, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.story-dot:hover { transform: scale(1.1); }

.story-dot.active {
  background: var(--honey);
  border-color: var(--honey);
  transform: scale(1.2);
}

/* ─── ══════════════════════════════════
   PANEL: HOME
══════════════════════════════════ ─── */
#p-home { background: var(--forest); }

#firefly-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: clamp(40px, 8vw, 120px);
  max-width: 900px;
}

.home-role {
  font-family: var(--ff-body);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
  animation: homeIn 1s ease 0.3s forwards;
}

.home-name {
  font-family: var(--ff-head);
  font-size: clamp(56px, 8.5vw, 130px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--cream);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(18px);
  animation: homeIn 1s ease 0.5s forwards;
}

.home-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--honey);
}

.home-desc {
  font-family: var(--ff-italic);
  font-size: clamp(15px, 1.6vw, 20px);
  font-style: italic;
  color: var(--fog);
  max-width: 400px;
  line-height: 1.55;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(12px);
  animation: homeIn 1s ease 0.7s forwards;
}

.home-links {
  display: flex;
  gap: 28px;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  animation: homeIn 1s ease 0.9s forwards;
}

.home-links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,137,42,0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.home-links a:hover { color: var(--honey); border-color: var(--honey); }
.home-links span { color: var(--fog); opacity: 0.4; }

.home-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 5vh, 44px);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: rgba(242, 234, 216, 0.5);
  opacity: 0;
  animation: homeCueIn 1s ease 1.1s forwards;
}

.home-scroll-arrow {
  color: rgba(242, 234, 216, 0.5);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1;
  animation: scrollNudge 1.9s ease-in-out infinite;
}

@media (min-width: 901px) {
  .home-scroll-cue {
    color: rgba(242, 234, 216, 0.72);
  }

  .home-scroll-arrow {
    color: rgba(242, 234, 216, 0.78);
    font-size: 16px;
    animation-duration: 1.5s;
  }
}

@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(3px); opacity: 0.65; }
}

@keyframes homeCueIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes homeIn {
  to { opacity: 1; transform: translateY(0); }
}

#p-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 15% 50%, transparent 0%, rgba(17,16,8,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── ══════════════════════════════════
   PANEL: WORK
══════════════════════════════════ ─── */
#p-work {
  background: #12110c;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-heading {
  position: absolute;
  top: clamp(28px, 5vh, 56px);
  left: clamp(36px, 5vw, 72px);
  pointer-events: none;
  z-index: 2;
}

.work-heading span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  font-family: var(--ff-body);
  margin-bottom: 6px;
}

.work-heading h2 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1;
}

.work-nda-note {
  pointer-events: auto;
  max-width: 28em;
  margin-top: 14px;
  font-family: var(--ff-italic);
  font-size: clamp(13px, 1.15vw, 15px);
  font-style: italic;
  line-height: 1.55;
  color: rgba(242, 234, 216, 0.72);
}

.board-key {
  position: absolute;
  top: clamp(168px, 22vh, 220px);
  left: clamp(36px, 5vw, 72px);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 3;
}

.key-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--ff-body);
  background: rgba(26, 24, 14, 0.82);
  border: 2px solid transparent;
  padding: 6px 10px;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  color: var(--cream);
  appearance: none;
  -webkit-appearance: none;
}

.key-item.is-off {
  border-color: rgba(140, 140, 140, 0.6) !important;
  color: rgba(180, 180, 180, 0.9);
  background: rgba(65, 65, 65, 0.8);
}

.key-photogrammetry { border-color: #3a7bd5; }
.key-games { border-color: #9b4dca; }
.key-software { border-color: #2e9b57; }

.project-board {
  position: absolute;
  inset: clamp(230px, 30vh, 300px) clamp(26px, 4vw, 64px) clamp(62px, 10vh, 88px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 85% 72%, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(140deg, #1f1a12 0%, #211a12 45%, #17130d 100%);
  border: 2px solid rgba(242, 234, 216, 0.14);
  box-shadow: inset 0 0 0 8px rgba(196, 137, 42, 0.06), 0 10px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.p-card {
  position: absolute;
  width: clamp(172px, 17vw, 236px);
  background: #181611;
  padding: 10px 10px 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.24);
  transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.26, 1.15), box-shadow 0.24s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 3px solid #3a7bd5;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--scale, 1));
  touch-action: none;
  will-change: transform;
}

.p-card:hover {
  box-shadow: 0 18px 52px rgba(0,0,0,0.5), 0 3px 10px rgba(0,0,0,0.25);
  z-index: 10;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(calc(var(--scale, 1) * 1.03));
}

.p-card.type-photogrammetry { border-color: #3a7bd5; }
.p-card.type-games { border-color: #9b4dca; }
.p-card.type-software { border-color: #2e9b57; }
.p-card.is-hidden { display: none; }

.p-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #22201b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 10px;
  color: var(--fog);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 12px;
  background: #22201b;
}

.p-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.p-card-body { padding-top: 10px; }

.p-card-body h3 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 4px;
}

.p-card-body p {
  font-size: 11px;
  color: var(--fog);
  line-height: 1.45;
  margin-bottom: 6px;
}

.p-card-tags {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--honey);
  text-transform: uppercase;
}

.work-foot {
  position: absolute;
  bottom: clamp(20px, 4vh, 36px);
  right: clamp(36px, 5vw, 72px);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.work-foot a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--honey);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.work-foot a:hover { color: var(--honey); }

/* ─── ══════════════════════════════════
   PANEL: TOOLS
══════════════════════════════════ ─── */
#p-tools {
  background: var(--bark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(26px, 5vh, 56px) clamp(20px, 5vw, 72px) clamp(28px, 6vh, 58px);
}

#p-tools::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.tools-heading {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(16px, 3vh, 28px);
}

.tools-heading span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  font-family: var(--ff-body);
  margin-bottom: 6px;
}

.tools-heading h2 {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.tools-world {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: min(72vh, 720px);
}

.tools-column {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px);
}

.tools-workshop {
  background: var(--bark);
  color: var(--cream);
  clip-path: polygon(
    0 0,
    100% 0,
    96% 8%,
    102% 18%,
    97% 28%,
    103% 40%,
    98% 52%,
    104% 64%,
    99% 76%,
    103% 88%,
    100% 100%,
    0 100%
  );
}

.tools-workshop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(196,137,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tools-outside {
  background: #152015;
  color: var(--cream);
  padding-left: clamp(56px, 8vw, 100px);
}

.tools-outside::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 60%, rgba(122,156,94,0.16) 0%, transparent 65%);
  pointer-events: none;
}

.tools-outside::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(122,156,94,0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.6;
}

.tools-label,
.life-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  margin-bottom: 14px;
}
.tools-workshop .tools-label { color: var(--honey); }
.tools-outside .tools-label { color: var(--lichen); }
.tools-label {
  position: relative;
  z-index: 1;
}

.tools-column h3,
.life-h {
  font-family: var(--ff-head);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.tools-workshop h3 { color: var(--cream); font-style: italic; }
.tools-outside h3 { color: var(--lichen); }
.tools-column h3 {
  position: relative;
  z-index: 1;
}

.tools-p,
.life-p {
  font-family: var(--ff-italic);
  font-size: clamp(14px, 1.4vw, 17px);
  font-style: italic;
  line-height: 1.65;
  max-width: 380px;
}

.tools-workshop .tools-p { color: var(--fog); }
.tools-outside .tools-p { color: #aec1a3; }
.tools-p {
  position: relative;
  z-index: 1;
}

/* ─── ══════════════════════════════════
   PANEL: LIFE
══════════════════════════════════ ─── */
#p-life {
  background: #111008;
  color: var(--cream);
  padding: clamp(24px, 4vh, 44px) clamp(14px, 3.5vw, 40px);
}

#p-life .tools-heading {
  margin-bottom: 10px;
}

.life-combined {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: calc(100svh - clamp(70px, 11vh, 110px));
}

.life-combined > div,
.life-combined .tools-column,
.life-combined .life-workshop,
.life-combined .life-outside {
  min-height: 0;
  height: 100%;
}

.life-workshop {
  background: var(--bark);
  color: var(--cream);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px);
  clip-path: polygon(
    0 0,
    100% 0,
    96% 8%,
    102% 18%,
    97% 28%,
    103% 40%,
    98% 52%,
    104% 64%,
    99% 76%,
    103% 88%,
    100% 100%,
    0 100%
  );
}

.life-workshop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(196,137,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.life-outside {
  background: #152015;
  color: var(--cream);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px);
  padding-left: clamp(56px, 8vw, 100px);
}

.life-outside::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 60%, rgba(122,156,94,0.16) 0%, transparent 65%);
  pointer-events: none;
}

.life-outside::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(122,156,94,0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.6;
}

.life-workshop .life-label { color: var(--honey); }
.life-outside  .life-label { color: var(--lichen); }

.life-workshop .life-h { color: var(--cream); font-style: italic; }
.life-outside  .life-h { color: var(--lichen); }

.life-workshop .life-p { color: var(--fog); }
.life-outside  .life-p { color: #aec1a3; position: relative; z-index: 1; }

/* ─── ══════════════════════════════════
   PANEL: HELLO
══════════════════════════════════ ─── */
#p-hello {
  background: #121008;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

#p-hello::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hello-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hello-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 8px;
}

.hello-h {
  font-family: var(--ff-head);
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  width: clamp(260px, 40vw, 480px);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(242,234,216,0.14);
  text-decoration: none;
  color: var(--cream);
  transition: padding-left 0.25s ease, color 0.2s;
}

.contact-item:first-child { border-top: 1px solid rgba(242,234,216,0.14); }
.contact-item:hover { padding-left: 8px; color: var(--honey); }

.contact-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  font-family: var(--ff-body);
  transition: color 0.2s;
}
.contact-item:hover .contact-label { color: var(--honey); }

.contact-item span:last-child {
  font-family: var(--ff-italic);
  font-size: 15px;
  font-style: italic;
  overflow-wrap: anywhere;
  text-align: right;
}

.hello-foot {
  margin-top: 56px;
  font-size: 11px;
  color: rgba(242,234,216,0.38);
  letter-spacing: 0.08em;
}

/* ─── PROJECTS MOBILE LAYOUT ─── */
@media (max-width: 900px) {
  html, body {
    scroll-snap-type: y proximity;
  }

  #p-work {
    min-height: auto;
    padding: 18px 12px 20px;
    justify-content: flex-start;
    overflow: visible;
  }

  .work-heading {
    position: static;
    margin-bottom: 6px;
  }

  .work-nda-note {
    max-width: none;
    margin-top: 10px;
    font-size: 14px;
  }

  .board-key {
    position: static;
    margin: 0 0 10px;
    gap: 6px;
  }

  .project-board {
    position: relative;
    inset: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .p-card {
    position: relative;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 8px;
    border-width: 2px;
    border-radius: 8px;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    touch-action: pan-y;
  }

  .p-card:hover {
    transform: none !important;
  }

  .p-card-img {
    width: 92px;
    aspect-ratio: 1 / 1;
  }

  .p-card-body {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .p-card-body h3 {
    font-size: 15px;
    margin-bottom: 2px;
    line-height: 1.18;
  }

  .p-card-body p {
    font-size: 12px;
    margin-bottom: 4px;
    line-height: 1.3;
    color: rgba(242, 234, 216, 0.72);
  }

  .p-card-tags {
    font-size: 10px;
    letter-spacing: 0.08em;
    opacity: 0.9;
  }

  .work-foot {
    position: static;
    margin-top: 10px;
    align-self: flex-start;
  }

  .project-board .p-card.mobile-hide {
    display: none;
  }

  .tools-column {
    padding: 18px 14px;
    clip-path: none;
  }

  .tools-column h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .life-h {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.08;
  }

  #p-life {
    padding: 18px 12px 20px;
  }

  .life-combined {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    min-height: 0;
    gap: 10px;
  }

  .life-combined > div,
  .life-combined .life-workshop,
  .life-combined .life-outside {
    height: auto;
    min-height: 0;
  }

  .life-combined .life-workshop,
  .life-combined .life-outside {
    padding: 18px 18px;
    padding-left: 18px;
  }
}

/* ─── MOBILE ─── */
@media (max-width: 680px) {
  .key-item {
    font-size: 10px;
    padding: 5px 8px;
  }

  .p-card {
    grid-template-columns: 76px 1fr;
    gap: 8px;
    padding: 7px;
  }

  .p-card-img {
    width: 76px;
  }

  .p-card-body h3 {
    font-size: 14px;
  }

  .p-card-body p {
    display: none;
  }

  #story-nav {
    right: 12px;
    gap: 10px;
  }
  .story-dot {
    width: 12px;
    height: 12px;
  }

  .life-workshop {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 96% 97%, 102% 99%, 100% 100%, 0 100%);
  }

  .tools-column h3 {
    font-size: 24px;
  }

  .life-h {
    font-size: clamp(22px, 6.5vw, 28px);
    line-height: 1.1;
  }
}

/* Narrow phones: hero + contact scale with viewport */
@media (max-width: 480px) {
  .home-name {
    font-size: clamp(40px, 12vw, 130px);
  }

  .home-desc {
    font-size: clamp(15px, 4.2vw, 20px);
  }

  .hello-h {
    font-size: clamp(36px, 11vw, 100px);
  }

  .hello-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .contact-label {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .contact-item span:last-child {
    font-size: 14px;
  }
}

/* ─── SELECTION ─── */
::selection {
  background: rgba(196,137,42,0.3);
  color: var(--cream);
}
