/* RedFox Branding. One stylesheet for the whole site. */

/* fonts:start */
@font-face {
  font-family: "Inter Text";
  src: url("../fonts/inter-text.woff2?v=27fbdd7f") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2190-2193, U+2212, U+2215, U+2713, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display.woff2?v=2ef0abdc") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2190-2193, U+2212, U+2215, U+2713, U+FEFF, U+FFFD;
}
/* fonts:end */

/* Fallbacks sized to Inter, so text doesn't jump when the web fonts arrive. */
@font-face {
  font-family: "Inter Text Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90.5%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Display Fallback";
  src: local("Arial");
  size-adjust: 102%;
  ascent-override: 95%;
  descent-override: 23.6%;
  line-gap-override: 0%;
}

/* ------------------------------------------------------------------ tokens */

:root {
  --red: #E8462A;
  --red-deep: #C63A21;
  --red-press: #A8301A;
  --cream: #FADFCB;
  --cream-deep: #F0C8AC;
  --ink: #1D1B1F;
  --stone: #5A555C;
  --paper: #FFF8F2;
  --peach: #FDEDE3;
  --white: #FFFFFF;
  --stone-light: #C9C2C6;
  --field: #8C888D;
  --line: rgba(29, 27, 31, 0.1);
  --line-soft: rgba(29, 27, 31, 0.07);

  --font-text: "Inter Text", "Inter Text Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Display", "Inter Display Fallback", "Inter Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem);
  --h3: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);
  --h2: clamp(2.125rem, 1.2rem + 3.1vw, 4rem);
  --display: clamp(2.5rem, 1.45rem + 3.5vw, 4.5rem);
  --display-xl: clamp(3rem, 1.1rem + 7.6vw, 7.5rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --sec: clamp(80px, 8.5vw, 160px);
  --header: 64px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(29, 27, 31, 0.06);
  --shadow-md: 0 1px 2px rgba(29, 27, 31, 0.05), 0 8px 24px rgba(29, 27, 31, 0.07);
  --shadow-lg: 0 2px 4px rgba(60, 40, 30, 0.06), 0 12px 28px rgba(60, 40, 30, 0.10), 0 40px 80px rgba(60, 40, 30, 0.12);
  --shadow-piece: 0 1px 1px rgba(60, 40, 30, 0.10), 0 3px 6px rgba(60, 40, 30, 0.08), 0 14px 28px rgba(60, 40, 30, 0.10), 0 36px 64px rgba(60, 40, 30, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ------------------------------------------------------------------ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text-md);
  line-height: 1.6;
  font-feature-settings: "calt", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }

p, li, dd, figcaption { text-wrap: pretty; overflow-wrap: anywhere; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 700; }

:where(a) { color: var(--red-deep); text-decoration: none; }
:where(a):hover { text-decoration: underline; text-underline-offset: 0.18em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

[hidden] { display: none !important; }
.nw { white-space: nowrap; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--red-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--cream); color: var(--ink); }

.sr,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  font-weight: 400;
  font-style: normal;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; text-decoration: none; }

.main:focus { outline: none; }

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap--wide { width: min(1360px, 100% - 2 * var(--gutter)); }
.wrap--wide > .sec__head,
.work-grid__head,
.work-grid__buttons,
.clients { width: min(var(--max), 100%); margin-inline: auto; }

/* ------------------------------------------------------------------ type */

.eyebrow {
  margin-bottom: 12px;
  color: var(--red-deep);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.4;
}

.sec__title {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.038em;
  max-width: 19ch;
}

.sec__intro {
  margin-top: 20px;
  max-width: 40rem;
  color: var(--stone);
  font-size: var(--text-lead);
  line-height: 1.45;
  letter-spacing: -0.006em;
}
.sec__intro p + p { margin-top: 0.6em; }

.text { color: var(--stone); }
.text > * + * { margin-top: 1em; }
.text p,
.text li { max-width: 68ch; }
.text strong { color: var(--ink); font-weight: 600; }
.text h3 {
  margin-top: 1.6em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.text h3 + p { margin-top: 0.5em; }
.text ul,
.text ol { padding-left: 1.2em; }
.text li + li { margin-top: 0.4em; }
.text li::marker { color: var(--red); }
.text ol li::marker { font-weight: 600; }
.text a,
.sec__intro a,
.hero__lead a,
.qa__a a,
.statement__body a {
  color: var(--red-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.text a:hover,
.sec__intro a:hover,
.hero__lead a:hover,
.qa__a a:hover { text-decoration-thickness: 2px; }

/* The keyword's single underline: a soft highlight, so nobody takes it for a link. */
u {
  text-decoration: underline;
  text-decoration-color: rgba(232, 70, 42, 0.28);
  text-decoration-thickness: 0.32em;
  text-underline-offset: -0.12em;
  text-decoration-skip-ink: none;
}

/* ------------------------------------------------------------------ buttons and links */

.buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 18px; height: 18px; }

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

.btn--ghost {
  background: transparent;
  color: var(--red-deep);
  box-shadow: inset 0 0 0 1.5px rgba(198, 58, 33, 0.55);
}
.btn--ghost:hover { background: rgba(198, 58, 33, 0.07); color: var(--red-deep); box-shadow: inset 0 0 0 1.5px var(--red-deep); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--red-deep);
  font-weight: 600;
  text-decoration: none;
}
.more .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.more:hover { text-decoration: none; }
.more:hover span { text-decoration: underline; text-underline-offset: 0.18em; }
.more:hover .icon { transform: translateX(3px); }

.round {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 27, 31, 0.06);
  color: var(--ink);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.round .icon { width: 20px; height: 20px; }
.round:active { transform: scale(0.94); }
@media (hover: hover) {
  .round:hover { background: rgba(29, 27, 31, 0.1); }
}
.round:disabled { opacity: 0.35; cursor: default; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--red-deep);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

.header.is-solid {
  background: rgba(255, 248, 242, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-open { transform: none; }

.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header);
}
.header__logo { flex: none; display: block; border-radius: 8px; }
.header__logo img { width: 150px; height: auto; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.nav__link:hover,
.nav__link[aria-expanded="true"] { background: rgba(29, 27, 31, 0.06); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--red-deep); }
.nav__link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 1081px) { .nav + .header__actions { margin-left: 0; } }
.header__actions .btn { min-height: 40px; padding: 0 18px; font-size: var(--text-sm); }
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}
.header__tel .icon { width: 18px; height: 18px; color: var(--red-deep); }
.header__menu { display: none; }

.mega {
  position: absolute;
  inset: calc(var(--header) - 4px) 0 auto;
}
.mega__card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 32px;
  padding: 32px 36px 28px;
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  animation: rise 0.28s var(--ease);
}
.mega__line {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mega__col ul { display: grid; gap: 2px; }
.mega__col li a {
  display: block;
  margin-inline: -10px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  color: var(--stone);
  font-size: var(--text-sm);
  line-height: 1.35;
}
.mega__col li a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.mega__col li a[aria-current="page"] { color: var(--red-deep); }
.mega__foot {
  grid-column: 1 / -1;
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--text-sm);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Small screens: the full-screen menu. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  padding: calc(var(--header) + 16px) var(--gutter) 40px;
  background: var(--paper);
  animation: fade 0.25s var(--ease);
}
.admin-bar .menu { padding-top: calc(var(--header) + 62px); }
.menu__inner { max-width: 560px; margin-inline: auto; }
.menu__group summary,
.menu__main a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary .icon { width: 24px; height: 24px; color: var(--stone); transition: transform 0.25s var(--ease); }
.menu__group[open] summary .icon { transform: rotate(180deg); }
.menu__group[open] { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.menu__group[open] summary { border-bottom: 0; }
.menu__line { margin-top: 14px; }
.menu__line a { color: var(--ink); font-weight: 600; }
.menu__group ul { display: grid; gap: 2px; margin-top: 4px; }
.menu__group li a { display: block; padding: 6px 0; color: var(--stone); }
.menu__main a:hover,
.menu__group a:hover { text-decoration: none; color: var(--red-deep); }
.menu__foot { display: grid; gap: 18px; justify-items: start; margin-top: 32px; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__menu { display: inline-grid; }
  .header__tel span { display: none; }
}
@media (max-width: 560px) {
  .header__actions .btn { display: none; }
}

/* ------------------------------------------------------------------ sections */

.sec { padding-block: var(--sec); }
.sec + .sec { padding-top: 0; }
.sec--peach + .sec,
.sec + .sec--peach { padding-top: var(--sec); }
.sec--peach { background: var(--peach); }
.sec--white { background: var(--white); }
.sec--white + .sec,
.sec + .sec--white { padding-top: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * 0.6); }
.sec--panel > .wrap {
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--peach);
}

.sec__head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec__buttons { margin-top: 40px; }

/* ------------------------------------------------------------------ inner-page hero */

.hero {
  padding-top: calc(var(--header) + clamp(32px, 5vw, 72px));
  padding-bottom: clamp(56px, 6vw, 104px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero--media .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 80px); }
.hero__copy { container-type: inline-size; }

.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: var(--text-sm); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--stone); }
.crumbs a { color: var(--stone); }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: 14px; height: 14px; color: var(--stone-light); }

.hero__h1 {
  color: var(--red-deep);
  font-family: var(--font-text);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.hero__display {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: var(--display);
  font-size: clamp(2.75rem, 12cqi, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero--text .hero__display { max-width: 18ch; }
.hero__lead {
  margin-top: 24px;
  max-width: 36rem;
  color: var(--stone);
  font-size: var(--text-lead);
  line-height: 1.45;
  letter-spacing: -0.006em;
}
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__chips { margin-top: 28px; }

.hero__media { min-width: 0; }

.hero--wide .hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
.hero--wide .hero__copy { max-width: 52rem; }
.hero--wide .hero__display { max-width: 16ch; }
.hero--wide .hero__media { width: 100%; }
.hero--wide .shot { padding: 0 8% 7% 0; }
.hero--wide .shot__phone { width: 20%; }

/* A framed image: rounded, with the photo's own tones. */
.frame {
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--peach);
}
.frame img { width: 100%; height: auto; }
.frame figcaption {
  padding: 14px 20px;
  background: var(--white);
  color: var(--stone);
  font-size: var(--text-sm);
}

/* A live site: a browser window with a phone in front. */
.shot {
  position: relative;
  padding: 0 10% 9% 0;
}
.shot__window {
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: clamp(26px, 2.6vw, 36px);
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #F7F2EE;
}
.shot__bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #E2D9D3; }
.shot__bar span {
  flex: 1;
  max-width: 50%;
  margin-inline: auto;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--stone);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-16px);
}
.shot__window img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; }
.shot__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  padding: 2.2%;
  border-radius: 18% / 8.5%;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.shot__phone img {
  width: 100%;
  aspect-ratio: 390 / 844;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 15% / 7%;
}

/* ------------------------------------------------------------------ home hero */

.home-hero {
  position: relative;
  padding-top: calc(var(--header) + clamp(32px, 5vw, 72px));
  overflow-x: clip;
  text-align: center;
}
.home-hero__copy { position: relative; z-index: 2; display: grid; justify-items: center; }
.home-hero__fox { width: clamp(56px, 5vw, 76px); margin-bottom: 20px; }
.home-hero__fox .fox { width: 100%; height: auto; }
.home-hero__h1 {
  color: var(--red-deep);
  font-family: var(--font-text);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.home-hero__display {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 0.9rem + 8.4vw, 7.5rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.home-hero__lead {
  margin-top: clamp(20px, 2vw, 28px);
  max-width: 37rem;
  text-wrap: balance;
  color: var(--stone);
  font-size: var(--text-lead);
  line-height: 1.45;
}
.home-hero__buttons { justify-content: center; }

.stage {
  position: relative;
  width: min(1440px, 100%);
  margin: clamp(32px, 5vw, 56px) auto 0;
  aspect-ratio: 16 / 8;
}
.stage__inner { position: absolute; inset: 0; }

.piece {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  opacity: calc(1 - var(--p, 0) * 1.1);
  transform: translate(calc(var(--ox) * var(--p, 0)), calc(var(--oy) * var(--p, 0))) rotate(var(--r));
  will-change: transform, opacity;
}
.piece img {
  width: 100%;
  border-radius: 3px;
  box-shadow: var(--shadow-piece);
  animation: piece-in 1.2s var(--ease) var(--d) both;
}
.piece--card-red img,
.piece--card img { border-radius: 6px; }
.piece--slide img { border-radius: 8px; }

/* Below the headline (narrower screens): a flat lay under the words. */
.piece--letter { --x: 5%; --y: 6%; --w: 22%; --r: -5deg; --ox: -60px; --oy: 30px; --dx: 150%; --dy: -40%; --d: 0.7s; }
.piece--envelope { --x: 62%; --y: 2%; --w: 30%; --r: 3.5deg; --ox: 70px; --oy: -10px; --dx: -70%; --dy: 40%; --d: 0.8s; }
.piece--slide { --x: 66%; --y: 44%; --w: 30%; --r: -3deg; --ox: 80px; --oy: 40px; --dx: -95%; --dy: -40%; --d: 0.9s; }
.piece--card-red { --x: 26%; --y: 50%; --w: 19%; --r: 9deg; --ox: -50px; --oy: 70px; --dx: 80%; --dy: -95%; --d: 1s; }
.piece--card { --x: 44%; --y: 60%; --w: 20%; --r: -6deg; --ox: 30px; --oy: 90px; --dx: 10%; --dy: -140%; --d: 1.1s; }

@keyframes piece-in {
  from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.6) rotate(calc(var(--r) * -1)); }
  to { opacity: 1; transform: none; }
}

/* Wide screens: the identity spread around the headline, all on the first screen. */
@media (min-width: 1180px) {
  .home-hero {
    display: grid;
    align-items: center;
    min-height: clamp(720px, 100svh, 980px);
    padding-bottom: 56px;
  }
  .home-hero__copy { max-width: 48rem; }
  .stage {
    --side: calc((100% - 48rem) / 2 - 8px);
    position: absolute;
    inset: var(--header) 0 0;
    width: auto;
    margin: 0;
    aspect-ratio: auto;
    pointer-events: none;
  }
  .piece { width: min(var(--w), var(--side)); }
  .piece--envelope,
  .piece--slide,
  .piece--card { left: auto; right: var(--x); }
  .piece--letter { --x: 3.5%; --y: 5%; --w: 19.5%; --r: -6deg; --ox: -90px; --oy: -20px; --dx: 160%; --dy: 10%; }
  .piece--card-red { --x: 5%; --y: 63%; --w: 17%; --r: 8deg; --ox: -80px; --oy: 60px; --dx: 220%; --dy: -80%; }
  .piece--envelope { --x: 3%; --y: 6%; --w: 22%; --r: 4deg; --ox: 90px; --oy: -30px; --dx: -160%; --dy: 60%; }
  .piece--slide { --x: 3%; --y: 41%; --w: 20%; --r: -4deg; --ox: 100px; --oy: 10px; --dx: -190%; --dy: 0%; }
  .piece--card { --x: 5%; --y: 71%; --w: 16.5%; --r: -7deg; --ox: 80px; --oy: 70px; --dx: -220%; --dy: -80%; }
}

/* The folded fox: each plane folds in on its own. */
.fox { overflow: visible; }
.fox__half,
.fox__cheeks,
.fox__face { transform-box: fill-box; }
.fox__half--left { transform-origin: 100% 50%; }
.fox__half--right { transform-origin: 0% 50%; }
.fox__cheeks { transform-origin: 50% 0%; }
.fox__face { transform-origin: 50% 50%; }

.fox-hero .fox__half--left { animation: fold-left 0.8s var(--ease) 0.1s both; }
.fox-hero .fox__half--right { animation: fold-right 0.8s var(--ease) 0.18s both; }
.fox-hero .fox__cheeks { animation: fold-up 0.7s var(--ease) 0.42s both; }
.fox-hero .fox__face { animation: face-in 0.6s var(--ease) 0.7s both; }

@keyframes fold-left {
  from { transform: scaleX(0) skewY(14deg); opacity: 0; }
  30% { opacity: 1; }
  to { transform: none; }
}
@keyframes fold-right {
  from { transform: scaleX(0) skewY(-14deg); opacity: 0; }
  30% { opacity: 1; }
  to { transform: none; }
}
@keyframes fold-up {
  from { transform: scaleY(0); opacity: 0; }
  30% { opacity: 1; }
  to { transform: none; }
}
@keyframes face-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.home-hero__copy > :not(.home-hero__fox) { animation: copy-in 0.9s var(--ease) both; }
.home-hero__copy > :nth-child(2) { animation-delay: 0.3s; }
.home-hero__copy > :nth-child(3) { animation-delay: 0.36s; }
.home-hero__copy > :nth-child(4) { animation-delay: 0.42s; }
.home-hero__copy > :nth-child(5) { animation-delay: 0.48s; }
@keyframes copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .stage { aspect-ratio: 4 / 3.6; }
  .piece--letter { --x: 3%; --y: 5%; --w: 32%; }
  .piece--envelope { --x: 55%; --y: 3%; --w: 41%; }
  .piece--slide { --x: 56%; --y: 40%; --w: 41%; }
  .piece--card-red { --x: 8%; --y: 60%; --w: 30%; }
  .piece--card { --x: 36%; --y: 70%; --w: 31%; }
}

/* ------------------------------------------------------------------ statement and facts */

.sec--statement .wrap { display: grid; }
.statement__h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.statement {
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.1rem + 3.6vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.statement span { color: var(--stone); }
.statement__body { margin-top: 32px; max-width: 44rem; font-size: 1.125rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 72px);
}
.fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px 28px 26px;
  border-radius: var(--r-xl);
  background: var(--white);
}
.fact dd {
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.9rem + 3.6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.fact dt { color: var(--ink); font-size: var(--text-sm); font-weight: 500; line-height: 1.45; max-width: 18ch; }

.sectors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-top: clamp(32px, 4vw, 56px);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  font-size: var(--text-sm);
  font-weight: 500;
}
.sectors li { display: inline-flex; align-items: center; }
.sectors li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--cream-deep); }
.sectors__label { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ prose */

.prose__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.prose--split .prose__side { position: sticky; top: calc(var(--header) + 32px); }
.prose--split .sec__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.prose__body { font-size: 1.0625rem; }
.prose__body .buttons { margin-top: 28px; }
.prose--media .prose__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.prose--media .is-flipped .prose__copy { order: 2; }
.prose--media .sec__title { margin-bottom: 20px; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.prose__col { max-width: 46rem; }
.prose__col .sec__title { margin-bottom: 24px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); max-width: none; }
.sec--prose.prose--column + .sec--prose.prose--column { padding-top: 0; margin-top: calc(var(--sec) * -0.55); }

/* ------------------------------------------------------------------ grouped panel */

.panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.panel__head { position: sticky; top: calc(var(--header) + 32px); margin-bottom: 0; }
.panel__head .sec__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }

.group {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
}
.sec--white .group { background: var(--paper); }
.group li { position: relative; }
.group li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 0;
  height: 1px;
  background: var(--line-soft);
}
.group__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 18px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
a.group__row:hover { background: rgba(29, 27, 31, 0.025); text-decoration: none; }
.group__text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.group__text strong { font-weight: 600; line-height: 1.35; }
.group__text span { color: var(--stone); font-size: var(--text-sm); line-height: 1.5; }
.group__row > .icon { flex: none; width: 18px; height: 18px; color: var(--stone-light); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
a.group__row:hover > .icon:last-child { transform: translateX(3px); color: var(--red-deep); }
.group__icon { flex: none; width: 22px !important; height: 22px !important; color: var(--red-deep) !important; }

/* ------------------------------------------------------------------ tiles */

.tiles { display: grid; gap: 16px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--r-xl);
  background: var(--white);
}
.sec--white .tile { background: var(--paper); }
.tiles--numbered { counter-reset: tile; }
.tiles--numbered .tile::before {
  counter-increment: tile;
  content: counter(tile, decimal-leading-zero);
  display: block;
  margin-bottom: clamp(32px, 4vw, 64px);
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 0;
}
.tile__figure {
  margin-bottom: clamp(28px, 4vw, 56px);
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.tile__title {
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.018em;
}
.tile__title a { color: inherit; }
.tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile__title a:hover { text-decoration: none; }
.tile__text { margin-top: 10px; color: var(--stone); }
.tile__more { margin-top: auto; padding-top: 20px; color: var(--red-deep); }
.tile__more .icon { width: 22px; height: 22px; transition: transform 0.2s var(--ease); }
.tile:hover .tile__more .icon { transform: translateX(4px); }
@media (max-width: 1080px) { .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiles--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .tiles--2, .tiles--4 { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ steps */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 24px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cream-deep), rgba(240, 200, 172, 0));
}
.step { position: relative; padding-right: 8px; }
.step__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--red-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--paper);
}
.sec--peach .step__n { box-shadow: 0 0 0 8px var(--peach); }
.step__title {
  font-family: var(--font-display);
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: -0.018em;
}
.step__text { margin-top: 10px; color: var(--stone); }
@media (max-width: 860px) {
  .steps { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps::before { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--cream-deep), rgba(240, 200, 172, 0)); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
  .step__n { grid-row: span 2; margin: 0; }
}

/* ------------------------------------------------------------------ table */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  background: var(--white);
}
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--text-sm); }
.table th,
.table td { padding: 16px 20px; text-align: left; vertical-align: top; line-height: 1.5; }
.table thead th { color: var(--stone); font-weight: 600; border-bottom: 1px solid var(--line); }
.table tbody tr + tr > * { border-top: 1px solid var(--line-soft); }
.table tbody th { color: var(--ink); font-weight: 600; }
.table td { color: var(--stone); }
.table td:last-child { color: var(--ink); }
.table caption { padding: 16px 20px 0; text-align: left; color: var(--stone); font-size: var(--text-sm); }
.table-note { margin-top: 16px; color: var(--stone); font-size: var(--text-sm); }

/* ------------------------------------------------------------------ the five lines, stacking */

.lines { display: grid; gap: 24px; }
.line {
  position: sticky;
  top: calc(var(--header) + 16px + (var(--n) - 1) * 12px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  min-height: min(620px, calc(100svh - var(--header) - 96px));
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: 0 -1px 0 var(--line-soft), 0 -12px 40px rgba(60, 40, 30, 0.05);
}
.line__n { color: var(--red-deep); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.line__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.line__text { margin-top: 16px; color: var(--stone); }
.line__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.line__links a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.3;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.line__links a:hover { background: var(--peach); color: var(--red-deep); text-decoration: none; }
.line__media { min-width: 0; }
.line__media .frame { border-radius: var(--r-lg); background: var(--peach); }
.line__media .shot { padding-bottom: 7%; }
@media (max-width: 900px) {
  .line { position: relative; top: 0; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .line__media { order: -1; }
}

/* ------------------------------------------------------------------ feature, gallery, work grid */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.feature .sec__title { margin-bottom: 20px; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.feature .buttons { margin-top: 24px; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } }

.gallery__head .sec__head { margin-bottom: 32px; }
.gallery { margin-inline: calc(50% - 50vw); }
.gallery__track {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 4px var(--edge) 24px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > li { flex: none; scroll-snap-align: start; }
.gallery__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin: 8px auto 0;
}
.gallery__bar { position: relative; flex: 0 1 160px; height: 2px; margin-left: 12px; border-radius: 2px; background: var(--line); overflow: hidden; }
.gallery__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--progress, 0.2)); transition: transform 0.2s linear; }
.gallery.is-static .gallery__nav { display: none; }

.gcard { width: clamp(300px, 44vw, 640px); }
.gcard a { display: block; color: var(--ink); text-decoration: none; }
.gcard__img {
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.gcard__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #F7F2EE;
}
.gcard__bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #E2D9D3; }
.gcard__bar span {
  flex: 1;
  max-width: 55%;
  margin-inline: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--stone);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-14px);
}
.gcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.gcard a:hover .gcard__img img { transform: scale(1.02); }
.gcard__meta { display: block; margin-top: 18px; color: var(--stone); font-size: var(--text-sm); }
.gcard__title { display: block; margin-top: 4px; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; }
.gcard__text { display: block; margin-top: 6px; color: var(--stone); }

.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px) clamp(16px, 2vw, 28px); }
.wcard { --accent: #F0C8AC; }
.wcard a { display: block; color: var(--ink); text-decoration: none; }
.wcard a:hover { text-decoration: none; }
.wcard__stage {
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 56px) clamp(24px, 3.5vw, 56px) 0;
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--accent) 14%, var(--white));
  transition: background-color 0.4s var(--ease);
}
@supports not (background: color-mix(in srgb, red 10%, white)) { .wcard__stage { background: var(--peach); } }
.wcard__stage .shot { padding: 0 9% 0 0; transform: translateY(0); transition: transform 0.6s var(--ease); }
.wcard__stage .shot__window { border-radius: 12px 12px 0 0; box-shadow: 0 2px 4px rgba(60, 40, 30, 0.06), 0 24px 56px rgba(60, 40, 30, 0.14); }
.wcard__stage .shot__window img { aspect-ratio: 16 / 9.4; }
.wcard__stage .shot__bar span { max-width: 68%; }
.wcard__stage .shot__phone { bottom: -6%; width: 24%; transition: transform 0.6s var(--ease); }
.wcard a:hover .wcard__stage .shot { transform: translateY(-6px); }
.wcard a:hover .wcard__stage .shot__phone { transform: translateY(-10px); }
.wcard a:hover .wcard__stage { background: color-mix(in srgb, var(--accent) 20%, var(--white)); }
.wcard__body { display: grid; gap: 4px; padding: 18px 6px 0; }
.wcard__title { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; }
.wcard a:hover .wcard__title { color: var(--red-deep); }
.wcard__text { color: var(--stone); max-width: 52ch; }
.wcard__meta { margin-top: 4px; color: var(--stone); font-size: var(--text-xs); font-weight: 500; }
.wcard--lead { grid-column: 1 / -1; }
.wcard--lead .wcard__stage { padding: clamp(32px, 5vw, 80px) clamp(32px, 7vw, 120px) 0; }
.wcard--lead .wcard__stage .shot { padding-right: 8%; }
.wcard--lead .wcard__stage .shot__phone { width: 20%; bottom: -5%; }
.wcard--lead .wcard__body { padding-top: 22px; }
.wcard--lead .wcard__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.034em; }
.clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-top: clamp(32px, 4vw, 56px);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  font-size: var(--text-sm);
  font-weight: 500;
}
.clients__label { color: var(--ink); font-weight: 600; margin-right: 14px; }
.clients__dot { display: inline-block; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--cream-deep); vertical-align: middle; }
.work-grid__buttons { margin-top: 32px; }
@media (max-width: 760px) {
  .wgrid { grid-template-columns: minmax(0, 1fr); }
  .wcard__stage,
  .wcard--lead .wcard__stage { padding: 20px 20px 0; }
  .wcard__stage .shot__phone,
  .wcard--lead .wcard__stage .shot__phone { width: 26%; }
}

/* ------------------------------------------------------------------ offices map */

.offices {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--white);
  color: var(--cream-deep);
  container-type: inline-size;
}
.map__svg { width: 100%; height: auto; }
.map__pin {
  position: absolute;
  width: 0;
  height: 0;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.map__pin::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(232, 70, 42, 0.2);
}
.map__pin span {
  position: absolute;
  top: -15px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  line-height: 1.4;
}
.map__pin--pennsylvania span { left: auto; right: 16px; }
.map__pin:hover span { color: var(--red-deep); text-decoration: none; }
.map__pin:hover { text-decoration: none; }
@container (max-width: 420px) {
  .map__pin span { font-size: 0.75rem; padding: 2px 8px; top: -12px; }
}

.offices__list { display: grid; align-content: start; gap: 12px; }
.offices__list a {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 22px 52px 22px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.offices__list a:hover { transform: translateY(-2px); text-decoration: none; }
.offices__city { font-family: var(--font-display); font-size: var(--h3); font-weight: 700; letter-spacing: -0.018em; }
.offices__country { color: var(--red-deep); font-size: var(--text-sm); font-weight: 600; }
.offices__note { margin-top: 4px; color: var(--stone); font-size: var(--text-sm); }
.offices__list .icon { position: absolute; right: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--stone-light); }
@media (max-width: 900px) { .offices { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ results, shots, media, links */

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.result { padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-xl); background: var(--white); }
.result__figure { color: var(--red); font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.result__label { margin-top: 14px; font-weight: 600; line-height: 1.4; }
.result__note { margin-top: 6px; color: var(--stone); font-size: var(--text-sm); }

.scard { width: clamp(280px, 52vw, 680px); }
.scard--phone { width: clamp(180px, 22vw, 260px); }
.scard figure { display: block; }
.scard__img { display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); }
.scard--phone .scard__img { padding: 3%; border-radius: 18% / 8.5%; background: var(--ink); }
.scard--phone .scard__img img { border-radius: 15% / 7%; }
.scard img { width: 100%; max-height: calc(100svh - 200px); object-fit: cover; object-position: top; }
.scard figcaption { margin-top: 14px; color: var(--stone); font-size: var(--text-sm); text-wrap: balance; }

.media-wide .frame { border-radius: var(--r-xl); }
.media-wide .shot { padding-bottom: 6%; padding-right: 8%; }

.links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 600px) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .links--1 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) {
  .links--3, .links--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .links--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .links--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .links--5 > li { grid-column: span 2; }
  .links--5 > li:nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 1100px) {
  .links--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .links--5 > li,
  .links--5 > li:nth-child(4) { grid-column: auto; }
}
.links a {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 20px 56px 20px 22px;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.links a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.links__meta { color: var(--stone); font-size: var(--text-xs); font-weight: 500; }
.links__title { font-weight: 600; line-height: 1.35; }
.links .icon { position: absolute; right: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--red-deep); }
.sec--tight .sec__head { margin-bottom: 28px; }
.sec--tight .sec__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* ------------------------------------------------------------------ packages */

.segmented {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 32px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(29, 27, 31, 0.06);
}
.segmented button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 600;
}
.segmented button[aria-checked="true"] { background: var(--white); box-shadow: var(--shadow-sm); }

.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.package {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--r-xl);
  background: var(--white);
}
.package--featured { box-shadow: inset 0 0 0 2px var(--red-deep); }
.package__name { font-family: var(--font-display); font-size: var(--h3); letter-spacing: -0.018em; }
.package__for { margin-top: 8px; min-height: 3.2em; color: var(--stone); font-size: var(--text-sm); line-height: 1.5; }
.package__price { margin-top: 20px; font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.package__price small { display: block; color: var(--stone); font-family: var(--font-text); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; }
.package__quote { color: var(--ink); }
.package__list { display: grid; gap: 10px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: var(--text-sm); }
.package__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; line-height: 1.45; }
.package__list .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--red-deep); }
.package__foot { margin-top: auto; }
.package__foot .btn { width: 100%; }
@media (max-width: 1080px) { .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .packages { grid-template-columns: minmax(0, 1fr); } .package__for { min-height: 0; } }

/* ------------------------------------------------------------------ forms */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.contact__form {
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: var(--peach);
}
.contact__form .sec__head { margin-bottom: 32px; }
.contact__form .sec__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.contact__aside { position: sticky; top: calc(var(--header) + 24px); }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact__aside { position: static; } }

.reach__title { margin-bottom: 16px; font-family: var(--font-display); font-size: var(--h3); letter-spacing: -0.018em; }
.reach .group + .group { margin-top: 12px; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label { font-size: var(--text-sm); font-weight: 600; line-height: 1.3; }
.field .opt { color: var(--stone); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 150px; padding: 14px 16px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A555C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #8C888D; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--stone); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--red-deep); box-shadow: 0 0 0 3px rgba(198, 58, 33, 0.18); }
.field [aria-invalid="true"] { border-color: var(--red-deep); }
.field__error { color: var(--red-deep); font-size: var(--text-sm); font-weight: 500; }
.field__hint { color: var(--stone); font-size: var(--text-xs); }
.form__alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--red-deep);
  font-weight: 600;
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__note { flex: 1 1 260px; color: var(--stone); font-size: var(--text-sm); line-height: 1.5; }
.form__note a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 0.18em; }
.form__status { margin-top: 16px; font-weight: 600; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }
@media (max-width: 640px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  margin-top: 32px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--field);
  border-radius: 999px;
  background: var(--white);
}
.search:focus-within { border-color: var(--red-deep); box-shadow: 0 0 0 3px rgba(198, 58, 33, 0.18); }
.search .icon { flex: none; width: 20px; height: 20px; color: var(--stone); }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 1rem; }
.search input:focus { outline: none; }
.search .btn { min-height: 44px; }
.sec--results-list { padding-top: 0; }
.search__count { margin-bottom: 16px; color: var(--stone); }
.search__none { color: var(--stone); font-size: 1.125rem; }

/* ------------------------------------------------------------------ FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header) + 32px); }
.faq__head .sec__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.faq__ask {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--stone);
}
.faq__ask strong { display: block; color: var(--ink); font-weight: 600; }
.faq__ask .btn { margin-top: 16px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-family: var(--font-text); font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.qa summary .icon { flex: none; width: 22px; height: 22px; color: var(--red-deep); transition: transform 0.3s var(--ease); }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa summary:hover h3 { color: var(--red-deep); }
.qa__a { padding: 0 48px 24px 0; color: var(--stone); }
.qa__a p + p { margin-top: 0.8em; }
@media (max-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}

/* ------------------------------------------------------------------ closing panel */

.sec--closing { padding-top: 0; }
.sec--faq + .sec--closing,
.sec + .sec--closing { padding-top: 0; }
.closing {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 5.5vw, 80px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--red-deep);
  color: var(--white);
}
.closing::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: -14%;
  width: clamp(200px, 30%, 420px);
  aspect-ratio: 93.73 / 87.69;
  background: url("../brand/redfox-fox-white.svg") no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
}
.closing > * { position: relative; z-index: 1; }
.closing__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
}
.closing .text { margin-top: 18px; color: rgba(255, 255, 255, 0.84); }
.closing .text strong { color: var(--white); }
.closing .text a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.5); }
.closing .text a:hover { text-decoration-color: var(--white); }
.closing__second { padding-right: clamp(0px, 3vw, 48px); border-right: 1px solid rgba(255, 255, 255, 0.22); }
.closing__second .closing__title { color: rgba(255, 255, 255, 0.72); font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); }
.closing .btn--primary { background: var(--white); color: var(--red-deep); }
.closing .btn--primary:hover { background: var(--cream); color: var(--red-press); }
.closing .more { color: var(--white); }
.closing .more .icon { color: rgba(255, 255, 255, 0.8); }
.closing :focus-visible { outline-color: var(--white); }
.closing--single { grid-template-columns: minmax(0, 1fr); }
.closing--single .closing__cta { max-width: 40rem; }
.closing__art { display: none; }
@media (max-width: 860px) {
  .closing,
  .closing--single { grid-template-columns: minmax(0, 1fr); }
  .closing__second { padding: 0 0 32px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .closing::after { width: 46%; right: -10%; bottom: -8%; }
}

/* ------------------------------------------------------------------ identity bento */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.bento__tile {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 32px 28px 64px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--white);
}
.bento__label {
  position: absolute;
  left: 26px;
  bottom: 22px;
  color: var(--stone);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
}
.bento__tile--mark { grid-column: span 2; grid-row: span 2; background: var(--red); }
.bento__tile--mark .fox-white { width: 58%; height: auto; filter: drop-shadow(0 20px 36px rgba(120, 30, 10, 0.28)); }
.bento__tile--mark .bento__label,
.bento__tile--reverse .bento__label { color: rgba(255, 255, 255, 0.82); }
.bento__tile--reverse { grid-column: span 2; background: var(--ink); }
.bento__tile--reverse img { width: 62%; max-width: 341px; height: auto; }
.bento__tile--palette { grid-column: span 2; }
.swatches { display: flex; gap: 10px; width: 100%; align-self: center; }
.swatch { flex: 1; display: grid; gap: 10px; min-width: 0; }
.swatch i { display: block; height: 80px; border-radius: 16px; background: var(--c); box-shadow: inset 0 0 0 1px var(--line-soft); }
.swatch span { display: grid; gap: 1px; color: var(--ink); font-size: var(--text-xs); font-weight: 600; line-height: 1.25; overflow-wrap: normal; }
.swatch small { white-space: nowrap; }
.swatch small { color: var(--stone); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; }
.bento__tile--type { background: var(--peach); }
.bento__aa {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(4rem, 6.6vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.bento__tile--type { padding-inline: 16px; }
.bento__icons { display: flex; align-items: flex-end; gap: 20px; }
.bento__icons img:first-child { width: 112px; height: 112px; border-radius: 28px; box-shadow: var(--shadow-md); }
.bento__icons img:last-child { width: 40px; height: 40px; }
.bento__tile--social { grid-column: span 2; padding: 28px 28px 64px; }
.bento__tile--social img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-md); }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento__tile--palette { grid-column: span 2; }
  .bento__tile--type,
  .bento__tile--icon { grid-column: span 2; }
  .bento__tile--social { grid-column: span 4; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento__tile,
  .bento__tile--mark,
  .bento__tile--reverse,
  .bento__tile--palette,
  .bento__tile--type,
  .bento__tile--icon,
  .bento__tile--social { grid-column: auto; grid-row: auto; }
  .bento__tile--mark { min-height: 320px; }
  .swatches { flex-wrap: wrap; gap: 12px; }
  .swatch { flex: 1 1 calc(33.333% - 8px); }
  .swatch i { height: 56px; }
}

/* ------------------------------------------------------------------ next case study */

.next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.next:hover { text-decoration: none; }
.next__copy { display: grid; gap: 8px; justify-items: start; }
.next__copy .eyebrow { margin: 0; }
.next__title { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; letter-spacing: -0.034em; line-height: 1.04; }
.next__text { color: var(--stone); }
.next__img { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.next__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.next:hover .next__img img { transform: scale(1.02); }
@media (max-width: 760px) { .next { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ 404 and art */

.media-fox { display: grid; place-items: center; padding: 8%; border-radius: var(--r-xl); background: var(--peach); }
.media-fox .fox { width: min(280px, 70%); }

/* ------------------------------------------------------------------ footer */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 6vw, 96px);
  background: var(--white);
  color: var(--stone);
  font-size: var(--text-sm);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  padding-bottom: 40px;
}
.footer__logo { display: inline-block; border-radius: 8px; }
.footer__logo img { width: 150px; }
.footer__tagline { margin-top: 18px; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.footer__lines { margin-top: 2px; }
.footer__contact { display: grid; gap: 16px; align-content: start; }
.footer__contact > p a { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.footer__offices { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer__offices li { display: grid; }
.footer__offices .clock { color: var(--stone); font-variant-numeric: tabular-nums; }
.footer__offices a { color: var(--ink); font-weight: 600; }
.footer a:hover { color: var(--red-deep); }

.sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--line-soft);
}
.sitemap__group { border-bottom: 1px solid var(--line-soft); }
.sitemap__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.sitemap__group summary::-webkit-details-marker { display: none; }
.sitemap__group summary .icon { flex: none; width: 18px; height: 18px; color: var(--stone); transition: transform 0.25s var(--ease); }
.sitemap__group[open] summary .icon { transform: rotate(180deg); }
.sitemap__group summary:hover { color: var(--red-deep); }
.sitemap__group ul { display: grid; gap: 8px; padding-bottom: 20px; }
.sitemap__group a { color: var(--stone); }
@media (max-width: 960px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sitemap { grid-template-columns: minmax(0, 1fr); } }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 28px 0 12px;
  font-size: var(--text-xs);
}
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--stone); }
/* The faint wordmark is decoration only: generated content with empty alt text, so it is never read out or counted as text. */
.footer > .wrap::after {
  content: "RedFox" / "";
  display: block;
  margin: 12px 0 0;
  padding-bottom: 0.04em;
  color: var(--peach);
  font-family: var(--font-display);
  font-size: min(25.5vw, 24.5rem);
  font-weight: 800;
  line-height: 0.74;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* ------------------------------------------------------------------ quote drawer */

.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 27, 31, 0.32);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(600px, 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px clamp(20px, 4vw, 40px) 40px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.drawer__head .eyebrow { margin-bottom: 4px; }
.drawer__title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.08; letter-spacing: -0.03em; }
.drawer__lead { margin: 12px 0 28px; color: var(--stone); }
@media (max-width: 640px) {
  .drawer__panel {
    top: auto;
    left: 0;
    width: 100%;
    max-height: 92svh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    transform: translateY(100%);
  }
}
.has-drawer { overflow: hidden; }

/* ------------------------------------------------------------------ reveals */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive layout */

@media (max-width: 900px) {
  .hero--media .hero__grid,
  .prose__grid,
  .prose--media .prose__grid,
  .panel__grid { grid-template-columns: minmax(0, 1fr); }
  .prose--split .prose__side,
  .panel__head { position: static; }
  .prose--media .is-flipped .prose__copy { order: 0; }
}

/* ------------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .piece { transform: rotate(var(--r)); opacity: 1; }
  .piece img { animation: none; }
  .line { position: relative; top: 0; }
}

@media print {
  .header, .menu, .footer, .sec--closing, .drawer { display: none !important; }
  body { background: #fff; }
}
