/* Ghaf Coffee, a fictional café. Concept site by Orvo.
   One stylesheet for both directions. Logical properties throughout,
   so the Arabic page needs only font and spacing overrides. */

:root {
  color-scheme: light;
  --bg: #f3eee5;
  --paper: #faf7f1;
  --ink: #1d2a20;
  --ink-2: #485649;
  --ink-3: #657066;
  --line: rgba(29, 42, 32, 0.13);
  --line-strong: rgba(29, 42, 32, 0.24);
  --ghaf: #243a2a;
  --ghaf-deep: #1a2b1f;
  --cream: #f3eee5;
  --cream-2: rgba(243, 238, 229, 0.78);
  --open: #7fcf8e;
  --soon: #e6b04f;
  --closed: #e48b6a;

  --gutter: 16px;
  --max: 1200px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --header: 60px;

  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --track-display: -0.02em;
}

:lang(ar) {
  --font-body: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Noto Naskh Arabic", "Readex Pro", serif;
  --track-display: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-block-start: calc(var(--header) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

:lang(ar) body { font-size: 16.5px; line-height: 1.8; font-weight: 400; }

img { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero :focus-visible,
.order-bar :focus-visible { outline-color: var(--cream); }

.wrap {
  inline-size: 100%;
  max-inline-size: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* ---------- Type ---------- */

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.04;
  letter-spacing: var(--track-display);
  font-variation-settings: "opsz" 144;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: var(--track-display);
  font-variation-settings: "opsz" 96;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; font-weight: 600; }
:lang(ar) h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.45; }
:lang(ar) h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.5; }
:lang(ar) h3 { font-size: 21px; line-height: 1.6; }

.lede {
  margin-block: 16px 0;
  max-inline-size: 34em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}

:lang(ar) .lede { font-size: 17px; line-height: 1.9; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-block-size: 48px;
  padding-block: 10px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out, opacity 160ms ease-out;
}

:lang(ar) .btn { font-weight: 500; }

.btn:active { transform: scale(0.97); }
.btn svg { inline-size: 20px; block-size: 20px; flex: none; }

.btn-cream { background: var(--cream); color: var(--ghaf); }
.btn-outline-light { color: var(--cream); border-color: rgba(243, 238, 229, 0.38); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-outline { color: var(--ink); border-color: var(--line-strong); }
.btn-block { inline-size: 100%; }

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn:disabled:active { transform: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-cream:hover { background: #fffaf2; }
  .btn-outline-light:hover { border-color: rgba(243, 238, 229, 0.75); }
  .btn-ink:not(:disabled):hover { background: #2f4234; }
  .btn-outline:hover { border-color: var(--ink); }
}

/* ---------- Demo banner ---------- */

.demo-bar {
  margin: 0;
  padding: 13px var(--gutter);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-3);
  text-align: center;
  border-block-end: 1px solid var(--line);
}

.demo-bar a {
  /* Inline so the sentence keeps its own spacing; padding grows the tap area without moving text. */
  display: inline-block;
  padding: 13px 8px;
  margin: -13px -8px;
  color: var(--ink-2);
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: rgba(243, 238, 229, 0.9);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  border-block-end: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 44px;
  margin-inline-end: auto;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

:lang(ar) .brand { letter-spacing: 0; font-size: 21px; }
.brand svg { inline-size: 28px; block-size: 28px; flex: none; }

.nav { display: none; }

.nav a,
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding-inline: 12px;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--r-sm);
}

.lang[lang="ar"] { font-family: "Readex Pro", "Segoe UI", Tahoma, sans-serif; }
.lang[lang="en"] { font-family: "Instrument Sans", -apple-system, "Segoe UI", sans-serif; }

.lang { border: 1px solid var(--line); min-block-size: 40px; margin-block: 2px; }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover, .lang:hover { color: var(--ink); }
  .demo-bar a:hover { color: var(--ink); }
}

@media (min-width: 720px) {
  .nav { display: flex; gap: 2px; margin-inline-end: 8px; }
}

/* ---------- Status line ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--cream-2);
}

.status::before {
  content: "";
  flex: none;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.status[data-state="open"]::before { background: var(--open); opacity: 1; box-shadow: 0 0 0 4px rgba(127, 207, 142, 0.18); }
.status[data-state="soon"]::before { background: var(--soon); opacity: 1; box-shadow: 0 0 0 4px rgba(230, 176, 79, 0.18); }
.status[data-state="closed"]::before { background: var(--closed); opacity: 1; box-shadow: 0 0 0 4px rgba(228, 139, 106, 0.18); }

.status-dark { color: var(--ink); margin-block: 2px 18px; }
.status-dark[data-state="open"]::before { background: #2f8a45; box-shadow: 0 0 0 4px rgba(47, 138, 69, 0.14); }
.status-dark[data-state="soon"]::before { background: #b9801b; box-shadow: 0 0 0 4px rgba(185, 128, 27, 0.14); }
.status-dark[data-state="closed"]::before { background: #b9502f; box-shadow: 0 0 0 4px rgba(185, 80, 47, 0.14); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  background: var(--ghaf);
  color: var(--cream);
}

.hero-text {
  padding-block: 44px 48px;
  padding-inline: var(--gutter);
}

.hero h1 {
  margin-block-start: 20px;
  max-inline-size: 12ch;
}

:lang(ar) .hero h1 { max-inline-size: 14ch; }

.hero .lede {
  color: var(--cream-2);
  max-inline-size: 31em;
  margin-block-start: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 32px;
}

.hero-address {
  margin-block: 28px 0;
  padding-block-start: 20px;
  border-block-start: 1px solid rgba(243, 238, 229, 0.16);
  font-size: 14px;
  color: rgba(243, 238, 229, 0.62);
}

.hero-media { position: relative; overflow: hidden; }

.hero-media img {
  inline-size: 100%;
  block-size: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 45%;
}

@media (max-width: 479px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-block-size: min(calc(100svh - var(--header) - 40px), 780px);
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-block: 72px 64px;
    padding-inline-start: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-inline-end: 56px;
  }
  .hero-media img { aspect-ratio: auto; position: absolute; inset: 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: 72px; }

@media (min-width: 720px) { .section { padding-block: 112px; } }

.section-head { max-inline-size: 640px; margin-block-end: 40px; }

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-inline-size: none;
}

.section-story,
.section-visit {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

/* ---------- Menu ---------- */

.menu-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .menu-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: start;
  }
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-lg);
  background: rgba(29, 42, 32, 0.07);
}

@media (min-width: 560px) {
  .tabs { display: inline-grid; grid-template-columns: repeat(3, auto); }
}

.tabs [role="tab"] {
  min-block-size: 44px;
  padding-inline: 22px;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out;
}

:lang(ar) .tabs [role="tab"] { font-weight: 500; }

.tabs [role="tab"]:active { transform: scale(0.97); }

.tabs [aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(29, 42, 32, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .tabs [aria-selected="false"]:hover { color: var(--ink); }
}

.panel { margin-block-start: 12px; }
.panel:focus-visible { outline-offset: 6px; }

.items { list-style: none; margin: 0; padding: 0; }

.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "text step" "price step";
  column-gap: 16px;
  align-items: center;
  padding-block: 20px;
  border-block-end: 1px solid var(--line);
}

.item-text { grid-area: text; }
.item .price { grid-area: price; }
.item .stepper { grid-area: step; }

@media (min-width: 640px) {
  .item {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "text price step";
    column-gap: 28px;
  }
}

.item-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}

:lang(ar) .item-name { font-size: 20px; line-height: 1.6; letter-spacing: 0; }

.item-desc {
  margin: 4px 0 0;
  max-inline-size: 38em;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
}

:lang(ar) .item-desc { font-size: 15px; line-height: 1.8; }

.price {
  margin-block-start: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 640px) { .item .price { margin: 0; } }

/* Steppers */

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
}

.step svg { inline-size: 18px; block-size: 18px; }
.step:active { transform: scale(0.97); }

.step-plus { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.step-count {
  min-inline-size: 26px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .step:hover { border-color: var(--ink); }
  .step-plus:hover { background: #2f4234; }
}

/* Order panel */

.order {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}

@media (min-width: 960px) {
  .order {
    position: sticky;
    inset-block-start: calc(var(--header) + 24px);
    padding: 28px;
  }
}

.order h3 { font-size: 22px; }

.order-empty {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

.order-lines {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name name" "step price";
  align-items: center;
  gap: 2px 12px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
}

.ol-name { grid-area: name; font-size: 15px; font-weight: 600; line-height: 1.35; }
.order-line .stepper { grid-area: step; justify-self: start; margin-inline-start: -2px; }
.ol-price { grid-area: price; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.order-line .step { inline-size: 44px; block-size: 44px; }
.order-line .step svg { inline-size: 16px; block-size: 16px; }

.order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 16px 4px;
  font-size: 16px;
}

.order-total strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

:lang(ar) .order-total strong { letter-spacing: 0; font-weight: 600; }

.field { margin-block-start: 20px; }

.field label {
  display: block;
  margin-block-end: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

:lang(ar) .field label { font-weight: 500; }

.optional { font-weight: 400; color: var(--ink-3); }

.field select,
.field input {
  display: block;
  inline-size: 100%;
  min-block-size: 48px;
  padding-inline: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%231d2a20' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 14px center;
}

[dir="rtl"] .field select { background-position: left 14px center; }

.field select:focus-visible,
.field input:focus-visible { outline-offset: 1px; border-color: var(--ink); }

.order .btn-block { margin-block-start: 24px; }

.hint {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

.order-note {
  margin: 16px 0 0;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

/* Mobile order bar */

.order-bar {
  position: fixed;
  z-index: 30;
  inset-inline: 12px;
  inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  padding-inline: 18px 8px;
  border-radius: var(--r-lg);
  background: var(--ghaf-deep);
  color: var(--cream);
  box-shadow: 0 12px 32px rgba(26, 43, 31, 0.32);
}

.order-bar-sum { display: grid; line-height: 1.3; }
.order-bar-sum span { font-size: 13px; color: var(--cream-2); }
.order-bar-sum strong { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .order-bar { animation: bar-in 240ms cubic-bezier(0.23, 1, 0.32, 1); }
  @keyframes bar-in {
    from { transform: translateY(16px); opacity: 0; }
  }
}

@media (min-width: 960px) {
  .order-bar { display: none !important; }
}

@media (max-width: 959px) {
  body.has-order-bar { padding-block-end: 88px; }
}

/* ---------- Story ---------- */

.story {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
}

.story-media img {
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: #e4ddd0;
}

@media (max-width: 959px) {
  .story-media img { aspect-ratio: 4 / 3; }
}

.story-body > p {
  margin-block: 18px 0;
  max-inline-size: 33em;
  color: var(--ink-2);
}

.origins-title {
  margin-block: 40px 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

:lang(ar) .origins-title { font-size: 16px; font-weight: 500; }

.origins { margin: 0; }

.origins div {
  display: grid;
  gap: 2px 24px;
  padding-block: 14px;
  border-block-end: 1px solid var(--line);
}

.origins div:last-child { border-block-end: 0; }

@media (min-width: 560px) {
  .origins div { grid-template-columns: 11em minmax(0, 1fr); align-items: baseline; }
}

.origins dt {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.01em;
}

:lang(ar) .origins dt { letter-spacing: 0; font-weight: 600; font-size: 18px; }
.origins dd { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gallery img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-sm);
  background: #e4ddd0;
}

.gallery .g1 { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery .g4 { grid-column: span 2; aspect-ratio: 16 / 9; }

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
  }
  .gallery img,
  .gallery .g1,
  .gallery .g4 { grid-column: auto; aspect-ratio: auto; block-size: 420px; }
}

/* ---------- Visit ---------- */

.visit { display: grid; gap: 48px; }

@media (min-width: 960px) {
  .visit { grid-template-columns: 1.1fr 1fr 1fr; gap: 0; }
  .visit-col { padding-inline: 40px; border-inline-start: 1px solid var(--line); }
  .visit-col:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .visit-col:last-child { padding-inline-end: 0; }
}

.visit-col h3 { margin-block-end: 14px; }

.hours {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.hours th,
.hours td {
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
  font-weight: 400;
  text-align: start;
  vertical-align: top;
}

.hours th { color: var(--ink-2); padding-inline-end: 16px; }
.hours td { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr[aria-current] th,
.hours tr[aria-current] td { color: var(--ink); font-weight: 600; }
:lang(ar) .hours tr[aria-current] th,
:lang(ar) .hours tr[aria-current] td { font-weight: 500; }

address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.6;
}

:lang(ar) address { line-height: 1.9; }

.small-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

:lang(ar) .small-note { line-height: 1.8; }

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 24px;
}

.notes { margin: 0; }
.notes div { padding-block: 12px; border-block-end: 1px solid var(--line); }
.notes div:first-child { padding-block-start: 0; }
.notes div:last-child { border-block-end: 0; }
.notes dt { font-size: 15px; font-weight: 600; }
:lang(ar) .notes dt { font-weight: 500; }
.notes dd { margin: 2px 0 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 32px;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  margin-inline-start: -10px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: 10px;
  color: var(--ink-2);
  text-decoration: none;
}

@media (min-width: 720px) { .footer-links { margin-inline-start: 0; } }

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--ink); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .btn, .step, .tabs [role="tab"] { transition-duration: 0ms; }
}
