/* recipewebsummit.com — homepage styles (newspaper food section) */

:root {
  /* Palette sampled from images/logo.png: midnight navy, chestnut brown, pale gold */
  --paper: #FCF9F2;
  --surface: #FFFEFB;
  --ink: #0B0B36;
  --ink-soft: #2C2A4A;
  --navy: #080838;
  --brown: #682808;
  --brown-deep: #4E1E06;
  --grey: #57546E;
  --gold: #E8C888;
  --gold-soft: #F6ECD6;
  --white: #FFFEFB;
  --rule: rgba(11, 11, 54, 0.16);
  --rule-strong: rgba(11, 11, 54, 0.55);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --space: clamp(64px, 9vw, 120px);
}

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

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

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

@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
}

.skip-link:focus {
  left: 8px;
}

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

/* ---------- Visit gate ---------- */

.entry-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px var(--gutter);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(11, 11, 54, 0.04) 31px 32px),
    var(--paper);
  border-bottom: 3px solid var(--ink);
}

.entry-card {
  width: 100%;
  max-width: 560px;
  text-align: center;
  background: var(--white);
  border-top: 6px double var(--ink);
  border-bottom: 6px double var(--ink);
  padding: clamp(40px, 7vw, 64px) clamp(20px, 5vw, 48px);
  box-shadow: 0 24px 50px -30px rgba(11, 11, 54, 0.45);
}

.entry-card h2 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 36px;
}

.entry-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 82px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 0 -2px var(--ink);
  transition: background 0.2s, transform 0.2s;
}

.entry-visit:hover {
  background: var(--brown-deep);
  transform: translateY(-2px);
}

/* ---------- Header (newspaper masthead) ---------- */

.site-head {
  position: static;
  background: var(--surface);
  border-bottom: 1px solid var(--rule-strong);
}

.head-dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0 8px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.head-title {
  display: flex;
  justify-content: center;
  padding: 18px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  box-shadow:
    inset 0 3px 0 var(--surface),
    inset 0 4px 0 var(--ink),
    inset 0 -3px 0 var(--surface),
    inset 0 -4px 0 var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  height: 50px;
  width: auto;
}

.head-brand img {
  height: 56px;
}

.head-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2px 0;
}

.head-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  font-family: var(--serif);
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
}

.head-nav a + a {
  border-left: 1px solid var(--rule-strong);
}

.head-nav a:hover {
  color: var(--brown);
}

@media (max-width: 720px) {
  .dateline-right {
    display: none;
  }

  .head-dateline {
    justify-content: center;
    font-size: 0.66rem;
  }

  .head-brand img {
    height: 48px;
  }

  .head-nav a {
    padding: 0 12px;
    font-size: 0.95rem;
  }
}

.head-nav a.head-cta {
  gap: 8px;
  margin: 6px 0 6px 14px;
  padding: 0 18px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-variant: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.head-nav a.head-cta:hover {
  background: var(--brown-deep);
  color: var(--white);
}

.ico-ext {
  flex: none;
  width: 14px;
  height: 14px;
}

@media (max-width: 720px) {
  .head-nav a.head-cta {
    margin: 4px 0 8px;
    border-left: 1px solid var(--brown);
  }
}

/* ---------- Shared editorial pieces ---------- */

.rule-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  padding-top: 14px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border-top: 3px solid var(--ink);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.rule-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  align-self: center;
}

.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

.meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 0.86rem;
  color: var(--grey);
}

.meta span,
.card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta .ico,
.card-meta .ico {
  width: 16px;
  height: 16px;
}

/* ---------- Front: lead story + list ---------- */

.front {
  padding: clamp(24px, 4vw, 44px) 0 clamp(48px, 6vw, 72px);
}

.front-grid {
  display: grid;
  gap: 36px;
}

.front-grid > * {
  min-width: 0;
}

.lead-img {
  display: block;
  overflow: hidden;
}

.lead-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lead-img:hover img {
  transform: scale(1.02);
}

.lead-copy {
  padding-top: 20px;
}

.lead h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 18ch;
}

.lead h1 a {
  text-decoration: none;
}

.lead h1 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.lead-dek {
  margin: 16px 0 14px;
  font-size: 1.12rem;
  max-width: 54ch;
  color: var(--ink-soft);
}

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

.useful-list li + li {
  border-top: 1px solid var(--rule);
}

.useful-list a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  min-height: 44px;
  text-decoration: none;
}

.useful-n {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brown);
}

.useful-t {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.25;
}

.useful-list a:hover .useful-t {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.useful-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--gold-soft);
  font-size: 0.9rem;
  color: var(--grey);
}

@media (min-width: 960px) {
  .front-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
  }

  .useful {
    padding-left: 32px;
    border-left: 1px solid var(--rule);
  }
}

/* ---------- Card grid ---------- */

.latest {
  padding-bottom: clamp(56px, 7vw, 88px);
}

.card-grid {
  display: grid;
  gap: 32px 24px;
}

.card {
  min-width: 0;
}

.card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 6px;
}

.card h3 {
  font-size: 1.32rem;
  line-height: 1.15;
}

.card a:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.card-meta {
  margin-top: auto;
  padding-top: 6px;
}

@media (max-width: 599px) {
  .card-grid {
    gap: 0;
  }

  .card a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-areas: "tag img" "h img" "meta img";
    align-content: start;
    gap: 4px 16px;
    padding: 18px 0;
    border-top: 1px solid var(--rule);
  }

  .card img,
  .card--tall img {
    grid-area: img;
    aspect-ratio: 1;
    margin: 0;
  }

  .card .tag {
    grid-area: tag;
  }

  .card h3 {
    grid-area: h;
    font-size: 1.18rem;
  }

  .card p {
    display: none;
  }

  .card-meta {
    grid-area: meta;
    padding-top: 2px;
  }
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 28px;
  }


  .card--tall img {
    aspect-ratio: 3 / 4;
  }

  .card-grid .card:nth-child(4n + 2),
  .card-grid .card:nth-child(4n + 3),
  .card-grid .card:nth-child(4n + 4) {
    padding-left: 28px;
    margin-left: -28px;
    border-left: 1px solid var(--rule);
  }
}

/* ---------- Collections rows ---------- */

.collections {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--gold-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.coll {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-strong);
}

.coll > * {
  min-width: 0;
}

.coll-head h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-style: italic;
  font-weight: 600;
}

.coll-head p {
  margin: 8px 0 0;
  font-size: 1rem;
  color: var(--grey);
  max-width: 36ch;
}

.rail {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 72%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--rule);
}

.tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tile strong {
  padding: 12px 14px 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.2;
}

.tile span {
  padding: 0 14px 16px;
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.45;
}

.tile--text {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  justify-content: flex-end;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.tile--text span {
  color: rgba(252, 249, 242, 0.72);
}

.tile-ico {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.coll:nth-child(3) .tile--text {
  background: var(--brown);
  border-color: var(--brown);
}

.coll:nth-child(3) .tile--text .tile-ico {
  color: var(--gold);
}

.coll:nth-child(3) .tile--text span {
  color: rgba(252, 249, 242, 0.88);
}

@media (min-width: 640px) {
  .rail {
    grid-auto-columns: minmax(220px, 40%);
  }
}

@media (min-width: 1000px) {
  .coll {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    padding: 30px 0;
  }

  .rail {
    grid-auto-columns: calc((100% - 64px) / 4.4);
  }
}

/* ---------- Guide in newspaper columns ---------- */

.guide {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}

.guide-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-strong);
}

.guide-head h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.standfirst {
  margin: 18px auto 14px;
  max-width: 62ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.byline {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

.guide-fig {
  margin: 28px 0 32px;
}

.guide-fig img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

figcaption {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--grey);
  line-height: 1.45;
}

.cols {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.cols h3 {
  font-size: 1.5rem;
  margin: 1.2em 0 0.5em;
  break-after: avoid;
}

.cols p {
  hyphens: auto;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.6em;
  line-height: 0.82;
  margin: 0.06em 0.08em 0 0;
  color: var(--brown);
}

.pull {
  margin: 1.4em 0;
  padding: 18px 0;
  border-top: 3px solid var(--brown);
  border-bottom: 1px solid var(--ink);
  break-inside: avoid;
}

.pull p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

.col-fig {
  margin: 1.2em 0;
  break-inside: avoid;
}

.col-fig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.col-table {
  margin: 1.2em 0;
  break-inside: avoid;
  overflow-x: auto;
}

.col-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.35;
}

.col-table caption {
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 8px;
}

.col-table th,
.col-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.col-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}

.col-table tbody th {
  font-weight: 600;
}

@media (min-width: 760px) {
  .cols {
    column-count: 2;
    column-gap: 40px;
    column-rule: 1px solid var(--rule);
  }
}

@media (min-width: 1100px) {
  .cols {
    column-count: 3;
    column-gap: 44px;
  }
}

/* Swaps band */

.swaps {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 6px double var(--ink);
}

.swaps h3,
.labels h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.swaps-intro {
  margin: 10px 0 20px;
  max-width: 64ch;
  color: var(--grey);
}

.swap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 32px;
  counter-reset: swap;
}

.swap-list li {
  counter-increment: swap;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.swap-list li::before {
  content: counter(swap);
  grid-row: span 3;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brown);
}

.swap-list .from {
  font-size: 1rem;
  color: var(--grey);
  text-decoration: line-through;
  text-decoration-color: var(--brown);
}

.swap-list .to {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
}

.swap-list small {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (min-width: 760px) {
  .swap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .swap-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Brand vs label */

.labels {
  margin-top: clamp(40px, 6vw, 64px);
}

.labels h3 {
  margin-bottom: 18px;
}

.table-box {
  min-width: 0;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.ledger th,
.ledger td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--rule);
}

.ledger thead th {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--ink);
}

.ledger tbody th {
  font-family: var(--serif);
  font-size: 1.1rem;
  width: 22%;
}

.ledger td:last-child {
  background: var(--gold-soft);
  padding-left: 16px;
}

.ledger thead th:last-child {
  padding-left: 16px;
}

@media (max-width: 680px) {
  .ledger thead {
    display: none;
  }

  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger th,
  .ledger td {
    display: block;
    width: 100%;
  }

  .ledger tr {
    padding: 14px 0;
    border-top: 2px solid var(--ink);
  }

  .ledger tbody th {
    width: 100%;
    border: 0;
    padding: 0 0 6px;
  }

  .ledger td {
    border: 0;
    padding: 6px 12px;
  }

  .ledger td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
  }
}

/* ---------- Planning strip ---------- */

.plan {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(44px, 6vw, 72px) 0;
}

.plan-grid {
  display: grid;
  gap: 28px;
}

.plan-grid > * {
  min-width: 0;
}

.plan h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
}

.plan-copy p {
  margin: 14px 0 0;
  color: rgba(252, 249, 242, 0.75);
  max-width: 44ch;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: plan;
  display: grid;
  gap: 0 32px;
}

.plan-list li {
  counter-increment: plan;
  position: relative;
  padding: 14px 0 14px 48px;
  border-top: 1px solid rgba(252, 249, 242, 0.2);
  font-size: 1rem;
  color: rgba(252, 249, 242, 0.82);
}

.plan-list li::before {
  content: counter(plan, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.plan-list strong {
  color: var(--paper);
  font-weight: 700;
}

@media (min-width: 960px) {
  .plan-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 56px;
    align-items: start;
  }

  .plan-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}

.plan-cta:hover {
  background: var(--gold-soft);
}

.plan-copy p.cta-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(252, 249, 242, 0.6);
}

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

.faq {
  padding: clamp(56px, 8vw, 96px) 0;
}

.faq-cols {
  display: grid;
  gap: 0 40px;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.3;
}

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

.faq summary .ico {
  color: var(--brown);
  transition: transform 0.2s;
}

.faq details[open] summary .ico {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .faq-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

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

.site-foot {
  border-top: 4px solid var(--ink);
  padding: 36px 0 28px;
  background: var(--surface);
}

.foot-mast {
  display: flex;
  justify-content: center;
  padding-bottom: 24px;
  border-bottom: 3px double var(--ink);
}

.foot-mast .brand img {
  height: 48px;
}

.foot-cols {
  display: grid;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.foot-col {
  display: flex;
  flex-direction: column;
}

.foot-col h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}

.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.05rem;
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--brown);
  text-decoration: underline;
}

.foot-note {
  margin: 0;
  font-size: 1rem;
  color: var(--grey);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  font-size: 0.9rem;
  color: var(--grey);
}

@media (min-width: 640px) {
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  }

  .foot-note {
    grid-column: auto;
    padding-left: 24px;
    border-left: 1px solid var(--rule);
  }
}

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

  * {
    transition: none !important;
  }
}

/* ---------- Logo-palette accents ---------- */

.plan {
  border-top: 4px solid var(--gold);
}

.foot-note a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}
