/* ═══════════════════════════════════════════════════════════════
   FIRE YOUR TEMPLATE — Production Stylesheet (Corporate Refresh)
   Branden Gums | fireyourtemplate.com
   Light, professional theme · navy "engineered" hero · zero canvas
   Responsive: mobile-first → 640 / 768 / 1000 / 1400 / 1920 / 2560 / 3440
   ═══════════════════════════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS (Fontsource WOFF2) ── */
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('../fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('../fonts/space-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('../fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('../fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('../fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('../fonts/dm-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('../fonts/dm-sans-700.woff2') format('woff2');
}

/* ── TOKENS ── */
:root {
  /* surfaces */
  --c-paper:        #f4f6f9;
  --c-surface:      #ffffff;
  --c-surface-2:    #fafbfc;

  /* ink + text */
  --c-ink:          #0e1b30;   /* headings */
  --c-navy:         #0b1830;   /* hero / footer band */
  --c-navy-2:       #0a1426;
  --c-text:         #3a4658;   /* body */
  --c-muted:        #56627a;   /* secondary (AA on white) */
  --c-faint:        #7a8499;   /* captions on light */

  /* lines */
  --c-border:       #e3e8ef;
  --c-border-2:     #cfd7e3;

  /* accent */
  --c-accent:       #1f4fd1;
  --c-accent-deep:  #173da8;
  --c-accent-soft:  #ecf1fd;

  /* on-navy text */
  --c-on-navy:      #f2f5fb;
  --c-on-navy-mut:  #b3bed3;
  --c-on-navy-line: rgba(255,255,255,0.10);

  --ff-body:    'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-display: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);

  --gutter: 5vw;
  --section-gap: 84px;
  --radius: 14px;
  --maxw: 1280px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
  scroll-padding-top: 24px;
}
@media (min-width: 1000px) { html { font-size: 16px; } }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.1px;
  color: var(--c-text);
  background: var(--c-paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--c-ink); font-weight: 700; }
input, textarea, select { font: inherit; }
::selection { background: var(--c-accent); color: #fff; }

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 200000;
  background: var(--c-accent); color: #fff;
  padding: 12px 24px; font-weight: 600; font-size: 1rem;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); position: fixed; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV (default, visible < 1000px)
   ═══════════════════════════════════════════════════════════════ */
.mobile-nav-toggle {
  position: fixed; top: 18px; right: var(--gutter);
  z-index: 10001;
  width: 46px; height: 46px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  background: var(--c-ink);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(14,27,48,0.18);
  transition: background 0.3s;
}
.mobile-nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.mobile-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--c-navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav__link {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 600;
  color: var(--c-on-navy-mut);
  padding: 12px 0;
  letter-spacing: -1px;
  transform: translateY(16px); opacity: 0;
  transition: color 0.3s;
}
.mobile-nav.open .mobile-nav__link {
  transform: translateY(0); opacity: 1;
  transition: color 0.3s, transform 0.5s var(--ease), opacity 0.5s;
}
.mobile-nav__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav__link:nth-child(2) { transition-delay: 0.10s; }
.mobile-nav__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav__link:nth-child(4) { transition-delay: 0.20s; }
.mobile-nav__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav__link:nth-child(6) { transition-delay: 0.30s; }
.mobile-nav__link:hover,
.mobile-nav__link.active { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   DESKTOP BOTTOM PILL NAV (hidden < 1000px)
   ═══════════════════════════════════════════════════════════════ */
.bottom-blur {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 130px; pointer-events: none; z-index: 9998;
  display: none;
}
.bottom-blur__layer {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c-paper) 10%, rgba(244,246,249,0) 100%);
}
.bottom-nav {
  position: fixed; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999; display: none;
  background: var(--c-ink);
  border-radius: 100px;
  padding: 5px 6px 5px 8px;
  align-items: center;
  box-shadow: 0 10px 34px rgba(14,27,48,0.28);
}
.bottom-nav__home {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 16px;
  margin-right: 4px; transition: background 0.3s;
}
.bottom-nav__home:hover { background: rgba(255,255,255,0.16); }
.bottom-nav__home.active { background: var(--c-accent); }
.bottom-nav__link {
  font-family: var(--ff-body);
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: -0.2px;
  color: rgba(255,255,255,0.62);
  padding: 10px 18px; border-radius: 50px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.bottom-nav__link:hover { color: #fff; }
.bottom-nav__link.active { color: #fff; background: var(--c-accent); }

/* ═══════════════════════════════════════════════════════════════
   HERO — deep navy "engineered" band, pure CSS, no canvas
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(76px, 13vh, 130px) var(--gutter) 56px;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(130% 90% at 50% -20%, rgba(31,79,209,0.30), rgba(31,79,209,0) 55%),
    linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}
/* blueprint grid */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(110% 80% at 50% 38%, #000 35%, transparent 78%);
  mask-image: radial-gradient(110% 80% at 50% 38%, #000 35%, transparent 78%);
}
/* soft fade into the paper section below */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,20,38,0), var(--c-paper));
}
.hero__grid {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 32px;
  width: 100%; max-width: var(--maxw);
}
.hero__combined-label { display: none; }

.hero__left, .hero__right { width: 100%; }

.hero__left-label, .hero__right-label {
  font-family: var(--ff-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.hero__left-label::before {
  content: ''; display: inline-block;
  width: 22px; height: 1px; vertical-align: middle;
  background: var(--c-accent); margin-right: 10px;
}
.hero__left-title, .hero__right-title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5.5vw, 7rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -2px;
  color: var(--c-on-navy);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__left-sub {
  font-size: 0.95rem; line-height: 1.6;
  color: var(--c-on-navy-mut);
  max-width: 380px; margin-top: 22px;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-family: var(--ff-display);
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.2px;
  padding: 13px 26px; border-radius: 50px;
  background: var(--c-accent); color: #fff;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.hero__cta:hover {
  background: #2f60e6;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,79,209,0.45);
}
.hero__cta .arr { transition: transform 0.25s var(--ease); }
.hero__cta:hover .arr { transform: translateX(4px); }

.hero__right-label {
  color: var(--c-on-navy-mut);
}
.hero__right-detail {
  font-family: var(--ff-display);
  font-size: 0.85rem; color: var(--c-on-navy-mut);
  margin-top: 16px; letter-spacing: 0.2px;
}
.hero__right-detail .clock { font-variant-numeric: tabular-nums; color: var(--c-on-navy); }

/* Card */
.card-wrap {
  position: relative;
  width: 210px; height: 290px;
  z-index: 10; order: -1;
}
.card-wrap::after {
  content: ''; position: absolute; right: -10px; bottom: -10px;
  width: 56px; height: 56px;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  border-bottom-right-radius: 6px;
  opacity: 0.8;
}
.scroll-card {
  width: 100%; height: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  background: var(--c-surface); overflow: hidden;
}
.scroll-card__face {
  width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden;
  background: var(--c-navy-2);
}
.scroll-card__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  display: block;
}

/* Mobile hero reflow (< 1000px) */
@media (max-width: 999px) {
  .hero__grid { gap: 0; text-align: center; }
  .hero__combined-label {
    display: block; order: 2; margin-bottom: 14px;
    font-family: var(--ff-display);
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--c-accent);
  }
  .hero__left, .hero__right { display: contents; }
  .hero__left-foot { display: contents; }
  .hero__left-label, .hero__right-label { display: none; }
  .card-wrap { order: 1; margin-bottom: 30px; }
  .hero__left-title { order: 3; margin-bottom: -2px; }
  .hero__right-title { order: 4; margin-bottom: 22px; }
  .hero__left-sub  { order: 5; text-align: center; max-width: 360px; margin: 0 auto; }
  .hero__cta       { order: 6; margin-top: 26px; }
  .hero__right-detail { order: 7; text-align: center; margin-top: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION PATTERNS
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 0 var(--gutter);
  margin: 0 auto var(--section-gap);
  max-width: var(--maxw);
  position: relative;
}
.section__hand-label {
  font-family: var(--ff-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.section__hand-label::before {
  content: ''; width: 22px; height: 1px; background: var(--c-accent);
}
.section__heading {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -1.5px; color: var(--c-ink);
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════════
   MISSION / TEXT FILL ON SCROLL
   ═══════════════════════════════════════════════════════════════ */
.text-fill-section {
  padding: var(--section-gap) var(--gutter);
  display: flex; align-items: center; justify-content: center;
}
.text-fill {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.6vw, 2.15rem);
  font-weight: 500; line-height: 1.5;
  letter-spacing: -0.6px;
  max-width: 860px; text-align: center;
}
.text-fill .word {
  display: inline-block;
  color: var(--c-border-2);
  transition: color 0.35s var(--ease);
}
.text-fill .word.filled { color: var(--c-ink); }

/* ═══════════════════════════════════════════════════════════════
   SERVICES / SKILLS
   ═══════════════════════════════════════════════════════════════ */
.skills-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.skill-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.skill-block__num {
  font-family: var(--ff-display);
  font-size: 0.8rem; font-weight: 600;
  color: var(--c-faint); margin-bottom: 14px;
  letter-spacing: 1px;
}
.skill-block__title {
  font-family: var(--ff-display);
  font-size: 1.45rem; font-weight: 700;
  letter-spacing: -0.6px; color: var(--c-ink);
  margin-bottom: 12px;
}
.skill-block__desc {
  font-size: 0.95rem; line-height: 1.65;
  color: var(--c-text); max-width: 520px;
}
.skill-block__note {
  font-size: 0.85rem; line-height: 1.55;
  color: var(--c-muted); margin-top: 12px;
  display: flex; align-items: flex-start; gap: 8px;
}
.skill-block__note::before {
  content: '✓'; color: var(--c-accent); font-weight: 700; flex-shrink: 0;
}
.skill-block__price {
  font-family: var(--ff-display);
  font-size: 0.95rem; font-weight: 600;
  color: var(--c-accent); margin-top: 18px;
}
.skill-block__line {
  position: absolute; bottom: -1px; left: 0;
  width: 0; height: 2px; background: var(--c-accent);
  transition: width 0.5s var(--ease);
}
.skill-block:hover .skill-block__line { width: 100%; }

/* capability row (was scrolling marquee — now static, tidy) */
.marquee {
  margin-top: 34px;
  padding: 22px 0 0;
  border-top: 1px solid var(--c-border);
}
.marquee__track { display: flex; flex-wrap: wrap; gap: 10px; }
.marquee__item {
  font-family: var(--ff-display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2px; color: var(--c-muted);
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}
.marquee__item .sep { display: none; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.about-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 16px;
}
.about-row:first-child { border-top: 1px solid var(--c-border); }
.about-row__label {
  font-family: var(--ff-display);
  font-size: 0.9rem; font-weight: 600;
  color: var(--c-ink); letter-spacing: -0.2px; flex-shrink: 0;
}
.about-row__val { font-size: 0.9rem; color: var(--c-muted); text-align: right; }
.about-text p {
  font-size: 0.98rem; line-height: 1.7;
  color: var(--c-text); margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════════ */
#work { max-width: var(--maxw); margin: 0 auto var(--section-gap); }
#work > .section { margin-bottom: 24px; padding-left: var(--gutter); padding-right: var(--gutter); }
.portfolio-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 22px; padding: 0 var(--gutter);
}
.portfolio-card {
  background: var(--c-surface);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.4s;
  position: relative; cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(14,27,48,0.12);
  border-color: var(--c-border-2);
}
.portfolio-card__img {
  aspect-ratio: 16 / 10;
  background: var(--c-surface-2);
  overflow: hidden;
}
.portfolio-card__thumb {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-card__thumb { transform: scale(1.04); }
.portfolio-card__body { padding: 22px; border-top: 1px solid var(--c-border); }
.portfolio-card__year {
  font-family: var(--ff-display);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--c-faint); margin-bottom: 6px;
}
.portfolio-card__name {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.5px; color: var(--c-ink);
  margin-bottom: 4px; transition: color 0.3s;
}
.portfolio-card:hover .portfolio-card__name { color: var(--c-accent); }
.portfolio-card__type { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 14px; }
.portfolio-card__link {
  font-family: var(--ff-display);
  font-size: 0.85rem; font-weight: 600; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.3s var(--ease); position: relative;
}
.portfolio-card__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--c-accent);
  transition: width 0.4s var(--ease);
}
.portfolio-card:hover .portfolio-card__link { gap: 8px; }
.portfolio-card__link:hover::after { width: 100%; }

.portfolio-frozen {
  display: flex; justify-content: space-between;
  max-width: var(--maxw); margin: 18px auto 0;
  padding: 14px var(--gutter) 0;
  font-family: var(--ff-display);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--c-faint);
  border-top: 1px solid var(--c-border);
}
.portfolio-frozen span:last-child { color: var(--c-accent); }

/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process-step {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 22px; padding: 30px 0;
  border-bottom: 1px solid var(--c-border);
}
.process-step:first-of-type { border-top: 1px solid var(--c-border); }
.process-step__num {
  font-family: var(--ff-display);
  font-size: 2.25rem; font-weight: 700;
  color: var(--c-border-2); line-height: 1;
  transition: color 0.4s;
}
.process-step:hover .process-step__num { color: var(--c-accent); }
.process-step__title {
  font-family: var(--ff-display);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.4px; color: var(--c-ink); margin-bottom: 10px;
}
.process-step__desc { font-size: 0.95rem; line-height: 1.65; color: var(--c-text); }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS (hidden by default — styled for parity if re-enabled)
   ═══════════════════════════════════════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.testi-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,27,48,0.08); }
.testi-card__stars { color: var(--c-accent); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 14px; }
.testi-card__text { font-size: 0.95rem; line-height: 1.65; color: var(--c-text); margin-bottom: 18px; }
.testi-card__author { font-family: var(--ff-display); font-weight: 600; font-size: 0.9rem; color: var(--c-ink); }
.testi-card__role { font-size: 0.78rem; color: var(--c-faint); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════
   FAQ (hidden by default — styled for parity if re-enabled)
   ═══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 0;
  font-family: var(--ff-display);
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.4px; color: var(--c-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--c-accent); }
.faq-ico { font-size: 1.3rem; font-weight: 300; color: var(--c-faint); transition: transform 0.3s var(--ease), color 0.3s; flex-shrink: 0; }
.faq-item.open .faq-ico { transform: rotate(45deg); color: var(--c-accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { font-size: 0.95rem; line-height: 1.7; color: var(--c-text); padding-bottom: 22px; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.contact__headline {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.6vw, 2.85rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -1.4px; color: var(--c-ink);
}
.contact__headline em { font-style: normal; color: var(--c-accent); }
.contact__note { font-size: 0.95rem; line-height: 1.65; color: var(--c-text); margin-top: 22px; max-width: 400px; }
.contact__channels { margin-top: 28px; }
.contact__ch {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--c-border);
}
.contact__ch:first-child { border-top: 1px solid var(--c-border); }
.contact__ch-label {
  font-family: var(--ff-display);
  font-size: 0.72rem; font-weight: 600; color: var(--c-faint);
  letter-spacing: 1px; text-transform: uppercase; min-width: 56px;
}
.contact__ch-val { font-size: 0.95rem; color: var(--c-text); transition: color 0.3s; }
.contact__ch-val:hover { color: var(--c-accent); }

.cform {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
}
.cform__group { display: flex; flex-direction: column; }
.cform__label {
  font-family: var(--ff-display);
  font-size: 0.72rem; font-weight: 600; color: var(--c-muted);
  letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px;
}
.cform__input, .cform__textarea {
  width: 100%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-2);
  border-radius: 8px; padding: 13px 15px;
  font-size: 1rem; color: var(--c-ink);
  letter-spacing: -0.2px; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.cform__input::placeholder, .cform__textarea::placeholder { color: var(--c-faint); }
.cform__input:focus, .cform__textarea:focus {
  border-color: var(--c-accent); background: var(--c-surface);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}
.cform__textarea { resize: vertical; min-height: 120px; }
.cform__hp { position: absolute; left: -9999px; }
.cform__submit {
  align-self: flex-start;
  font-family: var(--ff-display);
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.2px;
  padding: 13px 30px;
  background: var(--c-accent); color: #fff;
  border-radius: 50px;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.cform__submit:hover:not(:disabled) {
  background: var(--c-accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31,79,209,0.30);
}
.cform__submit:disabled { opacity: 0.6; cursor: progress; }
.cform__status {
  font-size: 0.9rem; line-height: 1.5; margin: -4px 0 0;
}
.cform__status.is-error   { color: #b42318; }
.cform__status.is-success { color: #157347; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-ticker {
  background: var(--c-navy);
  padding: 26px var(--gutter);
}
.footer-ticker__track {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 28px; max-width: var(--maxw); margin: 0 auto;
}
.footer-ticker__item {
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 1.6vw, 1.35rem);
  font-weight: 600; letter-spacing: -0.2px;
  color: var(--c-on-navy);
  display: inline-flex; align-items: center; gap: 14px;
}
.footer-ticker__item .dot {
  width: 5px; height: 5px; background: var(--c-accent);
  border-radius: 50%; flex-shrink: 0;
}
/* collapse the original duplicated marquee items to a single clean set */
.footer-ticker__item:nth-of-type(n+5) { display: none; }

.site-footer {
  background: var(--c-navy-2);
  padding: 26px var(--gutter);
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; text-align: center;
  color: var(--c-on-navy-mut);
  font-size: 0.82rem;
}
.site-footer__inner {
  width: 100%; max-width: var(--maxw);
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.site-footer a { color: var(--c-on-navy-mut); transition: color 0.3s; }
.site-footer a:hover { color: #fff; }
.site-footer__links { display: flex; gap: 18px; }
.site-footer__credit { color: var(--c-faint); font-size: 0.78rem; }
.site-footer__credit a { color: var(--c-on-navy-mut); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP (mobile only)
   ═══════════════════════════════════════════════════════════════ */
.scroll-top {
  display: none;
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 100002;
  padding: 11px 26px; border-radius: 100px;
  background: var(--c-ink); color: #fff;
  font-family: var(--ff-display);
  font-size: 0.9rem; font-weight: 600; letter-spacing: -0.2px;
  align-items: center; gap: 6px;
  box-shadow: 0 8px 24px rgba(14,27,48,0.30);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
@media (max-width: 999px) { .scroll-top { display: flex; } }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.on { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — sm (640px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — md (768px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skill-block:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--c-border); }
  .skill-block:nth-child(even) { padding-left: 32px; }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .process-step { grid-template-columns: 64px 1fr; gap: 32px; }
  .process-step__num { font-size: 2.75rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — lg / Desktop (1000px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .mobile-nav-toggle, .mobile-nav { display: none; }
  .bottom-nav, .bottom-blur { display: flex; }
  .bottom-blur { display: block; }

  .hero { padding-inline: var(--gutter); }
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .hero__left, .hero__right {
    display: flex; flex-direction: column;
    align-self: start;
  }
  .hero__left  { justify-self: end;   align-items: flex-start; padding-right: 5%; text-align: left; }
  .hero__right { justify-self: start; align-items: flex-end;   padding-left: 5%;  text-align: right; }
  .hero__left-label, .hero__right-label { white-space: nowrap; }
  .hero__right-label, .hero__right-title, .hero__right-detail { text-align: right; }
  .card-wrap { width: 280px; height: 390px; order: 0; align-self: center; }
  .scroll-card, .scroll-card__face { border-radius: 22px; }

  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — xl (1400px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1400px) {
  :root { --gutter: 6vw; --section-gap: 110px; --maxw: 1340px; }
  html { font-size: 17px; }
  .about-layout { gap: 80px; }
  .contact-grid { gap: 80px; }
  .skill-block { padding: 44px 0; }
  .skill-block:nth-child(odd) { padding-right: 44px; }
  .skill-block:nth-child(even) { padding-left: 44px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 2xl (1920px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1920px) {
  :root { --gutter: 7vw; --maxw: 1480px; }
  html { font-size: 17px; }
  .card-wrap { width: 300px; height: 420px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 3xl / QHD (2560px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 2560px) {
  :root { --gutter: 9vw; --section-gap: 130px; --maxw: 1680px; }
  html { font-size: 18px; }
  .hero__left-title, .hero__right-title { font-size: 6.5rem; letter-spacing: -3px; }
  .card-wrap { width: 320px; height: 445px; }
  .section__heading { font-size: 3.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 4K / Ultra-wide (3440 × 1440)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 3440px) {
  :root { --gutter: 12vw; --section-gap: 180px; --maxw: 2100px; }
  html { font-size: 23px; }

  .hero__left-title, .hero__right-title { font-size: 7rem; letter-spacing: -3px; }
  .hero__left-label, .hero__right-label { font-size: 0.95rem; }
  .hero__left-sub { font-size: 1.25rem; max-width: 540px; }
  .hero__right-detail { font-size: 1.1rem; }
  .hero__cta { font-size: 1.2rem; padding: 18px 36px; }
  .card-wrap { width: 420px; height: 580px; }
  .scroll-card, .scroll-card__face { border-radius: 28px; }

  .section__hand-label { font-size: 1rem; }
  .section__heading { font-size: 5rem; }
  .text-fill { font-size: 3rem; max-width: 1300px; }

  .skill-block__title { font-size: 2rem; }
  .skill-block__desc { font-size: 1.25rem; max-width: 680px; }
  .skill-block__note, .skill-block__price { font-size: 1.1rem; }
  .marquee__item { font-size: 1.05rem; padding: 10px 22px; }

  .about-row__label, .about-row__val { font-size: 1.2rem; }
  .about-text p { font-size: 1.25rem; }

  .portfolio-card__name { font-size: 1.7rem; }
  .portfolio-card__type, .portfolio-card__link { font-size: 1.15rem; }
  .portfolio-frozen { font-size: 1rem; }

  .process-step { grid-template-columns: 92px 1fr; gap: 48px; }
  .process-step__num { font-size: 4rem; }
  .process-step__title { font-size: 1.7rem; }
  .process-step__desc { font-size: 1.25rem; }

  .contact__headline { font-size: 4rem; }
  .contact__note, .contact__ch-val { font-size: 1.2rem; }
  .cform__input, .cform__textarea, .cform__submit { font-size: 1.2rem; padding: 18px 22px; }
  .cform__submit { padding: 18px 38px; }

  .site-footer { font-size: 1rem; }

  .bottom-nav__link { font-size: 1.1rem; padding: 14px 26px; }
  .bottom-nav__home { width: 46px; height: 46px; font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   PREFERS REDUCED MOTION — ADA
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
}
