/* Cloud Dev Apps — layered, high-impact coaching theme */
:root {
  --color-ink: #14221e;
  --color-forest: #1a3d34;
  --color-forest-deep: #0f2a24;
  --color-moss: #3d6b5a;
  --color-sage: #9bb5a8;
  --color-paper: #f3ebe0;
  --color-mist: #e7efe9;
  --color-cream: #faf6f0;
  --color-amber: #c4783a;
  --color-amber-deep: #9a5a28;
  --color-clay: #d4a574;
  --color-white: #ffffff;
  --color-error: #8b2e2e;
  --color-success: #1f5c45;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 0.35rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 18px 40px rgba(20, 34, 30, 0.12);
  --max: 72rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(155, 181, 168, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 120, 58, 0.18), transparent 50%),
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-mist) 48%, var(--color-paper) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--color-forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-amber-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-forest-deep);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--color-forest);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber-deep);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 var(--space-md);
}

.section__lead {
  font-size: 1.1rem;
  max-width: 38rem;
  color: rgba(20, 34, 30, 0.82);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--color-forest);
  color: var(--color-paper);
  border-color: var(--color-forest);
}

.btn--primary:hover {
  background: var(--color-forest-deep);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}

.btn--secondary:hover {
  background: var(--color-forest);
  color: var(--color-paper);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(20, 34, 30, 0.25);
}

.btn--ghost:hover {
  border-color: var(--color-forest);
  color: var(--color-forest);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-md);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 240, 0.82);
  border-bottom: 1px solid rgba(26, 61, 52, 0.1);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-forest-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header__mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, var(--color-amber) 0%, var(--color-amber) 35%, transparent 35%),
    var(--color-forest);
  box-shadow: inset 0 -6px 0 rgba(243, 235, 224, 0.25);
  animation: markPulse 4.5s var(--ease) infinite;
}

@keyframes markPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-4deg) scale(1.04); }
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-header__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(26, 61, 52, 0.2);
  border-radius: var(--radius);
  background: var(--color-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--color-forest);
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-amber-deep);
}

.site-nav__cta {
  background: var(--color-forest);
  color: var(--color-paper) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--color-forest-deep);
  color: var(--color-white) !important;
}

@media (max-width: 920px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: rgba(250, 246, 240, 0.98);
    border-bottom: 1px solid rgba(26, 61, 52, 0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
  }

  .site-nav.is-open {
    max-height: 28rem;
    opacity: 1;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.85rem;
  }
}

/* Hero — layered composition */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero__layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__layer {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(0px);
  opacity: 0.55;
  animation: floatLayer 12s var(--ease) infinite;
}

.hero__layer--a {
  width: 42vw;
  max-width: 28rem;
  height: 42vw;
  max-height: 28rem;
  background: linear-gradient(160deg, rgba(61, 107, 90, 0.35), rgba(196, 120, 58, 0.2));
  top: -8%;
  right: -5%;
}

.hero__layer--b {
  width: 30vw;
  max-width: 18rem;
  height: 30vw;
  max-height: 18rem;
  background: linear-gradient(200deg, rgba(26, 61, 52, 0.2), rgba(155, 181, 168, 0.4));
  bottom: 5%;
  left: -4%;
  animation-delay: -4s;
}

.hero__layer--c {
  width: 12rem;
  height: 12rem;
  background: rgba(212, 165, 116, 0.35);
  top: 35%;
  left: 42%;
  animation-delay: -7s;
}

@keyframes floatLayer {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(12px, -18px) rotate(6deg); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--color-forest-deep);
  max-width: 10ch;
}

.hero__headline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  margin: 0 0 1rem;
  color: var(--color-ink);
  max-width: 28rem;
}

.hero__support {
  margin: 0;
  max-width: 30rem;
  color: rgba(20, 34, 30, 0.8);
}

.hero__visual {
  position: relative;
  min-height: 22rem;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0.35rem var(--radius-lg);
  box-shadow: var(--shadow-soft);
  clip-path: polygon(8% 0, 100% 0, 100% 88%, 92% 100%, 0 100%, 0 12%);
  animation: heroReveal 1.1s var(--ease) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__frame {
  position: absolute;
  inset: 1.25rem -0.75rem -0.75rem 1.5rem;
  border: 2px solid rgba(26, 61, 52, 0.35);
  border-radius: var(--radius-lg);
  z-index: -1;
  animation: frameSlide 1.2s var(--ease) 0.15s both;
}

@keyframes frameSlide {
  from { opacity: 0; transform: translate(-12px, -12px); }
  to { opacity: 1; transform: translate(0, 0); }
}

@media (max-width: 800px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__brand {
    max-width: none;
  }

  .hero__visual {
    min-height: 16rem;
    order: -1;
  }

  .hero__visual img {
    min-height: 16rem;
  }
}

/* Panels & offers */
.panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 61, 52, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(8px);
}

.panel--accent {
  background:
    linear-gradient(135deg, rgba(26, 61, 52, 0.94), rgba(15, 42, 36, 0.98));
  color: var(--color-paper);
  border: none;
}

.panel--accent h2,
.panel--accent h3 {
  color: var(--color-paper);
}

.panel--accent p,
.panel--accent li {
  color: rgba(243, 235, 224, 0.9);
}

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

.offer-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid rgba(26, 61, 52, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.offer-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.offer-tile__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.offer-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.offer-tile:hover .offer-tile__media img {
  transform: scale(1.05);
}

.offer-tile__body {
  padding: 1.15rem 1.2rem 1.4rem;
}

.offer-tile__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.offer-tile__body p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  color: rgba(20, 34, 30, 0.78);
}

.offer-tile__meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-amber-deep);
}

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

.flagship {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.flagship__media {
  position: relative;
}

.flagship__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.flagship__blob {
  position: absolute;
  width: 40%;
  height: 40%;
  right: -6%;
  bottom: -8%;
  background: linear-gradient(140deg, var(--color-amber), var(--color-clay));
  border-radius: 50% 40% 60% 45%;
  z-index: -1;
  opacity: 0.7;
  animation: floatLayer 9s var(--ease) infinite;
}

@media (max-width: 800px) {
  .flagship {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--color-amber);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.quote footer {
  font-size: 0.92rem;
  color: rgba(20, 34, 30, 0.7);
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-forest);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 61, 52, 0.08);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: attr(data-step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(26, 61, 52, 0.12);
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(26, 61, 52, 0.1);
}

.rate-table th {
  background: var(--color-forest);
  color: var(--color-paper);
  font-weight: 600;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid rgba(26, 61, 52, 0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(26, 61, 52, 0.08);
}

.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -6rem;
  background: radial-gradient(circle, rgba(196, 120, 58, 0.28), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 0.75rem;
  max-width: 16ch;
}

.page-hero p {
  max-width: 36rem;
  margin: 0;
  font-size: 1.1rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.detail-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  min-height: 16rem;
  object-fit: cover;
}

@media (max-width: 800px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-amber);
}

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

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 61, 52, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.blog-card__meta {
  font-size: 0.85rem;
  color: var(--color-amber-deep);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.blog-card p {
  margin: 0;
  color: rgba(20, 34, 30, 0.75);
}

@media (max-width: 700px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.article-cover {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 0 1.75rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form__row {
  display: grid;
  gap: 0.4rem;
}

.form__row--2 {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form__row--2 {
    grid-template-columns: 1fr;
  }
}

.form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(26, 61, 52, 0.22);
  border-radius: var(--radius);
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(26, 61, 52, 0.15);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form__error {
  color: var(--color-error);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form__status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--success {
  background: rgba(31, 92, 69, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(31, 92, 69, 0.3);
}

.form__status--error {
  background: rgba(139, 46, 46, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(139, 46, 46, 0.25);
}

.contact-aside {
  padding: 1.5rem;
  background: var(--color-forest);
  color: var(--color-paper);
  border-radius: var(--radius-lg);
}

.contact-aside h2 {
  color: var(--color-paper);
  margin-top: 0;
}

.contact-aside a {
  color: var(--color-clay);
}

.contact-aside p {
  color: rgba(243, 235, 224, 0.92);
}

.story {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 61, 52, 0.08);
  margin-bottom: 1.25rem;
}

.story h3 {
  margin: 0;
}

.story__meta {
  font-size: 0.9rem;
  color: var(--color-amber-deep);
  font-weight: 600;
}

.session-track {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: 1.5rem;
}

.session-track::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--color-amber), var(--color-forest));
}

.session-track__item {
  position: relative;
  padding: 0 0 1.75rem 1.25rem;
}

.session-track__item::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--color-paper);
  border: 3px solid var(--color-forest);
}

.session-track__item h3 {
  margin: 0 0 0.4rem;
}

.cta-band {
  margin: var(--space-xl) 0;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(26, 61, 52, 0.95), rgba(61, 107, 90, 0.9)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=60");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--color-paper);
}

.cta-band h2 {
  color: var(--color-paper);
  margin: 0 0 0.75rem;
}

.cta-band p {
  max-width: 34rem;
  color: rgba(243, 235, 224, 0.92);
}

.cta-band .btn--primary {
  background: var(--color-amber);
  border-color: var(--color-amber);
  color: var(--color-forest-deep);
}

.cta-band .btn--primary:hover {
  background: var(--color-clay);
  border-color: var(--color-clay);
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  background: var(--color-forest-deep);
  color: rgba(243, 235, 224, 0.88);
  padding: var(--space-xl) 0 0;
}

.site-footer a {
  color: var(--color-clay);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-paper);
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-paper);
  margin: 0 0 0.5rem;
}

.site-footer__heading {
  font-weight: 700;
  color: var(--color-paper);
  margin: 0 0 0.75rem;
}

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

.site-footer__links li {
  margin-bottom: 0.4rem;
}

.site-footer__address {
  word-break: break-word;
}

.site-footer__base {
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(243, 235, 224, 0.12);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 40rem;
  margin-inline: auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  background: var(--color-forest-deep);
  color: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(212, 165, 116, 0.35);
  animation: bannerIn 0.45s var(--ease);
}

@keyframes bannerIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner__text a {
  color: var(--color-clay);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-banner .btn--ghost {
  color: var(--color-paper);
  border-color: rgba(243, 235, 224, 0.35);
}

.cookie-banner .btn--primary {
  background: var(--color-amber);
  border-color: var(--color-amber);
  color: var(--color-forest-deep);
}

.error-page {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
