   :root {
  --paper: #f4f0e8;
  --paper-deep: #e9e2d5;
  --ink: #191919;
  --muted: #66625b;
  --line: rgba(25, 25, 25, 0.14);
  --gold: #a77a33;
  --sea: #315f68;
  --green: #426453;
  --white: #fffefa;
  --shadow: 0 24px 70px rgba(34, 27, 18, 0.10);
  --radius: 24px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(167, 122, 51, 0.08), transparent 25rem),
    linear-gradient(180deg, #faf8f3 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

header {
  position: relative;
  min-height: 88vh;
  padding: 148px 32px 90px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

header::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: 90px;
  border: 1px solid rgba(49, 95, 104, 0.14);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 90px rgba(49, 95, 104, 0.025),
    inset 0 0 0 180px rgba(49, 95, 104, 0.02);
  pointer-events: none;
}

header > * {
  position: relative;
  z-index: 1;
}

.logo {
  margin: 0 auto 26px;
}

.logo img {
  width: min(430px, 72vw);
  margin: 0 auto;
  opacity: 0.96;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-inline: auto;
  font-size: clamp(3.8rem, 8vw, 8rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

p.preamble {
  max-width: 48rem;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.small,
.muted,
.lead {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--sea);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hamburger {
  position: fixed;
  z-index: 1001;
  top: 17px;
  right: 22px;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.82);
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.08);
  backdrop-filter: blur(18px);
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

#menuBox {
  position: fixed;
  z-index: 1000;
  inset: 0 0 0 auto;
  width: min(340px, 88vw);
  padding: 88px 34px 40px;
  display: none;
  color: var(--white);
  background: rgba(25, 25, 25, 0.97);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

#menuBox a {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

#menuBox a:hover {
  color: #fff;
}

main {
  padding: 0;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

section {
  margin: 0;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.card,
.section-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-card {
  padding-top: 112px;
  text-align: center;
}

.hero-card > h2,
.hero-card > p {
  max-width: 50rem;
  margin-inline: auto;
}

.hero-badges,
.pill-row,
.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges,
.hero-actions {
  justify-content: center;
}

.hero-badges {
  margin: 24px 0;
}

.hero-badge,
.pill-row span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-actions {
  margin-top: 28px;
}


a.button,
a.cta,
button.cta {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.button.secondary,
a.cta.secondary {
  background: transparent;
  color: var(--ink);
}

a.button.light,
a.cta.light {
  background: var(--white);
  color: var(--ink);
}

a.button:hover,
a.cta:hover,
button.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(25, 25, 25, 0.12);
}
.hero-gallery {
  position: relative;
  max-width: 1080px;
  margin: 54px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.hero-gallery img {
  width: 100%;
  border-radius: 20px;
  transition: opacity 0.4s ease;
}

.hero-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(25, 25, 25, 0.72);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-nav-prev {
  left: 30px;
}

.hero-nav-next {
  right: 30px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(25, 25, 25, 0.22);
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split.reverse .visual {
  order: 2;
}

.visual img {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
}

.feature-points,
.app-layout,
.hardware-grid,
.support-grid,
.gnominee-flow,
.pricing-steps {
  display: grid;
  gap: 16px;
}

.feature-points {
  margin-top: 30px;
}

.feature-points div,
.app-feature,
.hardware-card,
.support-card,
.gnominee-flow div,
.pricing-steps div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.feature-points div:hover,
.app-feature:hover,
.hardware-card:hover,
.support-card:hover,
.gnominee-flow div:hover,
.pricing-steps div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.feature-points strong,
.pricing-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.feature-points span,
.pricing-steps span,
.app-feature p,
.hardware-card p,
.support-card p {
  color: var(--muted);
}

.callout {
  margin-top: 28px;
  padding: 22px 24px;
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  background: rgba(167, 122, 51, 0.08);
  color: var(--muted);
}

.callout.dark,
.panel-dark {
  color: var(--white);
  background: var(--ink);
  border-radius: 26px;
}

.app-layout {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
}

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

.gnominee-flow {
  margin-top: 28px;
}

.pricing-steps {
  grid-template-columns: repeat(4, 1fr);
  margin: 34px 0;
}

.table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold);
  background: rgba(167, 122, 51, 0.06);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin-top: 34px;
}

form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.52);
}

form .field {
  margin-bottom: 16px;
}

form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.social-row a {
  color: var(--sea);
  font-weight: 750;
  text-decoration: none;
}

footer {
  padding: 34px 18px 48px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
}

.heart {
  color: #9e3f42;
}

@media (max-width: 980px) {
  header {
    min-height: 72vh;
  }

  .split,
  .app-layout,
  .hardware-grid,
  .support-grid,
  .pricing-steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .visual {
    order: 0;
  }

  .visual {
    order: -1;
  }
}

@media (max-width: 680px) {
  header {
    padding: 120px 20px 70px;
  }

  section {
    padding: 76px 0;
  }

  .hero-gallery {
    padding: 8px;
    border-radius: 20px;
  }

  .hero-gallery img {
    border-radius: 14px;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
  }

  .hero-nav-prev {
    left: 16px;
  }

  .hero-nav-next {
    right: 16px;
  }

  form {
    padding: 22px;
  }
}

@media print {
  .hamburger,
  #menuBox,
  .hero-actions,
  .hero-nav,
  .hero-dots {
    display: none !important;
  }

  body {
    background: #fff;
  }

  section,
  header {
    break-inside: avoid;
  }
}

/* Vanuatu Edition content-specific styling */
main {
  padding: 0;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

header {
  min-height: 70vh;
}

header .logo {
  display: grid;
  justify-items: center;
}

header .logo img {
  width: min(390px, 72vw);
  margin-bottom: 26px;
}

header .heart {
  color: #9e3f42;
}

/* Tabs */
nav.tabs,
.tabs,
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 76px 0 34px;
  border-top: 1px solid var(--line);
}

.tab-btn {
  min-width: 220px;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease;
}

.tab-btn img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(25,25,25,.10);
}

.tab-btn.active {
  border-color: rgba(167, 122, 51, 0.55);
  background:
    linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(233, 226, 213, 0.92));
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(91, 72, 43, 0.10);
}

.tab-panel {
  display: none;
  padding: 32px 0 88px;
  border-top: 0;
}

.tab-panel.active {
  display: block;
}

/* Main editorial panels */
.panel {
  margin: 0 auto 28px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.panel > h1,
#tab-story > h1 {
  max-width: 12ch;
  margin: 0 0 34px;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.panel > .muted,
#tab-story > .muted {
  max-width: 54rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.card {
  margin: 0 0 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.52);
  box-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}

.card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.card h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.card h3 {
  margin: 30px 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.card p,
.card li,
.panel p,
.panel li {
  color: var(--muted);
}

.list,
ol,
ul {
  padding-left: 1.35rem;
}

li {
  margin: 9px 0;
}

li::marker {
  color: var(--gold);
}

/* Quotes and callouts */
blockquote,
.callout,
.step-box,
.warning-box,
.tip-box,
.info {
  margin: 26px 0;
  padding: 22px 24px;
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  background: rgba(167,122,51,.08);
  color: var(--muted);
}

.callout {
  display: grid;
  gap: 8px;
}

.callout p {
  margin: 0;
}

.step-box {
  border-left-color: var(--sea);
  background: rgba(49,95,104,.08);
}

.warning-box {
  border-left-color: #b17b26;
  background: rgba(177,123,38,.10);
}

.tip-box,
.info {
  border-left-color: var(--green);
  background: rgba(66,100,83,.09);
}

/* Vision cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 34px 0 42px;
  padding: 0;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.50);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.feature-card h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card a {
  color: var(--sea);
  font-size: inherit;
  font-weight: 750;
  text-decoration: none;
}

/* Origin story */
#three .card {
  padding: clamp(28px, 5vw, 54px);
}

#three .card > h2 {
  color: var(--muted);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.3;
}

/* Donation section */
.grid {
  display: grid;
  gap: 22px;
}

.grid.two,
#altima-donate {
  grid-template-columns: 1.05fr .95fr;
}

#altima-donate {
  margin-top: 34px;
  align-items: start;
}

#altima-donate .panel {
  height: 100%;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.54);
  box-shadow: var(--shadow);
}

#altima-donate h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

#altima-donate h4 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
}

.tiny {
  font-size: .86rem;
}

.impact {
  margin: 18px 0;
}

.trust {
  margin-top: 18px;
}

.pill,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(49,95,104,.08);
  color: var(--sea);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}

.chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  border-color: rgba(167, 122, 51, 0.58);
  background: linear-gradient(145deg, #f8f3e8, #e7ddca);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.input-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  margin: 18px 0 24px;
}

.input-row .badge {
  grid-row: 1;
}

.input-row input {
  grid-row: 1;
}

.input-row .tiny {
  grid-column: 1 / -1;
}

input[type="number"] {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.08rem;
}

a.cta,
a.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(49, 95, 104, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(74, 111, 113, 0.96), rgba(49, 95, 104, 0.96));
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 8px 20px rgba(49,95,104,.14);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

a.cta:hover,
a.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 12px 26px rgba(49,95,104,.20);
}

/* Code, tables and placeholders retained for future content */
code {
  padding: .15em .42em;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(49,95,104,.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

pre {
  padding: 20px;
  overflow-x: auto;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.screenshot-placeholder {
  margin: 24px 0;
  padding: 42px;
  border: 2px dashed var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.36);
  color: var(--muted);
  text-align: center;
}

table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: rgba(255,255,255,.48);
}

th,
td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold);
  background: rgba(167,122,51,.06);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .feature-grid,
  .grid.two,
  #altima-donate {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  nav.tabs,
  .tabs,
  .tabs-nav {
    padding-top: 54px;
  }

  .tab-btn {
    width: 100%;
    min-width: 0;
  }

  .tab-panel {
    padding-bottom: 64px;
  }

  .card,
  #altima-donate .panel {
    padding: 24px 21px;
    border-radius: 22px;
  }

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

@media print {
  .hamburger,
  #menuBox,
  nav.tabs {
    display: none !important;
  }

  .tab-panel {
    display: block !important;
    break-before: page;
  }

  .card,
  .feature-card,
  #altima-donate .panel {
    box-shadow: none;
    break-inside: avoid;
  }
}
.dark {
  margin: 0 0 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.52);
  box-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.dark:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}

.dark h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.dark h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.dark h3 {
  margin: 30px 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.dark p,
.dark li,
.panel p,
.panel li {
  color: var(--muted);
}
/* Soft parchment download button and centred Quick Links panel */
.container > .card:last-child {
  width: min(100%, 720px);
  margin: 18px auto 96px;
  padding: 38px;
  text-align: center;
  border: 1px solid rgba(167, 122, 51, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 254, 250, 0.82),
      rgba(233, 226, 213, 0.68)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 44px rgba(91, 72, 43, 0.09);
}

.container > .card:last-child h3 {
  margin: 0 auto 12px;
  color: var(--ink);
}

.container > .card:last-child p {
  display: flex;
  justify-content: center;
  margin: 24px 0 0;
}

a.button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(167, 122, 51, 0.52);
  border-radius: 999px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 254, 250, 0.98),
      rgba(225, 214, 194, 0.96)
    );
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 9px 22px rgba(91, 72, 43, 0.12);
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

a.button:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 122, 51, 0.72);
  background:
    linear-gradient(
      145deg,
      rgba(255, 254, 250, 1),
      rgba(218, 204, 178, 0.98)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 13px 28px rgba(91, 72, 43, 0.16);
}

a.button:focus-visible {
  outline: 3px solid rgba(49, 95, 104, 0.24);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .container > .card:last-child {
    padding: 28px 22px;
    margin-bottom: 68px;
  }

  a.button {
    width: 100%;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin-top: 34px;
}

form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.52);
}

form .field {
  margin-bottom: 16px;
}

form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.social-row a {
  color: var(--sea);
  font-weight: 750;
  text-decoration: none;
}


/* Unified parchment controls and full-width contact section.
   Selectors are unwrapped (not :where) so they outrank earlier ink/teal button rules. */
a.button,
a.cta,
a.button.secondary,
a.cta.secondary,
a.button.light,
a.cta.light,
button.cta,
.tab-btn,
.chip {
  border: 1px solid rgba(167, 122, 51, 0.52);
  background:
    linear-gradient(
      145deg,
      rgba(255, 254, 250, 0.98),
      rgba(225, 214, 194, 0.96)
    );
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 9px 22px rgba(91, 72, 43, 0.12);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

a.button:hover,
a.cta:hover,
a.button.secondary:hover,
a.cta.secondary:hover,
a.button.light:hover,
a.cta.light:hover,
button.cta:hover,
.tab-btn:hover,
.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 122, 51, 0.72);
  background:
    linear-gradient(
      145deg,
      rgba(255, 254, 250, 1),
      rgba(218, 204, 178, 0.98)
    );
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 13px 28px rgba(91, 72, 43, 0.16);
}

a.button:focus-visible,
a.cta:focus-visible,
button.cta:focus-visible,
.tab-btn:focus-visible,
.chip:focus-visible {
  outline: 3px solid rgba(49, 95, 104, 0.24);
  outline-offset: 4px;
}

/* Preserve the compact shapes of gallery controls while using parchment. */
.hero-nav {
  color: var(--ink);
}

.hero-dot {
  border: 1px solid rgba(167, 122, 51, 0.42);
  background: linear-gradient(145deg, #fffefa, #dfd2bb);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.hero-dot.is-active {
  background: linear-gradient(145deg, #f8f0df, #c8aa76);
}

/* Break the contact card out of the content container to use the viewport width. */
.contact-section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  padding: clamp(72px, 8vw, 112px) max(32px, calc((100vw - var(--max)) / 2));
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255,254,250,.72), rgba(233,226,213,.58));
}

.contact-section > h2,
.contact-section > .contact-grid {
  width: 100%;
  max-width: none;
}

.contact-grid {
  grid-template-columns: minmax(260px, .75fr) minmax(520px, 1.25fr);
  width: 100%;
  gap: clamp(36px, 6vw, 96px);
}

.contact-grid form {
  width: 100%;
}

@media (max-width: 980px) {
  .contact-section {
    padding-inline: 24px;
  }

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

@media (max-width: 680px) {
  .contact-section {
    padding-inline: 16px;
  }
}
