/*
Theme Name: KenSuarez Studio
Theme URI: https://kensuarez.studio/
Description: A custom Genesis child theme for KenSuarez Studio — an ACF-driven, semi-portfolio homepage.
Author: Ken Suarez Studio
Author URI: https://kensuarez.studio/
Template: genesis
Version: 1.0.0
Tags: custom-menu, featured-images, accessibility-ready, responsive-layout
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: kensuarez
*/

/* # Design tokens
--------------------------------------------- */
:root {
  --slate: #ABBAAF;
  --quartz: #E9DFD3;
  --steel: #667F91;
  --iron: #D8DCDB;
  --ink: #14293C;
  --coal: #000000;

  --bg: #EFE8DE;
  --bg-band: #E4DACE;
  --surface: #F5F0E8;
  --surface-line: rgba(20, 41, 60, 0.14);
  --surface-line-strong: rgba(20, 41, 60, 0.30);
  --text: #14293C;
  --text-muted: #4C6373;
  --accent: #52707F;
  --accent-2: #7C9285;

  --hero-bg: #14293C;
  --hero-bg-2: #0C1A27;
  --hero-text: #EFE8DE;
  --hero-muted: #A9BBC2;
  --hero-line: rgba(233, 223, 211, 0.16);

  --dark-bg: #14293C;
  --dark-text: #EFE8DE;
  --dark-muted: #A9BBC2;
  --dark-line: rgba(233, 223, 211, 0.16);

  --btn-bg: #14293C;
  --btn-text: #EFE8DE;
  --btn-bg-hover: #52707F;

  --maxw: 1240px;
  --font-display: "Helvetica Neue", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1A27; --bg-band: #101F2C; --surface: #16293A;
    --surface-line: rgba(233, 223, 211, 0.14); --surface-line-strong: rgba(233, 223, 211, 0.28);
    --text: #E9DFD3; --text-muted: #9DB0B9; --accent: #8AA7B6; --accent-2: #ABBAAF;
    --hero-bg: #0A1620; --hero-bg-2: #050D14; --hero-text: #E9DFD3; --hero-muted: #93A7B0; --hero-line: rgba(233, 223, 211, 0.14);
    --dark-bg: #101F2C; --dark-text: #E9DFD3; --dark-muted: #9DB0B9; --dark-line: rgba(233, 223, 211, 0.12);
    --btn-bg: #E9DFD3; --btn-text: #14293C; --btn-bg-hover: #ABBAAF;
  }
}

/* # Base
--------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* Accessibility: hide skip links / screen-reader text until focused */
.screen-reader-text,
.screen-reader-shortcut,
.genesis-skip-link li {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.genesis-skip-link { margin: 0; padding: 0; list-style: none; }
.screen-reader-text:focus,
.screen-reader-shortcut:focus {
  position: fixed !important; top: 8px; left: 8px;
  width: auto; height: auto; clip: auto; z-index: 100000;
  padding: 12px 18px; background: var(--ink); color: var(--quartz);
  font-family: var(--font-mono); font-size: 12px; text-decoration: none;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin: 0;
}

h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
a { color: inherit; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  padding: 15px 24px;
  border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-text);
  border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--surface-line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--text); }
.btn--light { background: var(--quartz); color: var(--ink); }
.btn--light:hover { background: var(--slate); }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* # Header (Genesis .site-header)
--------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.title-area { margin: 0 auto 0 0; padding: 0; width: auto; }
.site-title { margin: 0; font-size: 0; line-height: 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 240px; height: auto; }
/* Logo art is light/cream — darken it on light backgrounds so it stays legible */
@media (prefers-color-scheme: light) { .brand-logo { filter: brightness(0); } }

.nav-primary { margin: 0; }
.nav-primary .genesis-nav-menu,
.genesis-nav-menu {
  display: flex; align-items: center; gap: 30px;
  margin: 0; padding: 0; list-style: none;
}
.genesis-nav-menu li { margin: 0; }
.genesis-nav-menu a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--text-muted);
  transition: color .15s ease; padding: 0;
}
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a { color: var(--text); }
.genesis-nav-menu .sub-menu { display: none; }

/* Add the CSS class "nav-cta" to a menu item to render it as a button. */
.genesis-nav-menu li.nav-cta a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 2px;
  background: var(--btn-bg); color: var(--btn-text);
  letter-spacing: 0.12em; font-size: 12.5px;
}
.genesis-nav-menu li.nav-cta a:hover { background: var(--btn-bg-hover); color: var(--btn-text); }

/* Mega menu — a top-level item with sub-items (e.g. Services) drops a panel.
   Add the service pages as sub-items in Appearance → Menus. */
.genesis-nav-menu .menu-item-has-children { position: relative; }
.genesis-nav-menu .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.genesis-nav-menu .menu-item-has-children:hover > a::after,
.genesis-nav-menu .menu-item-has-children:focus-within > a::after {
  transform: translateY(0) rotate(225deg);
}
.genesis-nav-menu .menu-item-has-children > .ks-mega {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  position: absolute; top: 100%; left: 50%; z-index: 60;
  transform: translateX(-50%) translateY(0);
  min-width: 260px; max-width: calc(100vw - 44px);
  margin: 0; padding: 12px; list-style: none;
  background: var(--surface); border: 1px solid var(--surface-line);
  border-radius: 5px; box-shadow: 0 24px 60px rgba(20, 41, 60, 0.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* Invisible bridge so the panel doesn't close in the gap under the item. */
.genesis-nav-menu .menu-item-has-children > .ks-mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.genesis-nav-menu .menu-item-has-children:hover > .ks-mega,
.genesis-nav-menu .menu-item-has-children:focus-within > .ks-mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}
.ks-mega li { margin: 0; border: 0; }
.ks-mega a {
  display: block; padding: 12px 14px; border-radius: 3px;
  font-family: var(--font-display); text-transform: none; letter-spacing: 0;
  color: var(--text); transition: background .15s ease;
}
.ks-mega a:hover { background: var(--bg-band); color: var(--text); }
.ks-mega__label { display: block; font-size: 13.5px; font-weight: 600; }
.ks-mega__desc {
  display: block; margin-top: 5px; font-size: 12px; line-height: 1.5;
  letter-spacing: 0; text-transform: none; color: var(--text-muted);
}

/* Header CTA (optional, from Site Settings) */
.ks-header-cta { display: inline-flex; }
.btn--small { padding: 11px 18px; font-size: 12px; }

/* Mobile nav toggle (hidden on desktop) */
.ks-nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--surface-line-strong);
  border-radius: 2px; cursor: pointer; align-items: center; justify-content: center;
}
.ks-nav-toggle__bars, .ks-nav-toggle__bars::before, .ks-nav-toggle__bars::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.ks-nav-toggle__bars { position: relative; }
.ks-nav-toggle__bars::before { position: absolute; top: -6px; }
.ks-nav-toggle__bars::after { position: absolute; top: 6px; }
body.ks-nav-open .ks-nav-toggle__bars { background: transparent; }
body.ks-nav-open .ks-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
body.ks-nav-open .ks-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* # Homepage layout resets (full-bleed sections)
--------------------------------------------- */
.ks-home .site-inner,
.ks-single-work .site-inner { max-width: none; margin: 0; padding: 0; }
.ks-home .content,
.ks-single-work .content { width: 100%; max-width: none; margin: 0; padding: 0; float: none; }
.ks-home .content > .entry { margin: 0; }

/* # Section scaffolding
--------------------------------------------- */
.work, .templates, .ladder { padding: 96px 0; }
.invite { padding: 0; }
.invite .wrap { padding-top: 96px; padding-bottom: 96px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; border-bottom: 1px solid var(--surface-line); padding-bottom: 22px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); max-width: 18ch; }
.section-head p { margin: 14px 0 0; color: var(--text-muted); max-width: 44ch; }
.section-head .idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

/* # Hero
--------------------------------------------- */
.hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.05; mix-blend-mode: overlay; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--hero-line) 1px, transparent 1px); background-size: 100% 56px; opacity: 0.5; pointer-events: none; }
.hero-inner { position: relative; padding: 80px 32px 80px; }
.hero-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--hero-line); padding-bottom: 22px; margin-bottom: 54px; }
.hero-top .eyebrow { color: var(--slate); }
.hero-top .loc { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hero-muted); }
.hero h1 { font-size: clamp(48px, 8.2vw, 104px); max-width: 100%; }
.hero h1 .accent { color: var(--slate); }
.hero-lede { max-width: 46ch; margin: 30px 0 0; color: var(--hero-muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; letter-spacing: -0.01em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .btn--ghost { color: var(--hero-text); border-color: var(--hero-line); }
.hero .btn--ghost:hover { border-color: var(--hero-text); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--hero-line); }
.stat { padding: 26px 24px 4px 0; border-right: 1px solid var(--hero-line); }
.stat:last-child { border-right: 0; }
.stat .n { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .l { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hero-muted); margin-top: 6px; }

/* # Work / gallery
--------------------------------------------- */
.work { background: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 14px; }
.shot { position: relative; overflow: hidden; border-radius: 2px; display: block; background-size: cover; background-position: center; }
.shot::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.12; mix-blend-mode: overlay; }
.shot .meta { position: absolute; left: 16px; bottom: 14px; z-index: 2; }
.shot .meta .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.92); display: block; }
.shot .meta .s { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255,255,255,0.62); margin-top: 3px; display: block; }
.shot .frame { position: absolute; top: 12px; right: 12px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.shot--wide { grid-column: span 5; grid-row: span 2; }
.shot--medium { grid-column: span 4; grid-row: span 2; }
.shot--small { grid-column: span 3; grid-row: span 2; }
.work-note { margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-muted); }

/* Gradient placeholders (used as fallbacks for gallery tiles and template previews) */
.g1 { background: linear-gradient(150deg, #14293C, #667F91); }
.g2 { background: linear-gradient(150deg, #667F91, #ABBAAF); }
.g3 { background: linear-gradient(160deg, #000000, #52707F); }
.g4 { background: linear-gradient(150deg, #14293C, #ABBAAF); }
.g5 { background: linear-gradient(150deg, #ABBAAF, #E9DFD3); }
.g6 { background: linear-gradient(150deg, #0C1A27, #667F91); }

/* # Templates
--------------------------------------------- */
.templates { background: var(--bg-band); }
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--surface-line); border: 1px solid var(--surface-line); }
.tpl-card { background: var(--bg); display: flex; flex-direction: column; transition: background .2s ease; }
.tpl-card:hover { background: var(--surface); }
.tpl-preview { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-bottom: 1px solid var(--surface-line); }
.tpl-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-ph { position: absolute; inset: 0; }
.tpl-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tpl-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.tpl-name { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.tpl-desc { color: var(--text-muted); font-size: 15px; margin: 6px 0 18px; line-height: 1.5; }
.tpl-foot { margin-top: auto; display: flex; align-items: center; padding-top: 16px; border-top: 1px solid var(--surface-line); }
.tpl-link { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.tpl-link:hover { color: var(--text); }

/* # Capabilities
--------------------------------------------- */
.caps { background: var(--bg); padding: 96px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--surface-line); border: 1px solid var(--surface-line); }
.cap-card { background: var(--bg); display: flex; flex-direction: column; transition: background .2s ease; }
.cap-card:hover { background: var(--surface); }
.cap-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--surface-line); display: grid; place-items: center; }
.cap-media.has-img { display: block; }
.cap-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cap-num { font-family: var(--font-mono); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: rgba(255,255,255,0.9); }
.cap-body { padding: 24px 26px 30px; }
.cap-title { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.cap-text { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin: 10px 0 0; }
a.cap-card { color: inherit; text-decoration: none; }
.cap-card--link:hover .cap-media img { transform: scale(1.03); }
.cap-media img { transition: transform .4s ease; }
.cap-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.cap-more .arrow { transition: transform .2s ease; }
.cap-card--link:hover .cap-more { color: var(--text); }
.cap-card--link:hover .cap-more .arrow { transform: translateX(4px); }

/* # Launch package (featured bundle)
--------------------------------------------- */
.bundle { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; padding: 84px 0; }
.bundle::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.05; mix-blend-mode: overlay; pointer-events: none; }
.bundle .hero-grid { opacity: 0.4; }
.bundle-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.bundle .eyebrow { color: var(--slate); }
.bundle h2 { font-size: clamp(30px, 4.5vw, 50px); max-width: 16ch; margin-top: 14px; }
.bundle-lede { color: var(--hero-muted); margin: 18px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.6; }
.bundle-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.bundle-list li { display: flex; gap: 12px; align-items: baseline; color: var(--hero-text); font-size: 15px; }
.bundle-list li::before { content: "\2713"; color: var(--slate); font-weight: 700; }
.bundle-card { background: rgba(233, 223, 211, 0.06); border: 1px solid var(--hero-line); border-radius: 3px; padding: 38px 34px; text-align: center; }
.bundle-badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.bundle-price { font-size: 54px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--hero-text); }
.bundle-terms { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--hero-muted); margin: 16px auto 0; max-width: 30ch; line-height: 1.5; }
.bundle-card .btn { width: 100%; justify-content: center; margin-top: 24px; background: var(--quartz); color: var(--ink); }
.bundle-card .btn:hover { background: var(--slate); }

/* # Services / ladder
--------------------------------------------- */
.ladder { background: var(--dark-bg); color: var(--dark-text); position: relative; }
.ladder .section-head { border-color: var(--dark-line); }
.ladder .section-head p { color: var(--dark-muted); }
.ladder .section-head .idx { color: var(--slate); }
.ladder .eyebrow { color: var(--slate); }
.rungs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.rung { background: var(--dark-bg); padding: 34px 30px 40px; display: flex; flex-direction: column; min-height: 300px; }
.rung .step { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--slate); }
.rung h3 { font-size: 26px; margin: 20px 0 0; }
.rung p { color: var(--dark-muted); font-size: 15px; line-height: 1.6; margin: 18px 0 0; }
.rung ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.rung li { font-size: 14px; color: var(--dark-text); display: flex; gap: 10px; align-items: baseline; }
.rung li::before { content: "—"; color: var(--slate); }
.rung--feature { background: color-mix(in srgb, var(--slate) 12%, var(--dark-bg)); }

/* # Invite / contact
--------------------------------------------- */
.invite { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.invite::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.05; mix-blend-mode: overlay; pointer-events: none; }
.invite-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--hero-line) 1px, transparent 1px); background-size: 100% 56px; opacity: 0.4; pointer-events: none; }
.invite-inner { position: relative; max-width: 62ch; }
.invite .eyebrow { color: var(--slate); }
.invite h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; margin-top: 18px; }
.invite-lede { color: var(--hero-muted); margin: 26px 0 0; max-width: 48ch; font-size: 18px; line-height: 1.6; }
.invite-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.invite .btn--ghost { color: var(--hero-text); border-color: var(--hero-line); }
.invite .btn--ghost:hover { border-color: var(--hero-text); }
.invite-contact { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--hero-muted); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hero-line); }
.invite-contact a { color: var(--slate); text-decoration: none; }
.invite-contact a:hover { color: var(--hero-text); }

/* Two-column contact (copy + form) */
.invite-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; position: relative; }
.invite-cols .invite-inner { max-width: none; }
.invite-form { position: relative; }

/* Contact form — styled for the dark invite section */
.form { display: grid; gap: 14px; }
.form .field { display: flex; flex-direction: column; gap: 8px; }
.form label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hero-muted); }
.form input, .form select, .form textarea {
  background: rgba(233, 223, 211, 0.06); border: 1px solid var(--hero-line);
  color: var(--hero-text); font-family: var(--font-display); font-size: 15px;
  padding: 13px 15px; border-radius: 2px; width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(169, 187, 194, 0.6); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--slate); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form select { -webkit-appearance: none; appearance: none; }
.form .btn { justify-content: center; width: 100%; margin-top: 4px; background: var(--quartz); color: var(--ink); border: 0; }
.form .btn:hover { background: var(--slate); }

/* Contact Form 7 — match the dark invite section */
.invite-form form.wpcf7-form { display: grid; gap: 14px; }
.invite-form .wpcf7-form p { margin: 0; }
.invite-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.invite-form label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hero-muted); margin-bottom: 8px; }
.invite-form .wpcf7-form-control-wrap { display: block; }
.invite-form input[type="text"], .invite-form input[type="email"], .invite-form select, .invite-form textarea {
  width: 100%; background: rgba(233, 223, 211, 0.06); border: 1px solid var(--hero-line);
  color: var(--hero-text); font-family: var(--font-display); font-size: 15px; padding: 13px 15px; border-radius: 2px;
}
.invite-form select { -webkit-appearance: none; appearance: none; }
.invite-form input::placeholder, .invite-form textarea::placeholder { color: rgba(169, 187, 194, 0.6); }
.invite-form input:focus, .invite-form select:focus, .invite-form textarea:focus { outline: none; border-color: var(--slate); }
.invite-form .wpcf7-submit {
  width: 100%; margin-top: 4px; cursor: pointer; border: 0; border-radius: 2px;
  background: var(--quartz); color: var(--ink);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 24px; transition: background .2s ease;
}
.invite-form .wpcf7-submit:hover { background: var(--slate); }
.invite-form .wpcf7-spinner { background-color: var(--hero-muted); }
.invite-form .wpcf7-response-output {
  margin: 14px 0 0 !important; padding: 10px 14px; border: 1px solid var(--hero-line); border-radius: 2px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--hero-text);
}
.invite-form .wpcf7-not-valid-tip { color: #F0B7A4; font-family: var(--font-mono); font-size: 11px; margin-top: 6px; }
.invite-form .wpcf7-form-control.wpcf7-not-valid { border-color: #C97B63; }

/* Fluent Forms — match the dark invite section (override plugin defaults with !important) */
.invite-form .ff-el-group { margin-bottom: 14px !important; }
.invite-form .ff-el-input--label label,
.invite-form .frm-fluent-form label {
  font-family: var(--font-mono) !important; font-size: 11px !important; font-weight: 400 !important;
  letter-spacing: 0.16em !important; text-transform: uppercase !important; color: var(--hero-muted) !important;
  margin-bottom: 8px !important;
}
.invite-form input.ff-el-form-control,
.invite-form textarea.ff-el-form-control,
.invite-form select.ff-el-form-control {
  width: 100% !important; background: rgba(233, 223, 211, 0.06) !important; border: 1px solid var(--hero-line) !important;
  color: var(--hero-text) !important; font-family: var(--font-display) !important; font-size: 15px !important;
  padding: 13px 15px !important; border-radius: 2px !important; box-shadow: none !important; height: auto !important;
}
.invite-form select.ff-el-form-control { -webkit-appearance: none !important; appearance: none !important; }
.invite-form .ff-el-form-control::placeholder { color: rgba(169, 187, 194, 0.6) !important; }
.invite-form .ff-el-form-control:focus { outline: none !important; border-color: var(--slate) !important; box-shadow: none !important; }
.invite-form .ff-btn-submit {
  width: 100% !important; cursor: pointer; border: 0 !important; border-radius: 2px !important;
  background: var(--quartz) !important; color: var(--ink) !important; box-shadow: none !important;
  font-family: var(--font-mono) !important; font-size: 12.5px !important; letter-spacing: 0.12em !important;
  text-transform: uppercase !important; padding: 15px 24px !important;
}
.invite-form .ff-btn-submit:hover { background: var(--slate) !important; }
.invite-form .ff-el-is-error .text-danger,
.invite-form .error { color: #F0B7A4 !important; font-family: var(--font-mono); font-size: 11px; }

/* # Footer (Genesis .site-footer)
--------------------------------------------- */
.site-footer { background: var(--coal); color: var(--iron); }
.footer-inner { padding-top: 64px; padding-bottom: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 40px; }
.footer-logo { display: block; width: 150px; height: auto; }
.footer-brand p { color: #8b969c; max-width: 34ch; margin: 16px 0 0; font-size: 15px; }
.footer-cols { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: flex-end; }
.footer-menu li { margin: 0; }
.footer-menu a { text-decoration: none; color: var(--iron); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: color .15s ease; }
.footer-menu a:hover { color: #fff; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: #8b969c; transition: color .15s ease; display: inline-flex; }
.footer-social a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.footer-bottom p { margin: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: #6f7c82; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; display: block; }

/* # Responsive
--------------------------------------------- */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .ks-nav-toggle { display: inline-flex; }
  .ks-header-cta { display: none; }
  .brand-logo { width: 190px; }
  .nav-primary {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--surface-line);
    padding: 8px 22px 20px; display: none;
  }
  body.ks-nav-open .nav-primary { display: block; }
  .nav-primary .genesis-nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .genesis-nav-menu li { border-top: 1px solid var(--surface-line); }
  .genesis-nav-menu li:first-child { border-top: 0; }
  .genesis-nav-menu a { display: block; padding: 14px 0; font-size: 13px; }
  .genesis-nav-menu li.nav-cta a { justify-content: center; margin: 12px 0 0; }
  /* Mega panel becomes a static indented list inside the mobile menu. */
  .genesis-nav-menu .menu-item-has-children > a::after { display: none; }
  .genesis-nav-menu .menu-item-has-children > .ks-mega {
    position: static; display: block; opacity: 1; visibility: visible;
    pointer-events: auto; transform: none; min-width: 0; max-width: none;
    margin: 0 0 6px; padding: 0 0 6px 14px; background: transparent;
    border: 0; box-shadow: none;
  }
  .genesis-nav-menu .menu-item-has-children > .ks-mega::before { display: none; }
  .ks-mega a { padding: 10px 0; }
  .ks-mega__label { font-size: 13px; }
  .ks-mega__desc { display: none; }
  .tpl-grid, .rungs, .cap-grid, .ks-posts { grid-template-columns: 1fr; }
  .ks-post__body { padding: 52px 0 56px; }
  .ks-post-body { font-size: 17px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--hero-line); }
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .shot--wide, .shot--medium, .shot--small { grid-column: span 3; grid-row: span 2; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .footer-cols { align-items: flex-start; text-align: left; }
  .footer-menu, .footer-social { justify-content: flex-start; }
  .invite-cols { grid-template-columns: 1fr; gap: 40px; }
  .form .two { grid-template-columns: 1fr; }
  .bundle-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* # Work archive + single
--------------------------------------------- */
.archive-title{display: none;}
.ks-archive { padding: 72px 0 96px; }
.ks-archive .section-head h1 { font-size: clamp(30px, 4vw, 46px); }
.ks-archive__empty { color: var(--text-muted); }
.pagination, .archive-pagination { margin-top: 40px; font-family: var(--font-mono); font-size: 13px; }
.pagination .wp-pagenavi a, .archive-pagination a, .archive-pagination .active a { text-decoration: none; padding: 8px 12px; border: 1px solid var(--surface-line); border-radius: 2px; margin-right: 6px; color: var(--text); }

.ks-project__header { background: var(--hero-bg); color: var(--hero-text); padding: 80px 0 40px; }
.ks-project__header .eyebrow { color: var(--slate); }
.ks-project__title { font-size: clamp(34px, 5vw, 60px); margin-top: 12px; }
.ks-project__hero { background: var(--hero-bg); padding-bottom: 40px; }
.ks-project__hero-img { display: block; width: 100%; height: auto; border-radius: 2px; }
.ks-project__body { padding: 64px 0; }
.ks-project__body .entry-content { max-width: 70ch; }
.ks-project__body .entry-content p { margin: 0 0 1.2em; }
.ks-related { padding-top: 40px; }

/* # Blog — single post + index/archive
--------------------------------------------- */
/* Single post hero */
.ks-post__header { background: var(--hero-bg); color: var(--hero-text); padding: 88px 0 44px; text-align: center; }
.ks-post__header .eyebrow { color: var(--slate); }
.ks-post__title { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.02em; line-height: 1.08; margin: 14px auto 0; max-width: 20ch; }
.ks-post__meta { margin: 22px 0 0; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-muted); }
.ks-post__dot { margin: 0 9px; }
.ks-post__hero { background: var(--hero-bg); padding-bottom: 44px; }
.ks-post__hero .wrap { max-width: 940px; }
.ks-post__hero-img { display: block; width: 100%; height: auto; border-radius: 3px; }

/* Article body typography */
.ks-post__body { padding: 76px 0 72px; }
.ks-post-body { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--text); }
.ks-post-body p { margin: 0 0 1.3em; }
.ks-post-body h2 { font-size: clamp(25px, 3.2vw, 34px); letter-spacing: -0.02em; line-height: 1.2; margin: 1.8em 0 0.5em; }
.ks-post-body h3 { font-size: 21px; letter-spacing: -0.01em; margin: 1.6em 0 0.4em; }
.ks-post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ks-post-body ul, .ks-post-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.ks-post-body ul { list-style: disc; }
.ks-post-body ol { list-style: decimal; }
.ks-post-body li { margin: 0 0 0.5em; padding-left: 4px; }
.ks-post-body blockquote { margin: 1.7em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 21px; line-height: 1.5; font-style: italic; }
.ks-post-body blockquote p:last-child { margin-bottom: 0; }
.ks-post-body img { width: 100%; height: auto; display: block; border-radius: 3px; }
.ks-post-body figure { margin: 1.9em 0; }
.ks-post-body figcaption { margin-top: 9px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); text-align: center; }
.ks-post-body hr { border: 0; border-top: 1px solid var(--surface-line); margin: 2.4em 0; }
.ks-post-body code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-band); padding: 2px 6px; border-radius: 3px; }
.ks-post-body pre { background: var(--hero-bg); color: var(--hero-text); padding: 20px; border-radius: 4px; overflow-x: auto; margin: 1.7em 0; }
.ks-post-body pre code { background: transparent; padding: 0; color: inherit; }
.ks-post__pages { margin-top: 2em; font-family: var(--font-mono); font-size: 13px; }

/* Related posts + blog index/archive grid */
.ks-related-posts { padding: 80px 0; border-top: 1px solid var(--surface-line); }
.ks-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
.ks-post-card { display: flex; flex-direction: column; }
.ks-post-card__media { display: block; overflow: hidden; border-radius: 3px; background: var(--bg-band); aspect-ratio: 16 / 10; }
.ks-post-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ks-post-card:hover .ks-post-card__img { transform: scale(1.03); }
.ks-post-card__ph { display: block; width: 100%; height: 100%; }
.ks-post-card__body { padding-top: 18px; }
.ks-post-card__dot { margin: 0 7px; }
.ks-post-card__title { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; line-height: 1.2; margin: 11px 0 8px; }
.ks-post-card__title a { color: var(--text); text-decoration: none; transition: color .15s ease; }
.ks-post-card__title a:hover { color: var(--accent); }
.ks-post-card__excerpt { color: var(--text-muted); margin: 0 0 14px; max-width: 48ch; }
.ks-post-card__more { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.ks-post-card__more .arrow { display: inline-block; }
.ks-post-card:hover .ks-post-card__more .arrow { transform: translateX(4px); }

/* # Templates library (archive)
--------------------------------------------- */
.tpl-browse { text-align: center; margin-top: 44px; }
.ks-templates .site-inner { max-width: none; margin: 0; padding: 0; }
.ks-templates .content { width: 100%; max-width: none; margin: 0; padding: 0; float: none; }
.templates.tlib { background: var(--bg-band); padding: 84px 0 96px; }
.tlib-head { max-width: 46ch; margin: 0 0 52px; }
.tlib-head h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: 14px 0 0; }
.tlib-intro { color: var(--text-muted); margin-top: 18px; font-size: 18px; }
.tlib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tlib-card { display: block; transition: transform .25s ease; }
.tlib-card:hover { transform: translateY(-4px); }
.tlib-browser { border: 1px solid var(--surface-line-strong); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -32px rgba(20, 41, 60, .5); }
.tlib-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--surface-line); }
.tlib-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-line-strong); display: block; }
.tlib-bar .tlib-url { margin-left: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); background: var(--bg); padding: 4px 12px; border-radius: 999px; }
.tlib-thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.tlib-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tlib-thumb .tpl-ph { position: absolute; inset: 0; }
.tlib-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 41, 60, .34); opacity: 0; transition: opacity .25s ease; }
.tlib-card:hover .tlib-overlay { opacity: 1; }
.tlib-view { background: var(--bg); color: var(--text); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 24px; border-radius: 2px; }
.tlib-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 4px 0; }
.tlib-meta h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.tlib-cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-top: 6px; }
.tlib-desc { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; }
.tlib-arrow { font-size: 18px; color: var(--text-muted); transition: transform .2s ease, color .2s ease; }
.tlib-card:hover .tlib-arrow { transform: translate(3px, -3px); color: var(--text); }
@media (max-width: 860px) { .tlib-grid { grid-template-columns: 1fr; gap: 34px; } }

/* # Single template (minimal detail page)
--------------------------------------------- */
.ks-template-single .site-inner { max-width: none; margin: 0; padding: 0; }
.ks-template-single .content { width: 100%; max-width: none; margin: 0; padding: 0; float: none; }
/* Featured image is used only on the cards — never render it on the single page. */
.ks-template-single .entry-image, .ks-template-single .featured-image, .ks-template-single .entry-image-link { display: none; }

.tpl-single { padding: 60px 0 96px; }
.tpl-min { max-width: 940px; }
.tpl-back { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 40px; transition: color .2s ease; }
.tpl-back:hover { color: var(--text); }
.tpl-min-head .eyebrow { margin-bottom: 16px; }
.tpl-min-head h1 { font-size: clamp(36px, 5.5vw, 62px); letter-spacing: -0.03em; line-height: 1.02; max-width: 16ch; }
.tpl-min-lede { color: var(--text-muted); font-size: 19px; line-height: 1.55; margin-top: 20px; max-width: 52ch; }
.tpl-min-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Content body — text stays readable; images/figures fill the full column width */
.tpl-min-body { margin-top: 52px; font-size: 17.5px; }
.tpl-min-body > p, .tpl-min-body > h2, .tpl-min-body > h3, .tpl-min-body > ul, .tpl-min-body > ol, .tpl-min-body > blockquote { max-width: 68ch; }
.tpl-min-body p { margin: 0 0 1.2em; color: var(--text-muted); }
.tpl-min-body h2, .tpl-min-body h3 { margin: 1.5em 0 0.5em; letter-spacing: -0.02em; }
.tpl-min-body ul, .tpl-min-body ol { margin: 0 0 1.2em 1.2em; color: var(--text-muted); }
.tpl-min-body figure, .tpl-min-body .wp-block-image { margin: 32px 0; }
.tpl-min-body .wp-block-image img, .tpl-min-body figure > img, .tpl-min-body > img { width: 100%; height: auto; display: block; }
.tpl-min-body figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 10px; text-align: center; }

/* Block-editor width alignments (set an image to "Wide" or "Full width") */
.tpl-min-body .alignwide { width: min(1240px, 100vw - 48px); max-width: none; margin-left: calc(50% - min(1240px, 100vw - 48px) / 2); margin-right: auto; }
.tpl-min-body .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.tpl-min-highlights { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--surface-line); }
.tpl-min-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 22px; }
.tpl-min-highlights ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.tpl-min-highlights li { display: flex; gap: 11px; align-items: baseline; font-size: 15.5px; }
.tpl-min-highlights li::before { content: "\2713"; color: var(--accent-2); font-weight: 700; }

.tpl-min-foot { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--surface-line); display: flex; gap: 14px; flex-wrap: wrap; }

/* What's included / not included clarifier (Launch Package) */
.tpl-included { margin-top: 48px; padding: 34px; border: 1px solid var(--surface-line); border-radius: 6px; background: var(--surface); }
.tpl-included__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.tpl-included__head .tpl-min-h { margin: 0; }
.tpl-included__price { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tpl-included__amt { font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.tpl-included__note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.tpl-included__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tpl-included__col h3 { font-size: 15px; letter-spacing: -0.01em; margin: 0 0 16px; }
.tpl-included__col h3 span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); font-weight: 400; display: block; margin-top: 4px; }
.tpl-included__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.tpl-included__col li { display: flex; gap: 11px; align-items: baseline; font-size: 15px; line-height: 1.45; }
.tpl-included__col li::before { flex: none; font-weight: 700; }
.tpl-included__col--yes li { color: var(--text); }
.tpl-included__col--yes li::before { content: "\2713"; color: var(--accent-2); }
.tpl-included__col--no li { color: var(--text-muted); }
.tpl-included__col--no li::before { content: "\00D7"; color: var(--surface-line-strong); }
.tpl-included__foot { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--surface-line); font-size: 14.5px; color: var(--text-muted); }
.tpl-included__foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 680px) {
  .tpl-min-highlights ul { grid-template-columns: 1fr; }
  .tpl-included { padding: 24px; }
  .tpl-included__cols { grid-template-columns: 1fr; gap: 26px; }
}

/* # Service landing page
--------------------------------------------- */
.ks-service .site-inner { max-width: none; margin: 0; padding: 0; }
.ks-service .content { width: 100%; max-width: none; margin: 0; padding: 0; float: none; }

.svcpage-hero { padding: 84px 0 44px; }
.svcpage-hero h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1.02; max-width: 16ch; margin-top: 14px; }
.svcpage-lede { color: var(--text-muted); font-size: 20px; line-height: 1.55; margin-top: 22px; max-width: 52ch; }
.svcpage-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.svcpage-body { max-width: 760px; margin: 0 auto; padding: 30px 0 84px; font-size: 17.5px; }
.svcpage-body h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; margin: 1.7em 0 0.5em; }
.svcpage-body h3 { font-size: 20px; letter-spacing: -0.02em; margin: 1.4em 0 0.3em; }
.svcpage-body p { margin: 0 0 1.2em; color: var(--text-muted); }
.svcpage-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.svcpage-body ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.svcpage-body ul li { display: flex; gap: 11px; align-items: baseline; }
.svcpage-body ul li::before { content: "\2713"; color: var(--accent-2); font-weight: 700; }
.svcpage-body ol { margin: 0 0 1.4em; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.svcpage-body ol li { counter-increment: step; padding-left: 44px; position: relative; color: var(--text-muted); }
.svcpage-body ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 700; }
.svcpage-body img { width: 100%; height: auto; display: block; border: 1px solid var(--surface-line); border-radius: 2px; margin: 24px 0; }

.svcpage-band { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; padding: 84px 0; text-align: center; }
.svcpage-band .hero-grid { opacity: 0.4; }
.svcpage-band .wrap { position: relative; }
.svcpage-band h2 { font-size: clamp(30px, 4.5vw, 52px); letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
.svcpage-band p { color: var(--hero-muted); max-width: 44ch; margin: 18px auto 30px; font-size: 18px; }

/* # Contact page
--------------------------------------------- */
.ks-contact .site-inner { max-width: none; margin: 0; padding: 0; }
.ks-contact .content { width: 100%; max-width: none; margin: 0; padding: 0; float: none; }
.ks-contact-section { min-height: 72vh; display: flex; align-items: center; }
.ks-contact-h { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; margin-top: 18px; }
.ks-contact-details { margin-top: 34px; display: grid; grid-template-columns: auto 1fr; gap: 12px 26px; max-width: 42ch; align-items: baseline; }
.ks-contact-details dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.ks-contact-details dd { margin: 0; color: var(--hero-muted); }
.ks-contact-details dd a { color: var(--slate); text-decoration: none; }
.ks-contact-details dd a:hover { color: var(--hero-text); }

/* # Motion
--------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .34s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } .arrow, .btn { transition: none; } }
