/* ============================================
   MEL. — Trust-Based Dog Training
   Single stylesheet. No preprocessor, no framework.
   ============================================ */

/* --------------------------------------------
   Fonts (self-hosted, SIL OFL 1.1)
   -------------------------------------------- */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-italic-latin.woff2') format('woff2');
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------
   Design tokens
   -------------------------------------------- */
:root {
  /* Surfaces */
  --cream: #f7f2ea;
  --cream-2: #efe6d9;
  --sand: #eae0d2;
  --card: #fffdf9;

  /* Ink */
  --ink: #2e2620;
  --ink-2: #3b2e24;
  --brown: #4a382c;
  --brown-accent: #7c5436;
  --muted: #5a4a3c;
  --muted-2: #6a5849;
  --label: #6b5943;

  /* Accents */
  --gold: #c9a97f;
  --gold-2: #e0cfb8;
  /* Darker gold for small text, so it clears WCAG AA on the cream surfaces. */
  --gold-text: #856633;
  --footer-text: #e8decf;
  --footer-muted: #b7a48c;
  --footer-faint: #a8957d;

  /* Lines */
  --line: rgba(46, 38, 32, 0.12);
  --line-soft: rgba(46, 38, 32, 0.09);
  --line-strong: rgba(46, 38, 32, 0.22);

  /* Type */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(56px, 7vw, 104px);
  --header-height: 74px;

  /* Effects */
  --radius: 2px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--brown-accent);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

a:hover {
  color: var(--ink);
}

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

picture {
  display: block;
}

input,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--gold-2);
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 60;
  background: var(--brown);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 15px;
}

.skip-link:focus {
  top: 16px;
  color: var(--cream);
}

/* --------------------------------------------
   Layout helpers
   -------------------------------------------- */
.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

section[id] {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

/* --------------------------------------------
   Typography primitives
   -------------------------------------------- */
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--label);
}

.eyebrow--wide {
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  color: var(--ink);
  text-wrap: pretty;
}

.lede {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

/* --------------------------------------------
   Buttons
   -------------------------------------------- */
.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--brown-accent);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--brown);
  color: var(--cream);
}

.btn--dark {
  background: var(--brown);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--ghost {
  border-color: rgba(74, 56, 44, 0.35);
  color: var(--brown);
}

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

.btn--light {
  background: var(--cream);
  color: var(--ink-2);
}

.btn--light:hover {
  background: var(--gold-2);
  color: var(--ink);
}

/* --------------------------------------------
   Header
   -------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  height: 46px;
  width: auto;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink);
  line-height: 1;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.nav__link {
  color: var(--brown);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav__link:hover,
.nav__link.is-active {
  border-bottom-color: var(--gold);
  color: var(--ink);
}

.nav__cta {
  background: var(--brown);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(46, 38, 32, 0.25);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  cursor: pointer;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--brown);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  animation: melRise 0.25s ease both;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
  padding-bottom: 20px;
  font-size: 17px;
}

.mobile-nav__link {
  color: var(--brown);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav__cta {
  margin-top: 14px;
  text-align: center;
  background: var(--brown);
  color: var(--cream);
  padding: 15px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------
   Hero
   -------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(40px, 6vw, 88px);
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

.hero__title em {
  font-style: italic;
  color: var(--brown-accent);
}

.hero__intro {
  margin: 28px 0 0;
  max-width: 44ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero__figure {
  position: relative;
  margin: 0;
}

.hero__figure::after {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 70%;
  background: var(--sand);
  border-radius: var(--radius);
}

.hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(340px, 46vw, 560px);
  object-fit: cover;
  object-position: 52% 34%;
  border-radius: var(--radius);
}

/* --------------------------------------------
   Quote band
   -------------------------------------------- */
.quote-band {
  background: var(--cream-2);
  border-top: 1px solid rgba(46, 38, 32, 0.07);
  border-bottom: 1px solid rgba(46, 38, 32, 0.07);
}

.quote-band__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) var(--gutter);
  text-align: center;
}

.quote-band p {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(23px, 2.7vw, 36px);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* --------------------------------------------
   Approach — pillars
   -------------------------------------------- */
.approach__intro {
  max-width: 640px;
}

.pillars {
  margin-top: clamp(40px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  list-style: none;
  padding: 0;
}

.pillar {
  background: var(--cream);
  padding: 32px 26px 34px;
}

.pillar__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--brown-accent);
}

.pillar__icon--image {
  object-fit: contain;
  /* The drawing fills its canvas edge to edge; the SVG icons don't. */
  padding: 3px;
}

.pillar__number {
  margin: 14px 0 10px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold-text);
}

.pillar__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}

.pillar__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-2);
  font-weight: 300;
}

/* --------------------------------------------
   Audience — "Voor elke hond. Voor elke mens."
   -------------------------------------------- */
.audience {
  background: var(--cream-2);
  border-top: 1px solid rgba(46, 38, 32, 0.07);
  border-bottom: 1px solid rgba(46, 38, 32, 0.07);
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.audience__visual {
  display: flex;
  flex-direction: column;
}

.audience__figure {
  margin: 24px 0 0;
}

.audience__image {
  width: auto;
  max-width: 100%;
  height: clamp(220px, 22vw, 320px);
  aspect-ratio: 2048 / 1366;
  border-radius: var(--radius);
}

.audience__title em {
  font-style: italic;
  color: var(--brown-accent);
}

.audience__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.audience__intro {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.audience__note {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

.audience__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

.audience__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.audience__item svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--brown-accent);
  margin-top: 2px;
}

.audience__cta {
  margin-top: 28px;
}

/* --------------------------------------------
   Over MEL.
   -------------------------------------------- */
.about {
  background: var(--sand);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about__figure {
  margin: 0;
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 14;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: var(--radius);
}

.about__caption {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--label);
  font-weight: 300;
  max-width: 38ch;
}

.about__title {
  margin: 0 0 28px;
}

.about__blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__block {
  border-top: 1px solid rgba(46, 38, 32, 0.16);
  padding-top: 22px;
}

.about__block h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--brown-accent);
}

.about__block p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: #4a3c30;
  font-weight: 300;
}

.about__block p strong {
  font-weight: 700;
  color: var(--brown-accent);
}

.about__block p:last-child {
  margin-bottom: 0;
}

.about__pull {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--brown-accent);
}

/* --------------------------------------------
   Aanbod
   -------------------------------------------- */
.offer__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.offer__title {
  margin-bottom: 20px;
}

.offer__tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  color: var(--brown-accent);
}

.offer__body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.offer__body p.offer__pull {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  color: var(--brown-accent);
  margin-bottom: 16px;
}

.offer__body p + p {
  margin-top: 16px;
}

.offer__included {
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid rgba(46, 38, 32, 0.14);
  padding-top: clamp(32px, 4vw, 52px);
}

.offer__included h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  color: var(--ink);
}

.offer__included p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  max-width: 60ch;
}

.steps {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 24px;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.step:last-child {
  padding-bottom: 0;
}

.step__marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.step__marker::after {
  content: '';
  position: absolute;
  top: 48px;
  bottom: -12px;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
}

.step:last-child .step__marker::after {
  display: none;
}

.step__number {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--brown-accent);
  background: var(--card);
  color: var(--brown-accent);
  font-family: var(--font-serif);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__content {
  padding-top: 5px;
}

.step__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--label);
}

.step__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ink);
}

.step__meta {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.step__meta li {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brown-accent);
  background: var(--cream-2);
  padding: 5px 14px;
  border-radius: 999px;
}

.step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.step__tracks {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step__track {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 30px);
}

.step__track-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--ink);
}

.step__track-tagline {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--brown-accent);
}

.step__track-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step__track-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #4a3c30;
  font-weight: 300;
}

.step__track-list li::before {
  content: '\2713';
  color: var(--brown-accent);
  flex: 0 0 auto;
}

.practical-info {
  margin-top: clamp(32px, 4vw, 52px);
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
}

.practical-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.practical-info li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

.practical-info li::before {
  content: '\2713';
  color: var(--brown-accent);
  flex: 0 0 auto;
}

.practical-info li span {
  flex: 1 1 auto;
  min-width: 0;
}

.practical-info li strong {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------
   Kennismaking banner
   -------------------------------------------- */
.banner {
  position: relative;
  display: grid;
}

.banner > picture,
.banner__overlay,
.banner__content {
  grid-area: 1 / 1;
}

/* The photo is 2.12:1; keeping the banner close to that avoids cropping the subject. */
.banner > picture {
  min-height: clamp(340px, 45vw, 620px);
}

.banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.banner__overlay {
  background: linear-gradient(90deg, rgba(30, 24, 19, 0.86) 0%, rgba(30, 24, 19, 0.6) 55%, rgba(30, 24, 19, 0.25) 100%);
}

.banner__content {
  display: flex;
  align-items: center;
}

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

.banner__text {
  max-width: 560px;
}

.banner__eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #d9c7ae;
}

.banner__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.15;
  color: var(--cream);
  text-wrap: pretty;
}

.banner__body {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(247, 242, 234, 0.88);
  font-weight: 300;
}

.banner .btn {
  margin-top: 32px;
}

/* --------------------------------------------
   Contact
   -------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__intro {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.contact__details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(46, 38, 32, 0.14);
  padding-top: 26px;
}

.contact__detail {
  margin: 0;
  font-size: 16px;
  color: var(--muted-2);
  font-weight: 300;
}

.contact__detail-label {
  display: block;
  margin-bottom: 4px;
  color: var(--label);
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}

.field input,
.field textarea {
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition);
}

.field textarea {
  border: 1px solid var(--line-strong);
  padding: 12px;
  line-height: 1.6;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brown-accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a39483;
}

.field__error {
  font-size: 13px;
  color: #9a3b28;
  min-height: 0;
}

.field__error:empty {
  display: none;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #9a3b28;
}

/* Honeypot: hidden from users, visible to naive bots. */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__submit {
  align-self: flex-start;
  border: none;
}

.form__submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form__status {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}

.form__status:empty {
  display: none;
}

.form__status--ok {
  color: var(--brown-accent);
}

.form__status--error {
  color: #9a3b28;
}

/* --------------------------------------------
   Footer
   -------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: var(--footer-text);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: center;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__mark {
  height: 52px;
  width: auto;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0.14em;
  line-height: 1;
}

.site-footer__tagline {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.site-footer__motto {
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #d9c7ae;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  justify-self: end;
}

.site-footer__nav a {
  color: var(--footer-text);
}

.site-footer__nav a:hover {
  color: var(--card);
}

.site-footer__legal {
  border-top: 1px solid rgba(232, 222, 207, 0.18);
}

.site-footer__legal p {
  margin: 0;
  padding: 20px 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--footer-faint);
}

/* --------------------------------------------
   Reveal on scroll
   -------------------------------------------- */
@keyframes melRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: melRise 0.8s ease both;
}

/* --------------------------------------------
   Breakpoints
   -------------------------------------------- */
@media (max-width: 1024px) {
  .site-footer__nav {
    justify-self: start;
  }

  .site-footer__motto {
    text-align: left;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 74px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__figure::after {
    display: none;
  }

  .banner__overlay {
    background: linear-gradient(180deg, rgba(30, 24, 19, 0.55) 0%, rgba(30, 24, 19, 0.86) 60%);
  }
}

@media (max-width: 480px) {
  .brand__mark {
    height: 38px;
  }

  .brand__name {
    font-size: 25px;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .form__submit {
    align-self: stretch;
    text-align: center;
  }
}

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

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

  .reveal {
    opacity: 1;
  }
}
