:root {
  /* Font families */
  --font1: system-ui, BlinkMacSystemFont, Roboto, "Segoe UI", Segoe, "Helvetica Neue", Tahoma, sans-serif;
  --font2: "Playfair Display", Georgia, "Times New Roman", serif;
  /* GRT font sizes */
  --f1: 42px;
  --f2: 33px;
  --f3: 26px;
  --f4: 20px;
  --f5: 16px;
  --f6: 13px;
  /* GRT line heights */
  --g1: 66px;
  --g2: 53px;
  --g3: 43px;
  --g4: 34px;
  --g5: 28px;
  --g6: 24px;
  /* GRT spacing */
  --x1: 45px;
  --x2: 28px;
  --x3: 17px;
  --x4: 11px;
  --x5: 7px;
  --x6: 4px;
  /* Layout */
  --w-content: 720px;
  --w-total: 1200px;
  --gutter-full: 28px;
  --gutter-mobile: 7px;
  /* Colours */
  --bg1: #FAF7F0;
  --bg2: #FFFFFF;
  --c1: #3A3A3A;
  --c2: #4a5e6a;
  --ca: #5A7D8A;
  --border1: 1px solid #d4c5a9;
  --border2: 1px solid #4a5e6a;
  --border3: 3px solid #d4c5a9;
  /* Design-specific palette */
  --color-slate: #4a5e6a;
  --color-slate-dark: #2c3e4a;
  --color-slate-light: #6b8494;
  --color-sand: #d4c5a9;
  --color-sand-light: #f2ece0;
  --color-sand-pale: #faf7f0;
  --color-smoke: #8b7d6b;
  --color-oak: #6b5344;
  --color-sea: #5a7d8a;
  --color-sea-dark: #3d5a66;
  --color-charcoal: #2a2a2a;
  --color-text-light: #6a6a6a;
  --color-white: #ffffff;
}

/* ============================================================
   FONT FACES
   ============================================================ */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-v37-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-v37-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-v37-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-v37-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-v13-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-v13-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-v13-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-v13-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* ============================================================
   RESET
   ============================================================ */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  word-break: normal;
}

img, fieldset {
  border: 0;
}

abbr {
  text-decoration: none;
}

code {
  line-height: 1em;
}

pre {
  overflow: auto;
  word-wrap: normal;
  tab-size: 4;
}

sub, sup {
  line-height: 0.5em;
}

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

iframe, video, embed, object {
  display: block;
  max-width: 100%;
}

img, .left, .right, .center {
  display: block;
}

.center {
  float: none;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

button, input[type=submit] {
  cursor: pointer;
  overflow: visible;
}

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--color-sand);
  color: var(--color-slate-dark);
}

body {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  background-color: var(--bg1);
  overflow-x: hidden;
}

a {
  color: var(--ca);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-sea-dark);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  box-sizing: border-box;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}
@media all and (min-width: 734px) {
  .container {
    max-width: var(--w-content);
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }
}
@media all and (min-width: 776px) {
  .container {
    max-width: 100%;
    padding-left: var(--gutter-full);
    padding-right: var(--gutter-full);
    margin-left: 0;
    margin-right: 0;
  }
}
@media all and (min-width: 1256px) {
  .container {
    max-width: var(--w-total);
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

.section {
  padding-top: var(--x1);
  padding-bottom: var(--x1);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--color-slate-dark);
  padding-left: 0;
  padding-right: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font2);
  font-size: 1.3rem;
  line-height: var(--g3);
  font-weight: 700;
  color: var(--color-sand);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo:hover {
  color: var(--color-sand);
}

.nav-logo-name {
  display: block;
}

.nav-logo-tagline {
  display: block;
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 300;
  color: var(--color-slate-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: var(--x5);
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-sand);
  position: relative;
  transition: all 0.3s ease;
}
.nav-toggle-label span::before, .nav-toggle-label span::after {
  content: "";
  position: absolute;
}
.nav-toggle-label span::before {
  top: -7px;
}
.nav-toggle-label span::after {
  top: 7px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--x3);
  align-items: center;
  margin-bottom: 0;
}
.nav-links a {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 400;
  color: var(--color-sand-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--color-sand);
}
.nav-links .nav-cta {
  background: var(--color-sea);
  color: var(--color-white);
  padding: var(--x6) var(--x4);
  border-radius: var(--x6);
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-links .nav-cta:hover {
  background: var(--color-sea-dark);
  color: var(--color-white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 74, 0.85) 0%, rgba(74, 94, 106, 0.6) 50%, rgba(90, 125, 138, 0.4) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding: 4rem var(--gutter-full);
}
@media all and (max-width: 768px) {
  .hero-inner {
    padding: 3rem var(--gutter-mobile);
  }
}

.hero-date {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 500;
  color: var(--color-sand);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--x4);
}

.hero-title {
  font-family: var(--font2);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-white);
  max-width: 700px;
  margin-bottom: var(--x4);
}

.hero-subtitle {
  font-family: var(--font1);
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--color-sand-light);
  max-width: 550px;
  margin-bottom: var(--x3);
}

.hero-buttons {
  display: flex;
  gap: var(--x5);
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
button, .button {
  display: inline-block;
  padding: var(--x5) var(--x3);
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--x6);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-sand);
  color: var(--color-slate-dark);
}
.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-slate-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-sand-light);
  border: 1px solid var(--color-sand-light);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.btn-warm {
  background: var(--color-oak);
  color: var(--color-white);
}
.btn-warm:hover {
  background: var(--color-slate-dark);
  color: var(--color-white);
}

.btn-outline-oak {
  background: transparent;
  color: var(--color-oak);
  border: 1px solid var(--color-oak);
}
.btn-outline-oak:hover {
  background: var(--color-oak);
  color: var(--color-white);
}

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */
.section-label {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 500;
  color: var(--color-sea);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--x5);
}

.section-title {
  font-family: var(--font2);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-bottom: var(--x4);
}

.section-text {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  max-width: var(--w-content);
}

/* ============================================================
   HERITAGE SECTION
   ============================================================ */
.heritage {
  background: var(--bg2);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--x2);
  align-items: center;
  margin-top: var(--x3);
}
@media all and (max-width: 968px) {
  .heritage-grid {
    grid-template-columns: 1fr;
    gap: var(--x3);
  }
}

.heritage-content p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  margin-bottom: var(--x5);
}
.heritage-content p:last-child {
  margin-bottom: 0;
}

.heritage-pullquote {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-style: italic;
  color: var(--color-slate);
  border-left: 3px solid var(--color-sand);
  padding-left: var(--x4);
  margin: var(--x3) 0;
}

.heritage-cta {
  margin-top: var(--x4);
}

.heritage-image {
  border-radius: var(--x6);
  overflow: hidden;
}
.heritage-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.heritage-stats {
  display: flex;
  gap: var(--x2);
  margin-top: var(--x3);
}
@media all and (max-width: 768px) {
  .heritage-stats {
    justify-content: center;
  }
}

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

.heritage-stat-number {
  font-family: var(--font2);
  font-size: var(--f2);
  line-height: var(--g2);
  font-weight: 700;
  color: var(--color-slate-dark);
}

.heritage-stat-label {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--x6);
}

/* ============================================================
   PADDY SECTION
   ============================================================ */
.paddy {
  background: var(--color-slate-dark);
  color: var(--color-sand-light);
  overflow: hidden;
}
.paddy .section-label {
  color: var(--color-sand);
}
.paddy .section-title {
  color: var(--color-white);
}

.paddy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--x2);
  align-items: center;
}
@media all and (max-width: 968px) {
  .paddy-grid {
    grid-template-columns: 1fr;
    gap: var(--x3);
  }
  .paddy-grid .paddy-image {
    order: -1;
  }
}

.paddy-content p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--color-sand-light);
  margin-bottom: var(--x5);
}
.paddy-content p:last-child {
  margin-bottom: 0;
}

.paddy-quote {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-style: italic;
  color: var(--color-sand);
  margin: var(--x3) 0;
}

.paddy-image {
  border-radius: var(--x6);
  overflow: hidden;
}
.paddy-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products {
  background: var(--bg1);
}

.products-intro {
  text-align: center;
  max-width: var(--w-content);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--x3);
}
.products-intro .section-label, .products-intro .section-title {
  text-align: center;
}
.products-intro .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--x3);
}
@media all and (max-width: 968px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

.product-card {
  background: var(--bg2);
  border-radius: var(--x6);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-card-image {
  height: 220px;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: var(--x4);
}

.product-card-title {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-bottom: var(--x6);
}

.product-card-text {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-text-light);
  margin-bottom: var(--x5);
}

.product-card-tag {
  display: inline-block;
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sea);
  background: rgba(90, 125, 138, 0.1);
  padding: var(--x6) var(--x5);
  border-radius: 3px;
}

/* ============================================================
   GIFTS SECTION
   ============================================================ */
.gifts {
  background: var(--bg2);
}

.gifts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--x3);
  margin-top: var(--x3);
}
@media all and (max-width: 968px) {
  .gifts-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

.gift-card {
  background: var(--bg1);
  border-radius: var(--x6);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.gift-card-image {
  height: 240px;
  overflow: hidden;
}
.gift-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift-card-body {
  padding: var(--x3) var(--x4);
}

.gift-card-title {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-bottom: var(--x6);
}

.gift-card-text {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-text-light);
  margin-bottom: var(--x4);
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process {
  background: var(--color-sand-light);
}

.process-intro {
  text-align: center;
  max-width: var(--w-content);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--x3);
}
.process-intro .section-label, .process-intro .section-title {
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--x3);
}
@media all and (max-width: 968px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

.process-step {
  text-align: center;
  padding: var(--x3) var(--x4);
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 600;
  margin-bottom: var(--x5);
}

.process-step-title {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-bottom: var(--x6);
}

.process-step-text {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-text-light);
}

/* ============================================================
   CHRISTMAS SECTION
   ============================================================ */
.christmas {
  background: var(--color-slate-dark);
  color: var(--color-sand-light);
  text-align: center;
}
.christmas .section-label {
  color: var(--color-sand);
}
.christmas .section-title {
  color: var(--color-white);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.christmas .section-text {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--x3);
  color: var(--color-sand-light);
  text-align: center;
}
.christmas .btn-primary {
  background: var(--color-sand);
  color: var(--color-slate-dark);
}
.christmas .btn-primary:hover {
  background: var(--color-white);
  color: var(--color-slate-dark);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter {
  background: var(--bg1);
  text-align: center;
}

.newsletter-box {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg2);
  padding: var(--x2);
  border-radius: var(--x6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.newsletter-box .section-title {
  text-align: center;
}
.newsletter-box .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--x3);
}

.newsletter-icon {
  font-size: 2.5rem;
  line-height: 1em;
  margin-bottom: var(--x5);
}

/* ============================================================
   TRADE SECTION
   ============================================================ */
.trade {
  background: var(--bg2);
}

.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--x2);
  align-items: center;
}
@media all and (max-width: 968px) {
  .trade-grid {
    grid-template-columns: 1fr;
    gap: var(--x3);
  }
}

.trade-image {
  border-radius: var(--x6);
  overflow: hidden;
}
.trade-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.trade-content p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  margin-bottom: var(--x5);
}
.trade-content p:last-child {
  margin-bottom: 0;
}

.trade-buttons {
  display: flex;
  gap: var(--x5);
  flex-wrap: wrap;
  margin-top: var(--x4);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--color-sand-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--x2);
}
@media all and (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--x3);
  }
}

.contact-info p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  margin-bottom: var(--x5);
}
.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--x6);
  margin-bottom: var(--x5);
}

.contact-detail-icon {
  font-size: var(--f5);
  line-height: var(--g5);
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
}
.contact-detail-text a {
  color: var(--color-sea);
  text-decoration: none;
}
.contact-detail-text a:hover {
  text-decoration: underline;
  color: var(--color-sea-dark);
}

.contact-form-wrap {
  background: var(--bg2);
  border-radius: var(--x6);
  padding: var(--x3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-sand-light);
  padding-top: var(--x2);
  padding-bottom: var(--x2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--x3);
}
@media all and (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-brand {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 600;
  color: var(--color-sand);
  margin-bottom: var(--x6);
}

.footer-tagline {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-slate-light);
  margin-bottom: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: var(--x4);
  flex-wrap: wrap;
  margin-bottom: 0;
}
@media all and (max-width: 768px) {
  .footer-links {
    justify-content: center;
  }
}
.footer-links a {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-slate-light);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-sand);
}

.footer-copy {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-slate-light);
}
@media all and (min-width: 769px) {
  .footer-copy {
    text-align: right;
  }
}
@media all and (max-width: 768px) {
  .footer-copy {
    text-align: center;
  }
}

/* ============================================================
   CONTENT TEMPLATE (page)
   ============================================================ */
.content-section {
  background: var(--bg1);
}

.page-headline {
  margin-bottom: var(--x3);
  padding-bottom: var(--x4);
  border-bottom: var(--border1);
}

.page-title {
  font-family: var(--font2);
  font-size: var(--f2);
  line-height: var(--g2);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-bottom: var(--x6);
}

.page-byline {
  display: flex;
  gap: var(--x5);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-text-light);
}

.page-content {
  max-width: var(--w-content);
}
.page-content p, .page-content ul, .page-content ol, .page-content table, .page-content pre, .page-content blockquote, .page-content figure {
  margin-bottom: var(--x4);
}
.page-content p:last-child, .page-content ul:last-child, .page-content ol:last-child, .page-content table:last-child, .page-content pre:last-child, .page-content blockquote:last-child, .page-content figure:last-child {
  margin-bottom: 0;
}
.page-content h2 {
  font-family: var(--font2);
  font-size: var(--f3);
  line-height: var(--g3);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-top: var(--x2);
  margin-bottom: var(--x5);
}
.page-content h2:first-child {
  margin-top: 0;
}
.page-content h3 {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-top: var(--x3);
  margin-bottom: var(--x5);
}
.page-content h4, .page-content h5, .page-content h6 {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 600;
  color: var(--color-slate-dark);
  margin-top: var(--x4);
  margin-bottom: var(--x6);
}
.page-content blockquote {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-style: italic;
  color: var(--color-slate);
  border-left: 3px solid var(--color-sand);
  padding-left: var(--x4);
}
.page-content ul, .page-content ol {
  padding-left: var(--x4);
}
.page-content a {
  color: var(--ca);
}
.page-content a:hover {
  color: var(--color-sea-dark);
}
.page-content .callout {
  border: 1px solid var(--color-sand);
  background: var(--color-sand-pale);
  color: var(--c1);
  padding: var(--x4);
  border-radius: var(--x6);
  margin-bottom: var(--x4);
}
.page-content .callout:last-child {
  margin-bottom: 0;
}
.page-content .caption {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--color-text-light);
  margin-top: var(--x6);
  margin-bottom: var(--x4);
}
.page-content .impact {
  font-family: var(--font2);
  font-size: var(--f3);
  line-height: var(--g3);
  color: var(--color-slate);
  margin-bottom: var(--x4);
}
.page-content .impact:last-child {
  margin-bottom: 0;
}
.page-content .highlight {
  background: rgba(212, 197, 169, 0.35);
  padding: 0 0.2em;
}

/* ============================================================
   404 SECTION
   ============================================================ */
.content-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-content {
  max-width: var(--w-content);
}
.error-content .section-title {
  margin-bottom: var(--x4);
}
.error-content .section-text {
  margin-bottom: var(--x3);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media all and (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-slate-dark);
    flex-direction: column;
    padding: var(--x5) var(--gutter-mobile) var(--x3);
    gap: var(--x5);
    border-top: 1px solid var(--color-slate);
    align-items: flex-start;
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
  .hero {
    min-height: 70vh;
  }
  .section {
    padding-top: var(--x2);
    padding-bottom: var(--x2);
  }
}