/* ==========================================================================
   Swedish Tarts — folk-art editorial
   Palette: cream paper, Falun red, Dala blue, ochre, forest, lingonberry.
   ========================================================================== */

:root {
  --cream: #f8f0e3;
  --paper: #fffbf4;
  --ink: #23201c;
  --muted: #6b6258;
  --falun: #a63a2b;
  --falun-dark: #7e2a20;
  --blue: #234a6b;
  --blue-dark: #17344d;
  --ochre: #d9a441;
  --forest: #3e5a44;
  --lingon: #7c2f3e;
  --birch: #e8dcc8;
  --line: rgba(35, 32, 28, 0.14);
  --shadow: 0 18px 44px rgba(35, 32, 28, 0.09);
  --serif: "Fraunces", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 78px;
  --radius: 3px;
  --tulips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 28'%3E%3Cpath d='M14 3C20 9 20 17 14 23C8 17 8 9 14 3ZM14 23C7 21 3 14 4 7C9 10 13 16 14 23ZM14 23C21 21 25 14 24 7C19 10 15 16 14 23Z'/%3E%3Cpath d='M28 14C31 9 36 9 39 14C36 19 31 19 28 14Z'/%3E%3Ccircle cx='48' cy='14' r='3'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

section[id],
article[id],
span[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--falun);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: inherit;
}

h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 820px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section--tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

.paper {
  background: var(--paper);
}

.dark {
  background: var(--blue-dark);
  color: var(--cream);
}

.dark h2,
.dark h3 {
  color: var(--cream);
}

.dark a {
  color: var(--ochre);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--falun);
}

.dark .eyebrow {
  color: var(--ochre);
}

.lede {
  max-width: 62ch;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
}

.dark .lede {
  color: rgba(248, 240, 227, 0.78);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  display: block;
  width: min(420px, 78%);
  margin: 0 auto;
  opacity: 0.9;
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  padding: 0.9rem 1.2rem;
  background: var(--blue-dark);
  color: var(--cream);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--falun);
  color: #fff;
}

.btn--primary:hover {
  background: var(--falun-dark);
  color: #fff;
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn--ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--blue);
  color: #fff;
}

.btn--light {
  background: var(--cream);
  color: var(--blue-dark);
}

.btn--light:hover {
  background: #fff;
  color: var(--blue-dark);
}

.btn--ghost-light {
  border-color: rgba(248, 240, 227, 0.5);
  color: var(--cream);
  background: transparent;
}

.btn--ghost-light:hover {
  background: var(--cream);
  color: var(--blue-dark);
}

.btn--small {
  padding: 0.65rem 0.9rem;
  font-size: 0.68rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 240, 227, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 240, 227, 0.99);
  box-shadow: 0 12px 32px rgba(35, 32, 28, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: block;
  height: 52px;
  width: auto;
  flex: none;
}

.brand-mark img {
  display: block;
  height: 100%;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-sub {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav > a:not(.btn),
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: var(--header-h);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--falun);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.caret {
  margin-left: 0.35rem;
  font-size: 0.7em;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 220px;
  padding: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.nav-dropdown a:hover {
  background: var(--cream);
}

.nav-cta {
  min-height: 0;
  margin-left: 0.2rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(54px, 8vw, 100px);
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 164, 65, 0.12), transparent 38%),
    radial-gradient(circle at 8% 82%, rgba(35, 74, 107, 0.08), transparent 40%);
}

.hero--image {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 72vh, 720px);
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 240, 227, 0.98) 0%,
    rgba(248, 240, 227, 0.94) 30%,
    rgba(248, 240, 227, 0.55) 56%,
    rgba(248, 240, 227, 0.02) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero--image .hero-copy {
  max-width: 620px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 0.35em;
}

.hero h1 em {
  font-style: italic;
  color: var(--falun);
}

.hero-copy .lede {
  max-width: 48ch;
}

.hero-actions {
  margin-top: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-top: 2rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ochre);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-art .wreath {
  position: absolute;
  z-index: 0;
  width: min(540px, 100%);
  opacity: 0.55;
  animation: slow-spin 80s linear infinite;
}

.hero-art .cup {
  position: relative;
  z-index: 1;
  width: min(430px, 84%);
  filter: drop-shadow(0 24px 32px rgba(35, 32, 28, 0.18));
}

.hero-stamp {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  padding: 0.8rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  transform: rotate(-3deg);
}

/* Editorial hero (home) ---------------------------------------------------- */

.hero--editorial {
  padding: clamp(2.5rem, 4.5vw, 4.25rem) 0 clamp(3rem, 5.5vw, 5rem);
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 164, 65, 0.16), transparent 44%),
    radial-gradient(circle at 2% 96%, rgba(35, 74, 107, 0.07), transparent 44%),
    var(--cream);
}

.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero--editorial .hero-copy {
  max-width: 33rem;
}

.hero--editorial h1 {
  font-size: clamp(2.75rem, 5.1vw, 5rem);
}

.hero-collage {
  position: relative;
  justify-self: end;
  width: min(100%, 30rem);
  padding: 0 0 2.75rem 3.5rem;
}

.hero-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 8px solid var(--paper);
  border-radius: 999px 999px 6px 6px;
  box-shadow: var(--shadow);
}

.hero-frame picture,
.hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-frame img {
  object-fit: cover;
  object-position: 50% 44%;
}

.hero-inset {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 1.6rem;
  width: 34%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 7px solid var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero-inset picture,
.hero-inset img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-inset img {
  object-fit: cover;
}

.hero--editorial .hero-stamp {
  top: 17%;
  right: -1.75rem;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.05rem;
  background: var(--falun);
  color: var(--cream);
  border: 0;
  box-shadow: 0 16px 34px rgba(35, 32, 28, 0.24);
}

.hero--editorial .hero-stamp::before {
  content: "✳";
  font-style: normal;
  font-size: 0.74em;
  line-height: 1;
  color: var(--ochre);
}

@media (max-width: 1120px) {
  .hero--editorial .hero-stamp {
    right: -0.5rem;
  }
}

.hero-labels {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Painted tulip band ------------------------------------------------------ */

.band {
  --band-a: var(--ochre);
  --band-b: var(--bone);
  position: relative;
  height: 38px;
}

.band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  background: var(--band-a);
  -webkit-mask: var(--tulips) repeat-x 0 50% / 56px 28px;
  mask: var(--tulips) repeat-x 0 50% / 56px 28px;
}

.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: radial-gradient(circle, var(--band-b) 2px, transparent 2.6px) 0 50% / 14px 6px repeat-x;
}

.band--blue {
  background: var(--blue-dark);
  --band-a: var(--ochre);
  --band-b: var(--cream);
}

.band--red {
  background: var(--falun);
  --band-a: var(--ochre);
  --band-b: var(--cream);
}

.band--green {
  background: var(--forest);
  --band-a: var(--ochre);
  --band-b: var(--cream);
}

.band--cream {
  background: var(--cream);
  --band-a: var(--red);
  --band-b: var(--blue);
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Fika strip -------------------------------------------------------------- */

.fika {
  background: var(--blue-dark);
  color: var(--cream);
  padding: 1rem 0;
}

.fika-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.9rem;
  row-gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.fika-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.fika-track span::after {
  content: "✳";
  font-size: 0.72em;
  line-height: 1;
  color: var(--ochre);
}

.fika-track span:last-child::after {
  content: none;
}

/* Intro / story teaser ---------------------------------------------------- */

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-figure {
  position: relative;
  padding: 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-figure picture {
  display: block;
}

.intro-figure img {
  width: 100%;
  height: auto;
}

.intro-figure figcaption {
  padding: 0.7rem 0.2rem 0.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--falun);
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Section headings -------------------------------------------------------- */

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
}

/* Location cards ---------------------------------------------------------- */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--falun));
}

.accent-blue {
  --card-accent: var(--blue);
}

.accent-red {
  --card-accent: var(--falun);
}

.accent-green {
  --card-accent: var(--forest);
}

.location-card {
  transition:
    transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1),
    box-shadow 0.4s ease;
}

.location-card:hover,
.location-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(35, 32, 28, 0.13);
}

.card-tagline {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--card-accent, var(--falun));
}

.card-photo {
  position: relative;
  margin: -1.7rem -1.7rem 1.1rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--birch);
}

.card-photo picture,
.card-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.card-photo img {
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.location-card:hover .card-photo img,
.location-card:focus-within .card-photo img {
  transform: scale(1.05);
}

.card-label {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  background: var(--card-accent, var(--falun));
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.2rem 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-accent, var(--falun));
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.card-link:hover svg {
  transform: translateX(4px);
}

.location-card .medallion {
  position: relative;
  z-index: 2;
  margin: -2.6rem 0 0.9rem 0.6rem;
  padding: 4px;
  background: var(--paper);
  border-radius: 50%;
}

.medallion {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-bottom: 1.1rem;
}

.medallion img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.medallion span {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.location-card h3 {
  margin-bottom: 0.15em;
}

.location-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.location-card h3 a:hover {
  color: var(--card-accent, var(--falun));
}

.location-card .suburb {
  margin-bottom: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.location-card .hours {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
}

.location-card .address {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.card-socials {
  display: flex;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.card-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.card-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.card-socials svg {
  width: 16px;
  height: 16px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.card-actions .btn {
  flex: 1 1 auto;
  padding-inline: 0.9rem;
}

/* Feature (bakery) -------------------------------------------------------- */

.feature {
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  background-image: url("../svg/flourish-red.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-figure {
  padding: 0.7rem;
  border: 1px solid rgba(248, 240, 227, 0.22);
  background: rgba(248, 240, 227, 0.04);
}

.feature-figure picture,
.feature-figure img {
  display: block;
  width: 100%;
}

.feature-photo {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center 52%;
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: rgba(248, 240, 227, 0.82);
}

.feature-list li::before {
  content: "✳";
  color: var(--ochre);
  font-size: 0.8em;
}

.bakery-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.bakery-guide div {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(248, 240, 227, 0.2);
}

.bakery-guide strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ochre);
}

.bakery-guide span {
  display: block;
  font-size: 0.85rem;
  color: rgba(248, 240, 227, 0.8);
}

.bakery-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(248, 240, 227, 0.7);
}

/* Traditions -------------------------------------------------------------- */

.traditions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.traditions--three {
  grid-template-columns: repeat(3, 1fr);
}

.tradition {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tradition .eyebrow {
  margin-bottom: 0.6rem;
}

.tradition h3 {
  margin-bottom: 0.4em;
}

.tradition p {
  font-size: 0.95rem;
  color: var(--muted);
}

.tradition p:last-child {
  margin-bottom: 0;
}

.traditions-note {
  max-width: 34rem;
  margin: 2rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--muted);
}

.tradition .card-link {
  margin-top: auto;
  padding-top: 0.8rem;
}

/* Bakery menu ------------------------------------------------------------- */

.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.menu-nav .wrap {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.menu-nav a {
  flex: none;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-nav a:hover {
  color: var(--falun);
}

.menu-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.menu-facts div {
  padding: 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.menu-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--falun);
}

.menu-facts span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.menu-intro {
  max-width: 72ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.menu-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

.menu-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.menu-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.menu-tags span {
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--falun);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.tart-groups {
  display: grid;
  gap: 1.5rem;
}

.tart-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.tart-group h3 span {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
}

.tart-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tart-list li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
}

.price-list {
  max-width: 820px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.95rem;
}

.price-row span:last-child {
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.price-list--extras {
  margin-top: 1rem;
}

.wholesale-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--cream);
  border-left: 4px solid var(--ochre);
}

.wholesale-callout h3 {
  margin-bottom: 0.35em;
}

.wholesale-callout p {
  margin-bottom: 0.6rem;
}

#bakery-menu,
#cakes,
#tarts,
#breads,
#wholesale,
#order {
  scroll-margin-top: calc(var(--header-h) + 4.5rem);
}

.tradition-photo {
  margin: -1.6rem -1.6rem 1.1rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--birch);
}

.tradition-photo picture,
.tradition-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.tradition-photo img {
  object-fit: cover;
}

.traditions--two {
  grid-template-columns: repeat(2, 1fr);
}

.fika-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.fika-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.fika-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--birch);
  aspect-ratio: 4 / 5;
}

.fika-photo--b {
  margin-top: 2rem;
}

.fika-photo picture,
.fika-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.fika-photo img {
  object-fit: cover;
}

/* Press ------------------------------------------------------------------- */

.press {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.press blockquote {
  margin: 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
}

.press cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--falun);
}

/* Dogs -------------------------------------------------------------------- */

.dogs-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.dog-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  background: var(--birch);
}

.dog-photo picture,
.dog-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.dog-photo img {
  object-fit: cover;
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--falun);
  color: #fff;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  background-image: url("../svg/flourish-red.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.16;
  filter: brightness(0) invert(1);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
}

/* Story page -------------------------------------------------------------- */

.page-hero {
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lede {
  margin-top: 1rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-copy p {
  font-size: 1.03rem;
}

.story-quote {
  margin: 0;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--falun);
}

.story-quote footer {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline {
  margin: 0;
  padding: 0 0 0 2rem;
  list-style: none;
  border-left: 2px solid var(--birch);
}

.timeline li {
  position: relative;
  padding-bottom: 2rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--falun);
  border: 3px solid var(--cream);
}

.timeline .year {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--falun);
}

.timeline h3 {
  margin: 0.15em 0 0.25em;
  font-size: 1.15rem;
}

.timeline p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.value-card h3 {
  margin-bottom: 0.35em;
  font-size: 1.2rem;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.story-photo {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--birch);
}

.story-photo picture,
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story-gallery picture {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--birch);
}

.story-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Location page ----------------------------------------------------------- */

.location-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 72vh, 720px);
  padding: clamp(56px, 8vw, 96px) 0;
  overflow: hidden;
  color: var(--cream);
}

.location-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.location-hero-media picture,
.location-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.location-hero-media img {
  object-fit: cover;
  object-position: center 52%;
}

.location-hero-shade {
  position: absolute;
  inset: 0;
}

.location-hero--semaphore .location-hero-shade {
  background: linear-gradient(90deg, rgba(30, 53, 87, 0.97) 0%, rgba(30, 53, 87, 0.84) 48%, rgba(30, 53, 87, 0.25) 100%);
}

.location-hero--port-adelaide .location-hero-shade {
  background: linear-gradient(90deg, rgba(142, 39, 31, 0.97) 0%, rgba(142, 39, 31, 0.84) 48%, rgba(142, 39, 31, 0.25) 100%);
}

.location-hero--glenelg .location-hero-shade {
  background: linear-gradient(90deg, rgba(43, 86, 69, 0.97) 0%, rgba(43, 86, 69, 0.84) 48%, rgba(43, 86, 69, 0.25) 100%);
}

.location-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.location-hero-copy {
  max-width: 620px;
}

.location-hero h1 {
  margin-bottom: 0.15em;
  color: var(--cream);
}

.location-hero .eyebrow {
  color: var(--ochre);
}

.location-hero .suburb-line {
  margin-bottom: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}

.location-hero .lede {
  color: rgba(248, 240, 227, 0.86);
}

.location-hero .hero-meta {
  color: rgba(248, 240, 227, 0.8);
}

.location-hero .card-socials a {
  border-color: rgba(248, 240, 227, 0.4);
  color: var(--cream);
}

.location-hero .card-socials a:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--blue-dark);
}

.location-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.location-gallery picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--birch);
}

.location-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 1.5rem;
  align-items: stretch;
}

.map-frame {
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
  background: var(--birch) url("../img/map-fallback.jpg") center / cover no-repeat;
}

/* Single-venue map on location pages -------------------------------------- */

.venue-map {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.venue-map-frame {
  position: relative;
  min-height: 400px;
  background: var(--birch) url("../img/map-fallback.jpg") center / cover no-repeat;
}

.venue-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.venue-map-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.venue-map-card h2 {
  margin-bottom: 0.45rem;
}

.venue-map-address {
  font-style: normal;
  color: var(--muted);
}

.venue-map-hours {
  margin-top: 0.4rem;
  font-weight: 600;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-list {
  display: grid;
  gap: 0.9rem;
}

.map-list-item {
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.map-list-item .eyebrow {
  margin-bottom: 0.35rem;
}

.map-list-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.map-list-item p {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-list-item .card-link {
  color: var(--blue);
  margin-bottom: 0;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  text-decoration: none;
}

.map-links a:hover {
  text-decoration: underline;
}

.map-links svg,
.map-list .card-link svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-grid-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--birch);
}

.photo-grid-item picture,
.photo-grid-item img {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-grid-item img {
  object-fit: cover;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.info-card {
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.info-card h2,
.info-card h3 {
  margin-bottom: 0.6em;
  font-size: 1.35rem;
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list .time {
  font-weight: 600;
  color: var(--blue);
}

.info-address {
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.6;
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.location-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.highlight-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.highlight-list li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.96rem;
}

.highlight-list li::before {
  content: "✳";
  color: var(--falun);
  font-size: 0.8em;
}

.note-card {
  padding: 1.4rem;
  background: var(--cream);
  border-left: 4px solid var(--ochre);
}

.note-card p {
  margin: 0;
  font-size: 0.94rem;
}

/* Contact page ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-card h2 {
  margin-bottom: 0.2em;
  font-size: 1.45rem;
}

.contact-card .phone {
  margin: 0.6rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--falun);
  text-decoration: none;
}

.contact-card .phone:hover {
  text-decoration: underline;
}

.contact-card .hours {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-card .card-actions {
  margin-top: 1.2rem;
}

.contact-block {
  padding: 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-block h2 {
  font-size: 1.6rem;
}

/* FAQ --------------------------------------------------------------------- */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--falun);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  background: var(--blue-dark);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3.2rem 0 2.4rem;
}

.footer-brand .brand-name {
  display: block;
  color: var(--cream);
  font-size: 1.7rem;
}

.footer-brand .small {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: rgba(248, 240, 227, 0.55);
}

.footer-brand .brand-sub {
  color: rgba(248, 240, 227, 0.6);
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(248, 240, 227, 0.72);
}

.footer-col h3 {
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-col li,
.footer-col a {
  font-size: 0.9rem;
  color: rgba(248, 240, 227, 0.82);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--ochre);
}

.footer-col .small {
  display: block;
  font-size: 0.78rem;
  color: rgba(248, 240, 227, 0.55);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(248, 240, 227, 0.15);
  font-size: 0.76rem;
  color: rgba(248, 240, 227, 0.6);
}

.footer-bottom a {
  color: rgba(248, 240, 227, 0.8);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--ochre);
}

/* 404 --------------------------------------------------------------------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
  padding: 4rem 0;
}

.error-page .medallion {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
}

/* Animations -------------------------------------------------------------- */

/* Content is visible by default. When JS boots, elements marked .reveal wait
   for the viewport, then rise into place. */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .locations-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.js .locations-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.js .traditions .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.js .traditions .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.js .photo-grid .reveal:nth-child(3n + 2) {
  transition-delay: 0.08s;
}

.js .photo-grid .reveal:nth-child(3n) {
  transition-delay: 0.16s;
}

.js [data-parallax] img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
}

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

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js [data-parallax] img {
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1020px) {
  .hero-grid,
  .intro-grid,
  .feature-grid,
  .story-grid,
  .location-body {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-editorial {
    grid-template-columns: 1fr;
  }

  .hero--editorial .hero-copy {
    max-width: 40rem;
  }

  .hero-collage {
    justify-self: center;
    width: min(100%, 27rem);
    padding-left: 3rem;
  }

  .hero-art {
    min-height: 340px;
  }

  .locations-grid,
  .traditions,
  .press,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .traditions--three {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .fika-feature {
    grid-template-columns: 1fr;
  }

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

  .order-summary {
    position: static;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .venue-map {
    grid-template-columns: 1fr;
  }

  .venue-map-frame {
    min-height: 320px;
  }

  .map-frame {
    min-height: 420px;
  }

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

  .menu-list {
    grid-template-columns: 1fr;
  }

  .menu-facts {
    grid-template-columns: 1fr 1fr;
  }

  .story-gallery {
    grid-template-columns: 1fr 1fr;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 18px;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .brand-mark {
    height: 42px;
    width: auto;
  }

  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 1rem 18px 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
  }

  .nav > a,
  .nav-item > a {
    min-height: 0;
  }

  .nav-item {
    display: block;
  }

  .nav-dropdown {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 0.9rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
  }

  .nav-dropdown a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
  }

  .nav-cta {
    margin: 1rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-art {
    min-height: 280px;
  }

  .hero-art .cup {
    width: min(270px, 74%);
  }

  .hero--image {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .hero--editorial {
    padding: 2.25rem 0 3rem;
  }

  .hero--editorial h1 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }

  .hero-collage {
    width: min(100%, 22rem);
    padding: 0 0 2rem 2rem;
  }

  .hero-inset {
    width: 34%;
    border-width: 5px;
    bottom: 1.2rem;
  }

  .hero--editorial .hero-stamp {
    top: 13%;
    right: 0.15rem;
    font-size: 0.9rem;
  }

  .hero-labels {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .intro-figure {
    margin: 0;
  }

  .fika-track {
    font-size: 0.95rem;
    column-gap: 1.1rem;
    row-gap: 0.35rem;
  }

  .fika-track span {
    gap: 0;
  }

  .fika-track span::after {
    content: none;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(248, 240, 227, 0.97) 0%,
      rgba(248, 240, 227, 0.94) 55%,
      rgba(248, 240, 227, 0.78) 100%
    );
  }

  .hero--image .hero-copy {
    max-width: 100%;
  }

  .fika-photo--b {
    margin-top: 0;
  }

  .menu-facts {
    grid-template-columns: 1fr;
  }

  .menu-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .order-fields,
  .order-form {
    grid-template-columns: 1fr;
  }

  .order-field--qty {
    max-width: none;
  }

  .order-fields .btn {
    width: 100%;
  }

  .menu-prices {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .bakery-guide {
    grid-template-columns: 1fr;
  }

  .hero-stamp {
    right: 0.2rem;
    bottom: 0.4rem;
    font-size: 0.88rem;
  }

  .locations-grid,
  .traditions,
  .press,
  .contact-grid,
  .values-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-top: 2.4rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .location-hero {
    min-height: 540px;
    padding: 64px 0;
  }

  .location-hero--semaphore .location-hero-shade {
    background: linear-gradient(180deg, rgba(30, 53, 87, 0.95) 0%, rgba(30, 53, 87, 0.9) 62%, rgba(30, 53, 87, 0.76) 100%);
  }

  .location-hero--port-adelaide .location-hero-shade {
    background: linear-gradient(180deg, rgba(142, 39, 31, 0.95) 0%, rgba(142, 39, 31, 0.9) 62%, rgba(142, 39, 31, 0.76) 100%);
  }

  .location-hero--glenelg .location-hero-shade {
    background: linear-gradient(180deg, rgba(43, 86, 69, 0.95) 0%, rgba(43, 86, 69, 0.9) 62%, rgba(43, 86, 69, 0.76) 100%);
  }

  .location-hero-copy {
    max-width: 100%;
  }

  .location-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .stat-row {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .card-actions .btn {
    flex: 1 1 100%;
  }
}

/* Print ------------------------------------------------------------------- */

@media print {
  .site-header,
  .nav,
  .cta-band,
  .site-footer,
  .hero-art,
  .fika {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}
