/*
Theme Name:   HTMLKIN
Theme URI:    https://htmlkin.com
Author:       HTMLKIN
Author URI:   https://htmlkin.com
Description:  Custom theme for the HTMLKIN web studio site — hifi rebuild of the design prototype (Home, Work, Services, About) with 1:1 layout and scroll animations.
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  htmlkin
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */

* {
  box-sizing: border-box;
  transition: background-color .5s ease, color .45s ease, border-color .45s ease;
}

html {
  --bg: #fafafa;
  --fg: #0b0b0b;
  --muted: #565653;
  --line: #e6e6e2;
  --chip-line: #d7d7d3;
  --chip-bg: #ffffff;
  --chip-fg: #333333;
  --cue: #8a8a86;
  --prem-bg: #0b0b0b;
  --prem-fg: #fafafa;
  --prem-line: #3a3a38;
  --prem-muted: #b7b7b3;
  --accent: #bafd00;
}

html[data-theme="dark"] {
  --bg: #0b0b0b;
  --fg: #f4f4f1;
  --muted: #a3a39e;
  --line: #262624;
  --chip-line: #39392f;
  --chip-bg: #151513;
  --chip-fg: #e6e6e2;
  --cue: #6f6f6a;
  --prem-bg: #f4f4f1;
  --prem-fg: #0b0b0b;
  --prem-line: #cfcfc9;
  --prem-muted: #565653;
}

html[data-theme="light"] {
  --accent: #7b00fd;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Archivo, system-ui, sans-serif;
}

::selection { background: var(--fg); color: var(--bg); }

a { color: var(--fg); text-decoration: none; }
a:hover { opacity: .55; }

input, textarea, button { font-family: inherit; }

img { max-width: 100%; display: block; }

@media (max-width: 600px) {
  .site-header { padding: 12px 15px !important; gap: 12px !important; }
  .site-nav { gap: 11px !important; }
  .nav-link { font-size: 10px !important; letter-spacing: .06em !important; }
}

/* ---- layout shell -------------------------------------------------------- */

.app-shell { position: relative; }

.view { display: none; }
.view.is-active { display: block; }

.content-shell {
  position: relative;
  z-index: 20;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

.hero-spacer { height: 100vh; }

.content-inner { padding-left: var(--logo-pad, clamp(120px, 18vw, 300px)); }

/* ---- splash screen -------------------------------------------------------- */

#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  opacity: 1;
  transition: opacity .6s ease;
}
html.no-splash #splash-screen,
#splash-screen.is-hidden { display: none; }

.splash-btn {
  flex: 1;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.splash-btn--light { background: #fafafa; color: #0b0b0b; }
.splash-btn--dark { background: #0b0b0b; color: #fafafa; }

.splash-btn-title { font-weight: 900; font-size: min(9vw, 86px); letter-spacing: -0.04em; }
.splash-btn-caption { font-size: 12px; font-weight: 600; letter-spacing: .22em; }

.splash-caption {
  position: absolute;
  top: clamp(24px, 5vh, 54px);
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
}

/* ---- header --------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(15px, 2.2vw, 24px) clamp(20px, 4vw, 46px);
}

.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 8px clamp(16px, 2.4vw, 28px);
  background: var(--bg);
  border-radius: 100px;
}
.nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-link.is-current { color: var(--accent); opacity: 1; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: nav-collapse is just the row of links + language + theme. */
.nav-collapse {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}

html.nav-open { overflow: hidden; }

@media (max-width: 800px) {
  .menu-toggle { display: flex; }

  /* Below 800px, nav-collapse becomes a full-screen overlay with
     everything (links, language, theme) stacked and centered — the
     hamburger button (kept above via z-index) turns into a close “X”. */
  .nav-collapse {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--bg);
  }
  .nav-collapse.is-open { display: flex; }

  .nav-collapse .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    background: none;
    padding: 0;
  }
  .nav-collapse .nav-link { font-size: 20px; letter-spacing: .1em; }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
}
.lang-btn {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .06em;
  padding: 4px 8px;
  border-radius: 100px;
  text-decoration: none;
}
.lang-btn.is-active { color: var(--bg); background: var(--fg); }

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 9px;
  cursor: pointer;
}

.theme-dot { width: 13px; height: 13px; border-radius: 50%; }
.theme-dot--light { background: #f4f4f1; border: 1px solid rgba(0,0,0,.18); }
.theme-dot--dark { background: #0b0b0b; }

/* ---- home: fly canvas / rotating logo / scroll cue ------------------------ */

#fly-canvas { position: fixed; inset: 0; z-index: 21; pointer-events: none; }

#logo-layer {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#logo-text {
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: min(17vw, 232px);
  letter-spacing: -0.045em;
  line-height: 0.78;
  color: var(--fg);
  white-space: nowrap;
  will-change: transform;
  transform-origin: center center;
}

#scroll-cue {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--cue);
}

/* ---- scroll-reveal ---------------------------------------------------------
   --reveal-delay is set per-element via an inline custom property where the
   design calls for a stagger; the actual rule lives here, not in the markup. */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--y30 { transform: translateY(30px); }
.reveal--d90 { transition-duration: .9s; }
.reveal--d80 { transition-duration: .8s; }

/* ---- home hero -------------------------------------------------------------- */

.eyebrow { margin: 0 0 clamp(22px, 4vh, 44px); font-size: 13px; font-weight: 700; letter-spacing: .2em; }

.hero-heading {
  margin: 0;
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.hero-sub {
  margin: clamp(28px, 5vh, 52px) 0 0;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

/* ---- home connector line (svg, drawn behind the services list) ------------ */

.curve-wrap { position: relative; }
#home-curve {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
  color: var(--fg);
}

/* ---- services --------------------------------------------------------------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: clamp(64px, 14vh, 150px) 0 6px;
  scroll-margin-top: 80px;
  position: relative;
  z-index: 3;
}
.section-head-title { margin: 0; font-size: clamp(13px, 1.1vw, 15px); font-weight: 700; letter-spacing: .2em; }
.section-head-count { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

.service-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: clamp(16px, 4vw, 56px);
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}
.service-row--bordered-bottom { border-bottom: 1px solid var(--line); }

.service-row-premium {
  position: relative;
  z-index: 3;
  background: var(--prem-bg);
  color: var(--prem-fg);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(30px, 4vw, 52px) clamp(24px, 3.5vw, 46px);
  margin: clamp(10px, 2vh, 22px) 0;
}

.service-num { font-weight: 800; font-size: 15px; letter-spacing: .06em; padding-top: 10px; }

.service-head-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }

.service-title { margin: 0 0 16px; font-weight: 800; font-size: clamp(27px, 3.6vw, 44px); letter-spacing: -0.025em; line-height: 1; }
.service-head-row .service-title { margin: 0; }

.service-desc { margin: 0 0 24px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); line-height: 1.5; max-width: 52ch; }
.service-desc--on-dark { color: var(--prem-muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 15px; border: 1px solid var(--chip-line); border-radius: 100px; font-size: 14px; color: var(--chip-fg); background: var(--chip-bg); }
.chip--on-dark { border: 1px solid var(--prem-line); color: var(--prem-fg); background: transparent; }

.badge { padding: 6px 11px; border-radius: 4px; font-size: 11px; letter-spacing: .16em; }
.badge--premium { font-weight: 700; background: var(--prem-fg); color: var(--prem-bg); }
.badge--outline { font-weight: 600; border: 1px solid var(--chip-line); color: var(--muted); }

/* ---- contact ------------------------------------------------------------------ */

.section-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; margin-bottom: clamp(20px, 3vh, 32px); }
.section-eyebrow--accent { color: var(--accent); }

.contact-section { padding: clamp(80px, 16vh, 180px) 0 0; scroll-margin-top: 80px; }

.contact-heading {
  margin: 0 0 clamp(40px, 7vh, 72px);
  font-weight: 800;
  font-size: clamp(34px, 5.6vw, 80px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 14ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-note { margin: 0; font-size: 14px; line-height: 1.5; }
.form-note--error { color: #d1453b; }
.form-note--success { color: var(--fg); }
.field-error { display: block; margin-top: 6px; font-size: 13px; color: #d1453b; }

.field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--chip-line);
  padding: 14px 0;
  font-size: 18px;
  color: var(--fg);
  outline: none;
  resize: vertical;
}
.field:focus { border-bottom-color: var(--fg); }

/* Honeypot: present in the DOM for bots, hidden and unreachable for people. */
.htmlkin-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

.btn-dark {
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  padding: 17px 34px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}
.btn-dark:hover { opacity: .65; }
.btn-dark:disabled { opacity: .5; cursor: default; }
.btn-submit { align-self: flex-start; margin-top: 8px; }
.btn-lg { padding: 18px 36px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
  border-radius: 100px;
  padding: 17px 32px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.contact-cta { margin-top: 6px; }

.contact-info { display: flex; flex-direction: column; gap: 30px; }
.info-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--muted); margin-bottom: 8px; }
.info-value { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.01em; }

.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-bar--home { padding: clamp(70px, 14vh, 150px) 0 40px; margin-top: clamp(60px, 10vh, 110px); }
.footer-bar--page { padding: 36px 0 44px; }

/* ---- shared cta row (Work / Services / About, before the footer) --------------- */

.cta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: clamp(70px, 12vh, 130px) 0; }
.cta-row--compact { padding: clamp(60px, 10vh, 110px) 0; }
.cta-heading { margin: 0; font-weight: 800; font-size: clamp(28px, 4vw, 54px); letter-spacing: -0.03em; max-width: 16ch; }

/* ---- shared shot frames (portfolio / case study images) ------------------------ */

.shot-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--chip-bg); display: flex; align-items: center; justify-content: center; }
.shot-frame--sm { border-radius: 12px; }
.shot-frame--16x10 { aspect-ratio: 16/10; }
.shot-frame--16x9 { aspect-ratio: 16/9; }
.shot-frame--4x3 { aspect-ratio: 4/3; }
.shot-placeholder { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-align: center; padding: 20px; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-lightbox-trigger { padding: 0; margin: 0; appearance: none; -webkit-appearance: none; cursor: zoom-in; }

/* ---- work screenshot lightbox ------------------------------------------------ */

.htmlkin-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
  padding: 60px;
}
.htmlkin-lightbox.is-open { display: flex; }
html.lightbox-open { overflow: hidden; }
.htmlkin-lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.htmlkin-lightbox-close,
.htmlkin-lightbox-prev,
.htmlkin-lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.htmlkin-lightbox-close { top: 20px; right: 24px; font-size: 32px; }
.htmlkin-lightbox-prev,
.htmlkin-lightbox-next { top: 50%; transform: translateY(-50%); font-size: 42px; }
.htmlkin-lightbox-prev { left: 8px; }
.htmlkin-lightbox-next { right: 8px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 8px 14px; border: 1px solid var(--chip-line); border-radius: 100px; font-size: 13px; color: var(--chip-fg); background: var(--chip-bg); }
.tag-sm { padding: 7px 12px; border: 1px solid var(--chip-line); border-radius: 100px; font-size: 12px; color: var(--chip-fg); background: var(--chip-bg); }

/* ---- work (portfolio list) ------------------------------------------------------ */

.work-hero {
  position: relative;
  min-height: clamp(58vh, 64vh, 72vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1340px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 220px) clamp(24px, 4vw, 64px) clamp(30px, 6vh, 64px);
  overflow: hidden;
}
.work-hero-title { margin: 0; font-weight: 900; font-size: min(28vw, 420px); letter-spacing: -0.05em; line-height: 0.8; will-change: transform; }
.work-hero-sub { margin: clamp(24px, 4vh, 44px) 0 0; font-size: clamp(18px, 1.7vw, 24px); color: var(--muted); line-height: 1.5; max-width: 52ch; }

.work-list-wrap { position: relative; max-width: 1340px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
#work-line { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; color: var(--fg); }

.case-card {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(44px, 8vh, 96px) 0;
  border-top: 1px solid var(--line);
}
.case-card.is-visible { opacity: 1; transform: none; }
.case-card--bordered-bottom { border-bottom: 1px solid var(--line); }

.case-card-head { display: flex; align-items: baseline; gap: clamp(16px, 2.4vw, 34px); }
.case-num { font-weight: 900; font-size: clamp(30px, 4.6vw, 68px); letter-spacing: -0.03em; line-height: 0.8; color: var(--accent); min-width: 1.6em; }
.case-meta { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.case-title { margin: 0; font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); letter-spacing: -0.03em; line-height: 0.98; }

.case-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(26px, 3.5vw, 60px); align-items: start; }
.case-left { display: flex; flex-direction: column; gap: clamp(24px, 3.4vh, 34px); }
.case-desc { margin: 0; font-size: clamp(16px, 1.35vw, 20px); color: var(--muted); line-height: 1.6; }
.case-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); margin-bottom: 14px; }

.case-highlights { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.case-highlights li { display: flex; gap: 12px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.45; }
.case-highlights li span:first-child { color: var(--accent); font-weight: 800; }

.case-view-link { background: none; cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--fg); border: none; border-bottom: 1px solid var(--fg); padding: 0 0 2px; align-self: flex-start; }

.case-gallery { display: flex; flex-direction: column; gap: 12px; }
.case-gallery-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---- services page --------------------------------------------------------------- */

.page-hero-title { margin: 0; font-weight: 900; font-size: min(15vw, 190px); letter-spacing: -0.05em; line-height: 0.82; }
.page-hero-sub { margin: clamp(24px, 4vh, 44px) 0 0; font-size: clamp(18px, 1.7vw, 24px); color: var(--muted); line-height: 1.5; max-width: 56ch; }

.services-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(2px, 0.2vw, 4px); margin-top: clamp(50px, 9vh, 96px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.services-table-cell { background: var(--bg); padding: clamp(28px, 3vw, 44px); }
.services-table-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.services-table-num { font-weight: 900; font-size: 20px; color: var(--accent); }
.services-table-title { margin: 0; font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
.services-table-desc { margin: 0 0 18px; font-size: 16px; color: var(--muted); line-height: 1.55; }

.section-row-head { display: flex; justify-content: space-between; align-items: flex-end; padding: clamp(80px, 14vh, 150px) 0 clamp(30px, 5vh, 50px); }
.section-row-title { margin: 0; font-weight: 800; font-size: clamp(30px, 4.6vw, 64px); letter-spacing: -0.03em; line-height: 1; }
.section-row-note { font-size: 14px; color: var(--muted); }

.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2vw, 28px); }
.package-card { border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 2.6vw, 40px); display: flex; flex-direction: column; position: relative; }
.package-card--popular { border: 1px solid var(--prem-fg); background: var(--prem-bg); color: var(--prem-fg); }
.package-badge { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .14em; background: var(--prem-fg); color: var(--prem-bg); padding: 5px 10px; border-radius: 5px; }
.package-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.package-card--popular .package-label { color: var(--prem-muted); }
.package-price { margin: 18px 0 6px; font-weight: 900; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.03em; }
.package-desc { margin: 0 0 24px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.package-card--popular .package-desc { color: var(--prem-muted); }
.package-list { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.package-card--popular .package-list { color: var(--prem-fg); }
.package-list li { display: flex; gap: 11px; }
.package-list li span { color: var(--fg); font-weight: 800; }
.package-card--popular .package-list li span { color: var(--prem-fg); }
.package-cta { margin-top: auto; border-radius: 100px; padding: 14px 26px; font-weight: 700; font-size: 15px; cursor: pointer; }
.package-cta--outline { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.package-cta--outline:hover { background: var(--fg); color: var(--bg); }
.package-cta--accent { background: var(--fg); color: var(--bg); border: none; }
.package-cta--accent:hover { opacity: .8; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(20px, 3vw, 44px); padding-bottom: clamp(40px, 7vh, 80px); }
.process-step { border-top: 2px solid var(--accent); padding-top: 20px; }
.process-num { font-weight: 900; font-size: 15px; color: var(--accent); margin-bottom: 12px; }
.process-title { margin: 0 0 8px; font-weight: 800; font-size: 19px; }
.process-desc { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---- about page --------------------------------------------------------------------- */

.about-hero-title { margin: 0; font-weight: 900; font-size: min(11vw, 150px); letter-spacing: -0.045em; line-height: 0.92; max-width: 16ch; }
.about-hero-sub { margin: clamp(28px, 5vh, 52px) 0 0; font-size: clamp(19px, 1.9vw, 26px); color: var(--muted); line-height: 1.5; max-width: 60ch; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(20px, 3vw, 44px); padding: clamp(70px, 12vh, 130px) 0; margin-top: clamp(40px, 6vh, 60px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-value { font-weight: 900; font-size: clamp(40px, 5.5vw, 80px); letter-spacing: -0.03em; line-height: 0.9; color: var(--accent); }
.stat-label { margin-top: 12px; font-size: 14px; color: var(--muted); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.value-title { margin: 0 0 12px; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.value-desc { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ---- case study (single project) ------------------------------------------------------ */

.case-shell { max-width: 1240px; margin: 0 auto; padding: clamp(110px, 15vh, 170px) clamp(24px, 4vw, 64px) 0; }
.case-back-link { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-bottom: clamp(28px, 5vh, 52px); }
.case-back-link:hover { color: var(--fg); }
.case-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.case-hero-title { margin: 0; font-weight: 900; font-size: clamp(42px, 7vw, 110px); letter-spacing: -0.045em; line-height: 0.9; }
.case-hero-tagline { margin: clamp(24px, 4vh, 40px) 0 0; font-size: clamp(19px, 2vw, 28px); color: var(--muted); line-height: 1.4; max-width: 40ch; }
.case-hero-shot { margin: clamp(40px, 7vh, 80px) 0 clamp(50px, 8vh, 90px); }

.case-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(30px, 5vw, 80px); padding-bottom: clamp(40px, 7vh, 70px); border-bottom: 1px solid var(--line); }
.case-overview-text { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.case-meta-col { display: flex; flex-direction: column; gap: 22px; }
.case-meta-item-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); margin-bottom: 10px; }
.case-meta-item-value { font-size: 17px; font-weight: 600; }

.case-cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 5vw, 80px); padding: clamp(50px, 8vh, 90px) 0; }
.case-cs-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent); margin-bottom: 16px; }
.case-cs-text { margin: 0; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); line-height: 1.6; }

.case-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(20px, 3vw, 50px); padding: clamp(40px, 6vh, 70px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-result-value { font-weight: 900; font-size: clamp(38px, 5vw, 72px); letter-spacing: -0.03em; line-height: 0.9; color: var(--accent); }
.case-result-label { margin-top: 12px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

.case-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); padding: clamp(50px, 8vh, 90px) 0 0; }

.case-next-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: clamp(70px, 12vh, 130px) 0; }
.case-next-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); margin-bottom: 10px; }
.case-next-title { background: none; border: none; cursor: pointer; text-align: left; font-weight: 800; font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.03em; color: var(--fg); }
.case-next-title:hover { color: var(--accent); }
