/* ==========================================================================
   Poly Stack Studio — Self-hosted fonts & design system
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('/fonts/bricolage-grotesque-vietnamese-standard-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('/fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-vietnamese-wght-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-mono-vietnamese-wght-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-mono-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0F1115;
  --paper: #F6F5F0;
  --blue: #3366FF;
  --lime: #C6F24E;
  --coral: #FF6A3D;
  --white: #FFFFFF;
  --lead: #28324A;
  --text-secondary: #4A4D55;
  --text-tertiary: #6B6E76;
  --text-quaternary: #8A8C93;
  --text-muted: #A2A4AA;
  --chip-bg: #EEEDE7;
  --tiltshot-status: #B05A10;
  --hairline: rgba(15, 17, 21, 0.08);
  --hairline-strong: rgba(15, 17, 21, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background-color: var(--paper);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Typography helpers */
.h {
  font-family: 'Bricolage Grotesque', 'Geist', sans-serif;
  font-weight: 640;
  letter-spacing: -0.045em;
  font-variation-settings: 'opsz' 96;
  margin: 0;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.it {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
  font-size: 1.07em;
}

/* Page wrapper */
.page-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 20;
}

.site-header-inner {
  height: 96px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-lockup img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: 'Bricolage Grotesque', 'Geist', sans-serif;
  font-weight: 620;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: 'wdth' 92, 'opsz' 96;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--text-secondary);
  padding: 6px 2px;
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--ink);
}

/* Pill buttons */
.pill-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.pill-ink:hover {
  transform: translateY(-1px);
  background-color: #1C2029;
}

.pill-ink-arrow {
  padding: 8px 8px 8px 26px;
  gap: 14px;
  font-size: 16px;
}

.pill-badge-lime {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: var(--lime);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.pill-ink-arrow:hover .pill-badge-lime {
  transform: translate(1px, -1px);
}

.pill-lime {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 8px 8px 26px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 17, 21, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pill-lime:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 17, 21, 0.14);
}

.pill-badge-ink {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.pill-lime:hover .pill-badge-ink {
  transform: translateY(2px);
}

.pill-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-radius: 999px;
  padding: 18px 26px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.pill-glass:hover {
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

/* Mobile menu button & drawer */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background-color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 16px;
}

.menu-line {
  display: block;
  width: 16px;
  height: 1.75px;
  border-radius: 2px;
  background-color: var(--paper);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded='true'] .menu-line:first-child {
  transform: translateY(3.4px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-line:last-child {
  transform: translateY(-3.4px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 4px);
  left: 8px;
  right: 8px;
  background-color: var(--white);
  border-radius: 24px;
  padding: 18px 20px 20px;
  box-shadow: 0 20px 48px rgba(15, 17, 21, 0.16), 0 0 0 1px rgba(15, 17, 21, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 30;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-link {
  display: block;
  padding: 14px 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav-cta {
  margin-top: 12px;
  width: 100%;
  padding: 15px 22px;
  font-size: 15px;
}

/* ==========================================================================
   Hero Panel (.sky)
   ========================================================================== */

.sky {
  position: relative;
  margin: 0 16px;
  border-radius: 40px;
  height: 700px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(60% 40% at 78% 70%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 25% at 15% 88%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%),
    radial-gradient(35% 22% at 95% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #DCEBFF 0%, #9CC3FF 38%, #4F82FF 78%, #3366FF 100%);
}

.sky-grid {
  position: relative;
  height: 100%;
}

.hero-copy {
  position: absolute;
  top: 96px;
  left: 72px;
  max-width: 640px;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--ink);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--lime);
  box-shadow: 0 0 0 1.5px rgba(15, 17, 21, 0.85);
  flex-shrink: 0;
}

.hero-title {
  font-size: 104px;
  line-height: 0.94;
  color: var(--ink);
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: 21px;
  line-height: 1.46;
  color: var(--lead);
  letter-spacing: -0.01em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-caption {
  position: absolute;
  left: 72px;
  bottom: 44px;
  margin: 0;
  z-index: 2;
  color: rgba(15, 17, 21, 0.72);
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  width: min(42%, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-slabs {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slab-blue {
    animation: slab-float 7s ease-in-out infinite;
  }

  .hero-slab-lime {
    animation: slab-float 7s ease-in-out 0.35s infinite;
  }

  .hero-slab-ink {
    animation: slab-float 7s ease-in-out 0.7s infinite;
  }

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

/* ==========================================================================
   Shared Section Framing
   ========================================================================== */

.section {
  padding-inline: 56px;
}

.section-eyebrow {
  margin: 0 0 18px;
  color: var(--text-tertiary);
}

.section-title {
  font-size: 72px;
  line-height: 0.98;
  color: var(--ink);
}

.title-muted {
  color: var(--text-muted);
}

/* ==========================================================================
   The Apps (#apps)
   ========================================================================== */

.apps-section {
  padding-top: 150px;
}

.apps-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  background-color: var(--white);
  border-radius: 35px;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(15, 17, 21, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 17, 21, 0.07), 0 0 0 1px rgba(15, 17, 21, 0.08);
}

.media-panel {
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.media-panel-dark {
  background-color: #0F1115;
}

.media-panel-pastel {
  background: linear-gradient(160deg, #FFE7D6, #EBDDFF 60%, #DDE9FF);
}

.media-panel-cobalt {
  background-color: #2B59F0;
  padding: 24px 28px;
}

.media-panel-amber {
  background: radial-gradient(80% 70% at 50% 100%, #7A3A0A, #0B0B0D 75%);
  padding: 28px 32px;
}

/* Browser frame (Native Cook & Shipfeel) */
.browser-frame {
  width: 100%;
  max-width: 520px;
  background-color: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(15, 17, 21, 0.08);
}

.media-panel-pastel .browser-frame {
  box-shadow: 0 18px 42px rgba(15, 17, 21, 0.14), 0 0 0 1px rgba(15, 17, 21, 0.08);
}

.browser-chrome {
  height: 24px;
  padding: 0 12px;
  background-color: #F4F4F6;
  border-bottom: 1px solid rgba(15, 17, 21, 0.07);
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #CFD1D8;
}

.browser-viewport {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background-color: #0F1115;
}

.media-panel-pastel .browser-viewport {
  background-color: #F8F7F4;
}

.browser-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Dual upright phones (Bằng Lái Cấp Tốc) */
.phones-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 100%;
}

.phone-bezel {
  height: 308px;
  aspect-ratio: 1320 / 2868;
  background-color: #14161C;
  padding: 6px;
  border-radius: 26px;
  box-shadow: 0 20px 38px rgba(10, 26, 102, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.16);
  overflow: hidden;
  flex-shrink: 0;
}

.phone-bezel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

/* iPad + floating icon (Tiltshot) */
.ipad-stage {
  position: relative;
  width: 100%;
  max-width: 416px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ipad-bezel {
  width: 100%;
  background-color: #1A1A1C;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ipad-bezel img {
  width: 100%;
  aspect-ratio: 2360 / 1640;
  object-fit: cover;
  border-radius: 12px;
}

.floating-app-icon {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0B0B0D;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.floating-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card content */
.card-body {
  padding: 26px 20px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background-color: var(--chip-bg);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.card-title {
  font-size: 42px;
  line-height: 1.05;
  color: var(--ink);
}

.card-desc {
  margin: 14px 0 26px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 48ch;
}

.card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  transition: color 160ms ease;
}

.card-link-arrow {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  transition: transform 160ms ease;
}

.card-link:hover {
  color: var(--blue);
}

.card-link:hover .card-link-arrow {
  transform: translate(2px, -2px);
}

.card-status {
  display: inline-block;
  font-size: 19px;
  font-weight: 500;
  color: var(--tiltshot-status);
}

/* Dashed "More from the studio" banner */
.more-banner {
  margin-top: 20px;
  border: 1.5px dashed rgba(15, 17, 21, 0.18);
  border-radius: 28px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.more-banner-title {
  font-size: 36px;
  line-height: 1.12;
  color: var(--ink);
}

.more-banner-it {
  color: var(--text-quaternary);
}

.more-banner-meta {
  margin: 0;
  color: var(--text-quaternary);
  white-space: nowrap;
}

/* ==========================================================================
   How We Work (#how-we-work)
   ========================================================================== */

.work-section {
  padding-top: 160px;
}

.work-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.work-title {
  font-size: 56px;
  line-height: 0.98;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 6px;
}

.principle {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.principle-num {
  margin: 0 0 18px;
  color: var(--blue);
}

.principle-title {
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}

.principle-desc {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact (#contact)
   ========================================================================== */

.contact-section {
  margin: 160px 16px 0;
}

.contact-panel {
  background-color: var(--lime);
  border-radius: 40px;
  padding: 96px 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.contact-eyebrow {
  color: rgba(15, 17, 21, 0.72);
}

.contact-title {
  font-size: 88px;
  line-height: 0.96;
  color: var(--ink);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(15, 17, 21, 0.22);
  border-radius: 999px;
  padding: 17px 24px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  background-color: rgba(255, 255, 255, 0.28);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.email-pill:hover {
  background-color: rgba(255, 255, 255, 0.52);
  border-color: rgba(15, 17, 21, 0.42);
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 44px 56px 52px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-lockup-footer img {
  width: 28px;
  height: 28px;
}

.brand-lockup-footer .brand-wordmark {
  font-size: 18px;
}

.footer-copy {
  margin: 0;
  color: var(--text-tertiary);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.not-found-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.not-found-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.not-found-card {
  width: 100%;
  max-width: 640px;
  background-color: var(--white);
  border-radius: 36px;
  padding: 56px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(15, 17, 21, 0.06);
}

.not-found-title {
  font-size: 56px;
  line-height: 0.98;
}

.not-found-desc {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
  .site-header-inner,
  .section,
  .site-footer {
    padding-inline: 36px;
  }

  .sky {
    height: 660px;
  }

  .hero-copy {
    top: 72px;
    left: 48px;
    max-width: 540px;
  }

  .hero-caption {
    left: 48px;
    bottom: 40px;
  }

  .hero-visual {
    right: 28px;
    width: min(40%, 440px);
  }

  .hero-title {
    font-size: 80px;
  }

  .section-title {
    font-size: 58px;
  }

  .work-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
  }

  .work-title {
    font-size: 50px;
  }

  .contact-panel {
    padding: 72px 48px;
  }

  .contact-title {
    font-size: 64px;
  }
}

@media (max-width: 960px) {
  .sky {
    height: auto;
    padding: 48px 36px 40px;
  }

  .sky-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: auto;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    max-width: none;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .hero-caption {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .work-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .site-header-inner {
    height: 72px;
    padding: 0 20px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup img {
    width: 28px;
    height: 28px;
  }

  .brand-wordmark {
    font-size: 18px;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .sky {
    margin: 0 8px;
    border-radius: 30px;
    height: 740px;
    padding: 32px 24px 28px;
  }

  .sky-grid {
    position: static;
    display: block;
    height: auto;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 52px;
    line-height: 0.94;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }

  .pill-lime {
    padding: 6px 6px 6px 20px;
    gap: 12px;
    font-size: 15px;
  }

  .pill-badge-ink {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .pill-glass {
    padding: 15px 20px;
    font-size: 15px;
  }

  .hero-visual {
    position: absolute;
    top: 470px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 270px;
    margin: 0;
  }

  .hero-slabs {
    width: 270px;
    max-width: none;
  }

  .hero-caption {
    display: none;
  }

  .section {
    padding-inline: 20px;
  }

  .section-eyebrow {
    margin-bottom: 14px;
  }

  .section-title {
    font-size: 40px;
    line-height: 0.98;
  }

  .apps-section {
    padding-top: 84px;
  }

  .apps-grid {
    margin-top: 32px;
    gap: 14px;
  }

  .product-card {
    border-radius: 24px;
    padding: 12px;
  }

  .media-panel {
    height: 230px;
    border-radius: 16px;
    padding: 16px;
  }

  .media-panel-cobalt {
    padding: 16px;
  }

  .media-panel-amber {
    padding: 20px 22px;
  }

  .browser-frame {
    border-radius: 10px;
  }

  .browser-chrome {
    height: 18px;
    padding: 0 9px;
    gap: 4px;
  }

  .browser-dot {
    width: 5px;
    height: 5px;
  }

  .phones-stage {
    gap: 12px;
  }

  .phone-bezel {
    height: 196px;
    padding: 4px;
    border-radius: 17px;
  }

  .phone-bezel img {
    border-radius: 13px;
  }

  .ipad-stage {
    max-width: 260px;
  }

  .ipad-bezel {
    padding: 7px;
    border-radius: 14px;
  }

  .ipad-bezel img {
    border-radius: 8px;
  }

  .floating-app-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    top: -12px;
    right: -10px;
  }

  .card-body {
    padding: 18px 10px 8px;
  }

  .card-chips {
    margin-bottom: 12px;
  }

  .chip {
    font-size: 10px;
    padding: 5px 9px;
  }

  .card-title {
    font-size: 28px;
  }

  .card-desc {
    margin: 10px 0 18px;
    font-size: 14px;
    line-height: 1.48;
  }

  .card-footer {
    padding-top: 14px;
  }

  .card-link,
  .card-status {
    font-size: 14px;
  }

  .more-banner {
    margin-top: 14px;
    border-radius: 20px;
    padding: 22px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .more-banner-title {
    font-size: 22px;
  }

  .more-banner-meta {
    display: none;
  }

  .work-section {
    padding-top: 90px;
  }

  .work-title {
    font-size: 40px;
  }

  .work-layout {
    gap: 32px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principle {
    padding-top: 18px;
  }

  .principle-num {
    margin-bottom: 12px;
  }

  .principle-title {
    font-size: 23px;
  }

  .principle-desc {
    font-size: 15px;
    line-height: 1.52;
  }

  .contact-section {
    margin: 60px 8px 0;
  }

  .contact-panel {
    border-radius: 30px;
    padding: 44px 24px;
    gap: 28px;
  }

  .contact-title {
    font-size: 40px;
  }

  .contact-actions {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .email-pill {
    width: auto;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  .pill-ink-arrow {
    display: inline-flex;
    width: auto;
    justify-content: flex-start;
    gap: 14px;
    padding: 6px 6px 6px 22px;
    font-size: 15px;
  }

  .pill-badge-lime {
    width: 36px;
    height: 36px;
  }

  .site-footer {
    padding: 36px 20px 44px;
  }

  .not-found-card {
    padding: 32px 24px;
    border-radius: 26px;
  }

  .not-found-title {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
