:root {
  --sky-top: #d4e3ec;
  --sky-mid: #e8efe8;
  --sky-bottom: #f7f1e8;
  --parchment: #faf3e6;
  --parchment-deep: #f0e6d6;
  --wood: #3d322c;
  --wood-soft: #5c4e45;
  --ink-muted: #8a7768;
  --ink-deep: #2a221e;
  --moss: #5f7d64;
  --moss-soft: #7a9a80;
  --moss-pale: #e4ece5;
  --moss-deep: #4a6350;
  --gold: #b89255;
  --gold-soft: #d4b37a;
  --gold-glow: rgba(184, 146, 85, 0.22);
  --border: rgba(61, 50, 44, 0.12);
  --border-gold: rgba(184, 146, 85, 0.32);
  --border-moss: rgba(95, 125, 100, 0.22);
  --shadow: rgba(42, 34, 30, 0.12);
  --shadow-deep: rgba(42, 34, 30, 0.22);
  --glass: rgba(255, 251, 244, 0.68);
  --glass-border: rgba(255, 255, 255, 0.52);
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max: 1040px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 76px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 80px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --parallax-x: 0px;
  --parallax-y: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-3));
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--wood);
  background: var(--sky-bottom);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

.copy-justify {
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 0.45s var(--ease-out);
}

.sky-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 70% at 15% -5%, rgba(212, 227, 236, 0.95), transparent 58%),
    radial-gradient(ellipse 80% 60% at 88% 18%, rgba(228, 236, 229, 0.55), transparent 52%),
    radial-gradient(ellipse 120% 90% at 50% 105%, rgba(240, 230, 214, 0.9), transparent 62%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-bottom) 100%);
  animation: sky-breathe 24s ease-in-out infinite alternate;
}

.sky-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.32;
  animation: glow-drift 28s ease-in-out infinite alternate;
}

.sky-glow-a {
  top: 10%;
  left: 14%;
  width: min(44vw, 380px);
  height: min(44vw, 380px);
  background: radial-gradient(circle, rgba(95, 125, 100, 0.2), transparent 72%);
}

.sky-glow-b {
  top: 52%;
  right: 8%;
  width: min(34vw, 280px);
  height: min(34vw, 280px);
  background: radial-gradient(circle, rgba(184, 146, 85, 0.14), transparent 74%);
  animation-delay: -10s;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(42, 34, 30, 0.07) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(2px);
  will-change: transform;
}

.cloud-a {
  top: 8%;
  right: 8%;
  width: 180px;
  height: 56px;
  box-shadow:
    -40px 12px 0 -8px rgba(255, 255, 255, 0.32),
    50px 8px 0 -12px rgba(255, 255, 255, 0.24);
  opacity: 0.58;
  animation: cloud-drift-a 38s linear infinite;
}

.cloud-b {
  top: 18%;
  left: 4%;
  width: 120px;
  height: 40px;
  box-shadow: 32px 10px 0 -10px rgba(255, 255, 255, 0.28);
  opacity: 0.42;
  animation: cloud-drift-b 52s linear infinite reverse;
}

.cloud-c {
  top: 62%;
  right: 14%;
  width: 140px;
  height: 44px;
  box-shadow: -28px 8px 0 -10px rgba(255, 255, 255, 0.26);
  opacity: 0.32;
  animation: cloud-drift-c 44s linear infinite;
}

.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 72%);
  box-shadow: 0 0 10px var(--gold-glow);
  opacity: 0.55;
  animation: spark-twinkle 6s ease-in-out infinite;
}

.spark-a {
  top: 24%;
  left: 12%;
}

.spark-b {
  top: 44%;
  right: 22%;
  animation-delay: -1.6s;
}

.spark-c {
  top: 72%;
  left: 28%;
  width: 4px;
  height: 4px;
  animation-delay: -2.8s;
}

a {
  color: var(--moss);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--wood);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.panel {
  position: relative;
  padding: var(--space-4) var(--space-4);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    0 18px 44px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.panel-lift:hover {
  transform: translateY(-5px);
  box-shadow:
    0 26px 52px var(--shadow-deep),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.panel-gold.panel-lift:hover {
  border-color: var(--border-gold);
  box-shadow:
    0 28px 56px var(--shadow-deep),
    0 0 0 1px rgba(184, 146, 85, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.panel-accent.panel-lift:hover {
  border-color: var(--border-moss);
  box-shadow:
    0 26px 52px var(--shadow-deep),
    0 0 0 1px rgba(95, 125, 100, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.panel-accent {
  background: linear-gradient(
    145deg,
    rgba(255, 252, 246, 0.82),
    rgba(228, 236, 229, 0.58)
  );
  border-color: var(--border-moss);
}

.panel-gold {
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.88) 0%, rgba(250, 243, 230, 0.78) 100%);
  border-color: var(--border-gold);
  box-shadow:
    0 20px 48px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.panel-label {
  margin: 0 0 var(--space-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(247, 241, 232, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 241, 232, 0.88);
  box-shadow: 0 12px 36px rgba(42, 34, 30, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand-block {
  display: grid;
  gap: 3px;
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--wood);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), color 0.2s ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--moss);
  transform: translateY(-1px);
}

.brand-tag {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2) var(--space-4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: var(--wood-soft);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--wood);
}

.nav-link.is-active::after {
  background: linear-gradient(90deg, var(--moss), var(--gold));
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.hero {
  padding: var(--space-7) 0 var(--space-6);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-deep);
}

.hero h1 {
  margin: 0 0 var(--space-3);
  max-width: 13.5ch;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.5rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--ink-deep);
  text-shadow: 0 16px 40px rgba(42, 34, 30, 0.06);
}

.hero-in {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-rise 0.9s var(--ease-out) forwards;
}

.hero-copy .eyebrow.hero-in {
  animation-delay: 0.08s;
}

.hero-copy h1.hero-in {
  animation-delay: 0.18s;
}

.hero-copy .hero-lead.hero-in {
  animation-delay: 0.3s;
}

.hero-panel.hero-in {
  animation-delay: 0.42s;
}

.hero-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--wood-soft);
}

.hero-panel {
  align-self: center;
  min-width: min(100%, 300px);
  padding: var(--space-4) var(--space-4);
}

.hero-panel-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.42em;
  row-gap: 6px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.95vw, 1.32rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--wood);
}

.hero-panel-phrase {
  white-space: nowrap;
}

.hero-panel-sep {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  transform: translateY(-0.06em);
}

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

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

.content-section {
  padding: var(--space-6) 0;
}

.section-grove {
  background: linear-gradient(
    180deg,
    rgba(228, 236, 229, 0.38),
    rgba(247, 241, 232, 0)
  );
  border-top: 1px solid rgba(95, 125, 100, 0.1);
  border-bottom: 1px solid rgba(95, 125, 100, 0.1);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1.22fr);
  gap: var(--space-5);
  align-items: start;
}

.section-grid-flipped > .section-body,
.section-grid-flipped > .panel {
  grid-column: 1;
  grid-row: 1;
}

.section-grid-flipped > .section-label {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}

.section-body {
  min-width: 0;
}

.section-label {
  position: sticky;
  top: calc(var(--header-h) + var(--space-3));
  min-width: 0;
}

.section-num {
  display: block;
  margin-bottom: var(--space-1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.45s var(--ease-out), color 0.45s ease;
}

.section-label.is-visible .section-num,
.reveal.is-visible .section-num {
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.section-label h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--wood);
}

.section-intro {
  margin: 0 0 var(--space-3);
  max-width: 52ch;
  color: var(--wood-soft);
}

.section-stack {
  display: grid;
  gap: var(--space-4);
}

.section-stack-centered {
  justify-items: center;
}

.section-header-centered {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.section-header-centered .section-label {
  position: static;
}

.section-header-centered .section-intro {
  margin: var(--space-2) auto 0;
  text-align: center;
}

#apps .app-card {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 36px 38px;
}

.app-card-copy {
  margin: 0;
  width: max-content;
  max-width: 100%;
  text-align: left;
  color: var(--wood-soft);
  line-height: 1.65;
}

.prose-lead {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--wood);
}

.prose-panel p:last-child {
  margin: 0;
  color: var(--wood-soft);
}

.app-card {
  max-width: 100%;
  padding: 36px 38px;
}

.app-card-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: max-content;
  max-width: 100%;
  margin-bottom: var(--space-3);
}

.app-icon {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(74, 61, 53, 0.14);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.float-icon {
  animation: icon-float 5s ease-in-out infinite;
}

.app-card:hover .float-icon {
  animation: none;
}

.app-card:hover .app-icon {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 32px rgba(74, 61, 53, 0.18);
}

.app-card-title {
  flex: 0 1 auto;
  min-width: 0;
  padding-top: 2px;
}

.app-card-title h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 600;
  color: var(--wood);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: var(--space-2) 0 0;
}

.app-card .tag-row {
  margin-top: var(--space-3);
  margin-bottom: 0;
  width: max-content;
  max-width: 100%;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.app-card:hover .tag {
  transform: translateY(-2px);
}

.tag-lifestyle {
  background: var(--moss-pale);
  border: 1px solid rgba(107, 143, 113, 0.28);
  color: var(--moss);
}

.tag-games {
  background: rgba(184, 146, 85, 0.12);
  border: 1px solid var(--border-gold);
  color: #7a6035;
}

.tag-alarm {
  background: rgba(212, 227, 236, 0.55);
  border: 1px solid rgba(95, 125, 100, 0.14);
  color: #566878;
}

.status-pill {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--moss-pale);
  border: 1px solid rgba(95, 125, 100, 0.24);
  color: var(--moss-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pulse {
  animation: status-pulse 2.8s ease-in-out infinite;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--moss);
}

.app-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.app-link:hover::after,
.app-link:focus-visible::after {
  transform: translateX(3px);
}

.contact-email {
  margin: var(--space-3) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  line-height: 1.3;
  font-weight: 600;
}

.contact-email a {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: transform 0.35s var(--ease-out), color 0.2s ease;
}

.contact-email a:hover,
.contact-email a:focus-visible {
  transform: translateY(-2px);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: var(--space-5) 0 var(--space-4);
  background: var(--parchment-deep);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, 1fr));
  gap: var(--space-4) var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-deep);
}

.footer-tagline {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-deep);
}

.footer-nav-label {
  margin: 0 0 var(--space-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wood-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--moss-deep);
}

.footer-contact p {
  margin: 0;
}

.footer-bottom {
  padding-top: var(--space-3);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
}

.legal-page {
  display: block;
}

.legal-wrap {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 48px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 700;
}

.legal-wrap h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--ink-deep);
}

.legal-meta {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.legal-intro {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: var(--wood);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wood);
}

.legal-section p,
.legal-section li {
  color: var(--wood-soft);
}

.legal-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-section li + li {
  margin-top: 8px;
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
    --gutter: clamp(16px, 4vw, 24px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
    padding: 14px 0;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: var(--space-2) var(--space-3);
  }

  .site-nav a {
    padding: 6px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .section-label {
    position: static;
    text-align: left;
  }

  .section-grid-flipped > .section-body,
  .section-grid-flipped > .panel,
  .section-grid-flipped > .section-label {
    grid-column: auto;
    grid-row: auto;
  }

  .section-grid-flipped .section-label {
    text-align: left;
  }

  .hero h1 {
    max-width: none;
  }

  .hero {
    padding: var(--space-5) 0 var(--space-4);
  }

  .hero-panel {
    max-width: 420px;
  }

  .content-section {
    padding: var(--space-5) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 112px;
    --space-6: 56px;
    --space-7: 64px;
  }

  .copy-justify {
    text-align: left;
    hyphens: none;
  }

  .site-nav {
    gap: var(--space-1) var(--space-2);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand-tag {
    display: block;
    font-size: 0.62rem;
  }

  .panel {
    padding: var(--space-3) var(--space-2);
  }

  .hero {
    padding: var(--space-4) 0;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-panel {
    max-width: none;
    width: 100%;
  }

  .hero-panel-phrase {
    white-space: normal;
  }

  .hero-panel-text {
    font-size: 1.05rem;
  }

  #apps .app-card,
  .app-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
  }

  .app-card-head {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .app-card-copy {
    width: 100%;
    max-width: 100%;
  }

  .app-card .tag-row {
    width: 100%;
    max-width: 100%;
  }

  .app-card-title h3 {
    font-size: 1.65rem;
  }

  .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }

  .contact-email {
    font-size: clamp(1.1rem, 5.5vw, 1.35rem);
  }

  .prose-lead {
    font-size: 1.15rem;
  }

  .section-label h2 {
    font-size: 1.75rem;
  }

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

  .legal-wrap {
    width: min(680px, calc(100% - 32px));
    padding: 40px 0 36px;
  }
}

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

  .ambient,
  .sky-wash,
  .sky-glow,
  .cloud,
  .spark,
  .hero-in,
  .float-icon,
  .status-pulse,
  .hero-panel-sep {
    animation: none !important;
  }

  .ambient {
    transform: none !important;
    transition: none !important;
  }

  .reveal,
  .hero-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .panel-lift:hover,
  .brand:hover,
  .brand:focus-visible,
  .contact-email a:hover,
  .contact-email a:focus-visible,
  .app-card:hover .app-icon,
  .app-card:hover .tag {
    transform: none;
  }

  .app-link:hover::after,
  .app-link:focus-visible::after {
    transform: none;
  }
}

@keyframes sky-breathe {
  0% {
    opacity: 0.96;
  }
  100% {
    opacity: 1;
  }
}

@keyframes glow-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

@keyframes cloud-drift-a {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-120px, 12px, 0);
  }
}

@keyframes cloud-drift-b {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(140px, -8px, 0);
  }
}

@keyframes cloud-drift-c {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-90px, -14px, 0);
  }
}

@keyframes spark-twinkle {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.62;
    transform: scale(1.05);
  }
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(95, 125, 100, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(95, 125, 100, 0.1);
  }
}
