/* ===================================================
   Dos Raices Group — Design System & Styles

   Palette follows docs/branding.md: the page is warm off-white with gold
   used sparingly as an accent. Espresso appears only as bookends (hero and
   the contact/footer block) — the brand doc sanctions dark backgrounds for
   the gold logo mark, which is illegible on cream.
   =================================================== */

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Design Tokens --- */
:root {
  /* Light surfaces */
  --clr-bg: #FAF7F2;
  --clr-surface: #FFFFFF;
  --clr-text: #2D2A26;
  --clr-muted: #6B6560;
  --clr-divider: #E8E2D9;

  /* Gold accent.
     --clr-gold is decorative only: it is 2.1:1 on cream and must never carry
     text. --clr-gold-text is the darkened tone for gold-colored copy (5.3:1). */
  --clr-gold: #C9A84C;
  --clr-gold-dark: #A6872E;
  --clr-gold-light: #E8D5A0;
  --clr-gold-text: #7D641E;

  /* Dark bookends */
  --clr-dark: #1C1916;
  --clr-dark-2: #252019;
  --clr-dark-text: #F5F0E8;
  --clr-dark-muted: #B8AFA3;

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Karla', 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.5rem, 6vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 4vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2.2vw, 1.4rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --section-py: clamp(4rem, 9vw, 7rem);
  --container-px: clamp(1.25rem, 5vw, 2rem);
  --container-max: 1080px;
  --nav-h: 64px;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 250ms ease;
  --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 8px 32px rgba(45, 42, 38, 0.1);
  --shadow-lg: 0 16px 48px rgba(45, 42, 38, 0.14);
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  /* Keep anchored sections clear of the sticky nav */
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-bg);
}

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

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

ul {
  list-style: none;
}

/* Visible focus ring on every interactive element (branding.md requirement) */
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--clr-gold-dark);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

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

/* Fixed, not absolute: an absolutely-positioned skip link scrolls out of the
   viewport when focus moves to it. */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--clr-dark);
  color: var(--clr-dark-text);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* --- Typography --- */
h1,
h2,
h3 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--clr-text);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-hero);
  letter-spacing: 0.02em;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold-text);
  margin-bottom: 0.75rem;
}

.tagline {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--clr-muted);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.6;
}

/* --- Gold Divider --- */
.divider {
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  border: none;
  margin: 1.25rem auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--ff-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

/* Espresso on gold = 6.25:1. White on gold would be 2.29:1 and fail WCAG AA. */
.btn--primary {
  color: var(--clr-text);
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  box-shadow: 0 4px 16px rgba(166, 135, 46, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(166, 135, 46, 0.4);
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--lg {
  font-size: 0.95rem;
  padding: 1rem 2.25rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn--primary:hover svg:last-of-type {
  transform: translateX(3px);
}

/* ===================================================
   NAV
   =================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-divider);
}

.nav__inner {
  height: 100%;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav__brand img {
  width: 26px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.9rem);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.nav__links a {
  position: relative;
  color: var(--clr-muted);
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--clr-text);
}

/* Gold underline on hover — accent used sparingly, per brand doc */
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__links a:not(.nav__cta):hover::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--clr-gold-dark);
  border-radius: 100px;
  color: var(--clr-gold-text);
  font-weight: var(--fw-semibold);
}

.nav__cta:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-text);
}

/* --- Mobile menu toggle --- */
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--clr-text);
  place-items: center;
}

/* Three-bar burger drawn from one element + its pseudo-elements */
.nav__burger,
.nav__burger::before,
.nav__burger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), background var(--transition);
}

.nav__burger {
  position: relative;
}

.nav__burger::before,
.nav__burger::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav__burger::before {
  transform: translateY(-7px);
}

.nav__burger::after {
  transform: translateY(7px);
}

.nav.is-open .nav__burger {
  background: transparent;
}

.nav.is-open .nav__burger::before {
  transform: rotate(45deg);
}

.nav.is-open .nav__burger::after {
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .nav__toggle {
    display: grid;
    position: relative;
  }

  /* Collapse the links into a drop-down panel below the bar */
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--container-px) 1.25rem;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-divider);
    box-shadow: var(--shadow-md);
    font-size: 1rem;

    /* Hidden but still laid out, so the open transition has somewhere to go */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__links li {
    border-top: 1px solid var(--clr-divider);
  }

  .nav__links li:first-child {
    border-top: none;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem 0.25rem;
  }

  /* The underline effect doesn't belong on stacked rows */
  .nav__links a:not(.nav__cta)::after {
    display: none;
  }

  .nav__cta {
    margin-top: 0.85rem;
    text-align: center;
    padding: 0.75rem 1.1rem;
  }
}

/* The brand name is redundant next to the logo on very small screens */
@media (max-width: 380px) {
  .nav__brand span {
    display: none;
  }
}

/* ===================================================
   SECTIONS
   =================================================== */
.section {
  padding-block: var(--section-py);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Hero (dark bookend) --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) var(--container-px) clamp(4rem, 9vw, 7rem);
  min-height: calc(100svh - var(--nav-h));
  position: relative;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(201, 168, 76, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(201, 168, 76, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 85%, rgba(201, 168, 76, 0.06) 0%, transparent 45%),
    var(--clr-dark);
  color: var(--clr-dark-text);
}

/* Standalone pages (404) have no nav bar to subtract */
.hero--full {
  min-height: 100svh;
}

.hero__logo {
  width: clamp(170px, 22vw, 250px);
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.35));
  animation: logoFadeIn 1.2s ease-out;
}

.hero h1 {
  color: var(--clr-dark-text);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  animation: textFadeIn 1s ease-out 0.3s both;
}

.hero .tagline {
  color: var(--clr-dark-muted);
  animation: textFadeIn 1s ease-out 0.5s both;
}

.hero .divider {
  animation: textFadeIn 1s ease-out 0.7s both;
}

.hero__flourish {
  margin-top: 0.5rem;
  color: var(--clr-gold);
  opacity: 0.55;
  animation: textFadeIn 1s ease-out 0.9s both;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Our Roots --- */
.story {
  background: var(--clr-bg);
}

.story__content {
  max-width: 660px;
  text-align: center;
}

.story__content > p:not(.eyebrow) {
  color: var(--clr-muted);
  line-height: 1.85;
}

.story__content > p:not(.eyebrow) + p {
  margin-top: 1.15rem;
}

.story__content em {
  color: var(--clr-gold-text);
  font-style: italic;
  font-weight: var(--fw-medium);
}

/* Heritage badges */
.heritage {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.heritage__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  border: 1.5px solid rgba(166, 135, 46, 0.35);
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-gold-text);
  background: var(--clr-surface);
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.heritage__badge svg {
  width: 18px;
  height: 18px;
}

/* --- How We Build --- */
.approach {
  background: var(--clr-surface);
  border-block: 1px solid var(--clr-divider);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.pillar {
  background: var(--clr-bg);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  color: var(--clr-gold-text);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0.08));
}

.pillar__icon svg {
  width: 23px;
  height: 23px;
}

.pillar h3 {
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--clr-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* --- Ventures --- */
.venture {
  background: var(--clr-bg);
}

.venture__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 800px;
  margin-inline: auto;
  background: var(--clr-surface);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.venture__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Gold accent along the top of the card */
.venture__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold-light), var(--clr-gold), var(--clr-gold-light));
}

.venture__image-wrap {
  width: clamp(150px, 26vw, 200px);
  flex-shrink: 0;
}

.venture__image-wrap img {
  transition: transform 0.4s ease;
}

.venture__card:hover .venture__image-wrap img {
  transform: scale(1.03);
}

.venture__info h3 {
  margin-bottom: 0.6rem;
}

.venture__info p {
  color: var(--clr-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.venture__note {
  text-align: center;
  margin-top: 2rem;
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--clr-muted);
}

/* --- Contact (dark bookend) --- */
.contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.1) 0%, transparent 55%),
    var(--clr-dark-2);
  color: var(--clr-dark-text);
  text-align: center;
}

.contact__inner {
  max-width: 640px;
}

.contact .eyebrow {
  color: var(--clr-gold);
}

.contact h2 {
  color: var(--clr-dark-text);
}

.contact__lede {
  color: var(--clr-dark-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* --- Contact form (sits on the dark contact section) --- */
.form {
  text-align: left;
  margin-top: 0.5rem;
}

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

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

.form__field {
  margin-bottom: 1rem;
}

.form__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.45rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-dark-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}

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

/* The native dropdown list renders in OS colors; force legible option text
   on the platforms that inherit the dark field color instead. */
.form__field select option {
  color: #1C1916;
  background: #FFFFFF;
}

.form__field ::placeholder {
  color: rgba(184, 175, 163, 0.65);
}

.form__field input:hover,
.form__field select:hover,
.form__field textarea:hover {
  border-color: rgba(201, 168, 76, 0.5);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  background: rgba(255, 255, 255, 0.07);
}

/* Keyboard users still get the standard ring on top of the border change */
.form__field input:focus-visible,
.form__field select:focus-visible,
.form__field textarea:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 2px;
}

/* Invalid state is only applied after a submit attempt, never while typing */
.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: #E88B8B;
}

.form__error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #E88B8B;
}

/* Honeypot: off-screen rather than display:none, which some bots skip */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile injects a fixed-size iframe; just give it room and let it scale
   down on narrow screens rather than pushing the layout wide. */
.form__captcha {
  margin: 1.25rem 0 0.25rem;
  min-height: 65px;
}

.form__captcha .cf-turnstile {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .form__submit {
    width: auto;
    min-width: 220px;
  }
}

.form__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form__status {
  margin-top: 1rem;
  font-size: var(--fs-small);
  min-height: 1.4em;
}

.form__status.is-error {
  color: #E88B8B;
}

.form__status.is-success {
  color: var(--clr-gold);
}

/* Success replaces the form entirely */
.form__done {
  margin-top: 1rem;
  padding: 2rem 1.5rem;
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.07);
}

.form__done h3 {
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
}

.form__done p {
  color: var(--clr-dark-muted);
  font-size: var(--fs-small);
}

.form__noscript {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--clr-dark-muted);
}

.form__noscript a {
  color: var(--clr-gold);
  text-decoration: underline;
}

.contact__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.contact__meta dt {
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.3rem;
}

.contact__meta dd {
  font-size: var(--fs-small);
  color: var(--clr-dark-muted);
}

/* --- Footer --- */
.footer {
  padding: 3rem var(--container-px) 2.5rem;
  text-align: center;
  background: var(--clr-dark);
  color: var(--clr-dark-muted);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--clr-gold) 50%, transparent 90%);
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.footer__logo {
  width: 30px;
  opacity: 0.65;
}

.footer__brand-name {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dark-muted);
  letter-spacing: 0.04em;
}

/* Full-opacity muted tone: 8.08:1. The old rgba(...,0.6) was 3.74:1 and failed. */
.footer p {
  font-size: var(--fs-small);
  color: var(--clr-dark-muted);
  line-height: 1.6;
}

.footer p + p {
  margin-top: 0.25rem;
}

/* ===================================================
   SCROLL ANIMATIONS
   Only applied when JS is present to remove them — otherwise content that
   never gets .is-visible would stay permanently invisible.
   =================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===================================================
   RESPONSIVE — Tablet+
   =================================================== */
@media (min-width: 768px) {
  .venture__card {
    flex-direction: row;
    text-align: left;
    padding: 2.75rem;
    gap: 2.5rem;
  }
}

/* ===================================================
   ACCESSIBILITY — Reduced Motion
   =================================================== */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

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

/* ===================================================
   PRINT
   =================================================== */
@media print {

  .nav,
  .skip-link,
  .hero__flourish {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .contact,
  .footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .contact h2 {
    color: #000 !important;
  }
}
