/* ===== Brand tokens (edit here) ===== */
:root {
  --cream: #FAF3E1;
  --beige: #F5E7C6;
  --orange: #FF6D1F;
  --orange-deep: #E85A10;
  --charcoal: #222222;
  --ink-soft: #4a4642;
  --line: rgba(34, 34, 34, .1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--charcoal);
  background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }
.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 1rem; background: var(--charcoal); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 1rem; }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 1.25rem 0;
  background: linear-gradient(var(--cream) 40%, rgba(250,243,225,0)); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__mark { width: 34px; height: 17px; color: var(--charcoal); }
.brand__word { font-weight: 700; letter-spacing: .08em; font-size: 1.05rem; }
.brand__word span { font-weight: 600; }
.brand__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-left: 2px; transform: translateY(-6px); }
.nav__right { display: flex; align-items: center; gap: 1.5rem; font-size: .82rem; }
.nav__label { color: var(--ink-soft); letter-spacing: .02em; }
.nav__link { font-weight: 500; text-decoration: none; position: relative; padding-bottom: 2px; }
.nav__link::after, .textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--orange); transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease); }
.nav__link:hover::after, .textlink:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 7.5rem 0 5rem; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; width: 70vmax; height: 70vmax; right: -25vmax; top: -10vmax; border-radius: 50%;
  background: radial-gradient(circle, var(--beige) 0%, rgba(245,231,198,0) 65%); }
.hero__grid { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 50%, #000 20%, transparent 75%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: .45rem .85rem; border-radius: 999px; background: var(--charcoal); color: var(--cream); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,109,31,.6); animation: ping 2.4s infinite; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 0 0 1.75rem; }
h1 em, h2 em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-soft); max-width: 34rem; margin: 0 0 1.5rem; font-weight: 400; }
.tagline { display: inline-flex; align-items: center; gap: .75rem; font-weight: 500; font-size: .95rem; margin: 0 0 2.5rem; }
.tagline::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.btn { display: inline-flex; align-items: center; gap: .65rem; padding: 1rem 1.6rem; border-radius: 999px; text-decoration: none;
  background: var(--orange); color: var(--charcoal); font-weight: 600; font-size: .95rem;
  box-shadow: 0 14px 30px -12px rgba(255,109,31,.7); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); background: #ff7d36; box-shadow: 0 20px 36px -14px rgba(255,109,31,.8); }
.btn:hover svg { transform: translateX(4px); }
.textlink { position: relative; font-weight: 500; font-size: .95rem; text-decoration: none; }

/* Visual */
.visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; justify-self: end; }
.visual__svg { width: 100%; height: 100%; overflow: visible; }
.orbit { transform-origin: 260px 300px; }
.orbit--a { animation: spin 60s linear infinite; }
.orbit--b { animation: spin 90s linear infinite reverse; }
.rise { animation: rise 2.2s var(--ease) .4s both; }
.pulse { transform-origin: 260px 320px; animation: breathe 7s ease-in-out infinite; }
.infinity { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.5s var(--ease) .6s forwards; }
.float { position: absolute; display: block; animation: float 8s ease-in-out infinite; }
.f1 { width: 14px; height: 14px; border: 2px solid var(--charcoal); left: 8%; top: 18%; transform: rotate(45deg); }
.f2 { width: 10px; height: 10px; background: var(--orange); border-radius: 50%; right: 6%; top: 28%; animation-delay: -2s; }
.f3 { width: 22px; height: 22px; border: 1.5px solid var(--orange); border-radius: 50%; left: 16%; bottom: 14%; animation-delay: -4s; }
.f4 { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid var(--charcoal); right: 18%; bottom: 20%; opacity: .7; animation-delay: -6s; }

.scrollcue { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(34,34,34,.35); border-radius: 14px; }
.scrollcue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: cue 2s ease-in-out infinite; }

/* Entrance */
.reveal { opacity: 0; transform: translateY(18px); animation: in 1s var(--ease) forwards; }
.d1 { animation-delay: .1s } .d2 { animation-delay: .25s } .d3 { animation-delay: .4s } .d4 { animation-delay: .55s } .d5 { animation-delay: .7s }

/* ===== Contact ===== */
.contact { background: var(--beige); padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: .6; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: end; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: .9rem 0 1.25rem; }
.contact__head p { color: var(--ink-soft); max-width: 28rem; margin: 0; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.card { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 1.1rem; align-items: center; text-decoration: none;
  padding: 1.15rem 1.35rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-3px); border-color: rgba(255,109,31,.5); box-shadow: 0 18px 40px -24px rgba(34,34,34,.35); }
.card__icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--charcoal); color: var(--cream); transition: background .4s; }
.card:hover .card__icon { background: var(--orange); color: var(--charcoal); }
.card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__label { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.card__value { grid-column: 2; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card__arrow { grid-column: 3; grid-row: 1 / span 2; font-size: 1.2rem; transition: transform .4s var(--ease), color .4s; }
.card:hover .card__arrow { transform: translate(3px, -3px); color: var(--orange); }
.io { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.io.in { opacity: 1; transform: none; }
.cards li:nth-child(2) .io { transition-delay: .1s } .cards li:nth-child(3) .io { transition-delay: .2s }

/* ===== Footer ===== */
.footer { background: var(--charcoal); color: var(--cream); padding: 3rem 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.footer__tag { margin: .5rem 0 0; color: rgba(250,243,225,.7); font-size: .9rem; }
.footer__meta { text-align: right; font-size: .82rem; color: rgba(250,243,225,.7); }
.footer__meta p { margin: .2rem 0; }
.footer__meta a { color: var(--orange); text-decoration: none; }
.footer__meta a:hover { text-decoration: underline; }

/* ===== Keyframes ===== */
@keyframes in { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { transform: translateY(120px); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes float { 50% { translate: 0 -14px; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,109,31,.6); } 70%,100% { box-shadow: 0 0 0 8px rgba(255,109,31,0); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 1rem; }
  .visual { order: -1; max-width: 360px; justify-self: center; margin-bottom: -1rem; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .container { width: min(1200px, 100% - 2.5rem); }
  .nav__label { display: none; }
  .hero { padding-top: 6rem; }
  .visual { max-width: 280px; }
  .actions { gap: 1.25rem; }
  .btn { width: 100%; justify-content: center; }
  .scrollcue { display: none; }
  .footer__meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .infinity { stroke-dashoffset: 0; }
}
