/* Marineleven — site styles */
/* Fonts: Instrument Serif & Manrope (SIL Open Font License), self-hosted */
@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/manrope-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/manrope-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-latin-700-normal.woff2) format("woff2")}
:root {
  --paper: #f5f1ea;
  --paper-2: #ebe4d7;
  --white: #fffdf9;
  --ink: #1b1d1c;
  --ink-2: #3a3d3b;
  --muted: #6b6d69;
  --line: rgba(27, 29, 28, .14);
  --patina: #2f5751;
  --patina-deep: #1c3531;
  --patina-soft: #dfe7e2;
  --clay: #a8643e;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .65) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--paper-2); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--patina);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif);
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: .98; letter-spacing: -.01em;
}
.display em, .h2 em { font-style: italic; color: var(--patina); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04; letter-spacing: -.005em;
}
.h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--patina); border-color: var(--patina); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link:hover { color: var(--patina); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 241, 234, .92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { position: relative; z-index: 60; display: flex; align-items: center; gap: 14px; }
.brand img { width: 40px; height: auto; }
.brand span { font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.menu a:not(.btn) {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 0;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ink);
  transition: right .35s var(--ease);
}
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { right: 0; }
.menu a[aria-current="page"] { color: var(--ink); }
.menu .btn { padding: 12px 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span + span { margin-top: 6px; }

@media (max-width: 900px) {
  .nav { height: 70px; }
  .menu-toggle { display: block; position: relative; z-index: 60; margin-left: auto; }
  .menu {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu a:not(.btn) { font-family: var(--serif); font-size: 38px; color: var(--ink); }
  .menu .btn { margin-top: 12px; }
  .nav-open .menu { opacity: 1; visibility: visible; }
  .nav-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-copy .display { margin: 22px 0 28px; }
.hero-copy .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 40%; }
.tag {
  position: absolute; left: -1px; bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); padding: 12px 18px 12px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(168, 100, 62, .18); }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta div { font-size: 14px; color: var(--muted); }
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3.4; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-hero .display { font-size: clamp(44px, 6.4vw, 88px); margin-top: 20px; max-width: 14ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Split intro ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.split .h2 { position: sticky; top: 120px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .h2 { position: static; } }

/* ---------- Services list ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { margin-top: 18px; max-width: 16ch; }
.section-head p { max-width: 34em; }
@media (max-width: 900px) { .section-head { flex-direction: column; align-items: start; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service {
  padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line);
}
.service:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.service .num { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--clay); }
.service .h3 { margin: 18px 0 12px; }
.service p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
}

/* Detailed service rows (services page) */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 32px;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.row .num { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--clay); padding-top: 10px; }
.row ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.row li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); }
.row p { color: var(--ink-2); }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; gap: 12px; } .row .num { padding: 0; } }

/* ---------- Ongoing projects ---------- */
.ongoing { background: var(--patina-deep); color: var(--paper); }
.ongoing .eyebrow { color: #c9d8d1; }
.ongoing .h2 em { color: #e2b393; }
.ongoing .muted { color: rgba(245, 241, 234, .7); }
.project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.project figure { margin: 0; position: relative; overflow: hidden; background: #0f201d; }
.project img { width: 100%; height: 100%; aspect-ratio: 1 / .92; object-fit: cover; transition: transform 1.2s var(--ease); }
.project figure:hover img { transform: scale(1.03); }
.project figcaption {
  position: absolute; top: 16px; left: 16px;
  background: rgba(28, 53, 49, .85); color: var(--paper);
  padding: 7px 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.project-info {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(245, 241, 234, .18);
}
.project-info .h3 { color: var(--paper); }
.project-info dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 241, 234, .55); }
.project-info dd { margin: 6px 0 0; font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 10px; }
.project + .project-info + .project { margin-top: 72px; }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project-info { grid-template-columns: 1fr 1fr; }
  .project-info > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Background image band ---------- */
.band {
  position: relative; isolation: isolate; color: var(--paper);
  padding: clamp(110px, 16vw, 220px) 0;
  background: var(--patina-deep) center / cover no-repeat;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 38, 35, .88) 0%, rgba(20, 38, 35, .62) 55%, rgba(20, 38, 35, .35) 100%);
}
.band .eyebrow { color: #d7e2dc; }
.band .h2 { max-width: 13ch; margin: 20px 0 24px; }
.band p { max-width: 34em; color: rgba(245, 241, 234, .86); }
.band .btn { margin-top: 36px; }

/* ---------- Work grid ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 18vw, 260px); gap: 12px;
}
.work-grid a { position: relative; overflow: hidden; background: var(--paper-2); }
.work-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-grid a:hover img { transform: scale(1.04); }
.work-grid a:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.work-grid a:nth-child(2) { grid-column: span 5; }
.work-grid a:nth-child(3) { grid-column: span 5; }
.work-grid a:nth-child(4) { grid-column: span 4; }
.work-grid a:nth-child(5) { grid-column: span 4; }
.work-grid a:nth-child(6) { grid-column: span 4; }
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .work-grid a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .work-grid a:nth-child(1), .work-grid a:nth-child(6) { grid-column: span 2; grid-row: span 1; }
}

/* Gallery (portfolio) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button {
  background: transparent; border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2);
  transition: all .25s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery a.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 60px 20px;
  background: rgba(15, 20, 19, .94);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--paper); cursor: pointer;
  font-size: 28px; line-height: 1; padding: 14px;
}
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-media img:last-child { margin-top: 64px; }
.disciplines { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.disciplines li { list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.disciplines { padding: 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 36px; background: var(--white); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--clay); margin-bottom: 12px; }
.quote cite { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { padding: 32px 28px 8px 0; border-top: 1px solid var(--ink); }
.step + .step { padding-left: 28px; }
.step .num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--patina); }
.step .h3 { font-size: 24px; margin: 20px 0 10px; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .steps, .steps.three { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; }
}

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .h2 { max-width: 16ch; margin: 20px auto 20px; }
.cta p { max-width: 36em; margin: 0 auto; }
.cta .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 6vw, 96px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--clay); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(27, 29, 28, .3);
  background: transparent; border-radius: 0; font-size: 17px; transition: border-color .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--patina); }
.field input::placeholder, .field textarea::placeholder { color: #9c9d98; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-status { font-size: 15px; }
.form-status.ok { color: var(--patina); }
.form-status.err { color: #a03a2a; }
.details { display: flex; flex-direction: column; gap: 36px; }
.details h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--patina); margin-bottom: 10px; }
.details a:hover { color: var(--patina); }
.details .big { font-family: var(--serif); font-size: 26px; line-height: 1.3; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(245, 241, 234, .72); padding: clamp(64px, 8vw, 110px) 0 32px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(245, 241, 234, .14); }
.footer-top .h2 { color: var(--paper); max-width: 14ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0; }
.footer-grid h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 241, 234, .45); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--paper); }
.footer-brand img { width: 52px; margin-bottom: 18px; }
.footer-brand p { max-width: 22em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(245, 241, 234, .14); font-size: 13px; color: rgba(245, 241, 234, .45); }
.footer-bottom a:hover { color: var(--paper); }
@media (max-width: 900px) {
  .footer-top { flex-direction: column; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Floating buttons (back to top + WhatsApp) ---------- */
.fabs {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.fab {
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: 0 6px 20px rgba(27, 29, 28, .18);
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.fab:hover { transform: translateY(-2px); }
.fab-wa { width: 56px; height: 56px; background: #25d366; color: #fff; }
.fab-wa:hover { background: #1ebe5b; }
.fab-top {
  width: 44px; height: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-top.is-visible:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.nav-open .fabs { display: none; }
@media print { .fabs { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Ongoing: additional drawings ---------- */
.ongoing-more { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(245, 241, 234, .18); }
.ongoing-more .eyebrow { display: block; margin-bottom: 24px; }
.project-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.project-gallery figure {
  margin: 0; position: relative; overflow: hidden;
  grid-column: span 2; background: var(--paper); padding: 10px;
}
.project-gallery .g-wide { grid-column: span 6; }
.project-gallery .g-half { grid-column: span 3; }
.project-gallery a { display: block; }
.project-gallery img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 1 / 1; object-fit: contain;
  transition: transform 1.2s var(--ease);
}
.project-gallery .g-wide img { aspect-ratio: 1491 / 704; }
.project-gallery figure:hover img { transform: scale(1.03); }
.project-gallery figcaption {
  position: absolute; top: 16px; left: 16px;
}
.project-gallery .g-wide figcaption {
  top: auto; bottom: 16px; left: 16px;
  background: rgba(28, 53, 49, .85); color: var(--paper);
  padding: 7px 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
@media (max-width: 900px) {
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery figure,
  .project-gallery .g-wide,
  .project-gallery .g-half { grid-column: 1 / -1; }
}
