/* ================================================================
   VERDEXIA — Design System
   Taste-skill config: VARIANCE=8  MOTION=6  DENSITY=4
   ================================================================ */

/* ── Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  --bg:           #0D1B2A;
  --bg-raised:    #111F30;
  --primary:      #2D7A3A;
  --primary-soft: #3CA34E;
  --navy:         #1B3A5C;
  --amber:        #F59E0B;

  --text:         #E8ECF1;
  --text-sub:     rgba(232,236,241,0.58);
  --text-muted:   rgba(232,236,241,0.32);

  --border:       rgba(255,255,255,0.06);
  --border-hover: rgba(45,122,58,0.35);

  --font:         'Outfit', system-ui, -apple-system, sans-serif;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-w:        1140px;
  --px:           clamp(20px, 5vw, 48px);
  --section-py:   clamp(80px, 12vh, 140px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ================================================================
   NAV — Floating glass bar
   ================================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.nav.scrolled {
  background: rgba(13, 27, 42, 0.78);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 4px 24px rgba(0,0,0,0.35);
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--text); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-sub);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--primary-soft); }

/* Back-link variant (HydroLog page) */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.03em;
  transition: color 0.25s, gap 0.3s var(--ease);
}

.nav-back:hover { color: var(--text); gap: 6px; }

.nav-back svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.nav-back:hover svg { transform: translateX(-3px); }

/* ================================================================
   HERO — Full-viewport, asymmetric left-aligned
   ================================================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-poster { display: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.72) 0%,
    rgba(13, 27, 42, 0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero-brand {
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--primary-soft);
  text-shadow:
    0 0 80px rgba(60,163,78,0.4),
    0 0 40px rgba(60,163,78,0.2),
    0 0 12px rgba(60,163,78,0.15),
    0 2px 20px rgba(0,0,0,0.5);
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.12);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero-title span {
  color: var(--text-sub);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--text-sub);
  max-width: 38ch;
  line-height: 1.6;
}

/* Scroll indicator — vertical line pulse */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: var(--px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-cue-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}

.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: line-pulse 2.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes line-pulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.35; }
  50%      { transform: scaleY(1);   opacity: 0.7;  }
}

/* Circuit corner decorations */
.circuit-corner {
  position: absolute;
  width: 72px;
  height: 72px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 2;
}

.circuit-corner svg { width: 100%; height: 100%; }
.circuit-corner.tl { top: 20px; left: 20px; }
.circuit-corner.tr { top: 20px; right: 20px; transform: scaleX(-1); }
.circuit-corner.bl { bottom: 20px; left: 20px; transform: scaleY(-1); }
.circuit-corner.br { bottom: 20px; right: 20px; transform: scale(-1); }

/* ================================================================
   SECTIONS — Shared framework
   ================================================================ */

.section {
  position: relative;
  padding: var(--section-py) var(--px);
  overflow: hidden;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section--alt {
  background: rgba(27, 58, 92, 0.08);
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 18px;
}

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 24px;
}

.section-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-sub);
  max-width: 62ch;
}

/* ================================================================
   ABOUT — Asymmetric two-column
   ================================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon {
  width: clamp(180px, 60%, 280px);
  height: auto;
  border-radius: 56px;
  filter: drop-shadow(0 24px 64px rgba(45,122,58,0.2));
}

/* ================================================================
   PROJECTS — Featured spotlight card
   ================================================================ */

.project-feature {
  margin-top: 44px;
}

.project-card {
  position: relative;
  display: block;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    background 0.4s var(--ease);
}

.project-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

.project-card:active {
  transform: scale(0.985) translateY(0);
  transition-duration: 0.12s;
}

/* Spotlight radial glow — follows cursor via JS */
.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    rgba(45, 122, 58, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 0;
}

.project-card:hover .card-glow { opacity: 1; }

/* Circuit decoration in card corner */
.card-circuit {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100px;
  height: 100px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* Card inner content above effects */
.project-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
}

.project-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-card-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.status-line {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid var(--amber);
}

.project-card-desc {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 50ch;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-soft);
  margin-top: 6px;
  transition: gap 0.3s var(--ease);
}

.project-card:hover .project-card-link { gap: 12px; }

.project-card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.project-card:hover .project-card-link svg {
  transform: translateX(2px);
}

/* ================================================================
   HYDROLOG — Split product layout (merged into homepage)
   ================================================================ */

.hl-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hl-split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hl-split-name {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 16px;
}

.hl-split-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-sub);
  line-height: 1.55;
  max-width: 30ch;
}

.hl-split-device {
  display: flex;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
}

/* ================================================================
   CONTACT
   ================================================================ */

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(60,163,78,0.25);
  width: fit-content;
  transition: color 0.25s, border-color 0.25s;
}

.contact-email:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}

.contact-email svg {
  width: 19px;
  height: 19px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer-copy a {
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-copy a:hover {
  color: var(--text-sub);
  border-color: rgba(255,255,255,0.3);
}

/* ================================================================
   SCROLL REVEAL — IntersectionObserver driven
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

/* ================================================================
   HYDROLOG PAGE — Hero (Split layout)
   ================================================================ */

.hl-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 100px var(--px) 80px;
  overflow: hidden;
}

.hl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 45%, rgba(45,122,58,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(27,58,92,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hl-hero-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hl-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hl-app-name {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--text);
}

.hl-tagline {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400;
  color: var(--text-sub);
  max-width: 28ch;
  line-height: 1.55;
}

/* App Store badge — greyed out */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.app-store-badge svg {
  width: 22px;
  height: 22px;
  fill: rgba(255,255,255,0.65);
  flex-shrink: 0;
}

.app-store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app-store-badge-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1;
}

.app-store-badge-main {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
}

/* Hero floating device */
.hl-hero-device {
  display: flex;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ================================================================
   HYDROLOG — What it is
   ================================================================ */

.hl-what .section-body {
  max-width: 68ch;
}

/* ================================================================
   SCREENSHOTS — Horizontal scroll with CSS iPhone frames
   ================================================================ */

.screenshots-section {
  padding: var(--section-py) 0;
  overflow: hidden;
}

.screenshots-section .section-inner {
  padding: 0 var(--px);
}

.screenshots-track {
  overflow-x: auto;
  padding: 36px var(--px) 48px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(45,122,58,0.25) transparent;
  display: flex;
  justify-content: center;
}

.screenshots-track::-webkit-scrollbar { height: 3px; }
.screenshots-track::-webkit-scrollbar-track { background: transparent; }
.screenshots-track::-webkit-scrollbar-thumb {
  background: rgba(45,122,58,0.25);
  border-radius: 4px;
}

.screenshots-row {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0 auto;
}

/* ── iPhone frame — pure CSS ────────────────────────────────────── */
.iphone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.iphone {
  position: relative;
  width: 220px;
  height: 476px;
  background: #151517;
  border-radius: 44px;
  border: 2.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 32px 80px -12px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  flex-shrink: 0;
}

/* Dynamic Island */
.iphone::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 24px;
  background: #0a0a0c;
  border-radius: 16px;
  z-index: 10;
}

/* Power button */
.iphone::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 100px;
  width: 3px;
  height: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: 0 2px 2px 0;
}

.iphone-screen {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  overflow: hidden;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Larger hero device variant */
.iphone--hero {
  width: 260px;
  height: 563px;
  border-radius: 50px;
}

.iphone--hero::before {
  top: 14px;
  width: 88px;
  height: 28px;
  border-radius: 18px;
}

.iphone--hero::after {
  top: 118px;
  height: 64px;
}

.iphone--hero .iphone-screen {
  border-radius: 48px;
}

.iphone-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {

  /* Nav */
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .nav-brand  { font-size: 16px; }

  /* Hero — poster only, no video */
  .hero-video  { display: none; }
  .hero-poster { display: block; }

  .hero {
    min-height: 100svh;
  }

  .hero-overlay {
    background: rgba(13, 27, 42, 0.65);
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-brand {
    font-size: 42px;
    -webkit-text-stroke: 0.3px rgba(255,255,255,0.1);
  }

  .hero-title {
    max-width: 100%;
    font-size: 28px;
  }

  .hero-sub { font-size: 15px; }

  .scroll-cue { left: 50%; transform: translateX(-50%); }

  /* Circuit corners — smaller on mobile */
  .circuit-corner { width: 48px; height: 48px; }

  /* About — single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    justify-self: center;
    max-width: 180px;
  }

  .about-icon { border-radius: 36px; }

  /* Section spacing */
  .section-title { font-size: 26px; }
  .section-body { font-size: 15px; }

  /* HydroLog split — stack on mobile */
  .hl-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hl-split-text { align-items: center; }
  .hl-split-name { font-size: 40px; }
  .hl-split-tagline { font-size: 16px; }

  .hl-split-device { order: -1; }

  .hl-split-device .iphone--hero {
    width: 200px;
    height: 433px;
    border-radius: 40px;
  }

  .hl-split-device .iphone--hero::before {
    top: 11px;
    width: 72px;
    height: 22px;
    border-radius: 14px;
  }

  .hl-split-device .iphone--hero .iphone-screen { border-radius: 38px; }

  /* App Store badge */
  .app-store-badge {
    padding: 9px 16px;
  }

  .app-store-badge-main { font-size: 15px; }

  /* Status line */
  .status-line { font-size: 12px; }

  /* Contact */
  .contact-email {
    font-size: 15px;
    word-break: break-all;
  }

  /* Screenshots */
  .screenshots-section { padding-top: 60px; padding-bottom: 60px; }
  .screenshots-track {
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-start;
  }

  .iphone {
    width: 160px;
    height: 347px;
    border-radius: 32px;
    border-width: 2px;
  }

  .iphone::before {
    top: 9px;
    width: 56px;
    height: 18px;
    border-radius: 10px;
  }

  .iphone::after {
    top: 80px;
    height: 44px;
    width: 2.5px;
  }

  .iphone-screen { border-radius: 30px; }
  .iphone-label { font-size: 11px; }

  .screenshots-row { gap: 16px; }

  /* HydroLog standalone page hero — stack vertically */
  .hl-hero {
    padding-top: 110px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hl-hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hl-hero-text { align-items: center; }
  .hl-hero-device { order: -1; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-brand { font-size: 36px; }
  .hero-title { font-size: 24px; }
  .hero-sub { font-size: 14px; }

  .hl-split-name { font-size: 32px; }
  .hl-app-name { font-size: 40px; }
  .section-title { font-size: 22px; }

  .about-visual { max-width: 140px; }
  .about-icon { border-radius: 28px; }

  .hl-split-device .iphone--hero {
    width: 170px;
    height: 368px;
    border-radius: 34px;
  }

  .hl-split-device .iphone--hero .iphone-screen { border-radius: 32px; }

  .iphone {
    width: 140px;
    height: 303px;
    border-radius: 28px;
  }

  .iphone::before {
    top: 8px;
    width: 48px;
    height: 16px;
    border-radius: 8px;
  }

  .iphone-screen { border-radius: 26px; }

  .contact-email { font-size: 14px; }
  .project-card { padding: 20px; }
}
