/* ==========================================================================
   Eilionoir Blek — foglio di stile unico
   Un solo sistema per tutte le pagine, ricavato dalla landing approvata.
   Niente !important, niente regole duplicate: se cambi un token qui sotto,
   cambia ovunque.
   ========================================================================== */

:root {
  /* Colore */
  --ink:            #11100f;  /* fondo scuro */
  --ink-soft:       #191715;  /* campi e pannelli su fondo scuro */
  --paper:          #f9ecd5;  /* beige di marca */
  --paper-dim:      #efdfc2;  /* beige in ombra */
  --accent:         #a23e2c;  /* rosso ossido */
  --accent-light:   #b04a36;  /* rosso su fondo scuro, più leggibile */

  --on-ink:         #f9ecd5;
  --on-ink-muted:   #c9c0ae;
  --on-paper:       #171513;
  --on-paper-muted: #5f584d;

  --rule-on-ink:    rgba(249, 236, 213, .24);
  --rule-on-paper:  rgba(23, 21, 19, .22);

  --ok:             #5c6b4f;

  /* Tipografia */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    Inter, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Struttura */
  --shell:      1180px;
  --gutter:     1.1rem;
  --header-h:   76px;
}

@media (min-width: 600px) {
  :root { --gutter: 2rem; }
}

@media (min-width: 860px) {
  :root { --gutter: clamp(2rem, 5vw, 4.5rem); --header-h: 82px; }
}

/* ---- reset ---------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

/* ---- contenitori e fasce -------------------------------------------- */

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

.band { padding-block: clamp(3.5rem, 8vw, 7rem); }

.band--paper  { background: var(--paper);  color: var(--on-paper); }
.band--ink    { background: var(--ink);    color: var(--on-ink); }
.band--accent { background: var(--accent); color: var(--paper); text-align: center; }

.band--paper .eyebrow { color: var(--accent); }
.band--ink   .eyebrow { color: var(--accent-light); }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.lead {
  max-width: 39ch;
  font-size: clamp(1.08rem, 4.4vw, 1.45rem);
  line-height: 1.48;
  color: #d2caba;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule-on-ink);
  margin: 1.4rem 0;
}

.band--paper .rule { border-top-color: var(--rule-on-paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: .8rem 1.1rem;
  background: var(--paper);
  color: var(--on-paper);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---- bottoni e link ------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.4rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.button-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.button-light:hover { background: var(--paper-dim); border-color: var(--paper-dim); }

.button-outline:hover { background: rgba(249, 236, 213, .1); }
.band--paper .button-outline:hover { background: rgba(23, 21, 19, .07); }

.button[disabled] { opacity: .55; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  padding: .55rem 0;
  border-bottom: 1px solid transparent;
  color: inherit;
}

.text-link:hover { border-bottom-color: currentColor; }

/* ---- header: identico su tutte le pagine ---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: .9rem var(--gutter);
  padding-top: calc(.9rem + env(safe-area-inset-top, 0px));
  background: var(--paper);
  color: var(--on-paper);
  border-bottom: 1px solid var(--rule-on-paper);
  box-shadow: 0 0 0 rgba(17, 16, 15, 0);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 18px rgba(17, 16, 15, .12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid currentColor;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand strong {
  overflow: hidden;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}

@media (max-width: 370px) {
  .brand-mark { width: 36px; height: 36px; font-size: .85rem; }
  .lang-btn { min-width: 36px; padding: 0 .4rem; font-size: .64rem; }
}

/* Selettore lingua — due pulsanti a botte, stessa altezza dell'hamburger */
.lang-switch {
  display: flex;
  height: 46px;
  border: 1px solid var(--on-paper);
}

.lang-btn {
  display: grid;
  place-items: center;
  min-width: 42px;
  padding: 0 .5rem;
  border: 0;
  background: transparent;
  color: var(--on-paper);
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
}

.lang-btn + .lang-btn { border-left: 1px solid var(--on-paper); }

.lang-btn[aria-pressed="true"] {
  background: var(--on-paper);
  color: var(--paper);
}

.lang-btn:not([aria-pressed="true"]):hover { background: rgba(23, 21, 19, .08); }

/* Hamburger — presente a ogni larghezza, barre posizionate in assoluto
   così restano centrate e spaziate anche a menu chiuso. */
.nav-toggle {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 31;
  width: 46px;
  height: 46px;
  flex: none;
  padding: 0;
  border: 1px solid var(--on-paper);
  background: transparent;
  color: var(--on-paper);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle-bars { position: relative; }

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: .65rem var(--gutter) calc(1.1rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--on-paper);
  border-bottom: 1px solid rgba(23, 21, 19, .25);
  box-shadow: 0 12px 28px rgba(17, 16, 15, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.main-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .75rem .2rem;
  border-bottom: 1px solid rgba(23, 21, 19, .16);
  font-size: .9rem;
}

.main-nav a[aria-current="page"] { color: var(--accent); }

.main-nav .nav-cta {
  justify-content: center;
  margin-top: .65rem;
  border: 1px solid var(--on-paper);
  font-weight: 600;
}

@media (min-width: 600px) {
  .main-nav {
    left: auto;
    width: min(360px, 100vw);
    padding-inline: 1.5rem;
  }
}

@media (min-width: 860px) {
  .main-nav {
    width: min(390px, 42vw);
    padding: 1rem 1.6rem 1.5rem;
  }
}

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

.hero {
  display: flex;
  flex-direction: column;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 2.4rem var(--gutter) 3.4rem;
}

.hero-art { order: -1; margin-bottom: 2.2rem; }

.art-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(76vh, 650px);
  overflow: hidden;
  border: 1px solid rgba(249, 236, 213, .35);
  background:
    radial-gradient(circle at 50% 50%, rgba(249, 236, 213, .08), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 20px, rgba(249, 236, 213, .035) 20px 21px);
}

/* Quando sostituisci il segnaposto con una vera <img class="art-photo"> */
.art-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-area: 1 / 1;
}

.art-frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(249, 236, 213, .22);
  pointer-events: none;
}

.art-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(5rem, 25vw, 10rem);
  line-height: 1;
  color: rgba(249, 236, 213, .08);
}

.art-frame .art-note {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  width: min(90%, 25ch);
  transform: translateX(-50%);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.5;
  font-size: .68rem;
  color: rgba(249, 236, 213, .62);
}

.hero-copy { min-width: 0; }

.hero h1 {
  margin: 0 0 1.4rem;
  max-width: 9ch;
  font-size: clamp(3.8rem, 18vw, 7rem);
  line-height: .84;
  letter-spacing: -.045em;
}

.hero h1 em { font-style: italic; font-weight: 500; }

.hero .lead { margin: 0 0 1.8rem; }

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
}

/* ---- home: fascia scorrevole ---------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: .8rem 0;
  background: var(--paper);
  color: var(--on-paper);
  border-top: 1px solid var(--rule-on-paper);
  border-bottom: 1px solid var(--rule-on-paper);
  white-space: nowrap;
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---- home: studio, lavori, processo --------------------------------- */

.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.intro h2,
.featured h2,
.process h2 {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.intro h2 em,
.process h2 em { font-style: italic; }

.intro-text { max-width: 48ch; }
.intro-text p + p { margin-top: 1rem; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.grid-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 19, .30);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(23, 21, 19, .9), rgba(23, 21, 19, .78)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(249, 236, 213, .05) 22px 23px);
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::after {
  content: "";
  position: absolute;
  width: 46%;
  height: 64%;
  top: 13%;
  right: 17%;
  border: 1px solid rgba(249, 236, 213, .18);
  transform: rotate(8deg);
}

.tile:nth-child(2)::after { width: 66%; height: 45%; transform: rotate(-6deg); }
.tile:nth-child(3)::after { width: 46%; height: 46%; border-radius: 50%; transform: rotate(5deg); }

.tile > * { position: relative; z-index: 1; }

.tile-caption {
  display: inline-block;
  margin: 1rem;
  padding: .5rem .9rem;
  background: rgba(17, 16, 15, .78);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1;
}

.quote-band { display: grid; place-items: center; min-height: 310px; text-align: center; }

.quote-band p {
  max-width: 17ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: .98;
}

.quote-band em { font-style: italic; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

.steps article {
  padding-top: 1rem;
  border-top: 1px solid var(--rule-on-ink);
}

.steps b {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent-light);
}

.steps h3 { margin: 0 0 .5rem; font-size: 1.65rem; }
.steps p  { max-width: 38ch; margin: 0; color: var(--on-ink-muted); }

.cta h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(3.2rem, 14vw, 6rem);
  line-height: .86;
  letter-spacing: -.04em;
}

.cta h2 em { font-style: italic; }
.cta .eyebrow { color: var(--paper); opacity: .82; }

/* ---- intestazione delle pagine interne ------------------------------ */

.page-head {
  padding-block: clamp(2.8rem, 7vw, 5rem);
}

.page-head h1 {
  margin: 0 0 1.2rem;
  max-width: 14ch;
  font-size: clamp(3.2rem, 14vw, 5.6rem);
  line-height: .86;
  letter-spacing: -.04em;
}

.page-head h1 em { font-style: italic; font-weight: 500; }
.page-head .lead { max-width: 52ch; }

/* ---- galleria -------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-pill {
  min-height: 44px;
  padding: .55rem 1.2rem;
  border: 1px solid var(--rule-on-paper);
  background: transparent;
  color: inherit;
  font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.filter-pill:hover { border-color: var(--on-paper); }

.filter-pill[aria-pressed="true"] {
  background: var(--on-paper);
  border-color: var(--on-paper);
  color: var(--paper);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule-on-paper);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.work-card:hover { border-color: var(--on-paper); }

.work-card .thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-dim);
}

.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.work-card figcaption {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .85rem 1rem 1.05rem;
  border-top: 1px solid var(--rule-on-paper);
}

.work-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.work-style { font-size: .76rem; letter-spacing: .05em; color: var(--on-paper-muted); }

.gallery-note {
  margin-top: 2rem;
  max-width: 62ch;
  font-size: .82rem;
  color: var(--on-paper-muted);
}

/* ---- lightbox -------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(17, 16, 15, .94);
}

.lightbox.is-open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: min(640px, 92vw);
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
  background: var(--paper);
  color: var(--on-paper);
}

.lightbox img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }

.lightbox figcaption {
  margin-top: 1rem;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--on-paper-muted);
}

.lightbox-close {
  position: absolute;
  top: calc(1.2rem + env(safe-area-inset-top, 0px));
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rule-on-ink);
  background: transparent;
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---- modulo di richiesta -------------------------------------------- */

.request-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.field { margin-bottom: 1.4rem; }

.field > label,
.field-legend {
  display: block;
  margin-bottom: .45rem;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--on-ink-muted);
}

.field-hint {
  display: block;
  margin-top: .4rem;
  font-size: .78rem;
  line-height: 1.5;
  color: #8f8674;
}

label .field-hint { display: inline; margin: 0; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: .85rem .9rem;
  border: 1px solid rgba(249, 236, 213, .3);
  background: var(--ink-soft);
  color: var(--on-ink);
  font-family: var(--body);
  font-size: 1rem;
  border-radius: 0;
  transition: border-color .15s ease;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(249, 236, 213, .5); }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent-light); }

.field [aria-invalid="true"] { border-color: var(--accent-light); }

.field-error {
  display: block;
  margin-top: .4rem;
  font-size: .78rem;
  color: #e08a76;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.2rem;
}

.radio-fieldset { margin: 0 0 1.4rem; padding: 0; border: 0; }
.radio-fieldset legend { padding: 0; }

.radio-group { display: flex; gap: 1.5rem; }

.radio-group label {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  cursor: pointer;
}

.radio-group input,
.check-field input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--accent);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--on-ink-muted);
}

.check-field label { margin: 0; }
.check-field input { margin-top: .2rem; }
.check-field a { text-decoration: underline; text-underline-offset: 2px; color: var(--on-ink); }

.cf-turnstile { margin-bottom: 1.4rem; }

/* campo trappola: fuori schermo per le persone, compilato dai bot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 1.2rem;
  padding: .9rem 1.1rem;
  font-size: .9rem;
  border: 1px solid;
}

.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--ok); background: rgba(92, 107, 79, .18); }
.form-status.is-error   { border-color: var(--accent-light); background: rgba(162, 62, 44, .18); }

.side-note {
  padding: 1.6rem;
  border: 1px solid var(--rule-on-ink);
}

.side-note h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.side-note p  { font-size: .9rem; color: var(--on-ink-muted); }
.side-note a  { text-decoration: underline; text-underline-offset: 2px; }
.side-note .rule { margin: 1.2rem 0; }

/* ---- testi lunghi (privacy) ----------------------------------------- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.4rem; font-size: 1.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .95rem; line-height: 1.7; }
.prose ul { margin: 0 0 1em; padding-left: 1.1rem; list-style: disc; }
.prose li { margin-bottom: .4rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.notice {
  margin-bottom: 2rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent);
  background: rgba(162, 62, 44, .07);
  font-size: .9rem;
}

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

.footer {
  padding: 3rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--on-paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--shell);
  margin-inline: auto;
}

.footer-block h2 {
  margin: 0 0 .6rem;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-block p {
  margin: 0 0 .7rem;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--on-paper-muted);
}

.footer-block a:hover { color: var(--accent); }

.footer-brand strong {
  display: block;
  margin-bottom: .2rem;
  font-family: var(--display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 600;
}

.footer-brand span { font-size: .78rem; color: var(--on-paper-muted); }

.footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }

.footer-links a {
  padding: .2rem 0;
  border-bottom: 1px solid transparent;
  font-size: .8rem;
}

.footer-links a:hover { border-bottom-color: currentColor; color: inherit; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  max-width: var(--shell);
  margin: 2rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-on-paper);
  font-size: .76rem;
  color: var(--on-paper-muted);
}

/* ---- tablet ---------------------------------------------------------- */

@media (min-width: 600px) {
  .actions { flex-direction: row; align-items: center; flex-wrap: wrap; }

  .grid-preview { grid-template-columns: 1fr 1fr; }
  .tile-tall { grid-row: span 2; min-height: 560px; }
  .tile-wide { min-height: 270px; }

  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  .field-row { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- desktop --------------------------------------------------------- */

@media (min-width: 860px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
  }

  .hero-art { order: 0; margin: 0; }
  .art-frame { min-height: min(76vh, 720px); }
  .hero h1 { font-size: clamp(5rem, 8vw, 8rem); }

  .intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); }

  .section-head { flex-direction: row; align-items: end; justify-content: space-between; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }

  .work-grid { grid-template-columns: repeat(3, 1fr); }

  .request-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
}
