/* ============================================================
   SECMONT — brand layer (loads after dry-shield.css)
   Libre Caslon Display for a few large words, Jost for everything
   else. Warm stone neutrals, photography first, no ornament.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Jost:wght@300;400;500&display=swap');

:root {
  --font-display: "Libre Caslon Display", "Times New Roman", serif;
  --font-serif:   "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-sans:    "Jost", "Helvetica Neue", Arial, sans-serif;
  --sm-ink:   #141414;
  --sm-text:  #3b3936;
  --sm-mute:  #7a756e;
  --sm-stone: #a39a8e;
  --sm-paper: #f7f5f1;
  --sm-sand:  #ece8e1;
  --sm-line:  #dedad3;
  --sm-ease:  cubic-bezier(.2,.7,.2,1);

  --ivory: #ffffff;
  --bone:  var(--sm-paper);
  --line:  var(--sm-line);
  --ink-900: var(--sm-ink);
  --ink-700: var(--sm-text);
  --ink-500: var(--sm-mute);
  --ds-head-h: 84px;
}

body { font-family: var(--font-sans); font-weight: 300; color: var(--sm-text); -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; color: var(--sm-ink); }
h3, h4 { font-family: var(--font-sans); font-weight: 400; letter-spacing: 0; color: var(--sm-ink); }
h1 em, h2 em, h3 em { font-style: normal; color: var(--sm-stone); }
.eyebrow::before { display: none !important; }
.eyebrow { padding-left: 0 !important; color: var(--sm-mute); letter-spacing: .32em; font-size: 11px; }

/* ---------- Header ---------- */
.ds-header { background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; }
.ds-header.scrolled { background: rgba(255,255,255,.94); border-color: var(--sm-line); }
.ds-nav { gap: 36px; font-size: 11px; letter-spacing: .26em; color: var(--sm-ink); }
.ds-logo { gap: 5px; }
.ds-logo .mark { font-family: var(--font-sans); font-weight: 400; font-size: 21px; letter-spacing: .5em; margin-right: -.5em; color: var(--sm-ink); }
.ds-logo .sub { font-size: 8px; letter-spacing: .5em; margin-right: -.5em; color: var(--sm-mute); }
.ds-phone .pn { display: none; }
.ds-phone { color: var(--sm-ink); }
.ds-pill { display: inline-flex !important; align-items: center; justify-content: center; line-height: 1 !important; background: transparent !important; color: var(--sm-ink) !important; border: 1px solid var(--sm-ink) !important; border-radius: 0 !important; font-size: 10.5px !important; letter-spacing: .26em !important; font-weight: 400 !important; padding: 0 22px !important; height: 42px !important; transition: background .3s var(--sm-ease), color .3s var(--sm-ease) !important; }
.ds-pill:hover { background: var(--sm-ink) !important; color: #fff !important; }

/* Homepage: header floats transparent over the photograph */
body.home .ds-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; transition: background .4s var(--sm-ease), border-color .4s var(--sm-ease); }
body.home.admin-bar .ds-header { top: 32px; }
body.home .ds-header.scrolled { background: rgba(255,255,255,.96); border-color: var(--sm-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.home .ds-header:not(.scrolled) .ds-nav,
body.home .ds-header:not(.scrolled) .ds-nav a,
body.home .ds-header:not(.scrolled) .ds-logo .mark,
body.home .ds-header:not(.scrolled) .ds-phone,
body.home .ds-header:not(.scrolled) .dsm-burger { color: #fff !important; }
body.home .ds-header:not(.scrolled) .ds-logo .sub { color: rgba(255,255,255,.75); }
body.home .ds-header:not(.scrolled) .ds-nav a::after { background: #fff; }
body.home .ds-header:not(.scrolled) .ds-pill { color: #fff !important; border-color: rgba(255,255,255,.8) !important; }
body.home .ds-header:not(.scrolled) .ds-pill:hover { background: #fff !important; color: var(--sm-ink) !important; }
body.home .ds-header:not(.scrolled) .dsm-burger:hover { background: rgba(255,255,255,.12); }

/* ---------- Buttons (site-wide) ---------- */
.btn { border-radius: 0; font-weight: 400; letter-spacing: .24em; font-size: 11px; height: 54px; }
.btn-ink { background: var(--sm-ink); }

/* ---------- Homepage primitives ---------- */
.sm-kicker { display: inline-block; font-family: var(--font-sans); font-size: 11px; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.sm-kicker.dark { color: var(--sm-mute); }
.sm-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; font-family: var(--font-sans); font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; border: 1px solid; transition: background .35s var(--sm-ease), color .35s var(--sm-ease); }
.sm-btn-light { color: var(--sm-ink); background: #fff; border-color: #fff; }
.sm-btn-light:hover { background: transparent; color: #fff; }
.sm-link { display: inline-block; font-family: var(--font-sans); font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-ink); padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: opacity .3s; }
.sm-link:hover { opacity: .6; }
.sm-link-light { color: #fff; }

/* ---------- Hero ---------- */
.sm-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1b1d1f; }
.sm-hero-bg, .sm-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-hero-bg img { object-fit: cover; object-position: center 60%; animation: smZoom 14s var(--sm-ease) both; }
.sm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.05) 32%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.62) 100%); }
.sm-hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 12vh, 132px); }
.sm-hero h1 { color: #fff; font-size: clamp(48px, 8.4vw, 124px); line-height: .98; margin: 22px 0 26px; max-width: 11ch; }
.sm-hero p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 34em; color: rgba(255,255,255,.88); margin: 0 0 40px; }
.sm-hero-cta { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.sm-scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(72px, 12vh, 132px); width: 1px; height: 64px; background: rgba(255,255,255,.3); overflow: hidden; }
.sm-scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: smDrop 2.4s var(--sm-ease) infinite; }
@keyframes smZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes smDrop { to { top: 100%; } }

/* ---------- Intro ---------- */
.sm-intro { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); background: #fff; }
.sm-statement { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 50px); line-height: 1.22; color: var(--sm-ink); max-width: 22em; margin: 0 auto; text-align: center; letter-spacing: -0.005em; }
.sm-facts { display: flex; justify-content: center; gap: clamp(40px, 9vw, 140px); margin-top: clamp(64px, 8vw, 110px); padding-top: 48px; border-top: 1px solid var(--sm-line); max-width: 900px; margin-inline: auto; }
.sm-facts div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sm-facts .n { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); color: var(--sm-ink); line-height: 1; }
.sm-facts .l { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--sm-mute); }

/* ---------- Split layout (services, FAQ) ---------- */
.sm-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.sm-split-head h2 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; margin: 20px 0 36px; max-width: 12ch; }
.sm-services { padding: clamp(80px, 10vw, 150px) 0; background: var(--sm-paper); }
.sm-split-head { position: sticky; top: calc(var(--ds-head-h) + 40px); }
.sm-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sm-line); }
.sm-index li { border-bottom: 1px solid var(--sm-line); }
.sm-index a { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: baseline; padding: 34px 0; transition: padding .45s var(--sm-ease); }
.sm-index a:hover { padding-left: 14px; }
.sm-index .t { font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); color: var(--sm-ink); line-height: 1.15; }
.sm-index .d { font-size: 15px; line-height: 1.65; color: var(--sm-mute); }

/* ---------- Image pair ---------- */
.sm-pair { display: grid; grid-template-columns: 7fr 5fr; align-items: center; background: #fff; }
.sm-pair-a { margin: 0; height: clamp(420px, 62vw, 820px); overflow: hidden; }
.sm-pair-a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--sm-ease); }
.sm-pair:hover .sm-pair-a img { transform: scale(1.03); }
.sm-pair-text { padding: clamp(48px, 7vw, 120px); max-width: 560px; }
.sm-pair-text h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; margin: 20px 0 28px; }
.sm-pair-text p { font-size: 16px; line-height: 1.8; color: var(--sm-text); margin: 0 0 40px; }

/* ---------- Process ---------- */
.sm-process { padding: clamp(80px, 10vw, 150px) 0; background: #fff; border-top: 1px solid var(--sm-line); }
.sm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 56px; }
.sm-steps .n { display: block; font-family: var(--font-display); font-size: 22px; color: var(--sm-stone); padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--sm-line); }
.sm-steps h3 { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 14px; }
.sm-steps p { font-size: 15px; line-height: 1.7; color: var(--sm-mute); margin: 0; }

/* ---------- Selected work ---------- */
.sm-work { padding: clamp(80px, 10vw, 150px) 0; background: var(--sm-paper); }
.sm-work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.sm-work-head h2 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.05; margin: 20px 0 0; }
.sm-work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.sm-proj { display: block; color: var(--sm-ink); }
.sm-proj-1 { grid-column: 1 / span 7; }
.sm-proj-2 { grid-column: 8 / span 5; margin-top: clamp(60px, 10vw, 160px); }
.sm-proj-3 { grid-column: 1 / span 5; }
.sm-proj-4 { grid-column: 6 / span 7; margin-top: clamp(40px, 6vw, 100px); }
.sm-proj .pic { overflow: hidden; background: var(--sm-sand); aspect-ratio: 4 / 5; }
.sm-proj-1 .pic, .sm-proj-4 .pic { aspect-ratio: 4 / 3; }
.sm-proj .pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.2s var(--sm-ease), filter .6s; }
.sm-proj:hover .pic img { transform: scale(1.04); filter: saturate(1); }
.sm-proj .cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; }
.sm-proj .t { font-family: var(--font-display); font-size: 21px; }
.sm-proj .l { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-mute); white-space: nowrap; padding-top: 6px; }

/* ---------- Band ---------- */
.sm-band, .sm-close { position: relative; overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.sm-band { min-height: clamp(420px, 70vh, 720px); }
.sm-band img, .sm-close img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-band::after, .sm-close::after { content: ""; position: absolute; inset: 0; background: rgba(10,12,14,.48); }
.sm-band-in, .sm-close-in { position: relative; z-index: 2; padding: 0 var(--gutter); }
.sm-band-q { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 54px); line-height: 1.22; margin: 0 0 34px; }

/* ---------- Materials ---------- */
.sm-materials { padding: clamp(64px, 8vw, 110px) 0; background: #fff; text-align: center; border-bottom: 1px solid var(--sm-line); }
.sm-materials p { margin: 26px auto 0; max-width: 60em; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; line-height: 2.4; color: var(--sm-text); }

/* ---------- Form (reuse existing component, restyled) ---------- */
.sm-form { background: var(--sm-paper) !important; }
.sm-form .form-aside h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; margin: 20px 0 22px; }
.sm-form .form-card { border-radius: 0; box-shadow: none; border: 1px solid var(--sm-line); }
.control { border-radius: 0 !important; }

/* ---------- FAQ ---------- */
.sm-faq { padding: clamp(80px, 10vw, 150px) 0; background: #fff; }
.sm-faq .faq { max-width: none; margin: 0; }
.sm-faq summary { font-family: var(--font-sans); font-weight: 400; }

/* ---------- Closing ---------- */
.sm-close { min-height: clamp(380px, 60vh, 620px); }
.sm-close h2 { color: #fff; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; margin: 0 0 40px; }

/* ---------- Footer ---------- */
.ds-footer { background: var(--sm-ink); }
.ds-footer .fb-word { font-family: var(--font-sans) !important; font-weight: 400 !important; letter-spacing: .5em !important; text-transform: uppercase; font-size: 22px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .sm-split, .sm-pair { grid-template-columns: 1fr; }
  .sm-split-head { position: static; }
  .sm-split-head h2 { max-width: none; }
  .sm-pair-text { padding: 56px var(--gutter) 80px; }
  .sm-steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .sm-work-grid { grid-template-columns: 1fr; }
  .sm-proj-1, .sm-proj-2, .sm-proj-3, .sm-proj-4 { grid-column: auto; margin-top: 0; }
  .sm-proj .pic, .sm-proj-1 .pic, .sm-proj-4 .pic { aspect-ratio: 4 / 3; }
  .ds-logo .mark { font-size: 18px; letter-spacing: .42em; margin-right: -.42em; }
}
@media (max-width: 600px) {
  .ds-header .ds-wrap { grid-template-columns: auto 1fr auto !important; gap: 8px; }
  .ds-logo { align-items: center !important; }
  .ds-logo .mark { font-size: 16px; letter-spacing: .36em; margin-right: -.36em; }
  .ds-logo .sub { display: none; }
  .ds-phone { display: none !important; }
  .ds-pill { height: 36px !important; padding: 0 12px !important; font-size: 9.5px !important; letter-spacing: .18em !important; }
  .sm-hero-in { padding-bottom: 88px; }
  .sm-hero-cta { gap: 26px; }
  .sm-scroll { display: none; }
  .sm-index a { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .sm-facts { gap: 28px; }
  .sm-facts .l { letter-spacing: .2em; font-size: 9.5px; text-align: center; }
  .sm-steps { grid-template-columns: 1fr; }
  .sm-work-head { flex-direction: column; align-items: flex-start; }
  .sm-materials p { letter-spacing: .18em; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-hero-bg img, .sm-scroll span { animation: none; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.sm-btn-ink { color: #fff; background: var(--sm-ink); border-color: var(--sm-ink); width: 100%; }
.sm-btn-ink:hover { background: transparent; color: var(--sm-ink); }

/* Page hero */
.sm-phero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--sm-line); }
.sm-phero-in { position: relative; z-index: 2; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(56px, 7vw, 100px); }
.sm-phero h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: 1; margin: 22px 0 26px; max-width: 14ch; }
.sm-phero p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; max-width: 36em; color: var(--sm-mute); margin: 0; }
.sm-phero.has-img { min-height: clamp(460px, 74vh, 760px); display: flex; align-items: flex-end; color: #fff; border: 0; background: #1b1d1f; }
.sm-phero.has-img .sm-phero-in { width: 100%; padding-top: 140px; }
.sm-phero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: smZoom 14s var(--sm-ease) both; }
.sm-phero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,.62) 100%); }
.sm-phero.has-img h1 { color: #fff; }
.sm-phero.has-img p { color: rgba(255,255,255,.88); }
.sm-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-mute); }
.sm-crumbs a { color: inherit; transition: opacity .3s; }
.sm-crumbs a:hover { opacity: .6; }
.sm-phero.has-img .sm-crumbs { color: rgba(255,255,255,.75); }

/* Image hero pages: header floats over the photograph, like the homepage */
body:has(.sm-phero.has-img) .ds-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; transition: background .4s var(--sm-ease), border-color .4s var(--sm-ease); }
body.admin-bar:has(.sm-phero.has-img) .ds-header { top: 32px; }
body:has(.sm-phero.has-img) .ds-header.scrolled { background: rgba(255,255,255,.96); border-color: var(--sm-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-nav,
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-nav a,
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-logo .mark,
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-phone,
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .dsm-burger { color: #fff !important; }
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-logo .sub { color: rgba(255,255,255,.75); }
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-nav a::after { background: #fff; }
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-pill { color: #fff !important; border-color: rgba(255,255,255,.8) !important; }
body:has(.sm-phero.has-img) .ds-header:not(.scrolled) .ds-pill:hover { background: #fff !important; color: var(--sm-ink) !important; }

.sm-intro-tight { padding: clamp(80px, 10vw, 140px) 0; }
.sm-facts-top { margin-top: 0; padding-top: 0; border-top: 0; }

/* Principles list (text-only index rows) */
.sm-index-text li > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: baseline; padding: 34px 0; }

/* Services overview rows */
.sm-svc-row { border-top: 1px solid var(--sm-line); }
.sm-svc-row.flip { grid-template-columns: 5fr 7fr; }
.sm-svc-row.flip .sm-pair-a { order: 2; }
.sm-svc-row.flip .sm-pair-text { justify-self: end; }
.sm-svc-row .sm-pair-a { height: clamp(380px, 48vw, 640px); }

/* Service detail */
.sm-svc { padding: clamp(80px, 10vw, 150px) 0; background: #fff; }
.sm-svc-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.sm-svc-intro { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.32; color: var(--sm-ink); margin: 0 0 32px; }
.sm-svc-body { font-size: 16px; line-height: 1.85; color: var(--sm-text); margin: 0 0 56px; max-width: 40em; }
.sm-scope { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--sm-line); }
.sm-scope li { padding: 20px 0; border-bottom: 1px solid var(--sm-line); font-size: 16px; color: var(--sm-ink); }
.sm-svc-aside { position: sticky; top: calc(var(--ds-head-h) + 40px); background: var(--sm-paper); padding: 40px; }
.sm-svc-aside dl { margin: 0 0 32px; }
.sm-svc-aside dt { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-mute); margin-top: 22px; }
.sm-svc-aside dt:first-child { margin-top: 0; }
.sm-svc-aside dd { margin: 8px 0 0; font-family: var(--font-display); font-size: 20px; color: var(--sm-ink); padding-bottom: 20px; border-bottom: 1px solid var(--sm-line); }
.sm-related { border-top: 1px solid var(--sm-line); }

/* Process — long steps */
.sm-steps-long { padding: clamp(60px, 8vw, 120px) 0; background: #fff; }
.sm-step-row { display: grid; grid-template-columns: 120px 5fr 6fr; gap: clamp(24px, 4vw, 64px); align-items: baseline; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--sm-line); }
.sm-step-row:first-child { border-top: 1px solid var(--sm-line); }
.sm-step-row .n { font-family: var(--font-display); font-size: 28px; color: var(--sm-stone); }
.sm-step-row h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin: 0; }
.sm-step-row p { font-size: 16px; line-height: 1.8; color: var(--sm-text); margin: 0; }

/* Projects archive */
.sm-work-all { padding-top: clamp(64px, 8vw, 110px); }
.sm-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px); }
.sm-proj-grid .sm-proj { position: relative; }
.sm-proj-grid .sm-proj:nth-child(3n+2) { margin-top: clamp(40px, 5vw, 80px); }
.sm-proj-grid .pic { aspect-ratio: 4 / 5; }
.sm-proj .cap { flex-direction: column; gap: 8px; }
.sm-proj .cap .l { padding-top: 0; }
.sm-proj .c { display: none; }
.sm-ph { display: flex; align-items: center; justify-content: center; height: 100%; padding: 24px; text-align: center; font-family: var(--font-display); font-size: 20px; color: var(--sm-mute); }
.sm-back { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Legacy components restyled (single project, legal, FAQ) ---------- */
.ds-page-hero { padding: clamp(64px, 9vw, 130px) 0 clamp(48px, 6vw, 80px); background: #fff; border-color: var(--sm-line); }
.hero-h1 { font-family: var(--font-display) !important; font-weight: 400 !important; color: var(--sm-ink); line-height: 1.02; }
.hero-h1 em, .sec-head h2 em { font-style: normal; color: var(--sm-stone); }
.ds-breadcrumb { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-mute); }
.ds-page-hero p { font-family: var(--font-sans) !important; font-weight: 300; color: var(--sm-mute) !important; }
.sec-head h2, .form-aside h2, .stats-head h2 { font-family: var(--font-display); font-weight: 400 !important; color: var(--sm-ink); }
.sec-head p { font-family: var(--font-sans); font-weight: 300; font-size: 17px; color: var(--sm-mute); }
.ds-form-sec { background: var(--sm-paper); border-color: var(--sm-line); }
.form-card { border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--sm-line); }
.btn-call, .btn-wa, .btn-outline { border-radius: 0 !important; }
.faq { border-color: var(--sm-line); }
.faq summary { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: clamp(19px, 1.7vw, 24px) !important; color: var(--sm-ink); }
.faq .ans { font-weight: 300; font-size: 16px; line-height: 1.8; }
.legal-body h2, .legal-sec h2 { font-family: var(--font-display); font-weight: 400; }
.legal-body p { font-weight: 300; line-height: 1.85; }
.svc-aside { border-radius: 0 !important; background: var(--sm-paper) !important; border: 0 !important; }
.svc-aside dd { font-family: var(--font-display); }
.pg-item { border-radius: 0 !important; }
.proj-img-wrap { border-radius: 0 !important; border: 0 !important; }

@media (max-width: 940px) {
  .sm-svc-row.flip { grid-template-columns: 1fr; }
  .sm-svc-row.flip .sm-pair-a { order: 0; }
  .sm-svc-grid { grid-template-columns: 1fr; }
  .sm-svc-aside { position: static; }
  .sm-step-row { grid-template-columns: 1fr; gap: 14px; }
  .sm-proj-grid { grid-template-columns: 1fr 1fr; }
  .sm-proj-grid .sm-proj:nth-child(3n+2) { margin-top: 0; }
  .sm-proj-grid .sm-proj:nth-child(2n) { margin-top: 48px; }
}
@media (max-width: 600px) {
  .sm-index-text li > div { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .sm-proj-grid { grid-template-columns: 1fr; }
  .sm-proj-grid .sm-proj:nth-child(2n) { margin-top: 0; }
  .sm-svc-aside { padding: 28px; }
  .sm-phero.has-img { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) { .sm-phero-bg { animation: none; } }
.consent, label.consent { text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; font-weight: 300 !important; line-height: 1.6 !important; display: block !important; color: var(--sm-mute) !important; }
.consent a { display: inline !important; }

/* ============================================================
   PHOTO MAT — any photo shape inside a fixed frame
   ============================================================ */
.sm-mat { position: absolute; inset: 0; display: block; overflow: hidden; background: #1d1c1a; }
.sm-mat::before { content: ""; position: absolute; inset: -40px; background: var(--mat, none) center / cover no-repeat; filter: blur(28px) brightness(.5) saturate(.8); transform: scale(1.1); }
.sm-mat img, .sm-mat video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); transition: transform 1.2s var(--sm-ease); }
.sm-mat.fits img { object-fit: cover; padding: 0; filter: none; }
.sm-mat video { object-fit: cover; padding: 0; filter: none; }
.sm-proj .pic, .sm-pj-item { position: relative; }
.sm-proj .pic .sm-mat img { filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)) saturate(.9); }
.sm-proj .pic .sm-mat.fits img { filter: saturate(.85); }
.sm-proj:hover .pic .sm-mat img { transform: scale(1.03); }

/* ---------- Project page hero ---------- */
.sm-pj-hero { position: relative; overflow: hidden; background: #1b1a18; color: #fff; }
.sm-pj-hero::before { content: ""; position: absolute; inset: -60px; background: var(--mat, none) center / cover no-repeat; filter: blur(40px) brightness(.38) saturate(.75); transform: scale(1.15); }
.sm-pj-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--ds-head-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(56px, 7vw, 100px); min-height: min(92vh, 900px); }
.sm-pj-hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; margin: 22px 0 22px; }
.sm-pj-hero .sm-crumbs { color: rgba(255,255,255,.7); }
.sm-pj-meta { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); margin: 0; }
.sm-pj-hero-photo { display: flex; justify-content: center; align-items: center; background: none; border: 0; padding: 0; cursor: zoom-in; height: min(70vh, 680px); }
.sm-pj-hero-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 80px rgba(0,0,0,.45); transition: transform .9s var(--sm-ease); }
.sm-pj-hero-photo:hover img { transform: scale(1.015); }
body:has(.sm-pj-hero) .ds-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; transition: background .4s var(--sm-ease), border-color .4s var(--sm-ease); }
body.admin-bar:has(.sm-pj-hero) .ds-header { top: 32px; }
body:has(.sm-pj-hero) .ds-header.scrolled { background: rgba(255,255,255,.96); border-color: var(--sm-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .ds-nav,
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .ds-nav a,
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .ds-logo .mark,
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .ds-phone,
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .dsm-burger { color: #fff !important; }
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .ds-logo .sub { color: rgba(255,255,255,.75); }
body:has(.sm-pj-hero) .ds-header:not(.scrolled) .ds-pill { color: #fff !important; border-color: rgba(255,255,255,.8) !important; }

/* ---------- Project gallery ---------- */
.sm-pj-gallery { padding: clamp(72px, 9vw, 130px) 0; background: var(--sm-paper); }
.sm-pj-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.sm-pj-count { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-mute); }
.sm-pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(300px, 30vw, 460px); grid-auto-flow: dense; gap: clamp(12px, 1.6vw, 22px); }
.sm-pj-item { display: block; border: 0; padding: 0; background: none; cursor: zoom-in; overflow: hidden; }
.sm-pj-item.wide { grid-column: span 2; }
.sm-pj-item:hover .sm-mat img { transform: scale(1.03); }
.sm-pj-item:focus-visible { outline: 2px solid var(--sm-ink); outline-offset: 3px; }
.sm-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--sm-ink); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--sm-ease); }
.sm-play svg { width: 22px; height: 22px; margin-left: 3px; }
.sm-pj-item:hover .sm-play { transform: scale(1.08); }

/* ---------- Project record ---------- */
.sm-pj-record { padding: clamp(80px, 10vw, 140px) 0; background: #fff; }
.sm-pj-record-body { display: flex; flex-direction: column; gap: 28px; }
.sm-pj-lead { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: var(--sm-ink); margin: 0; }
.sm-pj-content { font-size: 16px; line-height: 1.85; }
.sm-pj-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--sm-line); }
.sm-pj-facts div { padding: 20px 0; border-bottom: 1px solid var(--sm-line); }
.sm-pj-facts dt { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sm-mute); }
.sm-pj-facts dd { margin: 8px 0 0; font-family: var(--font-display); font-size: 21px; color: var(--sm-ink); }

@media (max-width: 940px) {
  .sm-pj-hero-in { grid-template-columns: 1fr; min-height: 0; }
  .sm-pj-hero-photo { height: min(62vh, 560px); }
  .sm-pj-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(260px, 52vw, 420px); }
}
@media (max-width: 600px) {
  .sm-pj-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sm-pj-item { aspect-ratio: 4 / 5; }
  .sm-pj-item.wide { grid-column: auto; aspect-ratio: 16 / 9; }
  .sm-pj-facts { grid-template-columns: 1fr; }
}
.sm-proj .pic .sm-mat img { object-fit: contain; padding: 6%; }
.sm-proj .pic .sm-mat.fits img { object-fit: cover; padding: 0; }
/* Cards are thumbnails: always fill the frame (the best-fitting photo is chosen in PHP). */
.sm-proj .pic .sm-mat img, .sm-proj .pic .sm-mat.fits img { object-fit: cover; padding: 0; filter: saturate(.85); }

/* ---------- Legal ---------- */
.sm-legal { padding: clamp(64px, 8vw, 120px) 0; background: #fff; }
.sm-legal-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.sm-legal-nav { position: sticky; top: calc(var(--ds-head-h) + 32px); display: flex; flex-direction: column; gap: 18px; }
.sm-legal-nav nav { display: flex; flex-direction: column; border-top: 1px solid var(--sm-line); }
.sm-legal-nav a { padding: 12px 0; border-bottom: 1px solid var(--sm-line); font-size: 14px; color: var(--sm-mute); transition: color .3s; }
.sm-legal-nav a:hover, .sm-legal-nav a[aria-current="page"] { color: var(--sm-ink); }
.sm-legal-body { max-width: 760px; border-top: 1px solid var(--sm-line); }
.sm-clause { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 36px 0; border-bottom: 1px solid var(--sm-line); }
.sm-clause .n { font-family: var(--font-display); font-size: 22px; color: var(--sm-stone); line-height: 1.3; }
.sm-clause h2 { font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--sm-ink); margin: 4px 0 16px; }
.sm-clause .b { min-width: 0; }
.sm-clause p, .sm-clause li { font-size: 16px; line-height: 1.8; color: var(--sm-text); }
.sm-clause p { margin: 0 0 14px; }
.sm-clause p:last-child { margin-bottom: 0; }
.sm-clause ol, .sm-clause ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.sm-clause ol { list-style: lower-alpha; }
.sm-clause strong { font-weight: 500; color: var(--sm-ink); }
.sm-clause a { color: var(--sm-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .sm-legal-grid { grid-template-columns: 1fr; }
  .sm-legal-nav { position: static; }
  .sm-legal-nav nav { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; border-top: 0; }
  .sm-legal-nav a { border-bottom: 0; padding: 4px 0; }
  .sm-clause { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Guide ---------- */
.sm-guide { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); background: #fff; }
.sm-guide-body { min-width: 0; display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.sm-guide-sec { scroll-margin-top: calc(var(--ds-head-h) + 24px); }
.sm-guide-sec > h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; margin: 18px 0 20px; }
.sm-guide-lead { font-size: 16px; line-height: 1.8; color: var(--sm-mute); max-width: 40em; margin: 0 0 40px; }
.sm-mat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--sm-line); }
.sm-mat-item { padding: 32px 0; border-bottom: 1px solid var(--sm-line); display: flex; flex-direction: column; gap: 14px; }
.sm-mat-item header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sm-mat-item h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin: 0; }
.sm-mat-item .life { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sm-stone); white-space: nowrap; }
.sm-mat-item p { font-size: 15px; line-height: 1.75; margin: 0; }
.sm-mat-item dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-mat-item dt { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--sm-mute); }
.sm-mat-item dd { margin: 4px 0 0; font-size: 15px; line-height: 1.65; color: var(--sm-ink); }
.sm-method { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 4vw, 56px); padding: 36px 0; border-bottom: 1px solid var(--sm-line); }
.sm-method:first-of-type { border-top: 1px solid var(--sm-line); margin-top: 40px; }
.sm-method h3 { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); margin: 0; grid-column: 1; }
.sm-method .why { grid-column: 1; margin: 0; font-size: 15px; line-height: 1.7; color: var(--sm-mute); }
.sm-method ol { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; line-height: 1.7; }
.sm-table-wrap { overflow-x: auto; border-top: 1px solid var(--sm-ink); }
.sm-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.sm-table th { text-align: left; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sm-mute); padding: 16px 16px 16px 0; border-bottom: 1px solid var(--sm-line); }
.sm-table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--sm-line); font-size: 15px; line-height: 1.55; vertical-align: top; }
.sm-table td:first-child { font-family: var(--font-display); font-size: 18px; color: var(--sm-ink); width: 32%; }
.sm-check { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--sm-line); }
.sm-check li { position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid var(--sm-line); font-size: 16px; color: var(--sm-ink); }
.sm-check li::before { content: ""; position: absolute; left: 0; top: 22px; width: 18px; height: 18px; border: 1px solid var(--sm-stone); }
#mistakes .sm-index { margin-top: 32px; }
@media (max-width: 860px) {
  .sm-mat-list { grid-template-columns: 1fr; }
  .sm-method { grid-template-columns: 1fr; }
  .sm-method ol { grid-column: 1; grid-row: auto; }
}

/* `overflow-x: hidden` on html/body (responsive add-on) turns them into scroll
   containers and breaks position: sticky. `clip` stops sideways scroll without that. */
html, body { overflow-x: clip; }
.sm-method { grid-template-rows: auto 1fr; align-content: start; }
.sm-method .why { align-self: start; }
