/* =========================================================
   Branded Network: website styles
   ---------------------------------------------------------
   1. Brand tokens (colours, fonts, spacing)
   2. Base styles
   3. Layout helpers
   4. Buttons, labels and small parts
   5. Header and navigation
   6. Sections: hero, about, services, process, work, contact
   7. Footer and image viewer
   8. Fade-in effect and reduced motion
   ========================================================= */


/* ---------- 1. Brand tokens ----------
   Change a colour here and it updates everywhere on the site. */
:root {
  --ivory: #FAF6EF;      /* main background */
  --sand: #F1E8DA;       /* alternate section background */
  --ink: #1F1A17;        /* text and dark sections */
  --ink-soft: #2A2420;   /* slightly lighter ink, for cards on dark */
  --muted: #5E534B;      /* secondary text on light backgrounds */
  --muted-dark: #CDBFAE; /* secondary text on dark backgrounds */
  --gold: #C4933A;       /* accent shapes only: too pale for text on ivory */
  --gold-light: #D9AE5C; /* gold text on dark backgrounds */
  --bronze: #8A5A1C;     /* accent text on light backgrounds */
  --rust: #A64B30;       /* Request a call buttons */
  --rust-dark: #8E3E26;  /* button hover */
  --line: rgba(31, 26, 23, 0.14);
  --line-dark: rgba(250, 246, 239, 0.16);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 10vw, 8rem);
  --radius: 6px;
  --header-height: 72px;
  --focus: var(--bronze);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* When a menu link jumps to a section, stop the section just below the sticky
   header so its heading isn't hidden. (scroll-margin on the section itself works
   in more browsers than scroll-padding on the page, including older Safari.) */
[id] { scroll-margin-top: calc(var(--header-height) + 8px); }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

/* A clear, visible outline for keyboard users */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Text for screen readers only */
.visually-hidden {
  position: absolute !important;
  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: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }


/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-space) 0; }
.section-sand { background: var(--sand); }
.section-ink {
  background: var(--ink);
  color: var(--ivory);
  --focus: var(--gold-light);
}

.section-intro {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-intro h2 { margin-bottom: 1rem; }
.section-intro p { color: var(--muted); font-size: 1.125rem; }
.section-ink .section-intro p { color: var(--muted-dark); }

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

/* Two columns: heading on the left, text on the right (stacks on phones) */
.split {
  display: grid;
  gap: 2rem 4rem;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.5fr; }
}


/* ---------- 4. Buttons, labels and small parts ---------- */
.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.section-ink .eyebrow { color: var(--gold-light); }

/* Email address used as a section label: keep it lowercase and clearly a link */
.eyebrow-email { text-transform: none; letter-spacing: 0.04em; font-size: 0.95rem; }
.eyebrow-email a { text-decoration-color: var(--gold); text-underline-offset: 4px; overflow-wrap: anywhere; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--rust); color: var(--ivory); }
.btn-primary:hover { background: var(--rust-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-small { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn-large { min-height: 56px; padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* "Concept work" label */
.tag {
  display: inline-block;
  justify-self: start; /* stops the label stretching when it sits inside a grid */
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--rust);
  border-radius: 999px;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-inline { color: var(--bronze); font-weight: 500; }


/* ---------- 5. Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark { width: 40px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name-accent { color: var(--bronze); }

/* Phone menu button (three lines) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
/* Turns into an X when the menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Phone and tablet menu: a panel below the header */
.site-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  padding: 1rem var(--gutter) 1.75rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.site-nav.is-open { display: block; }
.site-nav ul { margin-bottom: 1.25rem; }
.site-nav li a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
}

/* No JavaScript? Show the menu links normally */
html:not(.js) .site-nav { position: static; display: block; padding: 0 0 1rem; border: 0; }
html:not(.js) .nav-toggle { display: none; }

/* Desktop menu: one row */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav,
  html:not(.js) .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
  }
  .site-nav ul { display: flex; gap: 2rem; margin: 0; }
  .site-nav li a {
    padding: 0.25rem 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 500;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
    transition: background-size 0.25s ease;
  }
  .site-nav li a:hover { background-size: 100% 1.5px; }
}


/* ---------- 6a. Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.1rem, 8.5vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--bronze); }

.hero .lead { max-width: 560px; margin-bottom: 2rem; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* The large network illustration with labels */
.hero-figure {
  position: relative;
  width: min(100%, 380px);
  margin: 2rem auto 2.5rem; /* top space makes room for the label above the top node */
  padding: 0 1rem;
}
.hero-network { width: 100%; height: auto; overflow: visible; }
.hero-network-links { stroke: #8C7F74; stroke-width: 1.6; }

.node-label {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
/* Positions match the node centres in the SVG (as percentages of its size).
   The top label sits centred above the top node at every screen size. */
.node-label-top { top: -1.9rem; left: 50%; transform: translateX(-50%); }
@media (max-width: 559px) {
  .hero-figure { width: min(100%, 280px); }
}
.node-label-left { top: calc(100% + 0.9rem); left: calc(1rem + 17.9% * 0.9); transform: translateX(-50%); }
.node-label-right { top: calc(100% + 0.9rem); right: calc(1rem + 17.9% * 0.9); transform: translateX(50%); }

.hero-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-points li { display: flex; gap: 0.6rem; align-items: baseline; }
.hero-points li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
}


/* ---------- 6b. About ---------- */
.split-heading h2 { max-width: 12ch; }
.split-body .lead { margin-bottom: 1.25rem; }
.split-body > p:not(.lead) { color: var(--muted); }

.principles {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .principles { grid-template-columns: repeat(3, 1fr); }
}
.principles li { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.principles h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.principles p { color: var(--muted); font-size: 0.975rem; }


/* ---------- 6c. Services ---------- */
.service-list { border-top: 1px solid var(--line); }

.service {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .service { grid-template-columns: 4.5rem 1fr 1.25fr; align-items: baseline; }
}

.service-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bronze);
}
.service h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.service p { color: var(--muted); }


/* ---------- 6d. How we work ---------- */
.process {
  display: grid;
  gap: 1rem;
  counter-reset: none;
}
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(3, 1fr); } } /* 9 steps = a neat 3 × 3 grid */

.step {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  margin-bottom: 1.1rem;
  border: 1.5px solid var(--muted-dark);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
}
/* Steps 5 to 9 repeat every cycle: their numbers are gold */
.step-cycle .step-number { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.step h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.step p { color: var(--muted-dark); font-size: 0.95rem; }

.approval {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--ivory) !important;
}
.approval-label {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.15rem 0.6rem;
  background: var(--rust);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cycle-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--muted-dark);
}
.cycle-note strong { color: var(--ivory); font-weight: 600; }
.cycle-icon { color: var(--gold-light); font-size: 1.6rem; line-height: 1; }


/* ---------- 6e. Selected work ---------- */
.disclaimer {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-style: italic;
}

.project {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .project { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .project-wide { grid-template-columns: 1fr; }
  .project-wide .project-info {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0 4rem;
  }
  .project-wide .project-info > :not(.deliverables) { grid-column: 1; }
  .project-wide .deliverables { grid-column: 2; grid-row: 1 / span 5; align-self: end; }
}

.project-info h3 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 0.4rem; }
.project-meta { color: var(--bronze); font-weight: 500; margin-bottom: 1.25rem; }
.project-info > p:not(.tag):not(.project-meta) { color: var(--muted); }

.deliverables { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.deliverables li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.975rem;
  font-weight: 500;
}
.small-print { margin-top: 1rem; font-size: 0.875rem; font-style: italic; }

/* Clickable images */
.zoom {
  /* Keeps the hidden "View full size:" text inside its button. Without this it is
     positioned against the whole page and widens it from off-screen slides. */
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
}
.zoom img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(31, 26, 23, 0.08), 0 12px 32px -12px rgba(31, 26, 23, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zoom:hover img { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31, 26, 23, 0.08), 0 20px 40px -14px rgba(31, 26, 23, 0.3); }

/* Mara Ellison carousel: one slide at a time, swipe or use the arrows */
.carousel { width: 100%; max-width: 440px; margin: 0 auto; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  /* 8px of inner space so the 3px keyboard focus outline (plus its 3px gap) isn't
     cropped by the scrolling edge; the negative margin keeps the layout where it was */
  padding: 8px 8px 1rem;
  margin: -4px -4px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: center; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}
.carousel-btn {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: var(--ivory); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-status {
  min-width: 3.5rem;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* Llum Homes gallery: swipe on phones, three columns on larger screens */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  /* Same room for the focus outline as the carousel; the margin keeps the layout unchanged */
  padding: 8px 8px 1rem;
  margin: -4px -8px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px; /* snapped images keep their outline space too */
}
.gallery li { scroll-snap-align: start; }
@media (min-width: 640px) {
  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    overflow: visible;
  }
}


/* ---------- 6f. Contact ---------- */
.contact { max-width: 760px; text-align: center; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.25rem); margin-bottom: 1.25rem; }
.contact .lead { color: var(--muted); margin: 0 auto 2.25rem; max-width: 560px; }

.contact-actions { margin-bottom: 3rem; }
.contact-help { margin-top: 0.9rem; font-size: 0.925rem; color: var(--muted); }

/* "What happens next?": three steps side by side on wider screens, stacked on phones */
.next-steps { margin-bottom: 3rem; }
.next-steps-title { margin-bottom: 1.5rem; font-size: 1.35rem; }
.next-steps-list { display: grid; gap: 1.75rem; }
@media (min-width: 700px) {
  .next-steps-list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.next-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  margin-bottom: 0.75rem;
  border: 1.5px solid var(--bronze);
  border-radius: 50%;
  font-family: var(--font-display);
  color: var(--bronze);
}
.next-step-title {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.next-step p:not(.next-step-title) { font-size: 0.95rem; color: var(--muted); }

.contact-email { padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-label {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}
.email-link {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
/* "Email copied" state: same look as the button's hover state */
.btn-ghost.is-copied { background: var(--ink); color: var(--ivory); }
.copy-status {min-height: 1.5em; margin-top: 0.75rem; font-size: 0.9rem; color: var(--bronze); }


/* ---------- 7a. Footer ---------- */
.site-footer {
  padding: 3rem 0;
  background: var(--ink);
  color: var(--muted-dark);
  --focus: var(--gold-light);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
}
.footer-name span { color: var(--gold-light); }
.footer-tagline { margin: 0; font-size: 0.9rem; }
.footer-meta { margin: 0; font-size: 0.9rem; line-height: 1.8; }
.footer-meta a { color: var(--ivory); text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (min-width: 700px) { .footer-meta { text-align: right; } }


/* ---------- 7b. Image viewer ---------- */
.lightbox {
  width: auto;
  max-width: min(92vw, 760px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  --focus: var(--gold-light);
}
.lightbox::backdrop { background: rgba(31, 26, 23, 0.88); }
.lightbox-image {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: -0.5rem; right: -0.5rem;
  z-index: 1;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}


/* ---------- 8. Gentle fade-in as sections scroll into view ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* People who ask their device for less motion get no animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
