:root {
  --bg: #050607;          /* black */
  --bg-2: #0c1013;
  --ink: #f5f3f3;         /* light text */
  --muted: #a9a59c;
  --deep: #6E7C5C;      /* sage */
  --on-aqua: #1c1a12;     /* text on cream */
  --aqua: #F2E8CF;      /* cream */
  --mist: #A3B18A;      /* sage haze */
  --on-deep: #ffffff;
  --dark: #0c0c0a;
  --dark-2: #171713;
  --card: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --sidebar-w: 240px;
  --display: "Archivo", "Inter", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- shared ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-aqua { background: var(--aqua); color: var(--on-aqua); }
.btn-deep { background: var(--deep); color: var(--on-deep); }
.btn-dark { background: var(--deep); color: var(--on-deep); }
.btn-block { width: 100%; }
.btn-big { padding: 18px 44px; font-size: 18px; border-radius: 12px; }

.tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  background: rgba(242,232,207,.12); color: var(--aqua); padding: 5px 9px; border-radius: 6px;
  margin-bottom: 18px;
}
.tag-dark { background: #2a2020; color: var(--aqua); }
.tag.center { display: table; margin: 0 auto 24px; }

.h-section {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.02em;
}
.muted { color: var(--muted); font-weight: 600; }
.lead { max-width: 520px; margin-top: 22px; color: var(--muted); }
.lead.center { margin: 22px auto 0; text-align: center; }

.glass {
  background: rgba(40, 20, 22, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 10px;
}

.content {
  padding: 120px 48px 120px calc(var(--sidebar-w) + 72px);
  position: relative;
}

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; isolation: isolate;
}
.hero-name {
  position: absolute; top: -2vw; left: 0; right: 0; text-align: center;
  font-family: var(--display); font-weight: 900;
  font-size: 34vw; line-height: .8; letter-spacing: -.04em;
  color: var(--deep); z-index: -2; user-select: none;
}
.hero-photo {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 92%; width: auto; max-width: none; object-fit: contain; object-position: bottom;
  z-index: -1;
}
.hero-photo.ph {
  width: min(560px, 80vw); height: 82%;
  background: linear-gradient(180deg, #6E7C5C 0%, #121010 70%);
  border-radius: 280px 280px 0 0;
  font-size: 0;
}
.hero-nav {
  position: absolute; top: 37vh; left: 28px; right: 28px;
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.hero-nav a { padding: 0 10px; border-left: 1.5px solid var(--ink); }
.hero-nav div a:first-child { border-left: 0; padding-left: 0; }
.hero-nav a:hover { text-decoration: underline; }

.hero-bottom {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-intro, .hero-desc { font-size: 12px; max-width: 220px; }
.hero-desc { color: var(--ink); text-align: right; }
.hero-center { display: flex; align-items: flex-end; gap: 22px; }
.badges { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; margin-bottom: 40px; }
.badge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 11px; font-weight: 700; }
.badge-ico { font-size: 30px; color: var(--aqua); }
.badge.stacked { flex-direction: column; gap: 2px; text-align: center; }
.badge.stacked b { font-family: var(--display); font-size: 36px; color: var(--aqua); line-height: 1; }
.hero-title {
  font-family: var(--display); font-weight: 800; color: #fff;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.01em;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 24px; }
.traits { list-style: none; padding: 12px 16px; margin-bottom: 70px; font-size: 12px; font-weight: 700; }
.traits li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.traits i { color: var(--aqua); font-style: normal; width: 12px; }

/* ---------- sidebar ---------- */
.sidebar {
  position: fixed; top: 10px; left: 10px; bottom: 10px; width: var(--sidebar-w);
  display: flex; flex-direction: column; gap: 8px; z-index: 50;
  transform: translateX(-120%); transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.sidebar.show { transform: none; }
.side-card { background: var(--card); border-radius: var(--radius); padding: 14px; backdrop-filter: blur(10px); }
.side-top { display: flex; justify-content: space-between; align-items: center; }
.logo-chip { background: var(--deep); color: var(--on-deep) !important; font-family: var(--display); font-weight: 800; padding: 3px 8px; border-radius: 6px; font-size: 14px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 22px; height: 22px; border-radius: 5px; background: var(--deep); color: var(--on-deep); font-size: 10px; display: grid; place-items: center; font-weight: 700; }
.side-text { font-size: 11.5px; margin-top: 14px; color: var(--muted); }
.side-stats { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-size: 10px; font-weight: 700; }
.side-stats strong { display: block; font-family: var(--display); font-size: 24px; color: var(--aqua); line-height: 1.1; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav a {
  display: flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; transition: background .2s;
}
.side-nav a i { font-style: normal; width: 14px; text-align: center; font-size: 11px; }
.side-nav a:hover { background: rgba(255,255,255,.08); }
.side-nav a.active { background: var(--deep); color: var(--on-deep); }
.side-marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 14s linear infinite; font-weight: 800; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.side-email { display: flex; justify-content: space-between; width: 100%; background: var(--card); border-radius: 8px; padding: 9px 12px; font-size: 11px; color: var(--muted); }

/* dark sidebar while over dark section */
body.on-dark .side-card, body.on-dark .side-email { background: rgba(16,14,14,.92); color: #f2f5f7; }
body.on-dark .side-text { color: #bbb; }
body.on-dark .side-nav a:hover { background: #2e3023; }
body.on-dark .side-stats strong { color: var(--aqua); }
body.on-dark .side-nav a.active { background: var(--aqua); color: var(--on-aqua); }
body.on-dark .side-marquee { color: #f2f5f7; }

/* ---------- about / journey ---------- */
.timeline { position: relative; margin-top: 80px; }
.timeline-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.timeline-line { overflow: visible; }
.timeline-line path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.tl-base { stroke: rgba(255,255,255,.14); }
.tl-progress { stroke: var(--ink); }
.tl-dot { fill: var(--aqua); stroke: var(--bg); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(242,232,207,.8)); }
.j-card {
  position: relative; width: min(420px, 100%); margin-bottom: 90px;
  background: rgba(255,255,255,.32); backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: 24px;
}
.j-card:nth-child(odd) { margin-left: 4%; }
.j-card:nth-child(even) { margin-left: auto; margin-right: 4%; }
.j-year { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--aqua); }
.j-card h3 { font-family: var(--display); font-size: 20px; margin: 10px 0 6px; }
.j-card p { font-size: 13.5px; color: var(--muted); }
.j-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 12px; }
.j-meta .handle { font-weight: 600; }
.j-more { background: var(--deep); color: var(--on-deep); font-size: 12px; padding: 7px 12px; border-radius: 6px; }

/* ---------- work ---------- */
.dark { background: var(--dark); color: #fff; border-block: 1px solid #1e1b1b; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.work-head p { max-width: 380px; font-size: 13px; color: #bbb; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; background: var(--dark-2); border: 1px solid #2a2020;
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px;
  isolation: isolate;
}
.project img, .project .p-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.project .p-ph { background: radial-gradient(circle at 30% 30%, #3a3d2b, #0b0707 70%); }
.project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgba(8,6,6,.9)); }
.project:hover img, .project:hover .p-ph { transform: scale(1.06); }
.p-top { display: flex; justify-content: space-between; font-size: 10px; }
.p-num, .p-tags span { border: 1px solid #4a4440; border-radius: 20px; padding: 3px 8px; background: rgba(0,0,0,.4); }
.p-tags { display: flex; gap: 4px; }
.p-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.p-bottom h3 { font-family: var(--display); font-size: 24px; }
.p-bottom p { font-size: 12px; color: #ccc; max-width: 260px; }
.p-arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--aqua); color: var(--on-aqua); display: grid; place-items: center; font-weight: 700; transition: transform .3s; }
.project:hover .p-arrow { transform: rotate(-45deg); }

/* ---------- what you get ---------- */
.statement {
  font-family: var(--display); font-weight: 800; text-align: center;
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.01em;
  max-width: 1000px; margin: 0 auto;
}
.statement .word { opacity: .15; transition: opacity .3s; }
.statement .word.lit { opacity: 1; }
.pill-ico {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 1.6em; height: .95em; border-radius: 10px; background: var(--aqua);
  color: var(--on-aqua); font-size: .7em;
}
.caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 90px; }
.cap { background: var(--card); border-radius: var(--radius); padding: 22px 18px; transition: transform .3s, background .3s; }
.cap:hover { transform: translateY(-6px); background: var(--deep); color: var(--on-deep); }
.cap h3 { font-family: var(--display); font-size: 17px; margin-bottom: 10px; }
.cap p { font-size: 13px; color: var(--muted); }
.cap:hover p { color: #eef0e2; }

/* ---------- services ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 60px; background: rgba(255,255,255,.06); border-radius: 18px; padding: 4px; }
.price-card { background: rgba(255,255,255,.04); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--deep); }
.price-card.featured > p, .price-card.featured footer, .price-card.featured .price small { color: #eef0e2; }
.price-card.featured li::before { color: var(--aqua); }
.price-card header { display: flex; gap: 8px; align-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; }
.price-card header i { font-style: normal; background: var(--aqua); color: var(--on-aqua); width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-size: 11px; }
.price { font-family: var(--display); font-weight: 900; font-size: 44px; margin: 22px 0 10px; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-card > p { font-size: 13px; color: var(--muted); }
.price-card ul { list-style: none; margin: 22px 0; flex: 1; font-size: 13px; }
.price-card li { padding: 7px 0 7px 22px; position: relative; border-top: 1px dashed rgba(255,255,255,.12); }
.price-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--aqua); }
.price-card footer { font-size: 12px; color: var(--muted); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta-title { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 8vw, 120px); line-height: .92; letter-spacing: -.03em; }
.hl { background: var(--aqua); color: var(--on-aqua); padding: 0 .15em; border-radius: 12px; }
.cta-small { margin: 50px 0 14px; font-weight: 600; }

/* ---------- testimonials ---------- */
.clients-head { display: flex; justify-content: space-between; align-items: flex-end; }
.slider-ctrls { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: var(--on-deep); font-size: 18px; }
.round:hover { background: var(--aqua); color: var(--on-aqua); }
.testimonials {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 50px; padding-bottom: 10px; scrollbar-width: none; cursor: grab;
}
.testimonials::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 min(420px, 85%); scroll-snap-align: start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.t-card h3 { font-family: var(--display); font-size: 24px; line-height: 1.05; display: flex; justify-content: space-between; gap: 12px; }
.t-card h3::after { content: "❞"; flex: none; background: var(--aqua); width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font-size: 14px; }
.t-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.t-person { display: flex; gap: 12px; align-items: center; font-size: 12px; }
.t-person img, .t-person .av { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--aqua); color: var(--on-aqua); display: grid; place-items: center; font-weight: 700; }
.t-person b { display: block; font-size: 13px; }
.t-person span { color: var(--muted); }

/* ---------- faq ---------- */
.faq-list { margin-top: 50px; max-width: 860px; }
.faq-item { border-top: 1px solid rgba(255,255,255,.14); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: 19px; }
.faq-q span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: var(--on-deep); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-item.open .faq-q span { transform: rotate(45deg); background: var(--aqua); color: var(--on-aqua); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 0 22px; color: var(--muted); max-width: 680px; }

/* ---------- footer ---------- */
.site-footer { padding-top: 40px; padding-bottom: 30px; overflow: hidden; }
.footer-name { font-family: var(--display); font-weight: 900; font-size: 22vw; line-height: .8; color: var(--deep); letter-spacing: -.04em; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.footer-row a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: grid; place-items: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .3s; padding: 16px; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg-2); border: 1px solid #1e1b1b; border-radius: 18px; padding: 36px; max-width: 560px; width: 100%; position: relative; transform: translateY(20px); transition: transform .3s; }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: var(--on-deep); }
.modal-year { font-family: var(--display); font-weight: 900; font-size: 56px; color: var(--aqua); line-height: 1; }
.modal-title { font-family: var(--display); font-size: 30px; margin: 10px 0 14px; }
.modal-body { color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px); background: var(--aqua); color: var(--on-aqua); padding: 10px 18px; border-radius: 8px; font-size: 13px; z-index: 120; transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sidebar { display: none; }
  .content { padding: 90px 16px; }
  .hero-nav { display: none; }
  .hero-name { font-size: 29vw; top: 8vh; }
  .hero-bottom { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: flex-start; }
  .hero-intro, .hero-desc, .badges, .traits { display: none; }
  .hero-center { width: 100%; }
  .work-head, .clients-head { flex-direction: column; align-items: flex-start; }
  .timeline-line { display: none; }
  .j-card:nth-child(n) { margin: 0 0 20px; width: 100%; }
}
@media (max-width: 600px) {
  .work-grid, .caps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- polish ---------- */
.j-card { background: #121010; backdrop-filter: none; border: 1px solid #1e1b1b; }
.j-card::before {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(255,255,255,.25); transform: translateY(-50%); transition: background .3s, border-color .3s, box-shadow .3s; z-index: 2;
}
.j-card:nth-child(odd)::before { right: -6px; }
.j-card:nth-child(even)::before { left: -6px; }

/* rolling digits */
.roll { display: inline-flex; overflow: hidden; height: 1.15em; line-height: 1.15em; }
.roll .col { display: flex; flex-direction: column; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.roll .col span { height: 1.15em; }

/* hero entrance */
.hero-name { animation: nameUp 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero-photo { animation: fadeUp 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }
.hero-bottom > *, .hero-nav { animation: fadeIn .8s .7s both; }
@keyframes nameUp { from { transform: translateY(40%); opacity: 0; } }
@keyframes fadeUp { from { transform: translate(-50%, 8%); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* drag cursor */
.drag-cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 78px; height: 78px; border-radius: 50%; background: var(--deep); color: var(--on-deep);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .05em;
  transform: translate(-50%, -50%) scale(0); transition: transform .25s;
}
.drag-cursor.on { transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .drag-cursor { display: none; } }
@media (hover: hover) { .testimonials { cursor: none; } }
@media (max-width: 900px) { .j-card::before { display: none; } }
.t-card h3::after { color: var(--on-aqua); }

/* ---------- gradient glow + grain (theme) ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27160%27 height=%27160%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%273%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
}
.hero, .cta {
  background:
    radial-gradient(70% 50% at 20% 100%, rgba(242,232,207,.45), rgba(190,175,140,.22) 40%, transparent 75%),
    radial-gradient(55% 40% at 100% 0%, rgba(163,177,138,.4), rgba(163,177,138,.1) 45%, transparent 70%),
    var(--bg);
}
.cta { border-radius: 28px; margin: 0 16px 0 calc(var(--sidebar-w) + 40px); padding-left: 32px; padding-right: 32px; }
.hero-name, .footer-name {
  background: linear-gradient(180deg, #a3b18a 0%, #a3b18a 45%, #f2e8cf 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card.featured { background: linear-gradient(160deg, #6e7c5c, #262c1e); }
@media (max-width: 900px) { .cta { margin: 0 8px; } }
.j-card.passed::before { background: var(--aqua); border-color: var(--aqua); box-shadow: 0 0 12px rgba(242,232,207,.7); }
@media (max-width: 900px) { .hero-photo { height: 74%; } }

/* ---------- load blur-in ---------- */
.hero-name, .hero-photo, .hero-bottom, .hero-nav { filter: blur(28px); transition: filter 1.4s cubic-bezier(.2,.8,.2,1); }
body.loaded .hero-name, body.loaded .hero-photo, body.loaded .hero-bottom, body.loaded .hero-nav { filter: blur(0); }
body.loaded .hero-photo { filter: blur(var(--scroll-blur, 0px)); opacity: var(--scroll-fade, 1); transition: filter .15s linear, opacity .15s linear; }
@media (prefers-reduced-motion: reduce) { .hero-name, .hero-photo, .hero-bottom, .hero-nav { filter: none !important; } }

/* nav sits at the very top, above the name */
.hero-nav { top: 22px; z-index: 5; }
.hero-name { top: 3vw; }

/* sidebar fills the full screen height: nav card stretches, email + CTA pinned to bottom */
.side-nav { flex: 1; justify-content: space-evenly; min-height: 0; }
.side-nav a { font-size: 12.5px; padding: 7px 10px; }

/* ---------- extra effects ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150;
  background: linear-gradient(90deg, var(--deep), var(--aqua));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
.cursor-glow {
  position: fixed; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(163,177,138,.13), rgba(242,232,207,.05) 40%, transparent 70%);
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }
main { position: relative; z-index: 2; }

.btn, .round, .j-more { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s; }

.tilt { transition: transform .35s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; will-change: transform; }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.tilt:hover::before { opacity: 1; }
.price-card, .cap { position: relative; }

.split .line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split .line { display: block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.split.lines-in .line { transform: none; }

.hero-name, .hero-photo { transition: translate .6s cubic-bezier(.2,.8,.2,1), filter 1.4s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { .split .line { transform: none; } }
@media (max-width: 900px) { .hero-name { top: 9vh; } }

/* Contact and keyboard usability */
.side-email { overflow-wrap:anywhere; text-align:left; font-size:12px; }
.contact-actions { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:28px; }
.contact-details { text-align:center; margin-top:22px; line-height:2; overflow-wrap:anywhere; color:var(--muted); }
.price { font-size:clamp(26px,3vw,40px); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline:2px solid var(--aqua); outline-offset:5px; }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}.split .line{transform:none!important;opacity:1!important}}

/* phones: big name tucked behind the head, like on desktop */
@media (max-width: 600px) {
  .hero-photo { height: 78%; }
  .hero-name { top: calc(22% - 18vw); }
}
