/* Botanik Works — one stylesheet.
   Identity: white, black and Botanik Green #1F4A38; Recoleta/Fraunces speaks,
   Inter explains; light and dark themes. The page reads like a set of working
   drawings: hairlines, numbered sections, plans and specification lines. */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* Turkish letters missing from the Latin subset: Ğ ğ İ Ş ş, and ₺. */
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-600-tr.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+011E-011F, U+0130, U+015E-015F, U+20BA;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-tr.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+011E-011F, U+0130, U+015E-015F, U+20BA;
}

:root {
  --bw-white: #ffffff;
  --bw-ink: #000000;
  --bw-green: #1f4a38;
  --green-sage: #7e9c8c;
  --green-pine: #0e2519;
  --grey-mist: #ecedeb;
  --grey-stone: #c8ccc7;
  --grey-slate: #70766f;

  --surface: var(--bw-white);
  --figure: var(--bw-ink);
  --muted: var(--grey-slate);
  --line: var(--grey-mist);
  --line-strong: var(--grey-stone);
  --panel: #f4f5f3;
  --accent: var(--bw-green);
  --phone-frame: #151716;

  --font-display: "Recoleta", "Fraunces", Georgia, serif;
  --font-text: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-settings: "SOFT" 100, "WONK" 0, "opsz" 40;

  --shell: 1440px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --header-h: 72px;
  --section-y: clamp(72px, 9vw, 136px);
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --surface: var(--bw-ink);
  --figure: var(--bw-white);
  --muted: #9aa098;
  --line: #1f221e;
  --line-strong: #3b403a;
  --panel: #0d0f0d;
  --accent: var(--green-sage);
  --phone-frame: #2a2d2a;
  color-scheme: dark;
}

/* The ink band: section and footer invert, exactly as the original support band. */
.band {
  --surface: var(--bw-ink);
  --figure: var(--bw-white);
  --muted: #a9ada8;
  --line: #2a2a2a;
  --line-strong: #4a4f49;
  --panel: #0d0f0d;
  --accent: var(--green-sage);
  background: var(--surface);
  color: var(--figure);
}
:root[data-theme="dark"] .band {
  --surface: var(--bw-white);
  --figure: var(--bw-ink);
  --muted: #55594f;
  --line: #dcddda;
  --line-strong: #b9bdb8;
  --panel: #f4f5f3;
  --accent: var(--bw-green);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--figure);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--figure);
  color: var(--surface);
}

:focus-visible {
  outline: 2px solid var(--figure);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent);
}

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

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--figure);
  color: var(--surface);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-200%);
}

.skip:focus-visible {
  transform: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow__mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--accent);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--accent) 45%, transparent);
  margin-right: 8px;
}

.section-title,
.intro__title,
.case__name,
.plan__title,
.service-group__title,
.service__name,
.steps__title,
.brief__title,
.intro__why,
.capability__title,
.events__title {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 600;
}

.section-title {
  margin-top: 18px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.section-lede {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(32px, 6vw, 96px);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: color-mix(in srgb, var(--figure) 40%, transparent);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  text-decoration-color: var(--figure);
}

.arrow {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  transition: transform 0.25s var(--ease);
}

.text-link:hover .arrow {
  transform: translateX(3px);
}

.text-link:hover .arrow--out {
  transform: translate(2px, -2px);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--figure);
  border-radius: var(--radius);
  background: transparent;
  color: var(--figure);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: var(--figure);
  color: var(--surface);
}

.button--solid {
  background: var(--figure);
  color: var(--surface);
}

.button--solid:hover {
  background: var(--bw-green);
  border-color: var(--bw-green);
  color: var(--bw-white);
}

.button--quiet {
  min-height: 40px;
  padding: 0 14px;
  border-color: var(--line-strong);
  font-size: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 44px;
}

.brand__mark {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  flex: none;
}

.brand__static {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid var(--figure);
}

.brand__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand__mark.is-living .brand__static {
  visibility: hidden;
}

.brand__word {
  display: block;
  height: 21px;
}

.brand__word-img {
  height: 100%;
  width: auto;
}

.brand__static--on-dark,
.brand__word-img--on-dark,
:root[data-theme="dark"] .brand__static--on-light,
:root[data-theme="dark"] .brand__word-img--on-light {
  display: none;
}

:root[data-theme="dark"] .brand__static--on-dark,
:root[data-theme="dark"] .brand__word-img--on-dark {
  display: block;
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="true"] {
  color: var(--figure);
}

.site-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.lang-switch button {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lang-switch button + button {
  border-left: 1px solid var(--line-strong);
}

.lang-switch button:hover {
  color: var(--figure);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--figure);
  color: var(--surface);
}

.tool-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--figure);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tool-button:hover {
  border-color: var(--figure);
}

.tool-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.tool-button--motion .icon-play,
.tool-button--motion[aria-pressed="true"] .icon-pause {
  display: none;
}

.tool-button--motion[aria-pressed="true"] .icon-play {
  display: block;
}

.site-cta {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.site-cta__icon {
  display: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.menu-button {
  display: none;
}

.menu-button[aria-expanded="true"] {
  background: var(--figure);
  color: var(--surface);
}

.site-menu {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-menu__inner {
  display: grid;
  gap: 24px;
  padding-block: 20px 28px;
}

.site-menu__nav {
  display: grid;
}

.site-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 52px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
}

.site-menu__num {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.site-menu__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-menu__toggle[aria-pressed="true"] {
  background: var(--figure);
  color: var(--surface);
}

/* Without JavaScript these controls cannot work, so they are not offered. */
.no-js .lang-switch,
.no-js [data-theme-toggle] {
  display: none !important;
}

@media (min-width: 1000px) {
  .site-nav {
    display: flex;
  }
  .site-menu {
    display: none !important;
  }
}

@media (max-width: 999px) {
  .js .menu-button {
    display: inline-grid;
  }
  .tool-button--motion {
    display: none !important;
  }
}

@media (max-width: 699px) {
  :root {
    --header-h: 60px;
  }
  .brand {
    gap: 10px;
  }
  .brand__mark {
    width: 40px;
    height: 40px;
  }
  .brand__word {
    height: 17px;
  }
  .site-cta {
    display: none;
  }
  .site-tools {
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .brand__word {
    height: 14px;
  }
  .brand__mark {
    width: 36px;
    height: 36px;
  }
  .site-tools .tool-button--theme {
    display: none;
  }
  .lang-switch button {
    min-width: 38px;
  }
}

/* ---------- 01 · Introduction ---------- */

.intro {
  padding-block: clamp(40px, 5.6vw, 84px) clamp(56px, 6.4vw, 96px);
}

.intro__grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}

@media (min-width: 1100px) {
  .intro__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
    align-items: start;
  }
}

.intro__title {
  margin-top: 26px;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.01;
  letter-spacing: -0.025em;
  max-width: 11.5ch;
  text-wrap: balance;
}

html[lang="en"] .intro__title {
  max-width: 12ch;
}

.intro__lede {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 42ch;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

.intro__clients {
  align-self: end;
}

.index-title {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-index {
  border-top: 1px solid var(--figure);
}

.client-index a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name meta"
    "work work";
  gap: 2px 16px;
  padding: 13px 34px 13px 0;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  transition: background-color 0.2s ease, padding 0.3s var(--ease);
}

.client-index a::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.35;
  transition: opacity 0.2s ease, right 0.3s var(--ease);
}

.client-index a:hover {
  padding-left: 10px;
  background: var(--panel);
}

.client-index a:hover::after {
  opacity: 1;
  right: 10px;
}

.client-index__name {
  grid-area: name;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

.client-index__meta {
  grid-area: meta;
  align-self: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-index__work {
  grid-area: work;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 2.4vw, 40px);
  margin-top: clamp(48px, 5.4vw, 80px);
  border-top: 1px solid var(--figure);
}

.capability {
  padding-top: 20px;
}

.capability__num {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.capability__title {
  margin-top: 26px;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
}

.capability p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 32ch;
}

.intro__why {
  margin-top: clamp(40px, 4.6vw, 64px);
  max-width: 34ch;
  color: var(--accent);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  text-wrap: pretty;
}

@media (max-width: 1099px) {
  .intro__clients {
    max-width: 640px;
  }
}

@media (max-width: 899px) {
  .capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    border-top: 0;
  }
  .capability {
    border-top: 1px solid var(--figure);
    padding-bottom: 28px;
  }
  .capability__title {
    margin-top: 16px;
  }
}

@media (max-width: 559px) {
  .capabilities {
    grid-template-columns: 1fr;
  }
  .capability {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 8px;
    padding-bottom: 20px;
  }
  .capability__num {
    padding-top: 5px;
  }
  .capability__title {
    margin-top: 0;
    font-size: 22px;
  }
  .capability p {
    grid-column: 2;
    margin-top: 6px;
  }
  .intro__actions .button {
    width: 100%;
  }
}

/* ---------- 02 · Work ---------- */

.work {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

.case-tabs {
  display: flex;
  gap: 0 clamp(18px, 2.4vw, 36px);
  margin-bottom: clamp(28px, 3.4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.case-tabs::-webkit-scrollbar {
  display: none;
}

.case-tabs a {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 0.2s ease;
}

.case-tabs a:hover {
  color: var(--figure);
}

.case-tabs a[aria-selected="true"] {
  color: var(--figure);
}

.case-tabs a[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.case-tabs a:focus-visible {
  outline-offset: -2px;
}

.no-js .case-tabs {
  flex-wrap: wrap;
}

.case {
  display: grid;
  gap: 24px;
  grid-template-areas:
    "head"
    "viewer"
    "body"
    "extra";
}

/* Until the script has chosen a case, only the first is laid out, so the
   other cases' screenshots are not fetched by the lazy loader. */
.js [data-cases]:not(.is-ready) > .case:not(:first-child) {
  display: none;
}

.no-js .case + .case {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.case__head {
  grid-area: head;
}

.viewer {
  grid-area: viewer;
  min-width: 0;
}

.case__body {
  grid-area: body;
  display: grid;
  gap: 24px;
  align-content: start;
}

.events {
  grid-area: extra;
}

@media (min-width: 1100px) {
  .case {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.72fr);
    grid-template-areas:
      "head viewer"
      "body viewer"
      "extra extra";
    grid-template-rows: auto 1fr auto;
    gap: 0 clamp(32px, 4vw, 64px);
  }
  .case__body {
    padding-top: 28px;
  }
  .viewer {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
  .events {
    margin-top: 72px;
  }
}

.case__sector {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case__name {
  margin-top: 10px;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.case__block {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.case__label {
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.case__block > p,
.case__list li {
  font-size: 15px;
  line-height: 1.65;
}

.case__fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 12px;
  font-size: 14px !important;
  color: var(--figure);
}

.case__fact strong {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
}

.case__source {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
}

.case__scope {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 600;
  font-size: 22px !important;
  line-height: 1.25 !important;
  margin-bottom: 10px;
}

.case__list {
  display: grid;
  gap: 8px;
}

.case__list li {
  position: relative;
  padding-left: 18px;
}

.case__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.case__list b {
  font-weight: 600;
}

.case__record {
  margin-top: 16px;
  padding: 14px 16px 12px;
  background: var(--panel);
}

.case__record-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__record ul {
  margin-top: 8px;
}

.case__record li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 12px;
  padding-block: 7px;
  border-top: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
}

.case__record li:first-child {
  border-top: 0;
}

.case__record li > span {
  color: var(--muted);
  font-weight: 400;
}

.case__note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.case__status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

.case__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

/* Viewer: the desktop-and-phone presentation, on a quiet panel. */

.viewer__stage {
  position: relative;
  padding: clamp(18px, 3.2vw, 44px) clamp(16px, 3vw, 44px) clamp(22px, 3.6vw, 48px);
  background: var(--panel);
  border-radius: var(--radius);
}

.viewer__stage.has-phone {
  padding-right: clamp(64px, 12vw, 156px);
}

.device--desktop {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--figure) 6%, transparent), 0 24px 48px -28px rgba(0, 0, 0, 0.35);
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.device__dots {
  display: inline-flex;
  gap: 5px;
}

.device__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.device__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.device__screen {
  position: relative;
  display: block;
  aspect-ratio: var(--screen-ratio, 16 / 10);
  overflow: hidden;
  background: var(--line);
}

.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.25s ease;
}

.device__screen:focus-visible {
  outline-offset: -3px;
}

.device--wide .device__screen {
  --screen-ratio: 1270 / 714;
}

.device--phone {
  position: absolute;
  right: clamp(14px, 2.6vw, 40px);
  bottom: clamp(-26px, -1.8vw, -12px);
  width: clamp(76px, 15%, 176px);
  aspect-ratio: 390 / 844;
  border: clamp(3px, 0.45vw, 6px) solid var(--phone-frame);
  border-radius: clamp(12px, 1.9vw, 26px);
  overflow: hidden;
  background: var(--phone-frame);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.45);
}

.device--phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: clamp(8px, 1.4vw, 20px);
  transition: opacity 0.25s ease;
}

.viewer.is-switching .device__screen img,
.viewer.is-switching .device--phone img {
  opacity: 0.35;
}

.viewer__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  margin-top: clamp(28px, 3vw, 40px);
  font-size: 14px;
  line-height: 1.55;
}

.viewer__caption-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.viewer__caption-text {
  flex: 1 1 28ch;
}

.viewer__nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.views {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.view {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.view:hover {
  color: var(--figure);
  border-color: var(--figure);
}

.view[aria-current="true"] {
  background: var(--figure);
  border-color: var(--figure);
  color: var(--surface);
}

.viewer__step {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.step-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--figure);
}

.step-button:hover {
  border-color: var(--figure);
}

.step-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.viewer__count {
  min-width: 52px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 699px) {
  .viewer__stage {
    margin-inline: calc(var(--gutter) * -1);
    padding: 18px var(--gutter) 22px;
    border-radius: 0;
  }
  .viewer__stage.has-phone {
    padding-right: calc(var(--gutter) + 58px);
  }
  .device--phone {
    right: var(--gutter);
    bottom: -14px;
    width: 88px;
  }
  .device__bar {
    height: 22px;
    font-size: 10px;
    gap: 8px;
  }
  .device__dots i {
    width: 5px;
    height: 5px;
  }
  .device--desktop {
    border-radius: 6px;
  }
  .viewer__nav {
    flex-direction: column;
    align-items: stretch;
  }
  .views {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .views::-webkit-scrollbar {
    display: none;
  }
  .views li {
    flex: none;
    scroll-snap-align: start;
  }
  .viewer__step {
    justify-content: space-between;
  }
}

/* Seven Twelve event photographs */

.events {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.events__head {
  display: grid;
  gap: 8px 32px;
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .events__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

.events__title {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.events__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.events__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

.event img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--panel);
}

.event__img--portrait {
  object-position: 50% 38%;
}

.event__name {
  margin-top: 12px;
  font-weight: 600;
  font-size: 15px;
}

.event__place {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 699px) {
  .events__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .events__list::-webkit-scrollbar {
    display: none;
  }
  .event {
    scroll-snap-align: start;
  }
}

/* ---------- 03 · System plan (ink band) ---------- */

.system {
  padding-block: var(--section-y);
}

.system .section-lede {
  color: var(--muted);
}

.plan {
  display: grid;
  gap: clamp(28px, 3vw, 48px);
}

@media (min-width: 1100px) {
  .plan {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

.plan__drawing {
  position: relative;
  padding: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--line-strong);
}

.plan__drawing::before,
.plan__drawing::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--figure);
  pointer-events: none;
}

.plan__drawing::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.plan__drawing::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.plan__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan__rooms {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(128px, auto) 64px minmax(128px, auto);
  border: 1.5px solid var(--figure);
}

.plan__room {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 16px;
  border: 0 solid var(--line-strong);
  background: transparent;
  color: var(--figure);
  text-align: left;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.plan__room:hover {
  background: color-mix(in srgb, var(--figure) 8%, transparent);
}

.plan__room[aria-selected="true"] {
  background: var(--figure);
  color: var(--surface);
}

.plan__room:focus-visible {
  outline-offset: -4px;
}

.plan__room[data-room="website"] { grid-area: 1 / 1; border-right-width: 1px; }
.plan__room[data-room="booking"] { grid-area: 1 / 2; border-right-width: 1px; }
.plan__room[data-room="crm"] { grid-area: 1 / 3; }
.plan__room[data-room="messaging"] { grid-area: 3 / 3; }
.plan__room[data-room="ai"] { grid-area: 3 / 2; border-left-width: 1px; border-right-width: 1px; }
.plan__room[data-room="staff"] { grid-area: 3 / 1; }

/* Doors: a gap in each room's wall facing the corridor. */
.plan__room::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 36px;
  height: 4px;
  transform: translateX(-50%);
  background: var(--surface);
}

.plan__room[aria-selected="true"]::after {
  background: var(--figure);
}

.plan__room[data-room="website"]::after,
.plan__room[data-room="booking"]::after,
.plan__room[data-room="crm"]::after {
  bottom: -3px;
}

.plan__room[data-room="messaging"]::after,
.plan__room[data-room="ai"]::after,
.plan__room[data-room="staff"]::after {
  top: -3px;
}

.plan__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.plan__name {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.15;
}

.plan__corridor {
  grid-area: 2 / 1 / 3 / 4;
  position: relative;
  border-block: 1.5px solid var(--figure);
  pointer-events: none;
}

.plan__corridor::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  border-top: 1px dashed color-mix(in srgb, var(--figure) 45%, transparent);
}

.plan__signal {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--accent);
  box-shadow: 9px 6px 0 color-mix(in srgb, var(--accent) 45%, transparent);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.2s ease;
}

.plan.is-ready .plan__signal {
  opacity: 1;
}

.plan__panel {
  padding-top: 18px;
  border-top: 1px solid var(--figure);
}

.no-js .plan__panel + .plan__panel,
.plan__panels:not(.is-tabbed) .plan__panel + .plan__panel {
  margin-top: 36px;
}

.plan__kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan__title {
  margin-top: 12px;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.08;
}

.plan__panel > p {
  margin-top: 14px;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.65;
}

.plan__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px !important;
}

.plan__links-label {
  margin-right: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--figure);
  font-size: 13px;
  font-weight: 500;
}

.plan__links a:hover {
  border-color: var(--figure);
}

.plan__example {
  color: var(--muted);
  font-size: 14px !important;
}

.plan__example a {
  color: var(--figure);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.chat {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line-strong);
}

.chat__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat__msg {
  max-width: 88%;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  line-height: 1.45;
}

.chat__msg--assistant {
  justify-self: end;
  background: var(--figure);
  border-color: var(--figure);
  color: var(--surface);
}

.chat__meta {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 699px) {
  .plan__rooms {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(92px, auto));
  }
  .plan__room {
    padding: 12px 12px 14px;
  }
  .plan__room[data-room="website"] { grid-area: 1 / 1; border-width: 0 0 1px 0; }
  .plan__room[data-room="booking"] { grid-area: 1 / 3; border-width: 0 0 1px 0; }
  .plan__room[data-room="crm"] { grid-area: 2 / 3; border-width: 0 0 1px 0; }
  .plan__room[data-room="messaging"] { grid-area: 3 / 3; border-width: 0; }
  .plan__room[data-room="ai"] { grid-area: 3 / 1; border-width: 0; }
  .plan__room[data-room="staff"] { grid-area: 2 / 1; border-width: 0 0 1px 0; }
  .plan__room::after {
    top: 50% !important;
    bottom: auto !important;
    left: auto;
    width: 4px;
    height: 30px;
    transform: translateY(-50%);
  }
  .plan__room[data-room="website"]::after,
  .plan__room[data-room="staff"]::after,
  .plan__room[data-room="ai"]::after {
    right: -3px;
  }
  .plan__room[data-room="booking"]::after,
  .plan__room[data-room="crm"]::after,
  .plan__room[data-room="messaging"]::after {
    left: -3px;
  }
  .plan__corridor {
    grid-area: 1 / 2 / 4 / 3;
    border-block: 0;
    border-inline: 1.5px solid var(--figure);
  }
  .plan__corridor::before {
    left: 50%;
    right: auto;
    top: 5%;
    bottom: 5%;
    border-top: 0;
    border-left: 1px dashed color-mix(in srgb, var(--figure) 45%, transparent);
  }
  .plan__name {
    font-size: 17px;
  }
  .plan__meta .plan__hint {
    display: none;
  }
}

/* ---------- 04 · Services ---------- */

.services {
  padding-block: var(--section-y);
}

.service-group {
  display: grid;
  gap: 18px clamp(24px, 4vw, 64px);
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--figure);
}

.service-group:last-child {
  border-bottom: 1px solid var(--figure);
}

@media (min-width: 900px) {
  .service-group {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  }
}

.service-group__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
}

.service-group__num {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.service-group__items {
  display: grid;
  gap: 24px clamp(24px, 3vw, 48px);
}

@media (min-width: 700px) {
  .service-group__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service__name {
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.25;
}

.service > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 44ch;
}

.service__work {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.service__work-label {
  margin-right: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service__work a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--figure);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s ease;
}

.service__work a:hover {
  border-color: var(--figure);
}

/* ---------- 05 · Contact ---------- */

.contact {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
}

@media (min-width: 1000px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.contact__intro .section-lede {
  margin-top: 22px;
}

.contact__email {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.contact__email .case__label {
  margin: 0;
}

.contact__address {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.contact__copy-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  margin-top: 36px;
}

.steps__title {
  font-size: 22px;
  line-height: 1.2;
}

.steps__list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.steps__list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.steps__list b {
  color: var(--figure);
  font-weight: 600;
}

.steps__num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  background: var(--figure);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
}

.brief-form {
  padding: clamp(20px, 3vw, 40px);
  background: var(--panel);
}

.brief-form__fieldset {
  display: grid;
  gap: 20px;
  border: 0;
  min-width: 0;
}

@media (min-width: 640px) {
  .brief-form__fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brief-form__legend,
  .brief-form__notice,
  .brief-form__reference,
  .field--wide,
  .brief-form__foot {
    grid-column: 1 / -1;
  }
}

.brief-form__legend {
  float: left;
  width: 100%;
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

.brief-form__notice {
  clear: both;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.55;
}

.brief-form__reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.brief-form__reference-clear {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  line-height: 1;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 0;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--figure);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.field__input:hover {
  border-color: var(--muted);
}

.field__input:focus-visible {
  border-color: var(--figure);
}

.field__input[aria-invalid="true"] {
  border-color: var(--figure);
  border-width: 2px;
}

.field__input--area {
  min-height: 150px;
  resize: vertical;
}

.field__error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.field__error::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--figure);
}

.topics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.topic input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--bw-green);
}

.topic:hover {
  border-color: var(--figure);
}

.topic:has(input:checked) {
  border-color: var(--figure);
  background: var(--figure);
  color: var(--surface);
}

:root[data-theme="dark"] .topic input {
  accent-color: var(--green-sage);
}

.brief-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.brief-form__status {
  color: var(--muted);
  font-size: 14px;
}

.brief {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--figure);
}

.brief__title {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.brief__title:focus-visible {
  outline-offset: 6px;
}

.brief__copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.brief__text {
  margin: 16px 0;
  padding: 16px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font: 13px/1.6 var(--font-text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.brief__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.brief__status {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Footer (ink band) ---------- */

.site-footer {
  padding-block: clamp(56px, 7vw, 96px) 32px;
}

.site-footer__grid {
  display: grid;
  gap: 36px 48px;
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.6fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
}

.footer-lockup__mark {
  width: clamp(56px, 6vw, 84px);
  height: auto;
}

.footer-lockup__word {
  height: clamp(28px, 3.1vw, 44px);
  width: auto;
}

.footer-lockup__mark--on-light,
.footer-lockup__word--on-light,
:root[data-theme="dark"] .footer-lockup__mark--on-dark,
:root[data-theme="dark"] .footer-lockup__word--on-dark {
  display: none;
}

:root[data-theme="dark"] .footer-lockup__mark--on-light,
:root[data-theme="dark"] .footer-lockup__word--on-light {
  display: block;
}

.site-footer__line {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__nav {
  display: grid;
  gap: 2px;
  font-size: 15px;
}

.site-footer__nav a,
.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer__contact {
  display: grid;
  justify-items: start;
  gap: 6px;
  font-size: 15px;
}

.footer-toggle {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-toggle:hover {
  color: var(--figure);
}

.footer-toggle__off,
.footer-toggle[aria-pressed="true"] .footer-toggle__on {
  display: none;
}

.footer-toggle[aria-pressed="true"] .footer-toggle__off {
  display: inline;
}

.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
