@font-face {
  font-family: Poppins;
  src: url('assets/fonts/Poppins-Regular-latin.woff2?v=cfcc09208a') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('assets/fonts/Poppins-Medium-latin.woff2?v=fd0ccf7785') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('assets/fonts/Poppins-SemiBold-latin.woff2?v=e251e4f54e') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('assets/fonts/Poppins-Bold-latin.woff2?v=af12d740f8') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Warm stone-linen studio palette */
  --page: #F7F4EE;
  --surface: #FFFFFF;
  --surface-warm: #EDE7DC;
  --ink: #1F1D19;
  --muted: #5F594F;
  --line: #E4DDD0;
  --outline: #C2B8A6;
  --accent: #A64B2A;
  --accent-hover: #8B3C20;
  --focus: #1F1D19;
  --selection: #E9DFC8;
  --scroll-track: #EFEAE0;
  --scroll-thumb: #B6AD9D;

  /* Studio button */
  --studio-btn-bg: #1F1D19;
  --studio-btn-hover: #36322B;
  --studio-btn-ink: #F7F4EE;

  /* Palatto panel (exact Palatto brand tokens) */
  --palatto-panel: #D5F2B8;
  --palatto-panel-border: #C1E59D;
  --palatto-panel-ink: #1C4700;
  --palatto-panel-muted: #2F5B12;
  --palatto-chip-bg: #FBF8EA;
  --palatto-chip-ink: #1C4700;
  --palatto-bg: #5DC520;
  --palatto-bg-hover: #51B319;
  --palatto-ink: #1C4700;
  --palatto-ink-hover: #153600;
  --palatto-bezel: #1A2410;
  --palatto-bezel-border: rgba(255, 255, 255, 0.12);

  /* Harvest Plots panel (sampled from real icon & farm banner) */
  --harvest-panel: #F4E8CD;
  --harvest-panel-border: #E2D1AD;
  --harvest-panel-ink: #2B1D12;
  --harvest-panel-muted: #5C4530;
  --harvest-chip-bg: #FCF7EB;
  --harvest-chip-ink: #4B2F1B;
  --harvest-bezel: #261C14;
  --harvest-bezel-border: rgba(255, 255, 255, 0.12);

  /* Elevation & motion */
  --shadow: 0 16px 36px -12px rgba(31, 29, 25, 0.2);
  --card-shadow: 0 12px 28px -14px rgba(31, 29, 25, 0.13);
  --screen-shadow: 0 24px 52px -16px rgba(31, 29, 25, 0.28), 0 8px 20px -10px rgba(31, 29, 25, 0.16);
  --icon-shadow: 0 8px 20px -8px rgba(31, 29, 25, 0.24), 0 0 0 1px rgba(31, 29, 25, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  /* Warm charcoal dark studio palette */
  --page: #171513;
  --surface: #221F1B;
  --surface-warm: #2B2722;
  --ink: #F5F1E8;
  --muted: #B7AFA2;
  --line: #35302A;
  --outline: #5E564B;
  --accent: #E4906B;
  --accent-hover: #F0AA8A;
  --focus: #F5F1E8;
  --selection: #3E3529;
  --scroll-track: #221F1B;
  --scroll-thumb: #595147;

  --studio-btn-bg: #F5F1E8;
  --studio-btn-hover: #E3DBD0;
  --studio-btn-ink: #171513;

  /* Palatto dark panel (matching Palatto Dark Kitchen) */
  --palatto-panel: #1F3314;
  --palatto-panel-border: #324D21;
  --palatto-panel-ink: #EDF5E4;
  --palatto-panel-muted: #B4C8A4;
  --palatto-chip-bg: #2B461B;
  --palatto-chip-ink: #D9F2B8;
  --palatto-bg: #5DC520;
  --palatto-bg-hover: #6CD130;
  --palatto-ink: #1C4700;
  --palatto-ink-hover: #143300;
  --palatto-bezel: #0E1509;
  --palatto-bezel-border: #38492A;

  /* Harvest Plots dusky evening farm panel */
  --harvest-panel: #261F17;
  --harvest-panel-border: #3F3325;
  --harvest-panel-ink: #F5EAD6;
  --harvest-panel-muted: #C9B79B;
  --harvest-chip-bg: #372C20;
  --harvest-chip-ink: #F7DFB3;
  --harvest-bezel: #140F0B;
  --harvest-bezel-border: #4A3B2B;

  --shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.56);
  --card-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.48);
  --screen-shadow: 0 26px 56px -16px rgba(0, 0, 0, 0.68), 0 10px 22px -10px rgba(0, 0, 0, 0.45);
  --icon-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
body {
  margin: 0;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.65 Poppins, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="dark"] body {
  line-height: 1.7;
  letter-spacing: 0.005em;
}
::selection { background: var(--selection); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

a {
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:where(a, button):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 20px;
  top: -140px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--studio-btn-bg);
  color: var(--studio-btn-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.skip-link:hover { color: var(--studio-btn-ink); }
.skip-link:focus,
.skip-link:focus-visible { top: 16px; color: var(--studio-btn-ink); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark-mark { width: 28px; height: 28px; flex: none; display: block; }
.wordmark-mark rect { fill: var(--ink); }
.wordmark-mark path { fill: var(--page); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav { display: flex; align-items: center; gap: 22px; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover { color: var(--ink); text-decoration: underline; }

.theme-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--card-shadow);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.22s var(--ease);
}
.theme-toggle:hover { background: var(--surface-warm); border-color: var(--outline); transform: rotate(-10deg); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }

/* =========================================================
   Buttons & Chips
   ========================================================= */
.pill,
.secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.pill svg,
.secondary-pill svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-pill {
  background: var(--studio-btn-bg);
  color: var(--studio-btn-ink);
  font-weight: 700;
  box-shadow: var(--card-shadow);
}
.studio-pill:hover {
  background: var(--studio-btn-hover);
  color: var(--studio-btn-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.secondary-pill {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--outline);
}
.secondary-pill:hover {
  background: var(--surface-warm);
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.palatto-pill {
  background: var(--palatto-bg);
  color: var(--palatto-ink);
  font-weight: 700;
  flex: none;
  box-shadow: 0 10px 24px -10px rgba(28, 71, 0, 0.32);
}
.palatto-pill:hover {
  background: var(--palatto-bg-hover);
  color: var(--palatto-ink-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(28, 71, 0, 0.4);
}

.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 8px 4px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.18s var(--ease);
}
.text-button:hover { color: var(--ink); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.palatto-chip { background: var(--palatto-chip-bg); color: var(--palatto-chip-ink); }
.harvest-chip { background: var(--harvest-chip-bg); color: var(--harvest-chip-ink); }

/* =========================================================
   Phone Frame
   ========================================================= */
.phone-frame {
  padding: 8px;
  border-radius: 32px;
  box-shadow: var(--screen-shadow);
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}
.phone-frame-palatto {
  background: var(--palatto-bezel);
  border: 1px solid var(--palatto-bezel-border);
}
.phone-frame-harvest {
  background: var(--harvest-bezel);
  border: 1px solid var(--harvest-bezel-border);
}
.pixel-art {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 48px;
  align-items: center;
  padding: 18px 0 42px;
}

.hero-copy h1 {
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.036em;
  max-width: 14ch;
}
.hero-copy .lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 530px;
  height: 492px;
}

.hero-backdrop {
  position: absolute;
  inset: 38px 18px 26px 24px;
  border-radius: 36px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
}

.hero-phone {
  position: absolute;
}
.hero-phone-palatto {
  width: 214px;
  top: 10px;
  left: 52px;
  transform: rotate(-4deg);
  z-index: 3;
}
.hero-phone-harvest {
  width: 196px;
  top: 38px;
  right: 46px;
  transform: rotate(6deg);
  z-index: 2;
}
.hero-phone .phone-frame {
  padding: 7px;
  border-radius: 30px;
}
.hero-phone .phone-frame img {
  border-radius: 23px;
}

.hero-tile {
  position: absolute;
  z-index: 5;
}
.hero-tile img {
  border-radius: 16px;
  display: block;
}
.hero-tile .float-layer {
  padding: 7px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-tile-palatto {
  left: 10px;
  bottom: 42px;
  transform: rotate(-7deg);
}
.hero-tile-harvest {
  right: 12px;
  top: 14px;
  transform: rotate(8deg);
}

.hero-motion-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 530px;
}

/* Gentle hero float animation (pausable & reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: hero-float 7.5s ease-in-out infinite; }
  .float-b { animation: hero-float 8.6s ease-in-out -2.8s infinite; }
  .float-c { animation: hero-tile-float 6.8s ease-in-out -1.2s infinite; }
  .float-d { animation: hero-tile-float 7.8s ease-in-out -4.2s infinite; }
}

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

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

html.motion-paused .float-layer {
  animation-play-state: paused !important;
}

/* =========================================================
   Apps Section & Brand-Tinted Product Panels
   ========================================================= */
.apps {
  margin-top: 28px;
}
.section-head {
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.panel {
  border-radius: 34px;
  padding: clamp(28px, 4vw, 50px);
}
.panel + .panel {
  margin-top: 32px;
}

.panel-palatto {
  background: var(--palatto-panel);
  border: 1px solid var(--palatto-panel-border);
  color: var(--palatto-panel-ink);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.panel-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex: 1 1 420px;
}

.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
  flex: none;
  box-shadow: var(--icon-shadow);
}
.app-icon-harvest {
  width: 72px;
  height: 72px;
  border-radius: 19px;
}

.product-copy { min-width: 0; }
.product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.product-copy p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}
.panel-palatto .product-copy p { color: var(--palatto-panel-muted); }

/* Palatto 3-phone showcase */
.gallery-wrap { min-width: 0; }
.gallery {
  display: grid;
  gap: 28px;
  align-items: start;
}
.gallery:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
  border-radius: 24px;
}
.palatto-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 6px 8px 4px;
}
.phone-card {
  min-width: 0;
  text-align: center;
}
.palatto-gallery .phone-card:nth-child(1) .phone-frame {
  transform: translateY(12px) rotate(-1.6deg);
}
.palatto-gallery .phone-card:nth-child(3) .phone-frame {
  transform: translateY(12px) rotate(1.6deg);
}
.phone-card:hover .phone-frame {
  transform: translateY(-4px) rotate(0deg);
}
.gallery figcaption {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}
.panel-palatto .gallery figcaption { color: var(--palatto-panel-muted); }
.gallery-cue { display: none; }

/* Harvest Plots secondary warm farm panel */
.panel-harvest {
  background: var(--harvest-panel);
  border: 1px solid var(--harvest-panel-border);
  color: var(--harvest-panel-ink);
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  padding: clamp(26px, 3.6vw, 44px);
}
.harvest-lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.harvest-identity {
  align-items: flex-start;
  flex: none;
}
.panel-harvest .product-copy p { color: var(--harvest-panel-muted); }

.farm-figure {
  margin-top: auto;
}
.farm-banner {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--harvest-panel-border);
  box-shadow: var(--card-shadow);
}
.farm-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--harvest-panel-muted);
}

.harvest-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: center;
}
.harvest-gallery .phone-frame {
  padding: 6px;
  border-radius: 24px;
}
.harvest-gallery .phone-frame img {
  border-radius: 19px;
}
.harvest-gallery figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--harvest-panel-muted);
}

/* =========================================================
   About + Contact Cards
   ========================================================= */
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.studio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--card-shadow);
  min-width: 0;
}
.studio-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.studio-mark {
  width: 32px;
  height: 32px;
  flex: none;
  display: block;
}
.studio-mark rect { fill: var(--ink); }
.studio-mark path { fill: var(--page); }

.studio-card h2 {
  font-size: clamp(24px, 2.4vw, 30px);
}
.studio-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 56ch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.email-pill {
  margin-top: 20px;
  min-height: 48px;
  padding: 10px 20px;
  font-size: 14px;
  max-width: 100%;
}
.email-pill span {
  overflow-wrap: anywhere;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  margin-top: 56px;
  padding: 28px 0 max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  font-weight: 600;
}
.site-footer small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* =========================================================
   Subtle Scroll Reveals (progressive: visible without JS)
   ========================================================= */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

/* =========================================================
   Tablet (<= 960px)
   ========================================================= */
@media (max-width: 960px) {
  .wrap { width: min(1160px, calc(100% - 48px)); }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 12px 0 32px;
  }
  .hero-copy h1 { max-width: 14ch; }
  .hero-visual { align-items: center; }
  .hero-motion-row { justify-content: center; }

  .panel-harvest {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .harvest-gallery {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }
  .studio-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile (<= 640px)
   ========================================================= */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 68px; gap: 6px; padding-block: 10px; }
  .wordmark { font-size: 17px; gap: 7px; }
  .wordmark-mark { width: 24px; height: 24px; }
  .header-actions { gap: 8px; }
  nav { gap: 0; }
  nav a { font-size: 13px; padding-inline: 5px; }
  .theme-toggle { width: 40px; height: 40px; flex: 0 0 auto; }

  .hero { gap: 22px; padding: 8px 0 24px; }
  .hero-copy h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hero-copy .lead { font-size: 16px; margin-top: 14px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .pill, .secondary-pill { min-height: 48px; padding: 10px 20px; font-size: 14px; }

  .hero-visual { width: 100%; overflow: hidden; padding-top: 4px; }
  .hero-stage { height: 372px; max-width: 344px; }
  .hero-backdrop { inset: 26px 10px 22px 10px; border-radius: 26px; }
  .hero-phone-palatto { width: 152px; left: 26px; top: 8px; }
  .hero-phone-harvest { width: 140px; right: 24px; top: 26px; }
  .hero-phone .phone-frame { padding: 5px; border-radius: 22px; }
  .hero-phone .phone-frame img { border-radius: 17px; }
  .hero-tile .float-layer { padding: 5px; border-radius: 16px; }
  .hero-tile img { border-radius: 12px; }
  .hero-tile-palatto { left: 6px; bottom: 38px; }
  .hero-tile-palatto img { width: 44px; height: 44px; }
  .hero-tile-harvest { right: 6px; top: 8px; }
  .hero-tile-harvest img { width: 42px; height: 42px; }

  .apps { margin-top: 20px; }
  .section-head { margin-bottom: 18px; }
  .panel { border-radius: 28px; padding: 24px 20px 26px; }
  .panel + .panel { margin-top: 22px; }
  .panel-head { margin-bottom: 24px; gap: 18px; }
  .panel-identity { gap: 14px; align-items: flex-start; flex-basis: 100%; }
  .harvest-lead { display: block; }
  .harvest-identity { flex: none; }
  .farm-figure { margin-top: 20px; }
  .app-icon { width: 62px; height: 62px; border-radius: 16px; }
  .app-icon-harvest { width: 60px; height: 60px; border-radius: 15px; }
  .product-copy p { font-size: 14px; line-height: 1.55; }
  .chip { font-size: 12px; padding: 5px 11px; }
  .palatto-pill { width: 100%; min-height: 48px; }

  .palatto-gallery,
  .harvest-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-inline: -20px;
    padding: 4px 20px 14px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    max-width: none;
  }
  .gallery figure { flex: 0 0 min(70vw, 240px); scroll-snap-align: start; }
  .palatto-gallery .phone-card:nth-child(1) .phone-frame,
  .palatto-gallery .phone-card:nth-child(3) .phone-frame { transform: none; }
  .phone-frame { padding: 6px; border-radius: 24px; }
  .phone-frame img { border-radius: 19px; }
  .gallery figcaption { margin-top: 12px; font-size: 13px; }

  .gallery-cue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
  }
  .palatto-cue { color: var(--palatto-panel-muted); }
  .harvest-cue { color: var(--harvest-panel-muted); }
  .gallery-dots { display: inline-flex; align-items: center; gap: 6px; }
  .gallery-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.28;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }
  .gallery-dots .dot.is-active { opacity: 1; transform: scale(1.2); }

  .farm-banner { border-radius: 16px; }
  .studio-grid { margin-top: 24px; gap: 18px; }
  .studio-card { border-radius: 24px; padding: 24px 22px; }
  .site-footer { margin-top: 40px; padding: 22px 0 32px; }
}

@media (max-width: 375px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand theme" "nav nav";
    gap: 4px 8px;
  }
  .wordmark { grid-area: brand; font-size: 17px; }
  .header-actions { display: contents; }
  nav { grid-area: nav; width: 100%; gap: 12px; }
  nav a { font-size: 13px; padding-inline: 4px; }
  .theme-toggle { grid-area: theme; width: 44px; height: 44px; }
  .hero-stage { height: 324px; max-width: 288px; }
  .hero-phone-palatto { width: 134px; left: 16px; }
  .hero-phone-harvest { width: 124px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .float-layer { animation: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
