/* ============================================================
   Overland Cabinetry — design system
   Strict monochrome: black, white, grey. Professional, architectural.
   Fraunces upright serif display + Inter. Hairline rules, cinematic
   photography, restrained motion. Mobile-first, WCAG AA.
   ============================================================ */

/* ---- tokens ---- */
:root {
  /* color — black / white / grey only */
  --paper:      #f5f5f4;   /* page background */
  --paper-2:    #ebebe9;   /* alt band */
  --surface:    #ffffff;   /* cards */
  --ink:        #141414;   /* primary text */
  --ink-soft:   #4d4d4b;   /* secondary — 7.6:1 on paper */
  --ink-faint:  #767674;   /* captions / meta — 4.6:1 */
  --accent:     #141414;   /* buttons / emphasis = black */
  --accent-2:   #2b2b2a;
  --line:       #dcdcda;   /* hairlines */
  --line-strong:#c3c3c0;
  --night:      #121212;   /* dark band */
  --night-2:    #1c1c1c;
  --night-ink:  #f2f2f0;   /* on dark */
  --night-soft: #a8a8a5;
  --wash:       #e4e4e2;   /* subtle chips */
  --ok:#2f6b3a; --err:#a3392a;

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 6.2rem);

  /* rhythm */
  --s1:4px; --s2:8px; --s3:16px; --s4:24px; --s5:40px; --s6:64px; --s7:96px; --s8:140px;
  --container: 1240px;
  --measure: 62ch;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 20px 60px -30px rgba(0,0,0,0.45);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #000; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

h1,h2,h3,h4 { font-family: var(--serif); font-style: normal; font-weight: 550; line-height: 1.08;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 var(--s4); text-wrap: balance;
  font-optical-sizing: auto; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
em, i { font-style: normal; }   /* house style: no italics anywhere */
p  { margin: 0 0 var(--s4); max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft);
  font-weight: 400; letter-spacing: -0.01em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.container-wide { max-width: 1480px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

.skip-link { position: absolute; left:-9999px; top:0; z-index:200; background: var(--ink);
  color:#fff; padding:12px 20px; }
.skip-link:focus { left:0; }

/* ---- eyebrow / labels ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: var(--s4); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink); }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--ink); }
.index-num { font-family: var(--serif); font-size: .8rem; color: var(--ink-faint);
  letter-spacing: .1em; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header.scrolled { border-color: var(--line); }
.header-bar { display: flex; align-items: center; gap: var(--s5); min-height: 76px;
  transition: min-height .3s var(--ease); }
.site-header.scrolled .header-bar { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 38px; }
.brand-word { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .02em; color: var(--ink);
  line-height: 1; display: none; white-space: nowrap; }
@media (min-width: 560px) { .brand-word { display: block; } }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a { position: relative; text-decoration: none; color: var(--ink); font-weight: 500;
  font-size: .95rem; letter-spacing: .01em; padding: 10px 14px; white-space: nowrap;
  transition: color .2s var(--ease); }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); }
.main-nav a:hover { color: #000; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a.btn { color: #fff; }               /* CTA button keeps its own colors */
.main-nav a.btn:hover { color: #fff; }
.main-nav a.btn::after { display: none; }
.header-cta { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 10px 14px; cursor: pointer; color: var(--ink);
  min-width: 44px; min-height: 44px; align-items: center; gap: 8px; font: inherit; font-size: .9rem; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 24px;
    display: none; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-cta { margin: 14px 0 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  padding: 15px 28px; min-height: 50px; border-radius: 0; cursor: pointer;
  text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary:hover { background: #000; color: #fff; box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--paper); box-shadow: 0 12px 30px -14px rgba(0,0,0,.55); }
/* ghost on dark surfaces */
.on-dark .btn-ghost, .hero .btn-ghost, .section-night .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.85); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .section-night .btn-ghost:hover {
  background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 17px 34px; min-height: 56px; font-size: 1rem; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--ink); letter-spacing: .01em; border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px; transition: border-color .25s var(--ease); }
.tlink svg { transition: transform .3s var(--ease-out); }
.tlink:hover { border-color: var(--ink); }
.tlink:hover svg { transform: translateX(5px); }

/* ---- hero ---- */
.hero { position: relative; isolation: isolate; color: var(--night-ink); overflow: hidden;
  background: var(--night); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  filter: grayscale(1) brightness(1.22) contrast(1.03); transform: scale(1.05);
  animation: heroZoom 12s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce){ .hero-media img{ animation:none; transform:none; } }
.hero-media::after { content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.18) 0%, rgba(10,10,10,.14) 45%, rgba(10,10,10,.66) 100%),
    linear-gradient(100deg, rgba(10,10,10,.42) 0%, transparent 55%); }
.hero-media img { }
.hero-inner { padding-block: clamp(120px, 22vh, 240px) clamp(70px, 12vh, 120px); max-width: 920px; }
.hero .eyebrow { color: rgba(242,242,240,.85); }
.hero .eyebrow::before { background: #fff; }
.hero h1 { color:#fff; font-size: var(--step-5); font-weight: 550; letter-spacing: -0.02em; }
.hero .lede { color: rgba(242,242,240,.9); max-width: 52ch; margin-top: var(--s4); }
.hero-actions { display:flex; flex-wrap:wrap; gap: var(--s3); margin-top: var(--s5); }
.hero-meta { position:absolute; left:0; right:0; bottom: 24px; }
.hero-meta .container { display:flex; align-items:center; gap: var(--s4); flex-wrap:wrap;
  border-top: 1px solid rgba(242,242,240,.24); padding-top: 18px; }
.hero-meta span { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(242,242,240,.82); display:inline-flex; align-items:center; gap:10px; }
.hero-meta span + span::before { content:""; width:4px; height:4px; border-radius:50%;
  background:#fff; opacity:.7; margin-right: 10px; }
.scroll-cue { position:absolute; bottom: 88px; left:50%; transform:translateX(-50%);
  width:1px; height:44px; background: linear-gradient(#fff, transparent); opacity:.6; }
@media (max-width:720px){
  .scroll-cue { display:none; }
  .hero-meta { display:none; }               /* avoids colliding with wrapped CTAs */
  .hero-inner { padding-bottom: clamp(48px, 9vh, 80px); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---- sections ---- */
.section { padding-block: clamp(64px, 11vw, 150px); }
.section-tight { padding-block: clamp(48px, 8vw, 100px); }
.section-wash { background: var(--paper-2); }
.section-night { background: var(--night); color: var(--night-ink); }
.section-night h2,.section-night h3 { color:#fff; }
.section-night p { color: var(--night-soft); }
.section-night .eyebrow { color: var(--night-soft); }
.section-night .eyebrow::before { background: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head.center { margin-inline:auto; text-align:center; }
.section-head.center .eyebrow { justify-content:center; }
.rule { height:1px; background: var(--line); border:0; margin:0; }

/* ---- editorial split ---- */
.split { display:grid; gap: clamp(28px, 5vw, 80px); align-items:center; }
@media (min-width: 900px){
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-media { grid-template-columns: 1.15fr .85fr; }
  .split.reverse > .split-media { order: 2; }
}
.split-copy { max-width: 52ch; }
.split-media { position: relative; }
.figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.figure img { width:100%; height:100%; object-fit: cover; aspect-ratio: 4/5;
  transition: transform 1.2s var(--ease-out); }
.figure.wide img { aspect-ratio: 4/3; }
.figure:hover img { transform: scale(1.05); }
.figure-cap { position:absolute; left:16px; bottom:16px; z-index:2;
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:#fff;
  background: rgba(10,10,10,.6); backdrop-filter: blur(6px); padding:7px 12px; }
.split-media .accent-frame { position:absolute; inset: 18px -18px -18px 18px;
  border:1px solid var(--line-strong); z-index:-1; }
@media (max-width: 560px){ .split-media .accent-frame{ display:none; } }

/* ---- checklist ---- */
.checklist { list-style:none; padding:0; margin:0 0 var(--s5); display:grid; gap: 18px; }
.checklist li { padding-left: 40px; position:relative; color: var(--ink-soft); font-size: 1.02rem; }
.checklist li strong { color: var(--ink); font-weight:600; }
.checklist li::before { content:""; position:absolute; left:0; top:1px; width:26px; height:26px;
  border:1px solid var(--ink); background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size:14px; background-position:center; background-repeat:no-repeat; }

/* ---- cards ---- */
.grid { display:grid; gap: clamp(20px, 2.4vw, 34px); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px,100%), 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display:flex; flex-direction:column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-media { aspect-ratio: 3/2; overflow:hidden; background: var(--paper-2); }
.card-media img { width:100%; height:100%; object-fit:cover; transition: transform 1s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: var(--s5) var(--s5) calc(var(--s5) + 4px); display:flex; flex-direction:column;
  gap: 12px; flex:1; }
.card-body h3 { margin:0; }
.card-body p { color: var(--ink-soft); font-size: .98rem; margin:0; }
.card-body .index-num { position:absolute; top: var(--s4); right: var(--s5); }
.card-link { margin-top:auto; padding-top: var(--s4); }
.price-tag { font-size:.8rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color: var(--ink-faint); }

/* ---- gallery ---- */
.gallery-grid { display:grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(260px,100%),1fr)); }
.gallery-grid a { display:block; overflow:hidden; border-radius: var(--radius); aspect-ratio: 1;
  position: relative; }
.gallery-grid img { width:100%; height:100%; object-fit:cover; transition: transform .9s var(--ease-out); }
.gallery-grid a::after { content:""; position:absolute; inset:0; background: rgba(10,10,10,0);
  transition: background .4s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a:hover::after { background: rgba(10,10,10,.14); }
.mosaic { display:grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.mosaic a { position:relative; overflow:hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.mosaic img { width:100%; height:100%; object-fit:cover; transition: transform 1s var(--ease-out); }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic .m-a { grid-column: span 3; grid-row: span 2; aspect-ratio: auto; }
.mosaic .m-b { grid-column: span 3; }
.mosaic .m-c { grid-column: span 3; }
@media (max-width: 720px){ .mosaic { grid-template-columns: repeat(2,1fr); }
  .mosaic .m-a { grid-column: span 2; } .mosaic .m-b,.mosaic .m-c{ grid-column: span 1; } }

/* ---- CTA band ---- */
.cta-band { text-align:center; }

/* ---- forms ---- */
.form-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px,4vw,44px); box-shadow: var(--shadow); }
.form-grid { display:grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width:640px){ .form-grid { grid-template-columns:1fr 1fr; } .form-grid .full{ grid-column:1/-1; } }
.field label { display:block; font-weight:600; font-size:.86rem; letter-spacing:.04em; margin-bottom:8px; color: var(--ink); }
.field .req { color: var(--err); }
.field input, .field select, .field textarea { width:100%; font:inherit; font-size:16px; color:var(--ink);
  border:1px solid var(--line-strong); border-radius: var(--radius); padding: 13px 15px;
  background: #fff; min-height:50px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { min-height:130px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus { outline:none; border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--wash); }
.field .hint { font-size:.82rem; color: var(--ink-faint); margin-top:6px; }
.form-status { margin-top: var(--s4); font-weight:600; }
.form-status.ok { color: var(--ok); } .form-status.err { color: var(--err); }
.hp-field { position:absolute; left:-9999px; height:0; overflow:hidden; }

/* ---- contact list ---- */
.contact-list { list-style:none; margin:0; padding:0; display:grid; gap: var(--s4); }
.contact-list a { font-weight:600; text-decoration:none; color: var(--ink); }
.contact-list a:hover { text-decoration: underline; }
.contact-list .k { display:block; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  color: var(--ink-faint); margin-bottom:4px; }

/* ---- footer ---- */
.site-footer { background: var(--night); color: var(--night-ink); padding-block: var(--s8) var(--s5); }
.footer-grid { display:grid; gap: var(--s6); grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
  font-family: var(--sans); font-weight:600; margin-bottom: var(--s4); color: var(--night-soft); }
.site-footer a { color: var(--night-ink); text-decoration:none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { list-style:none; margin:0; padding:0; display:grid; gap: 4px; }
.footer-links a { display:inline-block; padding: 6px 0; }   /* comfortable tap targets */
.footer-brand img { height:56px; width:auto; margin-bottom: var(--s4); }
.footer-brand p { color: var(--night-soft); font-size:.95rem; max-width: 34ch; }
.footer-note { margin-top: var(--s7); padding-top: var(--s4); border-top:1px solid rgba(242,242,240,.16);
  display:flex; flex-wrap:wrap; gap: var(--s4); justify-content:space-between;
  font-size:.85rem; color: var(--night-soft); }

/* ---- prose (legal) ---- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s6); font-size: var(--step-2); }
.prose h3 { margin-top: var(--s5); font-size: 1.2rem; }
.prose ul { color: var(--ink-soft); }

/* ---- reveal ---- */
.reveal { opacity:0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* ---- utility ---- */
.center { text-align:center; } .mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.mi-auto { margin-inline:auto; }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; border:0; }

/* ============ polish round 2 (matches SDW playbook, craftsman voice) ============ */

/* scroll progress — hairline ink */
.scroll-progress { position: fixed; top:0; left:0; right:0; height:2px; z-index:300;
  background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); pointer-events:none; }

/* top utility bar — paper, hairline */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); font-size:.76rem; }
.topbar-row { display:flex; align-items:center; gap: clamp(14px,2.5vw,30px); min-height: 36px; }
.topbar-spacer { flex:1; }
.topbar-item { color: var(--ink-faint); text-decoration:none; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.topbar-item:hover { color: var(--ink); }
.topbar-phone { color: var(--ink); font-weight:600; }
@media (max-width:860px){ .topbar-item:not(.topbar-phone){ display:none; } .topbar-spacer{ display:none; }
  .topbar-row{ justify-content:center; } }

/* hero entrance — gentle rise, serif pace */
@keyframes ocRise { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:none; } }
.hero .eyebrow, .hero h1, .hero .lede, .hero .hero-actions { animation: ocRise .9s var(--ease-out) both; }
.hero h1 { animation-delay:.1s; } .hero .lede { animation-delay:.22s; } .hero .hero-actions { animation-delay:.34s; }
@media (prefers-reduced-motion: reduce){ .hero .eyebrow,.hero h1,.hero .lede,.hero .hero-actions{ animation:none; } }

/* offerings pager */
.svc-pager { display:grid; grid-template-columns: 1fr auto 1fr; border-top: 1px solid var(--line); background: var(--surface); }
.svc-pager a { display:flex; flex-direction:column; gap: 8px; padding: clamp(28px,4vw,48px) clamp(20px,4vw,56px);
  text-decoration:none; transition: background .25s var(--ease); }
.svc-pager a:hover { background: var(--paper-2); }
.pager-prev { align-items:flex-start; text-align:left; }
.pager-next { align-items:flex-end; text-align:right; }
.pager-k { font-size:.72rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color: var(--ink-faint); }
.pager-name { font-family: var(--serif); font-weight:600; font-size: clamp(1.35rem,2.4vw,1.9rem); color: var(--ink); }
.svc-pager a:hover .pager-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pager-all { align-items:center; justify-content:center; text-align:center; border-inline: 1px solid var(--line);
  font-size:.72rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color: var(--ink-faint); line-height:1.7; }
.pager-all:hover { color: var(--ink); }
@media (max-width:640px){ .svc-pager{ grid-template-columns:1fr 1fr; } .pager-all{ display:none; }
  .pager-name{ font-size:1.05rem; } }

/* gallery lightbox — gallery-dark, serif counter */
.lightbox { position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center;
  background: rgba(16,16,15,.95); opacity:0; pointer-events:none; transition: opacity .3s var(--ease); }
.lightbox.open { opacity:1; pointer-events:auto; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit:contain;
  box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.lb-count { position:absolute; top:18px; left:22px; color:#fff; font-family: var(--serif);
  font-weight:500; font-size:1.05rem; letter-spacing:.04em; }
.lb-btn { position:absolute; background:none; border:1px solid rgba(255,255,255,.4); color:#fff;
  width:52px; height:52px; display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition: background .2s var(--ease), color .2s var(--ease); }
.lb-btn:hover { background:#fff; color: var(--ink); }
.lb-close { top:14px; right:16px; }
.lb-prev { left:16px; top:50%; transform:translateY(-50%); }
.lb-next { right:16px; top:50%; transform:translateY(-50%); }
@media (max-width:640px){ .lb-prev{left:6px;} .lb-next{right:6px;} .lightbox img{max-width:96vw;} }

/* footer wordmark + contact */
.footer-word { font-family: var(--serif); font-weight:600; line-height:1;
  font-size: clamp(2.2rem, 6vw, 4.8rem); color: var(--night-ink);
  padding-bottom: clamp(28px,4vw,48px); margin-bottom: clamp(28px,4vw,48px);
  border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-contact .footer-phone { display:inline-block; font-family: var(--serif); font-weight:600;
  font-size: clamp(1.4rem,2.2vw,1.8rem); color:#fff; text-decoration:none; margin-bottom: var(--s3); }
.footer-contact .footer-phone:hover { text-decoration:underline; text-underline-offset:5px; }
.footer-cta { margin-top: var(--s4); }
.to-top { font-weight:600; letter-spacing:.1em; text-transform:uppercase; font-size:.74rem; }
