:root {
  --ink: #0b2731;
  --ink-deep: #071a20;
  --paper: #f3eee2;
  --paper-bright: #fffdf7;
  --red: #d64935;
  --red-dark: #a93226;
  --green: #0f6b53;
  --green-light: #7baa78;
  --gold: #e9b95f;
  --blue: #3c7d91;
  --line: rgba(11, 39, 49, 0.22);
  --shadow: 0 26px 70px rgba(4, 24, 31, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(233, 185, 95, 0.11), transparent 24rem),
    linear-gradient(90deg, rgba(11, 39, 49, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 22px 22px, auto;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 99;
  transform: translateY(-160%);
  background: var(--paper-bright);
  padding: 0.7rem 1rem;
  border: 2px solid var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 18;
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem clamp(1.2rem, 4vw, 4.5rem);
  color: var(--paper-bright);
  background: rgba(7, 26, 32, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-bright);
  background: var(--red);
}

.brand-mark svg {
  width: 1.55rem;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  font-size: 0.88rem;
  font-weight: 650;
}

.nav-links a,
.header-cta {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.35rem;
  height: 2px;
  background: var(--gold);
  transition: right 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  padding: 0.72rem 1rem;
  color: var(--ink-deep);
  background: var(--paper-bright);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid var(--paper-bright);
  transition: color 180ms ease, background 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--paper-bright);
  background: transparent;
}

.hero {
  position: relative;
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  grid-template-rows: 1fr auto;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(3rem, 6vw, 6.5rem) clamp(1.2rem, 6vw, 7rem) 0;
  color: var(--paper-bright);
  background:
    linear-gradient(115deg, rgba(11, 39, 49, 0.98), rgba(11, 39, 49, 0.84)),
    var(--ink);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  left: -18rem;
  bottom: -20rem;
  border: 7rem solid rgba(233, 185, 95, 0.08);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  max-width: 43rem;
  padding-bottom: 3rem;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.2rem;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.6rem;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

h1 {
  max-width: 9ch;
  margin-bottom: 1.8rem;
  font-size: clamp(4.2rem, 9.5vw, 9rem);
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 6.4vw, 6.8rem);
}

h3 {
  line-height: 1.15;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: rgba(255, 253, 247, 0.83);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.button {
  min-height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.1rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper-bright);
  background: var(--red);
  box-shadow: 0 11px 30px rgba(214, 73, 53, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e25742;
  box-shadow: 0 15px 34px rgba(214, 73, 53, 0.32);
}

.button-ghost {
  color: var(--paper-bright);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.09);
}

.microcopy {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.58);
  font-size: 0.76rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  min-height: 32rem;
}

.image-frame {
  position: absolute;
  inset: 1rem 2.5rem 2.5rem 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 107, 83, 0.8), rgba(60, 125, 145, 0.7)),
    var(--green);
  clip-path: polygon(7% 0, 100% 0, 100% 88%, 90% 100%, 0 100%, 0 10%);
  box-shadow: var(--shadow);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 24, 31, 0.56));
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.image-label {
  position: absolute;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  background: var(--paper-bright);
  color: var(--ink);
}

.label-top {
  top: 1rem;
  right: 1rem;
}

.label-bottom {
  bottom: 1rem;
  left: 1rem;
}

.sun-disc {
  position: absolute;
  right: -1rem;
  top: -1.2rem;
  width: clamp(6rem, 10vw, 10rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1rem rgba(214, 73, 53, 0.12);
}

.vertical-note {
  position: absolute;
  right: -0.8rem;
  bottom: 3rem;
  margin: 0;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  writing-mode: vertical-rl;
}

.hero-facts {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: calc(clamp(1.2rem, 6vw, 7rem) * -1);
  background: var(--paper-bright);
  color: var(--ink);
}

.hero-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.8rem;
  min-height: 6rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.hero-facts > div:last-child {
  border-right: 0;
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 2.2rem;
}

.hero-facts span {
  max-width: 9rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 7vw, 8rem);
}

.section-kicker {
  color: var(--red);
}

.section-kicker.light {
  color: var(--gold);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.7fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: start;
}

.intro h2 {
  max-width: 9ch;
}

.intro-copy {
  padding-top: 1.1rem;
}

.large-copy {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.35;
}

.intro-copy > p:last-child {
  color: rgba(11, 39, 49, 0.72);
}

.territory-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.territory-strip span {
  flex: 1 1 12rem;
  min-height: 4.2rem;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.territory-strip span:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

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

.section-heading > p {
  max-width: 25rem;
  margin-bottom: 0.8rem;
  color: rgba(11, 39, 49, 0.65);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.place-card {
  position: relative;
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
  overflow: hidden;
  transition: color 220ms ease, background 220ms ease;
}

.place-card::before {
  content: "";
  position: absolute;
  inset: auto -3rem -5rem auto;
  width: 10rem;
  aspect-ratio: 1;
  border: 1.5rem solid rgba(15, 107, 83, 0.08);
  border-radius: 50%;
}

.place-card:hover {
  color: var(--paper-bright);
  background: var(--ink);
}

.place-card-featured,
.coast-card {
  color: var(--paper-bright);
  background: var(--green);
}

.coast-card {
  background: var(--blue);
}

.place-number {
  font-family: var(--serif);
  font-size: 0.9rem;
  opacity: 0.72;
}

.place-region {
  margin-bottom: 0.45rem;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.68;
}

.place-card h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.place-card p:not(.place-region) {
  max-width: 28rem;
  margin-bottom: 0;
  opacity: 0.75;
}

.place-tag {
  align-self: flex-start;
  position: relative;
  z-index: 1;
  padding: 0.45rem 0.65rem;
  border: 1px solid currentColor;
  font-size: 0.67rem;
  font-weight: 800;
}

.taste {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 0.75fr);
  gap: clamp(3rem, 10vw, 11rem);
  color: var(--paper-bright);
  background: var(--red);
  overflow: hidden;
}

.taste h2 {
  max-width: 9ch;
  margin-bottom: 0;
}

.taste-copy {
  position: relative;
  z-index: 2;
  align-self: end;
}

.taste-copy > p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.4;
}

.taste-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.taste-list span {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 750;
}

.plate-mark {
  position: absolute;
  right: -9rem;
  top: 50%;
  width: 26rem;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
}

.plate-mark::before,
.plate-mark::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.plate-mark::after {
  inset: 38%;
  background: var(--gold);
  border: 0;
}

.plate-mark span {
  position: absolute;
  z-index: 1;
  width: 1.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
}

.plate-mark span:nth-child(1) { left: 30%; top: 25%; }
.plate-mark span:nth-child(2) { left: 25%; bottom: 24%; }
.plate-mark span:nth-child(3) { left: 12%; top: 48%; background: var(--paper-bright); }

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

.duration-note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 2rem;
  border-left: 3px solid var(--red);
}

.duration-note strong {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
}

.duration-note span {
  font-size: 0.74rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 2.3rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  min-height: 8.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.day {
  position: relative;
  z-index: 1;
  width: 4.7rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--paper-bright);
  background: var(--red);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.timeline h3 {
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  font-weight: 600;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(11, 39, 49, 0.67);
}

.time {
  font-size: 0.73rem;
  font-weight: 800;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--ink);
}

.duration-grid > div {
  min-height: 13rem;
  padding: 1.6rem;
  border-right: 1px solid var(--ink);
}

.duration-grid > div:last-child {
  border-right: 0;
}

.duration-grid .recommended {
  color: var(--paper-bright);
  background: var(--green);
}

.duration-grid strong {
  font-family: var(--serif);
  font-size: 3.3rem;
  line-height: 1;
}

.duration-grid span {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.duration-grid p {
  margin: 1.5rem 0 0;
  font-size: 0.83rem;
  line-height: 1.45;
}

.help {
  color: var(--paper-bright);
  background: var(--ink);
}

.help .section-heading > p {
  color: rgba(255, 253, 247, 0.62);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.emergency-card {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(15rem, 0.45fr) 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.5rem);
  background: var(--red);
}

.help-label {
  margin-bottom: 0;
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.emergency-card a {
  display: block;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.9;
}

.emergency-card > p {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

.help-card {
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  background: var(--ink-deep);
}

.help-icon {
  width: 3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.help-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.help-card p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.65);
}

.phrasebook {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.phrasebook > p {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.phrasebook dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.phrasebook dl > div {
  padding: 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.phrasebook dt {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.phrasebook dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 253, 247, 0.55);
  font-size: 0.74rem;
}

.tips {
  display: grid;
  grid-template-columns: minmax(16rem, 0.6fr) 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--gold);
}

.tips h2 {
  max-width: 8ch;
}

.tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.tip-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(11, 39, 49, 0.35);
}

.tip-list span {
  font-family: var(--serif);
  font-size: 0.85rem;
}

.tip-list p {
  margin-bottom: 0;
  font-weight: 650;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(26rem, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
  color: var(--paper-bright);
  background:
    linear-gradient(135deg, rgba(15, 107, 83, 0.98), rgba(11, 39, 49, 0.96)),
    var(--green);
}

.contact-copy {
  position: sticky;
  top: 8rem;
}

.contact-copy h2 {
  max-width: 9ch;
}

.contact-copy > p {
  max-width: 34rem;
  color: rgba(255, 253, 247, 0.75);
}

.contact-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
}

.message-builder {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  color: var(--ink);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.message-builder::before,
.message-builder::after {
  content: "";
  position: absolute;
  left: -0.9rem;
  width: 1.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
}

.message-builder::before { top: 24%; }
.message-builder::after { bottom: 24%; }

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

.message-builder label > span,
.message-builder legend,
.generated-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.message-builder input[type="date"],
.message-builder select,
.message-builder textarea {
  width: 100%;
  color: var(--ink);
  background: #f8f5ed;
  border: 1px solid rgba(11, 39, 49, 0.3);
  border-radius: 0;
}

.message-builder input[type="date"],
.message-builder select {
  min-height: 3rem;
  padding: 0.6rem 0.7rem;
}

.message-builder fieldset {
  margin: 1.5rem 0;
  padding: 0;
  border: 0;
}

.interest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.interest-options label {
  position: relative;
  cursor: pointer;
}

.interest-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.interest-options label span {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(11, 39, 49, 0.35);
  font-size: 0.73rem;
  transition: color 160ms ease, background 160ms ease;
}

.interest-options input:checked + span {
  color: var(--paper-bright);
  background: var(--ink);
}

.interest-options input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.generated-label {
  margin-top: 1.4rem;
}

.message-builder textarea {
  min-height: 9rem;
  padding: 0.9rem;
  resize: vertical;
  line-height: 1.55;
}

.copy-button {
  width: 100%;
  margin-top: 1rem;
  color: var(--paper-bright);
  background: var(--red);
}

.copy-button:hover,
.copy-button:focus-visible {
  background: var(--red-dark);
}

.copy-status {
  min-height: 1.5rem;
  margin: 0.65rem 0 0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem clamp(1.2rem, 7vw, 8rem);
  color: var(--paper-bright);
  background: var(--ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark.small {
  width: 2rem;
  height: 2rem;
  color: var(--paper-bright);
  background: transparent;
}

.brand-mark.small svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand strong {
  font-size: 0.82rem;
}

.footer-brand span,
.site-footer > p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.52);
  font-size: 0.67rem;
}

.official-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.68rem;
}

.official-links > span {
  color: rgba(255, 253, 247, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.official-links a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.privacy-notice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-notice h2,
.privacy-notice p {
  margin: 0;
}

.privacy-notice h2 {
  color: var(--paper-bright);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-notice p {
  max-width: 62rem;
  color: rgba(255, 253, 247, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
}

.privacy-notice a {
  color: var(--paper-bright);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.2em;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 4rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 30rem;
  }

  .image-frame {
    inset: 0 2rem 2rem 0;
  }

  .intro-grid,
  .taste,
  .tips,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

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

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

  .duration-grid > div:nth-child(2) {
    border-right: 0;
  }

  .duration-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .privacy-notice {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .site-header {
    min-height: 4.5rem;
    grid-template-columns: 1fr;
    padding-inline: 1rem;
  }

  .brand {
    font-size: 0.7rem;
    letter-spacing: 0.11em;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 6rem);
  }

  h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-lead {
    overflow-wrap: anywhere;
  }

  .hero-visual {
    min-height: 23rem;
  }

  .image-frame {
    inset: 0 1.5rem 1.5rem 0;
  }

  .sun-disc {
    right: -1rem;
    top: -1rem;
  }

  .vertical-note {
    display: none;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .hero-facts > div {
    min-height: 4.8rem;
    justify-content: flex-start;
    padding-inline: 1.2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-inline: 1rem;
  }

  .intro-grid {
    gap: 1rem;
  }

  .territory-strip span {
    flex-basis: 50%;
    min-height: 3.8rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p,
  .duration-note {
    margin-top: 1.5rem;
  }

  .place-grid,
  .help-grid,
  .phrasebook dl {
    grid-template-columns: 1fr;
  }

  .place-card {
    min-height: 20rem;
  }

  .taste {
    gap: 2rem;
  }

  .plate-mark {
    opacity: 0.5;
  }

  .timeline::before {
    left: 1.8rem;
  }

  .timeline li {
    grid-template-columns: 3.6rem 1fr;
    gap: 1rem;
    align-items: start;
    padding-block: 1.4rem;
  }

  .day {
    width: 3.6rem;
  }

  .time {
    grid-column: 2;
  }

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

  .duration-grid > div,
  .duration-grid > div:nth-child(2) {
    min-height: 10rem;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .duration-grid > div:last-child {
    border-bottom: 0;
  }

  .emergency-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .message-builder::before,
  .message-builder::after {
    display: none;
  }

  .official-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
