/* ============================================================
   AMORA — style.css
   ============================================================ */

/* ---------- Canela — self-hosted (trial) @font-face ---------- */
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --beige:      #D9C4B1;
  --brown:      #372713;
  --light:      #ECE6D8;
  --green:      #A39670;
  --darkgreen:  #4D4828;
  --red:        #7D2027;
  --gray:       #AEABA4;

  --font-serif:   'Canela', 'Playfair Display', serif;
  --font-sans:    'Work Sans', sans-serif;

  --transition: 350ms ease-in-out;
}

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

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--brown);
  overflow-x: hidden;
  height: 100%;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }

/* ---------- Grain Overlay ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============================================================
   SECTIONS — snap scroll, full viewport height
   ============================================================ */
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Fade-in on scroll */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV — fixed top-center, horizontal
   ============================================================ */
.side-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 28px;
  z-index: 500;
  padding: 8px 18px 8px 14px;
  border-radius: 10px;
  /* frosted-glass backing — always readable against any section */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.side-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

/* Light variant — white/beige text on dark backgrounds */
.side-nav-light { color: var(--beige); }
/* Dark variant — brown text on light backgrounds */
.side-nav-dark  { color: var(--brown); }

.side-nav .nav-link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
  transition: font-weight var(--transition), color var(--transition);
}

/* Underline: spans link text width for horizontal layout */
.side-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}

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

.side-nav .nav-link.active {
  font-weight: 600;
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.btn-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--light);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-cta:hover {
  transform: scale(1.02);
  background: var(--brown);
  color: var(--light);
}
.btn-cta-dark {
  background: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
}
.btn-cta-dark:hover {
  background: var(--brown);
  color: var(--beige);
  border-color: var(--brown);
}

/* One-sided rounded highlight pill */
.highlight-pill {
  display: inline;
  background: var(--green);
  color: var(--brown);
  border-radius: 0 40px 40px 0;
  padding: 2px 16px 2px 6px;
}
.highlight-left {
  border-radius: 0 40px 40px 0;
}
.highlight-left-green {
  background: var(--green);
  color: var(--brown);
  border-radius: 0 40px 40px 0;
  padding: 3px 18px 3px 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.section-hero {
  background: var(--red);
  color: var(--beige);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 64px 0 64px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-shrink: 0;
  padding-bottom: 16px;
}

.hero-subline-center {
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  color: var(--beige);
  display: flex;
  align-items: center;
  gap: 10px;
  /* left-aligned — flex:1 / justify-content:center removed */
}

.star-icon { font-size: 13px; }

.hero-content {
  display: flex;
  flex: 1;
  gap: 32px;
  align-items: stretch;
  min-height: 0;
}

.hero-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* no bottom padding needed — nav is now at the top, not bottom */
  padding-bottom: 0;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;  /* Canela Regular — matches the medium-stroke weight visible in the design */
  /* min(6vw, 9vh) shrinks on short/wide viewports so BUY never overlaps the fixed nav */
  font-size: clamp(36px, min(6vw, 9vh), 80px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}

.hero-line               { color: var(--beige); }
.hero-line.stroke        { -webkit-text-stroke: 1.5px var(--beige); color: transparent; }
.hero-line.italic-stroke { -webkit-text-stroke: 1.5px var(--beige); color: transparent; font-style: italic; }

.hero-visual-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  min-height: 0;
  margin-left: 80px;      /* pushes pill's left edge right — clears side text collision */
  padding-right: 36px;    /* narrows pill from the right */
  /* no overflow:hidden here — let image extend to section bottom */
}

.hero-visual-subline {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--beige);
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
  align-self: center;
  flex-shrink: 0;
}

.hero-image-mask {
  flex: 1;
  width: 100%;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  min-height: 0;
  margin-top: 24px;       /* pushes pill down slightly, reducing its height */
}

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

.hero-side-text {
  position: absolute;
  /* left:0 = left edge of hero-visual-wrap.
     translateX(-100%) shifts the whole element leftward by its own width
     BEFORE rotation, so after rotate(-90deg) the visual right edge lands
     ~15px outside the image — no overlap ever. */
  left: 0;
  top: 50%;
  transform: translateX(-100%) translateY(-50%) rotate(-90deg);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--beige);
  white-space: nowrap;
  text-align: center;
  line-height: 1.5;
  pointer-events: none;
  opacity: 0.85;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about {
  background: var(--beige);
  display: flex;
  flex-direction: column;
}

.amora-strip {
  flex-shrink: 0;
  background: var(--green);
  overflow: hidden;
  white-space: nowrap;
  height: 60px;
  display: flex;
  align-items: center;
}

.amora-strip-inner {
  display: inline-flex;
  align-items: center;
  animation: stripScroll 18s linear infinite;
  white-space: nowrap;
}

.amora-strip-inner span {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--brown);
  padding: 0 16px;
  letter-spacing: 0.05em;
}
.amora-strip-inner .strip-star {
  font-size: 20px;
  color: var(--brown);
  padding: 0 4px;
}

@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

.about-left {
  flex: 0 0 340px;
  padding: 52px 36px 52px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: center;
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brown);
}

/* 3-column grid — each column is an independent flex container so
   left/right can have image-top + label-bottom while middle has
   label-top + image-bottom, all with correct proportions */
.about-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 0;
}

.about-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Image cells take 2/3 of their column height */
.about-col .about-cell-img  { flex: 2; }
/* Label cells take 1/3 of their column height */
.about-col .about-cell-text { flex: 1; }

.about-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image cells */
.about-cell-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-cell-img .cell-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  z-index: 1;
  transition: opacity var(--transition);
}

.about-cell-img:hover .cell-overlay { opacity: 0; }

/* Text label cells */
.about-cell-text {
  padding: 20px;
  text-align: center;
}

.about-cell-text p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--beige);
  line-height: 1.15;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.bg-red      { background: var(--red); }
.bg-brown    { background: var(--brown); }
.bg-darkgreen{ background: var(--darkgreen); }

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.section-how {
  background: var(--light);
  display: flex;
  flex-direction: column;
}

.how-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 64px 40px 64px;
  gap: 24px;
}

/* --- Try-On Frame (top) --- */
.tryon-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tryon-headers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 2px;
  margin-bottom: 8px;
}

.tryon-header {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--brown);
  text-align: center;
}

/* Outer black frame */
.tryon-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--brown);
  border-radius: 16px;
  overflow: hidden;
  background: var(--brown);
  gap: 3px;
  flex: 1;
  min-height: 0;
}

/* Each inner panel */
.tryon-panel {
  background: var(--beige);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 400ms ease-in-out;
}

.tryon-panel-inactive {
  background: var(--gray);
}

/* Image area */
.panel-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Full-body model image — contain so nothing is cropped */
.panel-model-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: opacity 300ms ease-in-out;
}

/* Clothing image — contained, no background */
.panel-style-img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  transition: opacity 300ms ease-in-out;
}

/* Bottom row: arrows + confirm arrow */
.panel-footer-row {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 14px;
  gap: 8px;
}

.panel-nav {
  display: flex;
  gap: 4px;
}

.arrow-btn {
  width: 34px;
  height: 34px;
  background: var(--red);
  color: white;
  font-size: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}
.arrow-btn:hover:not(:disabled) { transform: scale(1.08); }
.arrow-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.confirm-btn {
  width: 44px;
  height: 34px;
  background: var(--brown);
  color: white;
  font-size: 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.confirm-btn:hover:not(:disabled) { transform: scale(1.05); background: var(--darkgreen); }
.confirm-btn:disabled { opacity: 0.25; cursor: not-allowed; }

/* Output panel */
.output-panel-content { flex-direction: column; }
.output-placeholder,
.output-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 13px;
  opacity: 0.5;
  height: 100%;
}

.loading-spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--beige);
  border-top-color: var(--brown);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.output-img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* --- Heading block (bottom-right) --- */
.how-heading-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 8px;
}

.how-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.how-subline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--brown);
  line-height: 1.55;
}

/* ============================================================
   WHY BRANDS CHOOSE AMORA SECTION
   ============================================================ */
.section-why {
  background: var(--darkgreen);
  color: var(--beige);
  display: flex;
  align-items: center;
}

.why-inner {
  display: flex;
  gap: 40px;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 80px 64px;
}

.why-left { flex: 0 0 52%; min-width: 0; }

.why-headline {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 700;
  color: var(--beige);
  line-height: 1.05;
  margin-bottom: 32px;
  white-space: nowrap;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 4px; }

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 16px 20px;
  background: var(--beige);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  transition: background var(--transition);
  border-radius: 4px;
}
.accordion-trigger:hover { background: #e4d3be; }

.acc-plus {
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion-item.open .acc-plus { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease-in-out, padding 300ms ease-in-out;
  background: rgba(255,255,255,0.05);
  border-radius: 0 0 4px 4px;
  padding: 0 20px 0 58px;
}
.accordion-item.open .accordion-body {
  max-height: 160px;
  padding: 14px 20px 18px 58px;
}

.accordion-body p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--beige);
  opacity: 0.85;
}

/* Stamp column */
.why-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.stamp-frame {
  position: relative;
  width: min(100%, 340px);
}

.stamp-bg-img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* Single benefit image overlaid on the stamp — switches with accordion */
.stamp-screens {
  position: absolute;
  top: 16%;
  left: 13%;
  width: 74%;
  height: 68%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* full image visible, no cropping */
  display: block;
  transition: opacity 220ms ease-in-out;
}

/* ============================================================
   FOOTER / CTA SECTION
   ============================================================ */
.section-footer {
  background: var(--brown);
  color: var(--beige);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.footer-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
}

.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-heading {
  font-family: var(--font-serif);
  font-weight: 300;  /* Canela Light — thin elegant strokes matching the design */
  font-size: clamp(32px, 4vw, 52px);
  color: var(--beige);
  line-height: 1.2;
}
.footer-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;  /* Canela Light Italic — same elegant thin weight as the roman */
}

.footer-subline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--beige);
  opacity: 0.75;
}

.footer-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
  gap: 0;
}

.footer-fields {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-row {
  display: flex;
  width: 100%;
}

.footer-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--light);
  border: none;
  border-right: 1px solid rgba(55,39,19,0.12);
  border-bottom: 1px solid rgba(55,39,19,0.12);
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--brown);
  transition: box-shadow var(--transition);
  min-width: 0;
}
.footer-input:last-child { border-right: none; }
.footer-row:last-child .footer-input { border-bottom: none; }
.footer-input:focus { box-shadow: inset 0 0 0 2px var(--green); z-index: 1; position: relative; }
.footer-input::placeholder { color: var(--brown); opacity: 0.45; }

.footer-btn {
  width: 100%;
  max-width: 560px;
  padding: 15px 22px;
  background: var(--green);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition);
}
.footer-btn:hover { transform: scale(1.02); background: var(--beige); }

/* Giant wordmark — pushed so only the top ~50% is visible */
.footer-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(200px, 28vw, 500px);
  color: var(--green);
  opacity: 0.3;
  line-height: 0.85;
  position: absolute;
  bottom: -12%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

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

/* ---- Large screens ---- */
@media (min-width: 1400px) {
  .hero-inner, .how-inner { padding-left: 80px; padding-right: 80px; }
  .side-nav { left: 50%; transform: translateX(-50%); top: 28px; }
  .about-left { padding-left: 80px; }
  .why-inner { padding-left: 80px; padding-right: 80px; }
}

/* ---- Small desktop / tablet landscape ---- */
@media (max-width: 1100px) {
  .about-body { flex-direction: column; }
  .about-left { flex: none; padding: 40px 40px 20px 40px; }
  .about-grid { flex: 1; }
  .why-inner { gap: 24px; padding: 60px 48px; }
  .why-right { flex: 1; min-width: 0; }
  .stamp-frame { width: min(100%, 300px); }
}

/* ---- Tablet portrait ---- */
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .section { height: auto; min-height: 100svh; }

  /* Nav */
  .side-nav { left: 50%; transform: translateX(-50%); top: 16px; padding: 7px 16px; }
  .side-nav ul { gap: 18px; }

  /* Hero */
  .hero-inner { padding: 80px 32px 32px; }
  .hero-content { flex-direction: column; gap: 16px; }
  .hero-visual-wrap { align-items: center; margin-left: 0; padding-right: 0; }
  .hero-side-text { display: none; }
  .hero-image-mask { max-height: 340px; margin-top: 12px; border-radius: 140px 140px 0 0; }

  /* About */
  .about-left { flex: none; padding: 32px 32px 16px; gap: 20px; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }

  /* How it works */
  .how-inner { padding: 80px 32px 32px; gap: 16px; }
  .tryon-frame { flex: none; }
  .tryon-headers { grid-template-columns: repeat(3, 1fr); font-size: 15px; }
  .tryon-panels { display: flex; flex-direction: column; gap: 3px; }
  .tryon-panel { min-height: 300px; }
  .how-heading-wrap { align-items: flex-start; text-align: left; }

  /* Why us */
  .why-inner { flex-direction: column; padding: 80px 32px 48px; gap: 28px; }
  .why-headline { white-space: normal; }
  .why-right { display: flex; flex: 0 0 auto; width: 100%; justify-content: center; }
  .stamp-frame { width: min(100%, 260px); }

  /* Footer */
  .footer-cta-block { padding-top: 80px; }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {

  /* Nav — solid full-width bar pinned to top */
  .side-nav {
    left: 0; top: 0; right: 0;
    transform: none;
    border-radius: 0;
    background: rgba(55, 39, 19, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
  }
  .side-nav ul { justify-content: space-between; gap: 0; }
  .side-nav .nav-link { font-size: 11px; letter-spacing: 0.08em; }
  .side-nav-light,
  .side-nav-dark { color: var(--beige); }

  /* Hero */
  .hero-inner { padding: 56px 20px 24px; }
  .hero-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-cta { font-size: 15px; padding: 7px 16px; }
  .hero-subline-center { font-size: 14px; }
  .hero-headline { font-size: clamp(36px, 10vw, 52px); }
  .hero-visual-subline { font-size: 15px; }
  .hero-image-mask { max-height: 260px; border-radius: 110px 110px 0 0; }

  /* About */
  .amora-strip { height: 48px; }
  .amora-strip-inner span { font-size: 20px; }
  .about-left { padding: 24px 20px 12px; gap: 16px; }
  .about-headline { font-size: clamp(26px, 7vw, 38px); line-height: 1.2; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .about-cell-text p { font-size: clamp(12px, 3vw, 18px); }

  /* How it works */
  .how-inner { padding: 56px 16px 24px; gap: 12px; }
  .tryon-headers { display: none; }
  .tryon-panel { min-height: 260px; }
  .panel-footer-row { padding: 8px 10px 10px; }
  .arrow-btn { width: 30px; height: 30px; font-size: 18px; }
  .confirm-btn { width: 38px; height: 30px; font-size: 16px; }
  .how-headline { font-size: clamp(20px, 6vw, 32px); }
  .how-subline { font-size: 13px; }

  /* Why us */
  .why-inner { padding: 56px 20px 36px; gap: 24px; }
  .why-headline { font-size: clamp(20px, 6vw, 32px); white-space: normal; margin-bottom: 20px; }
  .accordion-trigger { font-size: 14px; padding: 14px 16px; gap: 14px; }
  .accordion-item.open .accordion-body { padding: 12px 16px 14px 44px; }
  .accordion-body p { font-size: 12px; }
  .why-right { display: flex; flex: 0 0 auto; width: 100%; justify-content: center; }
  .stamp-frame { width: min(100%, 220px); }

  /* Footer */
  .footer-cta-block { padding-top: 52px; gap: 12px; }
  .footer-heading { font-size: clamp(26px, 8vw, 40px); }
  .footer-subline { font-size: 13px; }
  .footer-row { flex-direction: column; }   /* stack inputs one per row */
  .footer-input { border-right: none; border-bottom: 1px solid rgba(55,39,19,0.12); }
  .footer-row:last-child .footer-input:last-child { border-bottom: none; }
  .footer-btn { padding: 14px; font-size: 12px; }
  .footer-wordmark { font-size: clamp(80px, 22vw, 130px); bottom: -2%; }
}

/* ---- Extra small (< 400px) ---- */
@media (max-width: 400px) {
  .side-nav .nav-link { font-size: 10px; letter-spacing: 0.05em; }
  .hero-headline { font-size: 34px; }
  .about-grid { grid-template-columns: 1fr 1fr; }   /* 2-col if 3 is too tight */
  .about-cell-text p { font-size: 11px; }
  .tryon-panel { min-height: 220px; }
  .footer-heading { font-size: 26px; }
}
