/* Source Sans 3 and Source Serif 4. SIL Open Font License texts: assets/fonts/. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-hebrew-400.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #eceae6;
  --paper-2: #f6f4f0;
  --ink: #1a1c1f;
  --muted: #3c4146;
  --line: rgba(26, 28, 31, 0.16);
  --graphite: #17191c;
  --ivory: #f3f0ea;
  --ivory-dim: #d2cdc4;
  --blue: #1f4e79;
  --measure: 62ch;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --header: 7.4rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.35rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  margin: 0;
}

h3 { font-size: 1.45rem; margin: 0; }

p { margin: 0; }

a { color: var(--blue); text-underline-offset: 0.18em; }

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

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 80;
  background: var(--paper-2);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ink);
}

.skip:focus { top: 0.75rem; position: fixed; }

.wrap {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.he { font-family: var(--sans); font-weight: 400; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(236, 234, 230, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.plate { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }

.plate-top {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.85rem 0 0.45rem;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-right: auto;
}

.wordmark span {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark:hover { color: var(--ink); }

.desk-state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.desk-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  flex: 0 0 auto;
  background: transparent;
}

.desk-state.is-open .desk-dot {
  background: var(--blue);
  border-color: var(--blue);
  animation: pulse 2.8s var(--ease) infinite;
}

.desk-state.is-lockout .desk-dot {
  background: transparent;
  border-color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--paper);
}

.plate-phone {
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.plate-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0.55rem 0 0.75rem;
  border-top: 1px solid var(--line);
}

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-list a span {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.nav-list a:hover { color: var(--blue); }

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--blue);
}

.nav-quote { letter-spacing: 0.04em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 2.5rem 3rem;
  align-items: end;
  padding: 2.2rem 0 3.2rem;
  min-height: calc(100svh - var(--header));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.1rem;
  padding-bottom: 0.4rem;
  max-width: 38rem;
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  line-height: 1.45;
  max-width: 38rem;
  color: var(--ink);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  align-items: center;
}

.frame { position: relative; margin: 0; background: var(--graphite); }

.frame-media { overflow: hidden; height: 100%; }

.frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.frame-hero .frame-media { height: auto; }

.frame-hero img {
  width: 100%;
  height: 68vh;
  min-height: 420px;
  object-fit: cover;
  object-position: 32% center;
}

.hero-page { min-height: 0; padding-top: 1.75rem; padding-bottom: 2.5rem; }

.hero-page .frame-hero img { height: 58vh; }

.split .frame img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
  object-position: center 58%;
}

.frame-hero.pos-lobby img { object-position: center 18%; }
.frame-hero.pos-stair img { object-position: 22% center; }
.frame-hero.pos-riser img { object-position: center 12%; }
.frame-hero.pos-entrance img { object-position: center 62%; }
.frame-hero.pos-eave img { object-position: center 42%; }

.order-title { margin: 0.4rem 0 1.25rem; }

.section-head .desk-state { margin-top: 0.65rem; }

:target { scroll-margin-top: 8.5rem; }

.frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: min(24rem, calc(100% - 2rem));
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
  border-top: 2px solid var(--blue);
}

.frame-inline figcaption {
  position: static;
  max-width: none;
  margin-top: 0.7rem;
  background: transparent;
  padding: 0;
  border-top: 0;
  border-left: 2px solid var(--blue);
  padding-left: 0.75rem;
}

.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--graphite);
  color: var(--ivory);
  position: relative;
  z-index: 2;
}

.spec-item {
  padding: 1.35rem 1.2rem 1.25rem;
  border-left: 1px solid rgba(243, 240, 234, 0.16);
}

.spec-item:first-child { border-left: 0; }

.spec-num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}

.spec-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--ivory-dim);
  font-size: 0.95rem;
  line-height: 1.4;
}

.section { padding: 4.5rem 0; }

.block { padding: 2.2rem 0 3.2rem; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.section-head p { max-width: 36rem; color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3.5rem;
  align-items: end;
}

.stack { display: flex; flex-direction: column; gap: 1rem; }

.price-menu { display: flex; flex-direction: column; }

.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "note price";
  column-gap: 1.2rem;
  row-gap: 0.15rem;
  padding: 0.95rem 0.35rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.menu-row:last-child { border-bottom: 1px solid var(--line); }

.menu-row:hover { background: rgba(26, 28, 31, 0.035); }

.menu-name {
  grid-area: name;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.menu-note { grid-area: note; color: var(--muted); font-size: 0.95rem; }

.menu-price {
  grid-area: price;
  align-self: center;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  color: var(--ink);
}

.job-order {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.job-order article {
  padding: 1.6rem 1.5rem 1.7rem 0;
  margin-right: 1.5rem;
  border-right: 1px solid var(--line);
}

.job-order article:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.job-order h3 { margin-bottom: 0.65rem; }

.job-order p { max-width: 36ch; }

.visit-seq { padding-bottom: 4.5rem; }

.seq-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 26vw);
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-top: 1px solid var(--line);
  scrollbar-color: var(--blue) transparent;
}

.seq-card {
  scroll-snap-align: start;
  min-height: 250px;
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-top: 2px solid var(--blue);
}

.seq-card span {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.seq-card strong {
  display: block;
  margin: 0.55rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.seq-card p { color: var(--ink); font-size: 0.98rem; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.prose p,
.prose li { max-width: var(--measure); }

.prose > p + p,
.prose > ul,
.prose h2 { margin-top: 1rem; }

.prose h2 { margin-bottom: 0.35rem; }

.prose ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }

.prose li + li { margin-top: 0.35rem; }

.pair {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem 3rem;
  align-items: start;
  margin: 2.5rem 0;
}

.pair .prose p,
.pair .prose li { max-width: 38rem; }

.pair.flip .frame { order: 2; }

.pair .frame img {
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
}

.page-head {
  padding: 2.8rem 0 1.4rem;
  max-width: 40rem;
  border-bottom: 1px solid var(--line);
}

.page-head h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); }

.page-head .lede { margin-top: 1rem; }

.sheet-wrap {
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  padding: 1rem 1rem 0.35rem;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1.25rem;
}

table.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.4;
}

.sheet caption {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  text-align: left;
  caption-side: top;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.sheet th,
.sheet td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.45rem;
  border-bottom: 1px solid var(--line);
}

.sheet th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.sheet td:last-child,
.sheet th:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.sheet tbody tr:last-child td { border-bottom: 0; }

.note { font-size: 0.98rem; margin-top: 1rem; }

.faq .item { border-top: 1px solid var(--line); }

.faq .item:last-child { border-bottom: 1px solid var(--line); }

.faq button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  text-align: left;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.95rem 0;
  cursor: pointer;
}

.faq button::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 600;
  color: var(--blue);
  font-size: 1.15rem;
}

.faq button[aria-expanded="true"]::after { content: "–"; }

.faq .panel { padding: 0 0 1rem; }

.faq .panel p:first-child { margin-top: 0; }

.city-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.city-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  max-width: none;
}

.city-list li:last-child { border-bottom: 1px solid var(--line); }

.meta-dl {
  display: grid;
  grid-template-columns: 11rem 1fr;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.meta-dl dt,
.meta-dl dd {
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.meta-dl dt { font-weight: 600; color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.25rem;
  max-width: 46rem;
}

.field { display: flex; flex-direction: column; gap: 0.3rem; }

.field.wide { grid-column: 1 / -1; }

.field span,
.checks legend,
fieldset legend { font-weight: 600; }

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.55rem 0;
  width: 100%;
}

textarea { min-height: 8rem; resize: vertical; }

.checks {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 400;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.28rem;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.form-error {
  background: var(--paper-2);
  border-top: 2px solid var(--blue);
  padding: 0.8rem 1rem;
  color: var(--ink);
  margin-top: 1rem;
  max-width: 46rem;
}

.form-error span { display: block; }

.form-result { max-width: 46rem; margin-top: 1rem; }

.btn,
.btn-solid,
.btn-blue {
  font: inherit;
  cursor: pointer;
  border-radius: 0;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-solid,
.btn-blue {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.btn:hover { color: var(--blue); }

.btn-solid:hover,
.btn-blue:hover { color: var(--ivory); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.site-footer {
  background: var(--graphite);
  color: var(--ivory);
  margin-top: 1rem;
}

.site-footer a { color: var(--ivory); }

.site-footer a:hover { color: #ffffff; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr 1.15fr;
  gap: 1.75rem 2rem;
  padding: 3rem 0 1.75rem;
  border-top: 2px solid var(--blue);
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--ivory-dim);
}

.site-footer p,
.site-footer li {
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: var(--ivory);
}

.foot-grid > div:first-child p:first-of-type {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.foot-grid > div:first-child .he {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 1rem;
}

.foot-links { list-style: none; margin: 0; padding: 0; }

.foot-links li { margin: 0.28rem 0; }

.foot-links a { text-decoration: none; }

.foot-links a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.foot-base {
  border-top: 1px solid rgba(243, 240, 234, 0.16);
  padding: 0.9rem 0 1.3rem;
  font-size: 0.92rem;
  color: var(--ivory-dim);
}

.foot-base p { color: var(--ivory-dim); }

.noscript {
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
  padding: 0.7rem 0;
  margin: 0;
}

.callbar { display: none; }

.cookie-banner {
  position: fixed;
  right: 1rem;
  left: auto;
  bottom: 1rem;
  z-index: 50;
  width: min(26rem, calc(100% - 2rem));
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-top: 2px solid var(--blue);
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 16px 40px rgba(23, 25, 28, 0.12);
}

.cookie-banner .wrap {
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.cookie-banner p { margin: 0 0 0.35rem; color: var(--ink); }

.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

html.cookies-set .cookie-banner { display: none; }

html:not(.cookies-set) body { padding-bottom: 0; }

html.motion .reveal {
  animation: rise 0.75s var(--ease) both;
}

html.motion .d1 { animation-delay: 0.08s; }
html.motion .d2 { animation-delay: 0.16s; }
html.motion .d3 { animation-delay: 0.24s; }

html.motion .later {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.motion .later.is-in { opacity: 1; transform: none; }

html.motion .frame-media img { animation: settle 1.25s var(--ease) both; }

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

@keyframes settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 78, 121, 0.45); }
  100% { box-shadow: 0 0 0 7px transparent; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }

  .plate { position: relative; }

  .nav-list {
    display: none;
    position: absolute;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.4rem 1.25rem 1rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    z-index: 40;
  }

  .nav-list.is-open { display: flex; }

  .nav-list a { font-family: var(--serif); font-size: 1.45rem; padding: 0.35rem 0; }

  .hero,
  .split,
  .pair,
  .job-order,
  .form-grid,
  .foot-grid,
  .spec { grid-template-columns: 1fr 1fr; }

  .hero,
  .split,
  .pair,
  .job-order,
  .foot-grid { grid-template-columns: 1fr; }

  .pair.flip .frame { order: 0; }

  .hero { min-height: 0; padding-top: 1.6rem; }

  .frame-hero img,
  .hero-page .frame-hero img { height: 46vh; min-height: 260px; }

  .job-order article {
    border-right: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }

  .job-order article:last-child { border-bottom: 0; }

  .spec-item:nth-child(3) { border-left: 0; }

  .section-head { flex-direction: column; align-items: start; }
}

@media (max-width: 760px) {
  :root { --header: 6.2rem; }

  .plate-top { flex-wrap: wrap; }

  .desk-state { order: 5; flex-basis: 100%; }

  .spec,
  .foot-grid,
  .form-grid { grid-template-columns: 1fr; }

  .spec-item {
    border-left: 0;
    border-top: 1px solid rgba(243, 240, 234, 0.16);
  }

  .spec-item:first-child { border-top: 0; }

  .callbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--paper-2);
    border-top: 1px solid var(--ink);
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1rem;
    gap: 0.75rem;
  }

  .callbar a { color: var(--ink); text-decoration: none; }

  .callbar a.btn-blue { color: var(--ivory); }

  .cookie-banner { bottom: 3.7rem; right: 0.6rem; left: auto; width: min(26rem, calc(100% - 1.2rem)); }

  html.cookies-set body { padding-bottom: 4.25rem; }

  .meta-dl { grid-template-columns: 1fr; }

  .meta-dl dt { padding-bottom: 0; border-bottom: 0; }

  .menu-name { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .later,
  .frame img { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .cookie-banner,
  .callbar,
  .nav-toggle { display: none !important; }

  .site-footer { background: white; color: black; }
  .site-footer a,
  .site-footer p,
  .site-footer li { color: black; }
}
