/* ==========================================================================
   GRYF-PLAST
   Design tokens first: change colours, type and spacing here.
   One typeface (Archivo, variable weight + width). Width carries meaning:
   expanded for headlines, normal for reading, condensed for spec tables.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour: grey polypropylene sheet and the griffin's blue from the logo */
  --ink: #1d2833;          /* text, dark bands */
  --ink-soft: #4a5866;     /* secondary text */
  --pp: #eceeec;           /* light polypropylene grey, section backgrounds */
  --pp-deep: #dde2e0;
  --paper: #ffffff;
  --line: #c9d0d3;         /* hairlines */
  --accent: #3f5fa6;       /* primary action, active menu, markers */
  --accent-hover: #324d8a;
  --accent-ink: #ffffff;   /* text on accent backgrounds */
  --link: var(--ink);      /* links: dark text, accent underline, so they differ from buttons */
  --griffin: #4a67a8;      /* focus ring */
  --griffin-light: #9db4e6;/* focus ring and links on dark backgrounds */
  --ok: #2d7a47;
  --err: #b3261e;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;
  --lead: clamp(1.125rem, 1.6vw, 1.3125rem);
  --h3: 1.25rem;
  --h2: clamp(1.625rem, 3.2vw, 2.375rem);
  --h1: clamp(2.125rem, 4.6vw, 3.375rem);
  --display: clamp(2.75rem, 8vw, 6rem);
  --wide: 122%;            /* headline width */
  --narrow: 84%;           /* table width */

  /* Space and shape */
  --wrap: 82rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 3px;
}

/* --- Base ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0 0 0.6em;
  font-stretch: var(--wide);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-stretch: 108%; }

p, ul, ol, dl, table, figure { margin: 0 0 1.25rem; }
p { text-wrap: pretty; }

a { color: var(--link); text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

strong { font-weight: 680; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 0.5rem; }

/* --- Buttons and links --------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 680;
  font-stretch: 105%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button--primary { background: var(--accent); color: var(--accent-ink); }
.button--primary:hover { background: var(--accent-hover); }
.button--ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--paper); }
.button--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.1); }
.button--ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--ghost-dark:hover { background: var(--ink); color: var(--paper); }
.button[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  font-weight: 650;
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-thickness: 3px; }

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

.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: 4.5rem;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 3.6rem; height: auto; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name {
  font-size: 1.375rem;
  font-stretch: 125%;
  font-weight: 820;
  letter-spacing: -0.01em;
}
.brand__tag { font-size: var(--text-xs); color: var(--ink-soft); white-space: nowrap; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding-block: 0.4rem;
  color: var(--ink);
  font-weight: 560;
  font-size: var(--text-sm);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.header-phone {
  display: grid;
  flex-shrink: 0;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
  text-align: right;
}
.header-phone__label { font-size: var(--text-xs); color: var(--ink-soft); }
.header-phone__number { font-weight: 760; font-stretch: 110%; font-size: 1.125rem; white-space: nowrap; }
.header-phone:hover .header-phone__number { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 64rem) {
  .site-header__bar { flex-wrap: nowrap; }
  .site-nav ul { flex-wrap: nowrap; }
}

@media (max-width: 63.99rem) {
  .site-nav { flex-basis: 100%; order: 3; }
}

@media (max-width: 39.99rem) {
  .header-phone { display: none; }
}

/* With JavaScript available the mobile menu collapses behind the toggle.
   Without it (or in old browsers) the menu simply stays visible. */
@media (max-width: 63.99rem) and (scripting: enabled) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; padding-bottom: 0.75rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    padding: 0.8rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--accent); padding-left: 0.9rem; }
}

@media (max-width: 26rem) {
  .brand__tag { display: none; }
  .brand__mark { width: 2.9rem; }
  .brand__name { font-size: 1.2rem; }
  .site-header__bar { gap: 0.75rem; }
}

/* --- Home: hero, light: text beside a bright workshop photo ------------- */

.hero { background: var(--pp); }
.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; }
}
.hero__title {
  max-width: 11ch;
  margin-bottom: 0.35em;
  font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  font-stretch: 125%;
  font-weight: 830;
  line-height: 0.94;
  letter-spacing: -0.02em;
}
.hero__lead {
  max-width: 34rem;
  margin-bottom: 1.75rem;
  font-size: var(--lead);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__media { margin: 0; }
.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--pp-deep);
}
.hero__media figcaption { margin-top: 0.5rem; font-size: var(--text-xs); color: var(--ink-soft); }

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: var(--section); }
.section__title { max-width: 22ch; }
.section--split { background: var(--pp); }

.products {
  display: grid;
  gap: 2.5rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .products { grid-template-columns: 1.4fr 1fr; }
  .product:first-child { grid-row: span 2; }
  .product:first-child .product__link { flex: 1; }
  .product:first-child .product__image { flex: 1 1 0; height: 0; min-height: 16rem; aspect-ratio: auto; }
  .product:first-child .product__name { font-size: 1.625rem; }
}
.product { display: flex; flex-direction: column; }
.product__link {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.product__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--pp);
}
.product__name {
  margin: 1rem 0 0.35rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s;
}
.product__link:hover .product__name { text-decoration-color: var(--accent); }
.product__text { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); max-width: 38ch; }

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}
.split__text { max-width: 36rem; }

.materials {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}
.materials li { display: flex; align-items: baseline; gap: 0.75rem; }
.materials strong {
  flex: none;
  min-width: 4.6rem;
  padding: 0.1rem 0.45rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  font-stretch: var(--narrow);
  font-weight: 700;
  text-align: center;
}

.references {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 0 2rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.references li {
  display: grid;
  gap: 0.15rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.references span { color: var(--ink-soft); font-size: var(--text-sm); }

.section--contact { background: var(--pp); }
.contact-split { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) {
  .contact-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; }
}
.contact-split__intro p { max-width: 32rem; color: var(--ink-soft); }
.contact-split__form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.contact-split__form a { color: var(--link); }
.contact-split__form :focus-visible { outline-color: var(--griffin); }

.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list div { display: grid; gap: 0.1rem; }
.contact-list dt { font-size: var(--text-xs); opacity: 0.75; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list__phone { font-size: 1.625rem; font-stretch: 115%; font-weight: 760; text-decoration: none; }
.contact-list--large { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-block: 2rem 2.5rem; }

/* --- Subpages ------------------------------------------------------------ */

.page-head { background: var(--pp); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0.85rem 0;
  list-style: none;
  font-size: var(--text-xs);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.3rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a[aria-current="page"] { color: var(--ink); text-decoration: none; }

.page-grid {
  display: grid;
  gap: 3rem;
  padding-block: clamp(2rem, 5vw, 3.5rem) var(--section);
}
@media (min-width: 64rem) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4.5rem; align-items: start; }
}

.prose { max-width: 46rem; min-width: 0; }
.prose > h2 { margin-top: 2.75rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--accent); }
.lead { font-size: var(--lead); line-height: 1.5; color: var(--ink); }

.page-aside { min-width: 0; }
@media (min-width: 64rem) {
  .page-aside { position: sticky; top: 1.25rem; }
}
.aside-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}
.aside-card__title { font-size: 1.5rem; margin-bottom: 0.35rem; }
.aside-card__lead { font-size: var(--text-sm); color: var(--ink-soft); }
.aside-card__lead a { font-weight: 700; white-space: nowrap; }

.callout {
  margin-block: 2rem;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--pp);
}

.types { display: grid; gap: 0; }
.types > div { padding-block: 0.9rem; border-top: 1px solid var(--line); }
.types > div:last-child { border-bottom: 1px solid var(--line); }
.types dt { font-weight: 700; }
.types dd { margin: 0.2rem 0 0; color: var(--ink-soft); }

.company { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; }
.company div { display: contents; }
.company dt { color: var(--ink-soft); }
.company dd { margin: 0; font-weight: 600; }

.documents { padding: 0 !important; list-style: none; }
.documents li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.documents a { font-weight: 650; }
.documents__meta { color: var(--ink-soft); font-size: var(--text-sm); }

/* --- Photos -------------------------------------------------------------- */

.photo { margin: 2rem 0; }
.photo a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.photo img { width: 100%; background: var(--pp); transition: transform 0.3s; }
.photo a:hover img { transform: scale(1.015); }
.photo figcaption { margin-top: 0.5rem; font-size: var(--text-sm); color: var(--ink-soft); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: 1.5rem;
  margin-block: 2rem;
}
.gallery--two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.gallery .photo { margin: 0; }
.gallery .photo img { aspect-ratio: 4 / 3; object-fit: cover; }

/* --- Spec tables, styled after the title block of a technical drawing ----- */

.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; }
.table-scroll:focus-visible { outline-offset: 4px; }

.spec {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--ink);
  font-size: var(--text-sm);
  font-stretch: var(--narrow);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.spec caption {
  caption-side: top;
  padding-bottom: 0.6rem;
  font-stretch: 108%;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
}
.spec th, .spec td {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec thead th {
  border-bottom: 1.5px solid var(--ink);
  background: var(--pp);
  font-weight: 650;
  font-size: var(--text-xs);
  line-height: 1.25;
  vertical-align: bottom;
}
.spec tbody th { font-weight: 700; white-space: nowrap; }
.spec tbody tr:hover { background: #f6f7f6; }
.spec--numbers td, .spec--numbers thead th:not(:first-child) { text-align: right; }
.spec--numbers td { white-space: nowrap; }
.spec--numbers { min-width: 40rem; }
.spec--refs { font-stretch: 100%; }
.spec--refs td { color: var(--ink-soft); }

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

.faq { margin-top: 3rem; max-width: 46rem; }
.section > .faq { margin-top: 0; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: 40rem; }

/* --- Form ---------------------------------------------------------------- */

.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.3rem; margin: 0; }
.field label, .field legend { font-weight: 620; font-size: var(--text-sm); }
.field__optional { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid #939ea6;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #7a858d; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--griffin); outline-offset: 0; border-color: var(--griffin); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { margin: 0; color: var(--err); font-size: var(--text-sm); font-weight: 600; }

.field--choice { border: 0; padding: 0; }
.field--choice legend { padding: 0; margin-bottom: 0.35rem; }
.segmented { display: inline-flex; border: 1.5px solid #939ea6; border-radius: var(--radius); width: max-content; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 0.45rem 1.4rem; font-weight: 600; font-size: var(--text-sm); }
.segmented label + label span { border-left: 1.5px solid #939ea6; }
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + span { outline: 3px solid var(--griffin); outline-offset: 1px; }

.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400 !important; font-size: var(--text-sm); line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.12rem 0 0; accent-color: var(--ink); }
.consent-info { font-size: var(--text-xs); color: var(--ink-soft); }
.consent-info summary { cursor: pointer; color: var(--accent); width: max-content; }
.consent-info p { margin: 0.4rem 0 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 0.8rem 1rem;
  border-left: 4px solid currentColor;
  font-weight: 600;
  font-size: var(--text-sm);
}
.form-status--error { color: var(--err); background: #fbeceb; }
.form-status--ok { color: var(--ok); background: #e9f4ed; }
.form-status:focus { outline: none; }

/* --- Footer -------------------------------------------------------------- */

.site-footer { background: #151d25; color: rgba(255, 255, 255, 0.82); font-size: var(--text-sm); }
.site-footer a { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--griffin-light); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  padding-block: 3rem 2rem;
}
.site-footer__title { font-size: 1rem; font-stretch: 115%; color: var(--paper); margin-bottom: 0.8rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer ul { margin: 0; padding: 0; list-style: none; line-height: 2; }
.site-footer__ids { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.site-footer__legal { padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.6); }
.site-footer__legal p { margin: 0; }

/* --- Mobile action bar ---------------------------------------------------- */

.action-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  font-weight: 700;
  text-decoration: none;
}
.action-bar__call { background: var(--accent); color: var(--accent-ink); }
.action-bar__write { background: var(--ink); color: var(--paper); }
body { padding-bottom: 3.25rem; }
@media (min-width: 48rem) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* --- Lightbox (created by site.js) ------------------------------------- */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 17, 22, 0.94);
  color: var(--paper);
}
.lightbox::backdrop { background: rgba(12, 17, 22, 0.6); }
.lightbox__inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  padding: 0.75rem;
}
.lightbox__close { justify-self: end; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; gap: 0.5rem; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; background: var(--paper); }
.lightbox__caption { margin: 0.75rem auto 0; max-width: 60ch; text-align: center; font-size: var(--text-sm); }
.lightbox button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox button[hidden] { display: none; }
.lightbox :focus-visible { outline-color: var(--griffin-light); }

/* --- Preferences --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-nav, .page-aside, .action-bar, .site-footer, .hero__actions, .section--contact { display: none !important; }
  body { padding: 0; }
  .hero { background: none; }
}
