/* ==========================================================================
   Studio Stoonesy — site stylesheet
   Centred logo, centred nav, contained hero banner, statement line, four
   style cards, studio story, process cards, footer.
   Two colours only — Navy #1f365f and Caramel #a76543 — on paper-cream,
   with Cocoa #483320 for body text.

   NOTE ON SIZING: every px value here is 0.8 of "normal", because the design
   was set at what a browser shows at 80% zoom. If you add new rules, scale
   them to match (e.g. a 20px gap should be written as 16px).
   ========================================================================== */

:root {
  --navy:      #1f365f;
  --navy-deep: #16274a;
  --caramel:   #a76543;
  --caramel-deep: #8a5135;
  --caramel-soft: #c98f6d;
  --cocoa:     #483320;
  --cocoa-soft: #6f6153;

  --cream:  #fdfaf3;
  --paper:  #ffffff;
  --line:   #e2d9c8;
  --line-soft: #ede6d9;

  --font-head: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max-width: 992px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 13.2px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 25.6px;
}

.container-narrow {
  max-width: 624px;
  margin: 0 auto;
  padding: 0 25.6px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1em; }

.eyebrow {
  display: block;
  font-size: 9.2px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 14.4px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28.8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn-navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); }

.btn-caramel { background: var(--caramel); color: #fff; border-color: var(--caramel); }
.btn-caramel:hover, .btn-caramel:focus-visible { background: var(--caramel-deep); border-color: var(--caramel-deep); }

.btn-light { background: transparent; color: var(--cream); border-color: rgba(253, 250, 243, 0.6); }
.btn-light:hover, .btn-light:focus-visible { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--navy); color: var(--cream); }

/* Small caramel text link with a rule under it */
.link-more {
  display: inline-block;
  font-size: 9.2px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  border-bottom: 1px solid var(--caramel);
  padding-bottom: 3px;
  transition: color 180ms ease, border-color 180ms ease;
}
.link-more:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- Header: centred logo, centred nav beneath ---------- */

.site-header {
  background: var(--cream);
  text-align: center;
  position: relative;
  z-index: 60;
}

/* The brand block and the nav rules are inset to the same width as the hero
   banner, so nothing in the header runs edge to edge. */
.header-brand,
.header-nav {
  padding: 0 clamp(16px, 8vw, 168px);
}

.header-brand-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  /* Equal top and bottom now the wordmark is cropped tight to the ink */
  padding: 16px 0;
}

/* OPTIONAL DARK MASTHEAD — kept in case it is ever wanted.
   Add class "header-navy" to the <header> tag on any page:
       <header class="site-header header-navy">
   and swap the logo to assets/logo/logo-wordmark-light.png.
   The cream header is the chosen default; nothing below runs unless the
   class is present. */
.site-header.header-navy .header-brand-inner { background: var(--navy); }

/* The dark masthead runs the full width of the screen; the nav rules go full
   width with it, since a full-bleed band above inset hairlines looks broken. */
.site-header.header-navy .header-brand,
.site-header.header-navy .header-nav { padding: 0; }

.site-header.header-navy .header-brand-inner,
.site-header.header-navy .nav-wrap { max-width: none; }

.header-brand img {
  height: 72px;
  width: auto;
  margin: 0 auto;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38.4px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 44.8px;
}

.nav-links a {
  font-size: 9.6px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 3.2px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--caramel); border-bottom-color: var(--caramel); }

/* Sits inside the brand block; bars flip to cream on the navy variant */
.nav-toggle {
  display: none;
  position: absolute;
  right: 14.4px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6.4px;
}
.nav-toggle span { width: 19.2px; height: 1.5px; background: var(--navy); display: block; }
.site-header.header-navy .nav-toggle span { background: var(--cream); }

/* ---------- Hero: centred message, artwork shown whole ---------- */

/* A contained banner — cream margins either side rather than edge-to-edge —
   with the artwork behind the message. */
.hero {
  background: var(--cream);
  /* Horizontal padding keeps cream margins either side at every width, so the
     banner never runs edge-to-edge. */
  /* No bottom padding — the statement line sits directly under the banner so
     the two read as one unit. */
  padding: 20.8px clamp(16px, 8vw, 168px) 0;
}

.hero-banner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}

/* Light enough that the drawing still reads clearly, dark enough to carry
   the text over it. */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 54, 95, 0.42) 0%, rgba(31, 54, 95, 0.34) 45%, rgba(31, 54, 95, 0.52) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 576px;
  padding: 51.2px 25.6px;
}

.hero-inner .eyebrow { color: #e6c3ab; text-shadow: 0 1px 8px rgba(16, 27, 52, 0.6); }

.hero h1 {
  color: #fff;
  font-size: clamp(1.68rem, 3.8vw, 2.4rem);
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 11.2px;
  text-shadow: 0 2px 14.4px rgba(16, 27, 52, 0.5);
}

.hero p {
  font-size: 13.6px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 48ch;
  margin: 0 auto 20.8px;
  text-shadow: 0 1px 11.2px rgba(16, 27, 52, 0.5);
}

.hero-actions { display: flex; gap: 11.2px; justify-content: center; flex-wrap: wrap; }

/* ---------- Statement band ---------- */

.statement {
  padding: 20.8px 0 35.2px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}

.statement p {
  font-family: var(--font-head);
  font-size: clamp(1.12rem, 2.8vw, 1.64rem);
  line-height: 1.42;
  color: var(--navy);
  margin: 0;
  font-weight: 500;
}

/* ---------- Four-category grid ---------- */

.categories { padding: 52.8px 0; }

.section-head { text-align: center; max-width: 528px; margin: 0 auto 33.6px; }

.section-head h2 {
  font-size: clamp(1.52rem, 3.4vw, 2.16rem);
  font-weight: 500;
  line-height: 1.16;
}

.section-head p { color: var(--cocoa-soft); margin: 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25.6px;
}

/* Column layout with the copy allowed to grow, so the "Commission" links line
   up across all four cards regardless of description length. */
.category {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.category p { flex: 1 0 auto; margin-bottom: 0; }

/* One shared link under the whole set, rather than one per card */
.categories-cta { text-align: center; margin-top: 34px; }

/* The image is a button so the artwork can be opened full size — people want
   to look closely at drawings before they commission one. */
.category .frame {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 17.6px;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  cursor: zoom-in;
  overflow: hidden;
}

.category .frame:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }

.category .frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 600ms ease;
}

.category:hover .frame img { transform: scale(1.04); }

.category h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 6.4px;
}

.category p {
  font-size: 11.6px;
  color: var(--cocoa-soft);
  margin-bottom: 12.8px;
}

/* ---------- Commission page ---------- */

.commission-page { padding: 40px 0 76px; }

.commission-form { max-width: 620px; margin: 0 auto; }

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.field .optional {
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--cocoa-soft);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cocoa);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 11px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}

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

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
                    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 2px rgba(167, 101, 67, 0.16);
}

.field .hint {
  font-size: 12px;
  color: var(--cocoa-soft);
  margin: 6px 0 0;
}

/* Photo upload — a styled label standing in for the plain file input */
.field input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* It's a <label>, so the uppercase field-label styling has to be undone here */
.field label.file-drop {
  display: block;
  border: 1px dashed var(--line);
  background: var(--paper);
  padding: 22px 18px;
  margin-bottom: 0;
  text-align: center;
  cursor: pointer;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--cocoa);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.file-drop:hover { border-color: var(--caramel); }

.field input[type="file"]:focus-visible + .file-drop {
  border-color: var(--caramel);
  box-shadow: 0 0 0 2px rgba(167, 101, 67, 0.16);
}

.file-drop strong {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 5px;
}

.file-drop span { font-size: 12.5px; color: var(--cocoa-soft); }

.file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--cocoa-soft);
}

.file-list li { padding: 2px 0; }

/* Honeypot — hidden from people, tempting to bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-actions { margin-top: 28px; text-align: center; }

.form-footnote {
  margin-top: 18px;
  text-align: center;
  font-size: 12.5px;
  color: var(--cocoa-soft);
}

.form-footnote a { color: var(--caramel); border-bottom: 1px solid var(--caramel); }
.form-footnote a:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- FAQ (native <details>, no JavaScript) ---------- */

.faq { padding: 4px 0 76px; }

.faq h2 {
  text-align: center;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  margin-bottom: 26px;
}

.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line-soft); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 17px 36px 17px 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 160ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--caramel); }
.faq-item summary:focus-visible { outline: 2px solid var(--caramel); outline-offset: 2px; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--caramel);
}

.faq-item[open] summary::after { content: "\2013"; }

.faq-body { padding: 0 40px 20px 0; }

.faq-body p { margin: 0; color: var(--cocoa-soft); }

/* ---------- About page ---------- */

.about-page { padding: 44px 0 76px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.about-text h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.14;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--cocoa-soft);
  max-width: 54ch;
}

.about-text p:last-child { margin-bottom: 0; }

.about-photo {
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 10px;
}

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

.about-photo figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}

/* ---------- Portfolio page ---------- */

.page-head {
  text-align: center;
  padding: 44px 0 8px;
}

.page-head h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.14;
  margin-bottom: 12px;
}

.page-head p {
  color: var(--cocoa-soft);
  max-width: 52ch;
  margin: 0 auto;
}

.work { padding: 40px 0 72px; }

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

.work-item { display: flex; flex-direction: column; }

.work-item .frame {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  cursor: zoom-in;
  overflow: hidden;
}

.work-item .frame:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }

.work-item .frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 600ms ease;
}

.work-item:hover .frame img { transform: scale(1.04); }

/* Scoped so it never overrides the hidden captions on the home page */
.work-item .gallery-caption { padding: 11px 2px 0; text-align: center; }

.work-item .gallery-caption span:first-child {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.work-item .gallery-caption span:last-child {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
  margin-top: 3px;
}

/* Closing line under the gallery */
.work-note {
  text-align: center;
  margin-top: 52px;
  color: var(--cocoa-soft);
}

.work-note p { margin-bottom: 20px; }

/* Marks the page you are on in the nav */
.nav-links a.is-current { color: var(--caramel); border-bottom-color: var(--caramel); }

/* ---------- Brand story ---------- */

.story {
  padding: 57.6px 0;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.story .eyebrow { color: var(--caramel-soft); }

.story h2 {
  color: var(--cream);
  font-size: clamp(1.52rem, 3.4vw, 2.16rem);
  font-weight: 500;
}

.story p {
  color: rgba(253, 250, 243, 0.85);
  font-size: 13.6px;
  max-width: 60ch;
  margin: 0 auto 1em;
}

.story .btn { margin-top: 16px; }

/* ---------- Process: three cards ---------- */

.process { padding: 57.6px 0; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27.2px;
}

.process-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 32px 27.2px 33.6px;
  text-align: center;
}

.process-card .rule {
  width: 27.2px;
  height: 2px;
  background: var(--caramel);
  margin: 0 auto 16px;
}

.process-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-card p { font-size: 12px; color: var(--cocoa-soft); margin: 0; }

.process-cta { text-align: center; margin-top: 30.4px; }

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(253, 250, 243, 0.82);
  padding: 52.8px 0 25.6px;
  font-size: 11.6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 35.2px;
}

.site-footer .brand img { height: 59.2px; margin-bottom: 14.4px; }

.footer-tag { max-width: 30ch; margin: 0; }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 9.2px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel-soft);
  margin: 0 0 14.4px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8.8px; }
.site-footer a:hover { color: var(--caramel-soft); }

.footer-bottom {
  margin-top: 41.6px;
  padding-top: 19.2px;
  border-top: 1px solid rgba(253, 250, 243, 0.16);
  text-align: center;
  font-size: 10px;
  color: rgba(253, 250, 243, 0.6);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(22, 39, 74, 0.975);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 19.2px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.lightbox[hidden] { display: none; }
.lightbox.visible { opacity: 1; }

.lightbox-inner {
  margin: 0;
  max-width: min(800px, 92vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  object-fit: contain;
  background: var(--paper);
  padding: 8px;
}

.lightbox-inner figcaption {
  margin-top: 12.8px;
  color: var(--caramel-soft);
  font-size: 10.8px;
  letter-spacing: 0.06em;
  text-align: center;
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: 8px 12.8px;
  opacity: 0.75;
  transition: opacity 160ms ease;
}
.lightbox-close:hover, .lightbox-nav:hover,
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { opacity: 1; }

.lightbox-close { top: 14.4px; right: 17.6px; font-size: 30.4px; }
.lightbox-nav { font-size: 43.2px; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

body.lightbox-open { overflow: hidden; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 28.8px 24px; }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  /* The desktop scale is deliberately small; phones don't zoom, so type is
     brought back up to a readable size here. */
  body { font-size: 15px; }
  .eyebrow { font-size: 10.5px; }
  .btn { font-size: 11.5px; padding: 14px 30px; }
  .nav-links a { font-size: 11.5px; }
  .link-more { font-size: 10.5px; }
  .hero p, .section-head p, .category p, .process-card p,
  .story p, .statement p ~ p { font-size: 15px; }
  .category h3, .process-card h3 { font-size: 1.15rem; }
  .site-footer { font-size: 14px; }
  .site-footer h4 { font-size: 10.5px; }

  .process-grid { grid-template-columns: 1fr; gap: 16px; }

  .statement, .categories, .story, .process { padding: 41.6px 0; }
  .about-page { padding: 30px 0 52px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-photo { order: -1; max-width: 380px; margin: 0 auto; }
  .about-text p { max-width: none; }

  .work { padding: 28px 0 52px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .page-head { padding: 32px 0 6px; }
  .page-head p { font-size: 15px; }
  .statement { padding: 17.6px 0 30.4px; }
  .hero-banner { min-height: 320px; }
  .hero-inner { padding: 41.6px 19.2px; }

  .nav-toggle { display: flex; }
  .header-brand-inner { padding: 14.4px 0 12px; }
  .header-brand img { height: 49.6px; }
  .header-nav { display: none; }
  .header-nav.open { display: block; }
  .nav-links {
    flex-direction: column;
    gap: 0;
    height: auto;
    padding: 4.8px 0 11.2px;
  }
  .nav-links li {
    width: 100%;
    padding: 10.4px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links li:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; max-width: 272px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 27.2px; }
  .lightbox { padding: 19.2px 9.6px; }
  .lightbox-nav { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category .frame img { transition: none; }
}
