/* =========================================================
   Wave House North Devon — styles
   Colours: plaster #F2ECE3, card #FBF8F3, navy #14323C,
   ink #1B1916, muted #5E574E, rust #B4481A, peach #F2A07A
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face {
  font-family: 'Caveat Brush';
  src: url('../fonts/caveat-brush.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-italic.woff2') format('woff2');
  font-weight: 100 1000; font-style: italic; font-display: swap;
}

:root {
  --plaster: #F2ECE3;
  --card: #FBF8F3;
  --line: #DDD4C6;
  --line-dark: #CFC5B5;
  --ink: #1B1916;
  --muted: #5E574E;
  --navy: #14323C;
  --navy-line: #2D4C55;
  --navy-soft: #C5D3D0;
  --navy-pale: #D9E6E2;
  --accent: #B4481A;
  --peach: #F2A07A;
  --white: #FFFFFF;

  --font-display: 'Caveat Brush', 'Comic Sans MS', cursive;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 152px);
  --radius: clamp(16px, 2vw, 22px);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }
a:hover { color: #3A352F; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--plaster);
  padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--plaster); }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}
.h-xxl { font-size: clamp(52px, 8vw, 128px); line-height: 0.95; }
.h-xl  { font-size: clamp(46px, 7vw, 104px); }
.h-lg  { font-size: clamp(44px, 5.6vw, 88px); }
.h-md  { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}
.eyebrow-light  { color: var(--navy-pale); }
.eyebrow-accent { color: var(--accent); }
.eyebrow-peach  { color: var(--peach); }
.eyebrow-center { text-align: center; color: var(--accent); }

.lead {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--plaster); }
.btn-navy:hover { background: #0E262E; color: var(--plaster); }
.btn-light { background: var(--plaster); color: var(--navy); }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-outline-light { border-color: var(--plaster); color: var(--plaster); background: transparent; }
.btn-outline-light:hover { background: rgba(242,236,227,0.1); color: var(--plaster); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; font-weight: 700;
}
.link-light, .link-light:hover { color: var(--plaster); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242,236,227,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.brand {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; flex-shrink: 0;
}
.brand img { height: 26px; width: auto; }
.brand span {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.nav-links a {
  font-size: 15px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--navy);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(820px, calc(100svh - var(--header-h)));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: relative;
  background: linear-gradient(to top, rgba(20,50,60,0.94), rgba(20,50,60,0.5) 55%, rgba(20,50,60,0));
  color: var(--plaster);
}
.hero-inner { padding-top: clamp(160px, 22vw, 260px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-title {
  font-size: clamp(50px, 8vw, 124px);
  max-width: 1100px;
  margin-top: 12px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 28px; margin-top: 28px;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--navy);
  color: var(--plaster);
  padding: 18px 0;
  border-top: 1px solid var(--navy-line);
}
.marquee-track {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  animation: marquee 70s linear infinite;
}
.marquee-track i {
  display: block; width: 30px; height: 12px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none'%3E%3Cpath d='M2 8c3 0 4-5 8-5s4 5 8 5 4-5 8-5' stroke='%23F2A07A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro {
  padding-top: clamp(80px, 10vw, 136px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.intro-wave { color: var(--accent); }

/* ---------- A day: polaroids ---------- */
.day { padding-top: 48px; }
.day .eyebrow { margin-bottom: 32px; }
.polaroids {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
  align-items: start;
}
.polaroid {
  margin: 0;
  background: var(--white);
  padding: 14px 14px 22px;
  box-shadow: 0 14px 34px rgba(27,25,22,0.16);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s ease;
}
.polaroid:nth-child(1) { transform: rotate(-2.5deg); }
.polaroid:nth-child(2) { transform: rotate(1.8deg);  margin-top: 56px; }
.polaroid:nth-child(3) { transform: rotate(-1.2deg); margin-top: 16px; }
.polaroid:nth-child(4) { transform: rotate(2.4deg);  margin-top: 72px; }
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { display: flex; flex-direction: column; gap: 4px; padding: 0 6px; }
.polaroid-when  { font-family: var(--font-display); font-size: 22px; color: var(--accent); }
.polaroid-title { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.polaroid-text  { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 4px; }

/* ---------- The space ---------- */
.space {
  position: relative;
  margin-top: clamp(100px, 12vw, 160px);
  min-height: 780px;
  display: flex; align-items: center;
}
.space-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.space-inner {
  position: relative;
  display: flex; justify-content: flex-end;
  padding-top: 80px; padding-bottom: 80px;
}
.space-card {
  flex: 0 1 520px;
  background: var(--navy);
  color: var(--plaster);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.body-light { font-size: 18px; line-height: 1.65; color: var(--navy-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--navy-line); border-radius: 999px;
  font-size: 15px;
}

/* ---------- Pull band ---------- */
.band {
  position: relative; z-index: 3;
  background: var(--accent);
  color: var(--white);
  transform: rotate(-1.5deg);
  margin: -28px -40px 0;
  padding: 28px 40px;
  text-align: center;
}
.band p { font-size: clamp(34px, 5vw, 72px); line-height: 1; }

/* ---------- What's on ---------- */
.whats-on {
  padding-top: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.poster {
  transform: rotate(-1deg);
  background: var(--card);
  border: 3px solid var(--navy);
  box-shadow: 10px 10px 0 var(--navy);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.poster-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.poster-top img { height: 22px; width: auto; }
.poster-title { font-size: clamp(64px, 8vw, 120px); line-height: 0.9; color: var(--navy); }
.poster-date {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  padding: 14px 0;
}
.poster-date .display { font-size: clamp(48px, 5vw, 64px); line-height: 1; color: var(--accent); }
.poster-date span:last-child { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.poster-text { font-size: 17px; line-height: 1.55; color: #3A352F; }
.poster-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 6px;
}
.poster-foot p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 300px; }

.events h2 { margin-bottom: 28px; }
.event-list { border-top: 1px solid var(--line-dark); }
.event-list li {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}
.event-when { flex: 0 0 120px; font-family: var(--font-display); font-size: 26px; color: var(--accent); }
.event-list div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; }
.event-list h3 { font-size: 20px; font-weight: 700; }
.event-list p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.insta-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; margin-top: 24px;
  font-weight: 700; text-decoration: none;
}
.insta-link svg { flex-shrink: 0; }

/* ---------- Section heads ---------- */
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px;
}
.section-head > p { max-width: 400px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.section-head-shop > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head-shop > div > p:last-child { font-size: 18px; line-height: 1.6; color: var(--muted); }
.section-head-row { align-items: center; margin-bottom: 24px; }

/* ---------- While you're here ---------- */
.roof { padding-top: var(--section); }
.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}
.door {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  color: var(--plaster);
  background: #2A3D43;
}
.door:hover { color: var(--plaster); }
.door-tall { height: 620px; }
.door img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.door:hover img { transform: scale(1.03); }
.door-text {
  position: relative;
  background: linear-gradient(to top, rgba(20,50,60,0.95), rgba(20,50,60,0));
  padding: 120px 28px 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.door-text h3 { font-size: 46px; line-height: 1; }
.door-text p { font-size: 16px; line-height: 1.5; color: var(--navy-pale); }
.door-cta { margin-top: 8px; font-weight: 700; font-size: 15px; }
.photo-needed { position: absolute; top: 20px; left: 20px; font-size: 12px; color: var(--navy-soft); }

/* ---------- Board wall ---------- */
.boardwall {
  position: relative;
  margin-top: clamp(100px, 12vw, 160px);
  min-height: 720px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
}
.boardwall-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.boardwall::after { content: ""; position: absolute; inset: 0; background: rgba(20,50,60,0.55); }
.boardwall-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  padding: 80px var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.boardwall-inner > p:not(.eyebrow) { font-size: 19px; line-height: 1.6; color: #E7EEEC; max-width: 620px; }
.boardwall .btn { margin-top: 8px; }

/* ---------- Shop ---------- */
.shop { padding-top: var(--section); }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.shop-tile {
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.shop-tile img, .shop-tile .ph {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px;
  transition: transform 0.3s ease;
}
.shop-tile:hover img { transform: translateY(-3px); }
.shop-tile-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px;
}
.shop-tile-head h3 { font-size: 36px; line-height: 1; }
.shop-tile-head > span { font-size: 15px; font-weight: 700; white-space: nowrap; }
.shop-tile > p { font-size: 15px; line-height: 1.5; color: var(--muted); padding: 0 4px; }

/* ---------- Placeholders ---------- */
.ph {
  position: relative; overflow: hidden;
  background-color: #E3DBCF;
  background-image: repeating-linear-gradient(135deg, rgba(27,25,22,0.06) 0 12px, transparent 12px 24px);
}
.ph span {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  font-size: 12px; line-height: 1.35; color: var(--muted);
}

/* ---------- Find us ---------- */
.visit {
  padding-top: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}
.visit-card {
  background: var(--navy);
  color: var(--plaster);
  border-radius: var(--radius);
  padding: clamp(32px, 4.5vw, 56px);
  display: flex; flex-direction: column; gap: 28px;
}
.visit-lead { font-size: 19px; line-height: 1.55; max-width: 460px; color: var(--navy-pale); }
.visit-info {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  font-size: 16px; line-height: 1.6;
}
.visit-info dt {
  margin-bottom: 6px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: #A9C7C1;
}
.visit-info dd { margin: 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  background: #E3DBCF;
}
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }

/* ---------- Instagram mosaic ---------- */
.insta { padding-top: clamp(88px, 10vw, 136px); }
.insta-handle { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
}
.mosaic > * { border-radius: 16px; }
.mosaic-big { grid-column: span 2; grid-row: span 2; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(88px, 10vw, 128px);
  background: var(--navy);
  color: var(--navy-pale);
  padding: clamp(56px, 7vw, 80px) 0 calc(44px + env(safe-area-inset-bottom));
}
.site-footer a { color: var(--navy-pale); }
.site-footer a:hover { color: var(--white); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  padding-bottom: clamp(40px, 6vw, 64px);
  margin-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--navy-line);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 44px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 16px; line-height: 1.6; color: var(--navy-soft); max-width: 360px; }

.subscribe { display: flex; flex-direction: column; gap: 12px; }
.subscribe-title { font-size: 40px; line-height: 1; color: var(--plaster); }
.subscribe-text { font-size: 15px; line-height: 1.55; color: var(--navy-soft); }
.subscribe label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--plaster); margin-top: 4px; }
.subscribe-row { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe input {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid #4E6E77;
  background: #1B3F4A;
  color: var(--plaster);
  font-family: var(--font-body);
  font-size: 16px; /* 16px stops iOS zooming in */
}
.subscribe input::placeholder { color: #9FB6B2; }
.subscribe input:focus { border-color: var(--plaster); outline: none; }
.subscribe-msg { min-height: 1.4em; font-size: 15px; color: var(--peach); }

.footer-sign {
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.9;
  color: var(--navy-line);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--navy-line);
  font-size: 14px;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; }

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

/* Large tablets and small laptops: collapse the menu */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--plaster);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20,50,60,0.12);
    flex-direction: column; align-items: stretch;
    gap: 8px;
    padding: 8px var(--gutter) 24px;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { width: 100%; min-height: 56px; font-size: 18px; }
  .nav-cta { margin-top: 12px; min-height: 52px; font-size: 16px; }
}

/* Tablets */
@media (max-width: 1100px) {
  .polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; max-width: 760px; margin: 0 auto; }
  .polaroid:nth-child(2) { margin-top: 40px; }
  .polaroid:nth-child(3) { margin-top: 0; }
  .polaroid:nth-child(4) { margin-top: 40px; }

  .whats-on { grid-template-columns: 1fr; gap: 72px; }
  .poster { max-width: 640px; }

  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }

  .visit { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 380px; }

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

@media (max-width: 900px) {
  /* The space: photo on top, card overlapping below */
  .space { display: block; min-height: 0; }
  .space-img { position: relative; height: 420px; }
  .space-inner { padding-top: 0; padding-bottom: 0; margin-top: -96px; justify-content: center; }
  .space-card { flex-basis: 100%; }

  .band { margin-top: 56px; }

  .doors { grid-template-columns: 1fr; }
  .door, .door-tall { height: 440px; }

  .boardwall { min-height: 600px; }
}

/* Phones */
@media (max-width: 600px) {
  :root { --header-h: 68px; }

  .brand img { height: 22px; }
  .brand span { font-size: 9px; letter-spacing: 0.18em; }
  .nav-toggle { width: 44px; height: 44px; }

  .hero { min-height: calc(100svh - var(--header-h)); max-height: 760px; }
  .hero-inner { padding-top: 140px; }
  .hero-actions .btn { width: 100%; }

  .marquee { padding: 14px 0; }
  .marquee-track { gap: 28px; }

  .intro { gap: 18px; }

  /* Polaroids become a swipeable row */
  .day { padding-left: 0; padding-right: 0; }
  .polaroids {
    display: flex;
    gap: 22px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 18px var(--gutter) 34px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .polaroids::-webkit-scrollbar { display: none; }
  .polaroid {
    flex: 0 0 78%;
    scroll-snap-align: center;
    margin-top: 0 !important;
  }
  .polaroid:nth-child(odd)  { transform: rotate(-1.5deg); }
  .polaroid:nth-child(even) { transform: rotate(1.5deg); }
  .polaroid-title { font-size: 30px; }

  .space-img { height: 320px; }
  .space-inner { margin-top: -64px; }
  .body-light { font-size: 17px; }

  .band { margin: 40px -24px 0; padding: 22px 24px; transform: rotate(-2deg); }

  .poster { transform: rotate(-0.6deg); box-shadow: 6px 6px 0 var(--navy); }
  .poster-foot .btn { width: 100%; }
  .event-when { flex-basis: 100%; }

  .section-head { margin-bottom: 28px; }
  .section-head-shop .btn { width: 100%; }

  .door, .door-tall { height: 380px; }
  .door-text { padding: 90px 22px 22px; }
  .door-text h3 { font-size: 40px; }

  .boardwall { min-height: 560px; }
  .boardwall-inner > p:not(.eyebrow) { font-size: 17px; }

  .shop-grid { gap: 22px 12px; }
  .shop-tile img, .shop-tile .ph { border-radius: 14px; }
  .shop-tile-head { flex-direction: column; gap: 2px; }
  .shop-tile-head h3 { font-size: 30px; }
  .shop-tile > p { font-size: 14px; }

  .visit-info { grid-template-columns: 1fr; gap: 20px; }
  .visit-actions .btn { flex: 1 1 100%; }
  .map, .map iframe { min-height: 300px; }

  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .mosaic-big { grid-column: span 2; grid-row: span 2; }

  .subscribe-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

/* Very small phones */
@media (max-width: 359px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-tile-head { flex-direction: row; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .polaroid, .door img, .shop-tile img, .btn { transition: none; }
}
