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

:root {
  --salmon: #E8735A;
  --green:  #2D6A4F;
  --cream:  #FBF7EC;
  --dark:   #1C1C1A;
  --font-main:   'Raleway', sans-serif;
  --font-script: 'Caveat', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── HEADER ── */
.site-header {
  position: relative;
  width: 100%;
  min-height: 36vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
}

.header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Clip bg to header bounds even though header is overflow:visible */
  clip-path: inset(0);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(251, 247, 236, 0.18);
  z-index: 1;
  clip-path: inset(0);
}

/* Coming soon — top left, single animated phrase */
.coming-soon {
  position: absolute;
  top: 1.5rem;
  left: 2.5rem;
  z-index: 3;
  line-height: 1;
  white-space: nowrap;
}

#coming-text {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  display: inline;
}

.cursor {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── POSTCARD TRAY ── */
.postcard-tray {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 0 2.5rem 0;
  overflow: visible;
}

.postcard {
  flex-shrink: 0;
  width: 28%;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
  border: 3px solid #fff;
  overflow: hidden;
}

.postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 2;
}

/* Tossed naturally — bottoms flush to hero border */
.pc-1 {
  transform: rotate(-5deg) translateY(-14px);
  margin-right: -2.5%;
  z-index: 4;
}

.pc-2 {
  transform: rotate(3deg) translateY(0px);
  margin-right: -2%;
  z-index: 3;
}

/* Goleta sits UNDER Montecito */
.pc-3 {
  transform: rotate(-2deg) translateY(-8px);
  margin-right: -3.5%;
  z-index: 1;
}

/* Montecito overlaps Goleta */
.pc-4 {
  transform: rotate(6deg) translateY(22px);
  z-index: 2;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.42) 0%,
    rgba(0,0,0,0.20) 35%,
    rgba(0,0,0,0.20) 65%,
    rgba(0,0,0,0.50) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 0 1.5rem;
  /* Stretch content to fill vertical space */
  position: absolute;
  inset: 0;
}

/* Diet text — near top */
.hero-top {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  padding-top: 6vh;
}

/* Logo — centered, doubled in size */
.hero-logo {
  width: clamp(420px, 68vw, 900px);
  height: auto;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.55),
    0 3px 10px rgba(0,0,0,0.35),
    0 0 0 5px rgba(251,247,236,0.18);
  border-radius: 50%;
  margin: auto 0;
}

/* Slogan — same size as diet text, in quotation marks */
.hero-bottom {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  padding-bottom: 5vh;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--cream);
  padding: 1.75rem 1.5rem 3rem;
}

/* Outer wrapper: positions about button left, content center */
.footer-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1.5rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

/* Arcade button — bezel + raised dome, smooth gloss */
.btn-arcade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  position: relative;
  border: none;
  outline: none;

  background: radial-gradient(
    circle at 45% 38%,
    #f0856b 0%,
    #d4613f 40%,
    #a03020 80%,
    #7a2010 100%
  );
  box-shadow:
    0 8px 24px rgba(0,0,0,0.45),
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 6px rgba(0,0,0,0.4);

  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* Inset groove ring */
.btn-arcade::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    inset 0 3px 8px rgba(0,0,0,0.7),
    inset 0 -1px 3px rgba(0,0,0,0.4),
    0 1px 2px rgba(255,255,255,0.1);
  pointer-events: none;
  z-index: 1;
}

/* Raised dome */
.btn-arcade::before {
  content: '';
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 35%,
    #f5997e 0%,
    #E8735A 35%,
    #c85840 70%,
    #a84030 100%
  );
  box-shadow:
    0 4px 10px rgba(0,0,0,0.5),
    0 2px 4px rgba(0,0,0,0.3),
    inset 0 2px 5px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.25);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* Press — dome sinks */
.btn-arcade:active::before {
  transform: scale(0.97) translateY(2px);
  box-shadow:
    0 1px 4px rgba(0,0,0,0.5),
    inset 0 1px 3px rgba(255,255,255,0.15),
    inset 0 3px 6px rgba(0,0,0,0.35);
}

.btn-arcade:active {
  transform: translateY(2px);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.4),
    0 1px 4px rgba(0,0,0,0.25),
    inset 0 2px 4px rgba(255,255,255,0.15),
    inset 0 -2px 6px rgba(0,0,0,0.4);
}

/* ── PLAQUE ── */
.plaque-link {
  display: block;
  text-decoration: none;
  cursor: default;
}

.plaque {
  width: 210px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

/* Empty right column for grid balance */
.footer-spacer { display: block; }

.footer-headline {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.footer-body {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  color: var(--green);
  line-height: 1.75;
  max-width: 520px;
}

.footer-privacy {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  opacity: 0.65;
  letter-spacing: 0.03em;
}

/* Email form */
.email-form {
  display: flex;
  width: 100%;
  max-width: 440px;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(45,106,79,0.15);
}

.email-form input {
  flex: 1;
  padding: 0.9rem 1.4rem;
  border: 1.5px solid var(--green);
  border-right: none;
  border-radius: 100px 0 0 100px;
  background: #fff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  min-width: 0;
  transition: border-color 0.2s;
}

.email-form input:focus { border-color: var(--salmon); }
.email-form input::placeholder { color: #bbb; }

.email-form button {
  padding: 0.9rem 1.6rem;
  background: var(--salmon);
  color: #fff;
  border: none;
  border-radius: 0 100px 100px 0;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.email-form button:hover { background: #d45f46; }

.form-success {
  display: none;
  background: var(--green);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link svg { width: 17px; height: 17px; }

.social-link:hover {
  background: var(--salmon);
  color: #fff;
  border-color: var(--salmon);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--green);
  opacity: 0.45;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════
   MOBILE — 768px and below
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── HEADER ── */
  .site-header {
    min-height: 30vh;
    overflow: visible;
  }

  .coming-soon {
    top: 1rem;
    left: 1.25rem;
  }

  #coming-text {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  /* Postcards — smaller but still visible */
  .postcard-tray {
    padding: 0 0.5rem 0;
  }

  .postcard { width: 26%; }

  .pc-1 { transform: rotate(-5deg) translateY(-10px); margin-right: -2.5%; }
  .pc-2 { transform: rotate(3deg)  translateY(0px);   margin-right: -2%; }
  .pc-3 { transform: rotate(-2deg) translateY(-6px);  margin-right: -3.5%; }
  .pc-4 { transform: rotate(6deg)  translateY(16px); }

  /* ── HERO ── */
  .hero { min-height: 100svh; }

  .hero-content {
    padding: 0 1.25rem;
    justify-content: space-between;
  }

  .hero-top {
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    letter-spacing: 0.1em;
    padding-top: 5vh;
    white-space: normal;
    line-height: 1.8;
    text-align: center;
  }

  .hero-logo {
    width: clamp(290px, 90vw, 430px);
    margin: auto 0;
  }

  .hero-bottom {
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    letter-spacing: 0.1em;
    padding-bottom: 6vh;
  }

  /* ── FOOTER — matches desktop, just stacked ── */
  .site-footer {
    padding: 1.75rem 1.25rem 2.5rem;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
  }

  .footer-about {
    order: 1;
    justify-content: center;
  }

  .footer-inner { order: 2; }
  .footer-spacer { display: none; }

  .plaque { width: 160px; }

  .footer-headline { font-size: 1.15rem; line-height: 1.35; }

  .footer-body {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .footer-privacy { font-size: 0.75rem; }

  /* Email form — keep as pill on mobile */
  .email-form {
    width: 100%;
    max-width: 100%;
    border-radius: 100px;
    flex-direction: row;
  }

  .email-form input {
    border-radius: 100px 0 0 100px;
    border-right: none;
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }

  .email-form button {
    border-radius: 0 100px 100px 0;
    padding: 1rem 1.4rem;
    font-size: 0.9rem;
    min-height: 48px;
  }

  /* Social icons — larger tap targets */
  .social-link {
    width: 46px;
    height: 46px;
  }

  .social-link svg { width: 20px; height: 20px; }
}

/* ── VERY SMALL PHONES (375px and below) ── */
@media (max-width: 375px) {
  #coming-text { font-size: 1.1rem; }

  .postcard { width: 28%; }

  .hero-top  { font-size: 0.78rem; letter-spacing: 0.08em; }
  .hero-logo { width: 80vw; }
  .hero-bottom { font-size: 0.78rem; }

  .email-form {
    flex-direction: column;
    border-radius: 16px;
  }

  .email-form input {
    border-radius: 16px 16px 0 0;
    border-right: 1.5px solid var(--green);
    border-bottom: none;
  }

  .email-form button {
    border-radius: 0 0 16px 16px;
    text-align: center;
    min-height: 52px;
  }
}

/* MOBILE HERO ADJUSTMENT */
@media (max-width: 768px) {
  .hero {
    min-height: 75svh !important;
  }
  .hero-logo {
    width: clamp(500px, 130vw, 900px) !important;
  }
}


/* MOBILE HERO TEXT REFINEMENT — v6 */
@media (max-width: 768px) {
  .hero-top,
  .hero-bottom {
    font-size: clamp(1.15rem, 5.8vw, 1.55rem) !important;
    letter-spacing: 0.08em !important;
    line-height: 1.35 !important;
    max-width: calc(100vw - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero-top {
    padding-top: max(1.25rem, 4vh) !important;
  }

  .hero-bottom {
    padding-bottom: max(1.25rem, 4vh) !important;
  }
}

@media (max-width: 375px) {
  .hero-top,
  .hero-bottom {
    font-size: clamp(1rem, 5.2vw, 1.35rem) !important;
    max-width: calc(100vw - 1.5rem) !important;
  }
}


/* FORCE Gluten Free + Vegetarian on same line */
@media (max-width:768px){
  .hero-top{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    gap:0.5rem 1rem !important;
  }

  .hero-top span:nth-child(1),
  .hero-top span:nth-child(2){
    flex:0 0 auto !important;
  }

  .hero-top span:nth-child(3){
    flex-basis:100% !important;
  }
}


/* MOBILE HERO DIET TEXT — v9: force 2 + 2 layout with safe margins */
@media (max-width: 768px) {
  .hero-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    width: 100% !important;
    max-width: calc(100vw - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: clamp(0.82rem, 3.8vw, 1.12rem) !important;
    letter-spacing: 0.055em !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .hero-top .diet-pair {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.15rem !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  .hero-top {
    font-size: clamp(0.76rem, 3.55vw, 0.98rem) !important;
    letter-spacing: 0.035em !important;
    max-width: calc(100vw - 1.5rem) !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .hero-top .diet-pair {
    gap: 0.8rem !important;
  }
}

@media (max-width: 340px) {
  .hero-top {
    font-size: 0.72rem !important;
    letter-spacing: 0.02em !important;
  }

  .hero-top .diet-pair {
    gap: 0.55rem !important;
  }
}


/* MOBILE HEADER POSTCARD RECOMPOSITION — v10 */
@media (max-width: 768px) {
  .site-header {
    min-height: 30vh !important;
    overflow: hidden !important;
  }

  .postcard-tray {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    z-index: 2 !important;
    overflow: visible !important;
  }

  .postcard {
    position: absolute !important;
    width: 33.8% !important; /* approx 30% larger than prior 26% mobile width */
    max-width: 165px !important;
    min-width: 112px !important;
    border-width: 2px !important;
    border-radius: 5px !important;
  }

  /* Montecito — larger, top touching top of header */
  .pc-1 {
    top: 0 !important;
    left: 5% !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: rotate(-7deg) !important;
    z-index: 2 !important;
  }

  /* Isla Vista — larger, overlays Montecito, bottom on hero/header border */
  .pc-2 {
    bottom: 0 !important;
    left: 22% !important;
    top: auto !important;
    margin: 0 !important;
    transform: rotate(4deg) !important;
    z-index: 4 !important;
  }

  /* Goleta — larger, top touching top border, can overlay Isla Vista */
  .pc-3 {
    top: 0 !important;
    left: 43% !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: rotate(-4deg) !important;
    z-index: 5 !important;
  }

  /* Santa Barbara — larger, bottom corner resting on hero/header border, overlays Goleta */
  .pc-4 {
    bottom: 0 !important;
    right: 4% !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    transform: rotate(7deg) !important;
    z-index: 6 !important;
  }
}

@media (max-width: 390px) {
  .postcard {
    width: 35% !important;
    min-width: 104px !important;
  }

  .pc-1 { left: 2% !important; }
  .pc-2 { left: 18% !important; }
  .pc-3 { left: 40% !important; }
  .pc-4 { right: 1% !important; }
}

/* MOBILE HEADER SCALE UP — v11 */
@media (max-width:768px){
  .postcard{
    width: 40% !important; /* ~50% larger than original baseline */
    max-width: 200px !important;
  }

  .site-header{
    overflow:hidden !important;
  }

  .coming-soon{
    font-size: 1.5em !important;
  }
}


/* MOBILE HEADER POSTCARD ITERATION — v12 */
@media (max-width: 768px) {
  .site-header {
    overflow: hidden !important;
  }

  .postcard {
    width: 50% !important; /* larger mobile postcards */
    max-width: 240px !important;
    min-width: 140px !important;
  }

  .coming-soon {
    font-size: 2.25em !important; /* 50% larger than previous 1.5em */
    z-index: 10 !important;
  }

  /* Montecito — above Goleta */
  .pc-1 {
    top: 0 !important;
    left: 4% !important;
    bottom: auto !important;
    right: auto !important;
    transform: rotate(-7deg) !important;
    z-index: 7 !important;
  }

  /* Isla Vista — swapped into Goleta's prior top/middle position */
  .pc-2 {
    top: 0 !important;
    left: 43% !important;
    bottom: auto !important;
    right: auto !important;
    transform: rotate(-4deg) !important;
    z-index: 5 !important;
  }

  /* Goleta — swapped into Isla Vista's lower position, under Montecito */
  .pc-3 {
    bottom: 0 !important;
    left: 22% !important;
    top: auto !important;
    right: auto !important;
    transform: rotate(4deg) !important;
    z-index: 3 !important;
  }

  /* Santa Barbara — bottom/right, over Goleta */
  .pc-4 {
    bottom: 0 !important;
    right: 2% !important;
    left: auto !important;
    top: auto !important;
    transform: rotate(7deg) !important;
    z-index: 8 !important;
  }
}

@media (max-width: 390px) {
  .postcard {
    width: 48% !important;
    max-width: 210px !important;
    min-width: 125px !important;
  }

  .coming-soon {
    font-size: 1.9em !important;
    left: 0.75rem !important;
  }

  .pc-1 { left: 1% !important; }
  .pc-2 { left: 46% !important; }
  .pc-3 { left: 18% !important; }
  .pc-4 { right: 0% !important; }
}

/* MOBILE HEADER + HERO REFINEMENT — v13 */
@media (max-width:768px){

  /* Montecito: raise so 1/4 above header */
  .pc-1{
    top:-25% !important;
    left:4% !important;
    z-index:7 !important;
  }

  /* Goleta: move to left edge */
  .pc-3{
    left:0 !important;
    bottom:0 !important;
    z-index:3 !important;
  }

  /* Isla Vista: overlap Montecito but under Santa Barbara */
  .pc-2{
    top:5% !important;
    left:35% !important;
    z-index:6 !important;
  }

  /* Santa Barbara stays top layer */
  .pc-4{
    z-index:8 !important;
  }

  /* allow bottom cards to overlap hero slightly */
  .site-header{
    overflow:visible !important;
  }

  /* HERO TEXT — maximize size within 2 lines and margins */
  .hero-top{
    font-size: clamp(1.1rem, 6vw, 1.6rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0 auto !important;
    line-height:1.3 !important;
  }
}


/* DESKTOP HERO DIET TEXT RESTORE — v14 */
.hero-top {
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
  font-size: clamp(1.1rem, 2.8vw, 1.8rem) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--cream) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6) !important;
  padding-top: 6vh !important;
  white-space: normal !important;
  line-height: normal !important;
  text-align: center !important;
  display: block !important;
}

/* MOBILE HEADER REQUESTS — v14 */
@media (max-width: 768px) {
  .coming-soon,
  #coming-text {
    font-size: clamp(2.8rem, 13vw, 4.5rem) !important;
  }

  /* Move Isla Vista to the right edge of the header */
  .pc-2 {
    right: 0 !important;
    left: auto !important;
  }

  /* Re-apply mobile diet text after desktop restore */
  .hero-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    width: 100% !important;
    max-width: calc(100vw - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: max(1.25rem, 4vh) !important;
    font-size: clamp(1.1rem, 6vw, 1.6rem) !important;
    letter-spacing: 0.055em !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  .hero-top .diet-pair {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.15rem !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  .coming-soon,
  #coming-text {
    font-size: clamp(2.3rem, 12vw, 3.6rem) !important;
  }
}


/* ITERATION v15 */

/* Desktop diet text spacing polish */
@media (min-width: 769px) {
  .hero-top {
    word-spacing: 0.7rem !important;
  }
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  /* Coming Soon 30% smaller than v14 */
  .coming-soon,
  #coming-text {
    font-size: clamp(2rem, 9vw, 3.15rem) !important;
  }

  /* Santa Barbara: move slightly up and right, less into hero */
  .pc-4 {
    bottom: 0.75rem !important;
    right: -3% !important;
  }

  /* About footer block 30% larger */
  .footer-about {
    transform: scale(1.3) !important;
    transform-origin: center top !important;
    margin-bottom: 1.25rem !important;
  }
}

@media (max-width: 390px) {
  .coming-soon,
  #coming-text {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem) !important;
  }

  .pc-4 {
    bottom: 0.65rem !important;
    right: -4% !important;
  }
}


/* v16 FIXES */

/* MOBILE: Coming Soon smaller */
@media (max-width:768px){
  .coming-soon, #coming-text{
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
  }

  /* MOBILE: About plaque force larger */
  .footer-about, .about, .about-plaque{
    transform: scale(1.3) !important;
    transform-origin: center !important;
  }
}

/* DESKTOP: move Santa Barbara slightly up/right */
@media (min-width:769px){
  .pc-4{
    transform: translate(10px, -20px) rotate(7deg) !important;
  }
}


/* v17 MOBILE HERO TEXT FIX */
@media (max-width:768px){
  .hero-top{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:0.25rem !important;
    font-size: clamp(1.1rem, 5.5vw, 1.5rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin:0 auto !important;
    text-align:center !important;
  }

  .hero-top .line1,
  .hero-top .line2{
    white-space:nowrap !important;
  }

  /* HEADER CARD MICRO ADJUSTMENTS */
  .pc-1{ /* Montecito down slightly */
    top: -15% !important;
  }

  .pc-2{ /* Isla Vista up slightly */
    top: 0% !important;
  }
}


/* v18 MOBILE HERO TEXT FORCE 2 LINES */
@media (max-width:768px){
  .hero-top{
    white-space:normal !important;
    text-align:center !important;
  }

  .hero-top br{
    display:block !important;
  }
}

/* Montecito card text stronger */
.pc-1, .pc-1 *{
  color:#111 !important;
  font-weight:800 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
}


/* v19 tweak */

/* increase postcards 10% more */
@media (max-width:768px){
  .postcard{
    transform: scale(1.1) !important;
    transform-origin: center !important;
  }
}

/* make Montecito text darker */
.pc-1, .pc-1 *{
  color:#000 !important;
  font-weight:900 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6) !important;
}


/* MOBILE STABILITY FIX — v20
   Stabilizes iPhone mobile layout:
   - prevents horizontal dragging
   - locks header and hero dimensions
   - prevents svh/browser-bar scroll resizing jump
   - keeps postcard positions fixed within the header
*/
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overscroll-behavior-x: none !important;
}

body {
  position: relative !important;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    touch-action: pan-y !important;
  }

  body > * {
    max-width: 100vw !important;
  }

  .site-header {
    height: 245px !important;
    min-height: 245px !important;
    max-height: 245px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
  }

  .header-bg {
    width: 100% !important;
    height: 245px !important;
    min-height: 245px !important;
    max-height: 245px !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  .header-overlay {
    height: 245px !important;
    max-height: 245px !important;
  }

  .postcard-tray {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 245px !important;
    max-height: 245px !important;
    overflow: hidden !important;
    transform: none !important;
    padding: 0 !important;
  }

  .postcard {
    width: 50% !important;
    max-width: none !important;
    transform-origin: center center !important;
    will-change: auto !important;
  }

  .pc-1 {
    top: -18px !important;
    left: 4% !important;
    bottom: auto !important;
    right: auto !important;
    transform: rotate(-7deg) scale(1.1) !important;
    z-index: 7 !important;
  }

  .pc-2 {
    top: 18px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    transform: rotate(-4deg) scale(1.1) !important;
    z-index: 6 !important;
  }

  .pc-3 {
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    right: auto !important;
    transform: rotate(4deg) scale(1.1) !important;
    z-index: 3 !important;
  }

  .pc-4 {
    right: -3% !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto !important;
    transform: rotate(7deg) scale(1.1) !important;
    z-index: 8 !important;
  }

  .hero {
    height: 620px !important;
    min-height: 620px !important;
    max-height: 620px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .hero-bg {
    width: 100% !important;
    height: 620px !important;
    min-height: 620px !important;
    max-height: 620px !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  .hero-content {
    height: 620px !important;
    min-height: 620px !important;
    max-height: 620px !important;
    inset: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 390px) {
  .site-header,
  .header-bg,
  .header-overlay,
  .postcard-tray {
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
  }

  .hero,
  .hero-bg,
  .hero-content {
    height: 590px !important;
    min-height: 590px !important;
    max-height: 590px !important;
  }
}


/* v23 MOBILE FOOTER FIX */
@media (max-width:768px){

  .footer{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:1.2rem !important;
  }

  /* AI-powered text */
  .footer-text,
  .footer p{
    order:1 !important;
    text-align:center !important;
    max-width:85% !important;
    margin:0 auto !important;
  }

  /* About plaque */
  .footer-about,
  .about-plaque{
    order:2 !important;
    margin-top:0.5rem !important;
  }
}


/* v24 MOBILE FOOTER CORRECTED ORDER
   Force AI-powered headline above About plaque/button on mobile only.
*/
@media (max-width: 768px) {
  .footer-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.25rem !important;
  }

  .footer-inner {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .footer-headline,
  .mobile-footer-priority {
    order: -10 !important;
    text-align: center !important;
    max-width: 90% !important;
    margin: 0 auto 0.75rem !important;
  }

  .footer-about {
    order: 2 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  .footer-spacer {
    display: none !important;
  }
}


/* v25 FINAL MOBILE FOOTER STRUCTURE */
@media (max-width:768px){

  footer,
  .footer-layout,
  .footer-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
  }

  /* AI-powered (top) */
  .footer-headline{
    order:1 !important;
    text-align:center !important;
    margin-bottom:0.75rem !important;
  }

  /* About plaque + button (middle) */
  .footer-about,
  .about-plaque{
    order:2 !important;
    margin:0.75rem auto !important;
  }

  footer a{
    order:2 !important;
    margin-bottom:0.75rem !important;
  }

  /* For Updates (bottom) */
  .footer-updates,
  .updates,
  footer p:last-of-type{
    order:3 !important;
    text-align:center !important;
    margin-top:0.75rem !important;
  }

}


/* v26 DIRECT FOOTER REORDER
   Markup has been reordered directly:
   AI-powered headline -> About plaque/button -> For Updates body.
*/

/* Desktop: keep the footer centered and clean after markup reorder */
.footer-layout-direct {
  max-width: 960px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.footer-inner-direct {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 1.25rem !important;
  width: 100% !important;
}

/* Mobile: force exact visual order and spacing */
@media (max-width: 768px) {
  .footer-layout-direct,
  .footer-inner-direct {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .footer-inner-direct .footer-headline {
    order: 1 !important;
    text-align: center !important;
    margin: 0 auto 0.75rem !important;
    max-width: 92% !important;
  }

  .footer-inner-direct .footer-about {
    order: 2 !important;
    margin: 0.5rem auto 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-inner-direct .footer-body {
    order: 3 !important;
    text-align: center !important;
    margin: 0.75rem auto 0.5rem !important;
    max-width: 92% !important;
  }

  .footer-inner-direct .footer-privacy { order: 4 !important; }
  .footer-inner-direct .email-form { order: 5 !important; }
  .footer-inner-direct .form-success { order: 6 !important; }
  .footer-inner-direct .social-links { order: 7 !important; }
  .footer-inner-direct .footer-copy { order: 8 !important; }
}


/* v27 MOBILE CARD POSITION TWEAKS */
@media (max-width:768px){

  /* Montecito up ~25% */
  .pc-1{
    transform: translateY(-25%) rotate(-7deg) scale(1.1) !important;
  }

  /* Isla Vista slightly up */
  .pc-2{
    transform: translateY(-10%) rotate(-4deg) scale(1.1) !important;
  }

  /* Santa Barbara slightly down */
  .pc-4{
    transform: translateY(10%) rotate(7deg) scale(1.1) !important;
  }

}


/* MailerLite embedded form integration — keeps Yumposi footer styling */
.mailerlite-form-wrap {
  order: 5 !important;
  width: 100%;
  display: flex;
  justify-content: center;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-align-center,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedWrapper,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedBody,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-formContent,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer form {
  width: 100% !important;
  max-width: 440px !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedContent {
  display: none !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-formContent {
  margin: 0 !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-fieldRow {
  margin: 0 !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-block-form {
  display: flex !important;
  width: 100% !important;
  max-width: 440px !important;
  border-radius: 100px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(45,106,79,0.15) !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-formContent {
  flex: 1 1 auto !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-field-group,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-fieldRow,
.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-last-item {
  height: 100% !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer input[type="email"] {
  flex: 1 !important;
  padding: 0.9rem 1.4rem !important;
  border: 1.5px solid var(--green) !important;
  border-right: none !important;
  border-radius: 100px 0 0 100px !important;
  background: #fff !important;
  font-family: var(--font-main) !important;
  font-size: 0.9rem !important;
  color: var(--dark) !important;
  outline: none !important;
  min-width: 0 !important;
  height: 100% !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedSubmit {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedSubmit button.primary {
  padding: 0.9rem 1.6rem !important;
  background: var(--salmon) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 100px 100px 0 !important;
  font-family: var(--font-main) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  min-height: 100% !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedSubmit button.primary:hover {
  background: #d45f46 !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-successBody {
  background: var(--green) !important;
  color: #fff !important;
  padding: 0.75rem 2rem !important;
  border-radius: 100px !important;
  max-width: 440px !important;
  margin: 0 auto !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-successContent h4 {
  display: none !important;
}

.mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-successContent p {
  color: #fff !important;
  text-align: center !important;
  font-family: var(--font-main) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

@media (max-width: 640px) {
  .mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-block-form {
    flex-direction: column !important;
    border-radius: 24px !important;
    overflow: visible !important;
    box-shadow: none !important;
    gap: 0.7rem !important;
  }

  .mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer input[type="email"] {
    border: 1.5px solid var(--green) !important;
    border-radius: 100px !important;
    text-align: center !important;
  }

  .mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedSubmit,
  .mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer .ml-form-embedSubmit button.primary {
    width: 100% !important;
    border-radius: 100px !important;
  }
}






/* LOCKED FOOTER ORDER: text -> privacy -> form -> socials -> copyright */
.site-footer,
.site-footer .footer-layout,
.site-footer .footer-inner,
.site-footer .footer-inner-direct {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.site-footer .footer-headline { order: 1 !important; }
.site-footer .footer-about { order: 2 !important; }
.site-footer .footer-body { order: 3 !important; }
.site-footer .footer-privacy { order: 4 !important; }

.site-footer .mailerlite-form-wrap {
  order: 5 !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 16px auto 18px !important;
  display: block !important;
  position: static !important;
}

.site-footer .social-links {
  order: 6 !important;
  margin-top: 4px !important;
}

.site-footer .footer-copy,
.site-footer .footer-copyright,
.site-footer .copyright,
.site-footer p:has(> span) {
  order: 7 !important;
}

/* MailerLite footer form cleanup */
.site-footer .mailerlite-form-wrap #mlb2-40812056.ml-form-embedContainer {
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedWrapper,
.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedWrapper.embedForm {
  width: 100% !important;
  max-width: 420px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedBody {
  padding: 0 !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedContent {
  display: none !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 input[type="email"] {
  background-color: rgba(255,255,255,0.92) !important;
  color: #111111 !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  border-radius: 999px !important;
  text-align: center !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedSubmit {
  margin: 10px 0 0 0 !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedSubmit button.primary,
.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedSubmit button[type="submit"] {
  background-color: #2d6a4f !important;
  border-color: #2d6a4f !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedSubmit button.primary:hover,
.site-footer .mailerlite-form-wrap #mlb2-40812056 .ml-form-embedSubmit button[type="submit"]:hover {
  background-color: #245741 !important;
  border-color: #245741 !important;
}



/* Direct MailerLite form - locked footer placement */
.site-footer .mailerlite-form-wrap {
  order: 5 !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 16px auto 18px !important;
  display: block !important;
  position: static !important;
}

.yumposi-mailerlite-direct-form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yumposi-mailerlite-direct-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.92);
  color: #111111;
  text-align: center;
  font: inherit;
  box-sizing: border-box;
}

.yumposi-mailerlite-direct-form button {
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #2d6a4f;
  background: #2d6a4f;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.yumposi-mailerlite-direct-form button:hover {
  background: #245741;
  border-color: #245741;
}

.yumposi-mailerlite-success {
  display: none;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  text-align: center;
}



/* Confirmation state after MailerLite submit */
.yumposi-mailerlite-direct-form button.is-submitted,
.yumposi-mailerlite-direct-form button:disabled {
  background: #2d6a4f !important;
  border-color: #2d6a4f !important;
  color: #ffffff !important;
  opacity: 0.9 !important;
  cursor: default !important;
}

.yumposi-mailerlite-success {
  display: none;
  margin: 10px auto 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
  max-width: 420px;
}
