/* ==========================================================================
   Tarmic Digital Solutions — style.css
   Palette (do not deviate): #9b59ec  #45414f  #d6a08d  #f8fff5  #6a923a
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --purple:   #9b59ec;
  --charcoal: #45414f;
  --clay:     #d6a08d;
  --paper:    #f8fff5;
  --moss:     #6a923a;

  --ink:      #1e1c23;               /* charcoal, deepened — page ground */
  --ink-2:    #25222b;               /* charcoal, deepened — raised panels */
  --rule:        rgba(248,255,245,.14);
  --rule-solid:  rgba(248,255,245,.08);
  --muted:       rgba(248,255,245,.64);
  --faint:       rgba(248,255,245,.38);

  --purple-soft: rgba(155,89,236,.14);
  --moss-soft:   rgba(106,146,58,.16);
  --clay-soft:   rgba(214,160,141,.12);

  --display: "Instrument Serif", Georgia, serif;
  --body:    "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw:   1240px;
  --nav-h:  70px;
  --radius: 14px;

  --ease:        cubic-bezier(.4, 0, .2, 1);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
html, body { max-width: 100%; overflow-x: clip }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
img, svg { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.04; letter-spacing: -.02em }
p { margin: 0 }
ul { margin: 0; padding: 0; list-style: none }
::selection { background: var(--purple); color: var(--paper) }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px }
[hidden] { display: none !important }   /* never let a component style un-hide something */

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 10000;
  background: var(--purple); color: var(--paper);
  padding: .8rem 1.2rem; border-radius: 999px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022;
}

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter) }
.wrap-narrow { max-width: 860px }
.label {
  font-family: var(--mono); font-size: .6rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--clay);
}
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative }
.section--band { background: rgba(248,255,245,.018); border-block: 1px solid var(--rule-solid) }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 66ch }
.section-head--center { margin-inline: auto; text-align: center }
.section-head h2 { font-family: var(--display); font-size: clamp(2.2rem, 6.4vw, 4.2rem); margin-top: 1rem }
.section-head h2 em { font-style: italic; color: var(--clay) }
.section-head p { color: var(--muted); margin-top: 1.1rem; max-width: 54ch }
.section-head--center p { margin-inline: auto }
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: #a8ce78;
  padding: .4rem .9rem .4rem .65rem;
  border: 1px solid rgba(106,146,58,.3); border-radius: 999px;
  background: rgba(106,146,58,.07);
}
.section-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--moss) }
.split-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.split-head .section-head { margin-bottom: 0 }
.text-link {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35); padding-bottom: .2rem;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.text-link:hover { color: var(--paper); border-color: var(--paper) }

/* ---------- 4. Custom cursor (fine pointers only) ---------- */
.cursor-dot, .cursor-ring, .trail-dot { display: none }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; border-radius: 50%;
    pointer-events: none; z-index: 9999; display: block; will-change: transform;
  }
  .cursor-dot { width: 7px; height: 7px; background: var(--purple); margin: -3.5px 0 0 -3.5px }
  .cursor-ring {
    width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 1px solid rgba(155,89,236,.55);
    transition: width .25s, height .25s, margin .25s, border-color .25s, background .25s, opacity .2s;
  }
  .cursor-ring.is-hot { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--clay); background: rgba(214,160,141,.08) }
  .cursor-ring.is-field, .cursor-dot.is-field { opacity: 0 }
  .trail-dot {
    position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px;
    border-radius: 50%; background: var(--purple); pointer-events: none; z-index: 9998;
    display: block; will-change: transform, opacity;
  }
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none }
  body.has-cursor :is(input, textarea) { cursor: text }
  body.has-cursor :is(select, input[type="checkbox"], input[type="radio"], input[type="file"]) { cursor: pointer }
}

/* ---------- 5. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 900;
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
.nav.is-stuck, .nav.is-solid {
  background: rgba(30,28,35,.86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--rule-solid);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; min-width: 0 }
.brand img { width: 42px; height: 42px; flex: none; object-fit: contain }
.brand-word { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.01em; white-space: nowrap; line-height: 1 }
.brand-word small {
  display: block; margin-top: .2rem;
  font-family: var(--mono); font-size: .48rem; letter-spacing: .26em; text-transform: uppercase; color: var(--purple);
}
.nav-pills {
  display: flex; gap: 4px;
  background: rgba(248,255,245,.04); border: 1px solid rgba(248,255,245,.07);
  border-radius: 999px; padding: 5px;
}
.nav-pill {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .06em;
  color: var(--muted); padding: .55rem 1rem; border-radius: 999px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-pill:hover { color: var(--paper); background: rgba(248,255,245,.05) }
.nav-pill[aria-current="page"] { background: rgba(155,89,236,.22); color: var(--paper) }
.nav-actions { display: flex; align-items: center; gap: 1.1rem }
.nav-login { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--muted); transition: color .2s; white-space: nowrap }
.nav-login:hover, .nav-login[aria-current="page"] { color: var(--paper) }
.nav-cta {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .75rem 1.2rem; border-radius: 999px; background: var(--purple); color: var(--paper);
  white-space: nowrap; transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.nav-cta:hover { box-shadow: 0 10px 30px rgba(155,89,236,.4) }

.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; flex: none }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--paper); position: relative; transition: background .2s }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--paper);
  transition: transform .28s var(--ease);
}
.nav-toggle span::before { top: -7px }
.nav-toggle span::after  { top: 7px }
.nav-toggle[aria-expanded="true"] span { background: transparent }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg) }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg) }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 890;
  background: var(--ink);
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s, transform .26s, visibility .26s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto }
.drawer a:not(.btn) {
  font-family: var(--display); font-size: 2rem; padding: .55rem 0;
  border-bottom: 1px solid var(--rule-solid);
}
.drawer a[aria-current="page"] { color: var(--clay) }
.drawer .btn { margin-top: 1.5rem }
.drawer .btn + .btn { margin-top: .75rem }

@media (max-width: 1020px) {
  .nav-pills, .nav-login { display: none }
  .nav-toggle { display: flex }
}
@media (max-width: 480px) { .nav-actions .nav-cta { display: none } }
@media (min-width: 1021px) { .drawer { display: none } }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.7rem; border-radius: 999px;
  font-family: var(--mono); font-size: .68rem; font-weight: 400; letter-spacing: .11em; text-transform: uppercase;
  transition: transform .25s var(--ease-spring), background .2s, border-color .2s, color .2s, box-shadow .25s;
  will-change: transform; text-align: center;
}
.btn-solid { background: var(--purple); color: var(--paper) }
.btn-solid:hover { box-shadow: 0 14px 36px rgba(155,89,236,.38) }
.btn-ghost { border: 1px solid var(--rule); color: var(--paper) }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay) }
.btn-paper { background: var(--paper); color: var(--ink) }
.btn-paper:hover { box-shadow: 0 14px 36px rgba(248,255,245,.14) }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .62rem }
.btn .arrow { transition: transform .3s var(--ease-spring) }
.btn:hover .arrow { transform: translate(3px, -3px) }
.btn[disabled] { opacity: .55; pointer-events: none }

/* ---------- 7. Background orbs ---------- */
.orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform }
.orb-a { width: 46vmax; height: 46vmax; top: -16vmax; left: -14vmax; background: var(--purple); animation: drift-a 22s ease-in-out infinite }
.orb-b { width: 34vmax; height: 34vmax; bottom: -16vmax; right: -12vmax; background: var(--moss); animation: drift-b 27s ease-in-out infinite }
.orb-c { width: 24vmax; height: 24vmax; top: 34%; right: 18%; background: var(--clay); opacity: .16; animation: drift-a 31s ease-in-out infinite reverse }
@keyframes drift-a { 0%,100% { transform: translate3d(0,0,0) } 50% { transform: translate3d(4%,6%,0) } }
@keyframes drift-b { 0%,100% { transform: translate3d(0,0,0) } 50% { transform: translate3d(-5%,-4%,0) } }

/* ---------- 8. Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem;
}
.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.hero-eyebrow { display: inline-flex; align-items: flex-start; gap: .55rem; margin-bottom: 1.6rem; opacity: 0; animation: rise .7s .1s forwards }
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--moss); margin-top: .4em; flex: none;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(106,146,58,.55) }
  70%  { box-shadow: 0 0 0 11px rgba(106,146,58,0) }
  100% { box-shadow: 0 0 0 0 rgba(106,146,58,0) }
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
  line-height: .95; letter-spacing: -.025em;
  opacity: 0; animation: rise .8s .22s forwards;
  overflow-wrap: break-word;
}
.hero h1 em { font-style: italic; color: var(--clay); position: relative; white-space: nowrap }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; bottom: .06em; width: 100%; height: .055em;
  background: linear-gradient(90deg, var(--purple), var(--moss));
  transform: scaleX(0); transform-origin: left;
  animation: sweep .9s .95s forwards var(--ease);
}
@keyframes sweep { to { transform: scaleX(1) } }
.hero-sub { margin-top: 1.8rem; max-width: 50ch; color: var(--muted); font-size: clamp(1rem, .94rem + .4vw, 1.18rem); opacity: 0; animation: rise .8s .38s forwards }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.3rem; opacity: 0; animation: rise .8s .5s forwards }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; max-width: 34rem; margin-top: 3.2rem; opacity: 0; animation: rise .8s .62s forwards }
.stat-num { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1 }
.stat-num span { color: var(--purple) }
.stat-lab { margin-top: .35rem }

.hero-visual { position: relative; opacity: 0; animation: rise 1s .45s forwards; perspective: 1200px }
.hero-frame {
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(155,89,236,.12);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
  background: var(--ink-2);
}
.hero-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .6rem .95rem; border-radius: 999px;
  background: rgba(30,28,35,.88); border: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.hero-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); flex: none }
.hero-chip--a { left: -1.2rem; top: 12% }
.hero-chip--b { right: -1rem; bottom: 10% }
.hero-chip--b i { background: var(--moss) }
@keyframes rise { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-chip--a { animation: bob 6s ease-in-out infinite }
  .hero-chip--b { animation: bob 7.5s ease-in-out -2s infinite }
}

/* ---------- 9. Sub-page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule-solid);
}
.page-hero .orb { opacity: .24 }
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint) }
.crumbs a { color: var(--muted) }
.crumbs a:hover { color: var(--paper) }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--faint) }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 7.5vw, 5.6rem); line-height: .96; max-width: 18ch; animation: rise .8s .1s both }
.page-hero h1 em { font-style: italic; color: var(--clay) }
.page-hero .lead { margin-top: 1.5rem; max-width: 56ch; color: var(--muted); font-size: clamp(1rem, .95rem + .4vw, 1.18rem); animation: rise .8s .22s both }
.page-hero .hero-actions { opacity: 1; animation: rise .8s .32s both }

/* ---------- 10. Marquee ---------- */
.marquee { border-block: 1px solid var(--rule-solid); background: rgba(155,89,236,.05); overflow: hidden; width: 100%; padding: .95rem 0 }
.marquee-track { display: flex; width: max-content; animation: slide 40s linear infinite }
.marquee:hover .marquee-track { animation-play-state: paused }
.marquee-track span {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding-inline: 1.6rem; white-space: nowrap;
}
.marquee-track span::after { content: "◆"; margin-left: 1.6rem; color: var(--purple); opacity: .7 }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- 11. Service cards ---------- */
.services { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) }
.service {
  position: relative; overflow: hidden;
  border: 1px solid var(--rule-solid); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(160deg, rgba(155,89,236,.08), rgba(248,255,245,.015) 60%);
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .45s var(--ease-spring);
}
.service--moss { background: linear-gradient(160deg, rgba(106,146,58,.1), rgba(248,255,245,.015) 60%) }
.service:hover { border-color: rgba(155,89,236,.35) }
.service--moss:hover { border-color: rgba(106,146,58,.45) }
.service h3 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); margin: 1rem 0 .9rem }
.service > p { color: var(--muted); max-width: 48ch }
.service .checklist { margin: 1.8rem 0 2.2rem }
.service .btn { align-self: flex-start; margin-top: auto }
.service-num {
  position: absolute; right: 1.6rem; top: 1rem;
  font-family: var(--display); font-size: 6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(248,255,245,.1);
  pointer-events: none;
}
.checklist { display: grid; gap: .7rem }
.checklist li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; color: rgba(248,255,245,.85); font-size: .95rem }
.checklist li::before {
  content: ""; width: 1.05rem; height: 1.05rem; margin-top: .2rem; border-radius: 50%;
  background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%239b59ec' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.service--moss .checklist li::before {
  background-color: var(--moss-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%236a923a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- 12. Feature tiles ---------- */
.tiles { display: grid; gap: 1px; background: var(--rule-solid); border: 1px solid var(--rule-solid); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) }
.tile { background: var(--ink); padding: 1.7rem 1.5rem; transition: background .3s }
.tile:hover { background: #221f28 }
.tile-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--purple-soft); border: 1px solid rgba(155,89,236,.25); color: var(--purple);
  margin-bottom: 1.1rem; transition: transform .35s var(--ease-spring);
}
.tile:hover .tile-icon { transform: rotate(-6deg) scale(1.08) }
.tile-icon svg { width: 20px; height: 20px }
.tile:nth-child(3n+2) .tile-icon { background: var(--moss-soft); border-color: rgba(106,146,58,.3); color: #a8ce78 }
.tile:nth-child(3n+3) .tile-icon { background: var(--clay-soft); border-color: rgba(214,160,141,.3); color: var(--clay) }
.tile h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 500; margin-bottom: .4rem; letter-spacing: -.01em }
.tile p { color: var(--muted); font-size: .9rem }

/* ---------- 13. Generic cards ---------- */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)) }
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--rule-solid); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; background: rgba(248,255,245,.02);
  transition: border-color .3s, background .3s, transform .4s var(--ease-spring);
  will-change: transform;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(155,89,236,.09), transparent 60%); opacity: 0; transition: opacity .4s }
.card:hover { border-color: rgba(155,89,236,.4) }
.card:hover::before { opacity: 1 }
.card > * { position: relative }
.card h3 { font-family: var(--body); font-size: 1.15rem; font-weight: 500; margin: .9rem 0 .55rem; letter-spacing: -.01em }
.card p { color: var(--muted); font-size: .94rem }
.card-idx { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; color: var(--purple); text-transform: uppercase }

/* ---------- 14. Process steps ---------- */
.steps { display: grid }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  padding: 1.9rem 0; border-top: 1px solid var(--rule-solid);
}
.step:last-child { border-bottom: 1px solid var(--rule-solid) }
.step-num { font-family: var(--display); font-size: 2.1rem; line-height: 1; min-width: 2.2ch; color: transparent; -webkit-text-stroke: 1px var(--clay); transition: color .3s }
.step:hover .step-num { color: var(--clay) }
.step h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 500; margin-bottom: .45rem; letter-spacing: -.01em }
.step p { color: var(--muted); font-size: .94rem; max-width: 62ch }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 1.5rem }
.steps--row .step { grid-template-columns: 1fr; gap: .9rem; border-bottom: 0 }

/* ---------- 15. Work showcase (browser frames) ---------- */
.work-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) }
.work { display: flex; flex-direction: column; gap: 1.1rem }
.frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--rule);
  background: var(--ink-2);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
  will-change: transform;
}
.work:hover .frame { transform: translateY(-6px); box-shadow: 0 34px 70px rgba(0,0,0,.45); border-color: rgba(155,89,236,.35) }
.frame-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #2c2934; border-bottom: 1px solid var(--rule-solid) }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--clay) }
.frame-bar i:nth-child(2) { background: var(--purple) }
.frame-bar i:nth-child(3) { background: var(--moss) }
.frame-bar span { margin-left: 10px; flex: 1; height: 20px; border-radius: 10px; background: rgba(248,255,245,.06); font-family: var(--mono); font-size: .56rem; letter-spacing: .06em; color: var(--faint); display: flex; align-items: center; padding-left: 10px; overflow: hidden; white-space: nowrap }
.frame-body { position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; --accent: var(--purple) }
.frame-body > img { width: 100%; height: 100%; object-fit: cover; object-position: top }
.accent-moss { --accent: var(--moss) }
.accent-clay { --accent: var(--clay) }
.accent-charcoal { --accent: var(--charcoal) }
/* CSS mock used until real screenshots are dropped in */
.mock { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%), var(--ink-2) }
.mock-nav { display: flex; align-items: center; gap: 8%; margin-bottom: 9% }
.mock-nav b { width: 12%; height: 8px; border-radius: 4px; background: rgba(248,255,245,.18) }
.mock-nav b:first-child { width: 7%; height: 18px; border-radius: 5px; background: var(--accent) }
.mock-nav b:last-child { margin-left: auto; width: 16%; height: 16px; border-radius: 8px; background: var(--accent) }
.mock-title { font-family: var(--display); font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1; max-width: 12ch }
.mock-lines { margin-top: 5% }
.mock-lines b { display: block; height: 7px; border-radius: 4px; background: rgba(248,255,245,.13); margin-bottom: 7px; width: 62% }
.mock-lines b + b { width: 48% }
.mock-row { display: flex; gap: 4%; margin-top: auto }
.mock-row b { flex: 1; height: 44px; border-radius: 8px; border: 1px solid rgba(248,255,245,.1); background: rgba(248,255,245,.03) }
.work-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem }
.work-meta h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; overflow-wrap: anywhere }
.work-meta p { color: var(--muted); font-size: .92rem; margin-top: .35rem }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem }
.tag { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 999px; border: 1px solid var(--rule-solid); color: var(--muted) }

/* feature case (our work page) */
.case {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--rule-solid);
}
.case:nth-of-type(even) .case-media { order: 2 }
.case h3 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); margin: .8rem 0 .9rem }
.case p { color: var(--muted) }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: 1.6rem 0 1.8rem; font-size: .92rem }
.case dt { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); padding-top: .3rem }
.case dd { margin: 0; color: rgba(248,255,245,.85) }

/* ---------- 16. WaaS tiers ---------- */
.waas-box {
  border: 1px solid var(--rule-solid); border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(160deg, rgba(155,89,236,.09), rgba(106,146,58,.05));
}
.waas-box h2 { font-family: var(--display); font-size: clamp(2rem, 6vw, 3.4rem); margin-top: 1rem }
.waas-lead { max-width: 56ch; margin-top: 1.3rem; font-size: clamp(1rem, .95rem + .4vw, 1.15rem) }
.waas-body { color: var(--muted); max-width: 56ch; margin-top: 1rem }
.waas-box .btn { margin-top: 2rem }
.tiers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 2.5rem }
.tier { border: 1px solid var(--rule-solid); border-radius: var(--radius); padding: 1.6rem; background: rgba(30,28,35,.55) }
.tier h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 500; margin-bottom: .4rem }
.tier p { color: var(--muted); font-size: .88rem; margin-bottom: 1.3rem }
.bar { height: 3px; background: var(--rule-solid); border-radius: 999px; overflow: hidden }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--clay)); transition: width 1.3s var(--ease) }
.tier-status { display: block; margin-top: .65rem; font-family: var(--mono); font-size: .56rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted) }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tier { animation: bob 7s ease-in-out infinite }
  .tier:nth-child(2) { animation-duration: 8.5s; animation-delay: -2s }
  .tier:nth-child(3) { animation-duration: 9.5s; animation-delay: -4s }
}

/* ---------- 17. Domain band (home) ---------- */
.domain-band { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0,1fr) auto }
.domain-band h2 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem) }
.domain-band h2 em { font-style: italic; color: var(--clay) }
.domain-band p { color: var(--muted); margin-top: .9rem; max-width: 52ch }
.name-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem }
.name-cloud a { font-family: var(--display); font-size: 1.15rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--rule-solid); transition: border-color .2s, color .2s, background .2s }
.name-cloud a:hover { border-color: var(--purple); background: var(--purple-soft) }

/* ---------- 18. Domains / portfolio grid ---------- */
.pf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.75rem }
.pf-tab {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase;
  padding: .7rem 1.05rem; min-height: 42px; border-radius: 999px;
  border: 1px solid var(--rule-solid); color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
}
.pf-tab:hover { color: var(--paper); border-color: var(--rule) }
.pf-tab[aria-selected="true"] { background: var(--purple); border-color: var(--purple); color: var(--paper) }
.pf-search { position: relative; flex: 1 1 240px; max-width: 340px; margin-left: auto }
.pf-search input[type="search"] { width: 100%; min-height: 44px; padding: .6rem 1rem .6rem 2.6rem; border-radius: 999px }
.pf-search svg { z-index: 1; position: absolute; left: .95rem; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--faint); pointer-events: none }
.pf-count { width: 100%; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase }
.pf-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 278px), 1fr)) }
.pf-item {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--rule-solid); border-radius: var(--radius);
  padding: 1.5rem; background: rgba(248,255,245,.02);
  transition: border-color .3s, background .3s;
}
.pf-item[hidden] { display: none }
.pf-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--purple); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease) }
.pf-item:hover { border-color: rgba(155,89,236,.35); background: rgba(155,89,236,.045) }
.pf-item:hover::before { transform: scaleY(1) }
.pf-item.is-live::before { background: var(--moss) }
.pf-item.is-live:hover { border-color: rgba(106,146,58,.4); background: rgba(106,146,58,.05) }
.pf-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .9rem }
.pf-name { font-family: var(--display); font-size: 1.45rem; line-height: 1.1; margin-top: .45rem; overflow-wrap: anywhere }
.pf-desc { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; flex: 1 }
.pf-chip { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; padding: .34rem .6rem; border-radius: 999px; white-space: nowrap; flex: none }
.chip-sale { background: rgba(155,89,236,.16); color: #c9a4f5 }
.chip-live { background: rgba(106,146,58,.18); color: #a8ce78 }
.pf-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto }
.pf-link {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem .9rem; min-height: 38px; display: inline-flex; align-items: center; border-radius: 999px;
  border: 1px solid var(--rule-solid); transition: border-color .2s, color .2s;
}
.pf-link:hover { border-color: var(--clay); color: var(--clay) }
.pf-link.primary { background: var(--purple-soft); border-color: rgba(155,89,236,.3) }
.pf-empty { display: none; padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--rule); border-radius: var(--radius) }
.pf-empty.is-shown { display: block }
.note { margin-top: 1.75rem; font-size: .9rem; color: var(--muted) }
.note a { color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35) }

/* ---------- 19. Forms ---------- */
.form-shell { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); align-items: start }
.form-card {
  border: 1px solid var(--rule-solid); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 4vw, 2.6rem); background: rgba(248,255,245,.02);
}
fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0 }
fieldset:last-of-type { margin-bottom: 1.6rem }
legend {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  font-family: var(--display); font-size: 1.6rem; margin-bottom: 1.2rem; padding: 0;
}
legend .n { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; color: var(--purple); border: 1px solid rgba(155,89,236,.35); border-radius: 999px; padding: .3rem .55rem }
.fields { display: grid; gap: 1rem 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)) }
.field { display: grid; gap: .45rem; min-width: 0 }
.field--full { grid-column: 1 / -1 }
.field > label, .field-label { font-size: .88rem; font-weight: 400; color: rgba(248,255,245,.88) }
.req { color: var(--clay) }
.hint { font-size: .78rem; color: var(--faint) }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; font-weight: 300; color: var(--paper);
  background: rgba(248,255,245,.035); border: 1px solid var(--rule); border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55 }
select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23d6a08d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px;
}
select option { background: var(--ink); color: var(--paper) }
::placeholder { color: var(--faint); opacity: 1 }
input:hover, select:hover, textarea:hover { border-color: rgba(248,255,245,.24) }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); background: rgba(155,89,236,.06); box-shadow: 0 0 0 4px rgba(155,89,236,.16) }
.was-validated :is(input, select, textarea):invalid { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(214,160,141,.12) }

/* choice pills (checkbox/radio) */
.choices { display: flex; flex-wrap: wrap; gap: .55rem }
.choice { position: relative }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100% }
.choice span {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--rule);
  font-size: .9rem; color: var(--muted); transition: border-color .2s, background .2s, color .2s;
}
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--faint); transition: border-color .2s, background .2s, box-shadow .2s; flex: none }
.choice input[type="checkbox"] + span::before { border-radius: 4px }
.choice:hover span { border-color: rgba(248,255,245,.26); color: var(--paper) }
.choice input:checked + span { border-color: var(--purple); background: var(--purple-soft); color: var(--paper) }
.choice input:checked + span::before { background: var(--purple); border-color: var(--purple); box-shadow: inset 0 0 0 2.5px var(--ink) }
.choice input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 3px }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .88rem; color: var(--muted); margin: .4rem 0 1.6rem }
.consent input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--purple) }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden }

/* upload dropzone */
.dropzone {
  position: relative; display: grid; place-items: center; text-align: center; gap: .6rem;
  padding: 2.4rem 1.5rem; border-radius: var(--radius);
  border: 1.5px dashed rgba(155,89,236,.45); background: rgba(155,89,236,.05);
  transition: border-color .2s, background .2s, transform .3s var(--ease-spring);
}
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer }
.dropzone.is-over { border-color: var(--moss); background: rgba(106,146,58,.08); transform: scale(1.01) }
.dropzone-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple) }
.dropzone-icon svg { width: 26px; height: 26px }
.dropzone strong { font-weight: 500; font-size: 1rem }
.dropzone strong u { text-decoration: none; color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.4) }
.dropzone .hint { max-width: 44ch }
.file-list { display: grid; gap: .5rem; margin-top: .9rem }
.file-item {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .8rem;
  padding: .65rem .8rem; border-radius: 12px; border: 1px solid var(--rule-solid); background: rgba(248,255,245,.025);
  animation: rise .35s var(--ease-out);
}
.file-item.is-bad { border-color: rgba(214,160,141,.5) }
.file-ext { font-family: var(--mono); font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .45rem; border-radius: 6px; background: var(--purple-soft); color: #c9a4f5; min-width: 3.2rem; text-align: center }
.file-name { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.file-size { font-family: var(--mono); font-size: .56rem; color: var(--faint); white-space: nowrap }
.file-item.is-bad .file-size { color: var(--clay) }
.file-remove { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s }
.file-remove:hover { background: rgba(214,160,141,.14); color: var(--clay) }
.file-total { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--faint); margin-top: .6rem; text-transform: uppercase }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem }
.form-status { font-size: .9rem; color: var(--muted); min-height: 1.4em }
.form-status.is-error { color: var(--clay) }
.form-status a { color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.4) }
.form-success { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1rem; animation: rise .5s var(--ease-out) }
.form-success .tick { width: 64px; height: 64px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--moss-soft); color: #a8ce78; box-shadow: 0 0 0 10px rgba(106,146,58,.08) }
.form-success .tick svg { width: 30px; height: 30px }
.form-success h2, .form-success h3 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem) }
.form-success p { color: var(--muted); max-width: 44ch; margin: .9rem auto 0 }
.is-sending .btn[type="submit"] { opacity: .6; pointer-events: none }

/* aside */
.aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 1.5rem) }
.aside-card { border: 1px solid var(--rule-solid); border-radius: var(--radius); padding: 1.5rem; background: rgba(248,255,245,.02) }
.aside-card h3 { font-family: var(--display); font-size: 1.5rem; margin: .6rem 0 .6rem }
.aside-card p { color: var(--muted); font-size: .92rem }
.aside-card .checklist { margin-top: 1rem }
.aside-card .checklist li { font-size: .9rem }
.contact-line { display: flex; align-items: center; gap: .8rem; padding: .9rem 0; border-top: 1px solid var(--rule-solid); font-size: .95rem; overflow-wrap: anywhere }
.contact-line:first-of-type { border-top: 0; padding-top: .4rem }
.contact-line svg { width: 18px; height: 18px; color: var(--clay); flex: none }
.contact-line a:hover { color: var(--clay) }

/* ---------- 20. Account tabs ---------- */
.auth { max-width: 520px; margin-inline: auto }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(248,255,245,.04); border: 1px solid var(--rule-solid); margin-bottom: 1.4rem }
.auth-tab { min-height: 46px; border-radius: 999px; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: background .25s, color .25s }
.auth-tab[aria-selected="true"] { background: var(--purple); color: var(--paper) }
.auth-panel[hidden] { display: none }
.auth-panel .fields { grid-template-columns: 1fr }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: -.2rem 0 1.4rem }
.auth-row a { color: var(--clay) }
.auth .btn[type="submit"] { width: 100% }
.pw-wrap { position: relative }
.pw-wrap input { padding-right: 4.6rem }
.pw-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .55rem .6rem; border-radius: 8px }
.pw-toggle:hover { color: var(--paper); background: rgba(248,255,245,.06) }
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: 12px; font-size: .88rem; color: rgba(248,255,245,.85);
  border: 1px solid rgba(214,160,141,.3); background: var(--clay-soft); margin-bottom: 1.4rem;
}
.notice svg { width: 18px; height: 18px; color: var(--clay); margin-top: .1rem }

/* ---------- 21. FAQ ---------- */
.faq { border-top: 1px solid var(--rule-solid) }
.faq details { border-bottom: 1px solid var(--rule-solid) }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font-size: 1.08rem; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.1rem; color: var(--purple); transition: transform .3s var(--ease-spring); flex: none }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { color: var(--muted); padding: 0 0 1.4rem; max-width: 66ch }
.faq details p a { color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35) }

/* ---------- 22. About ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start }
.about-grid .big { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12 }
.about-grid .big em { font-style: italic; color: var(--clay) }
.prose p { color: var(--muted); font-size: 1.04rem }
.prose p + p { margin-top: 1.1rem }
.prose strong { color: var(--paper); font-weight: 500 }
.numbers { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--rule-solid); border: 1px solid var(--rule-solid); border-radius: var(--radius); overflow: hidden }
.numbers > div { background: var(--ink); padding: 1.8rem 1.5rem }
.numbers .stat-num { font-size: clamp(2.4rem, 5vw, 3.4rem) }

/* ---------- 23. CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--rule-solid) }
.cta-band::before { content: ""; position: absolute; left: 50%; top: -40%; width: min(900px, 120vw); height: 80%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(155,89,236,.22), transparent); z-index: -1 }
.cta-band h2 { font-family: var(--display); font-size: clamp(2.3rem, 7vw, 4.6rem); max-width: 16ch; margin-inline: auto }
.cta-band h2 em { font-style: italic; color: var(--clay) }
.cta-band p { color: var(--muted); max-width: 48ch; margin: 1.2rem auto 2.2rem }
.cta-band .hero-actions { justify-content: center; opacity: 1; animation: none }

/* ---------- 24. 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + 2rem) 0 3rem }
.lost-num { font-family: var(--display); font-size: clamp(8rem, 30vw, 17rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(248,255,245,.5); letter-spacing: -.04em; animation: rise .8s both }
.lost-num em { font-style: italic; -webkit-text-stroke: 0; color: var(--purple) }
.lost h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 1.2rem; animation: rise .8s .12s both }
.lost p { color: var(--muted); max-width: 44ch; margin: 1rem auto 0; animation: rise .8s .2s both }
.lost .hero-actions { justify-content: center; opacity: 1; animation: rise .8s .28s both }
.lost-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin-top: 2.4rem; animation: rise .8s .36s both }

/* ---------- 25. Footer ---------- */
.footer { border-top: 1px solid var(--rule-solid); padding: 3.5rem 0 calc(2.2rem + env(safe-area-inset-bottom)) }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) }
.footer h2 { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin: 0 0 1rem; font-weight: 400 }
.footer ul { display: grid; gap: .1rem }
.footer li a { color: var(--muted); font-size: .92rem; display: inline-flex; align-items: center; min-height: 38px; transition: color .2s; overflow-wrap: anywhere }
.footer li a:hover { color: var(--paper) }
.footer-blurb { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 1rem }
.footer-base {
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--rule-solid);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; color: var(--faint);
}
.support-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--faint); transition: color .2s }
.support-link:hover { color: var(--clay) }
.support-link b { font-weight: 400; color: var(--muted) }
.support-link:hover b { color: var(--clay) }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } .footer-grid > :first-child { grid-column: 1 / -1 } }

/* ---------- 26. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
.reveal.in { opacity: 1; transform: none }
.no-js .reveal { opacity: 1; transform: none }

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important }
  .hero h1, .hero-sub, .hero-eyebrow, .hero-actions, .hero-stats, .hero-visual { opacity: 1 }
  .hero h1 em::after { transform: scaleX(1) }
  .reveal { opacity: 1; transform: none }
  .marquee-track { animation: none }
}

/* ---------- 28. Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .form-shell, .about-grid, .case { grid-template-columns: 1fr }
  .case:nth-of-type(even) .case-media { order: 0 }
  .aside { position: static }
  .hero-visual { max-width: 640px }
  .domain-band { grid-template-columns: 1fr }
}
@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2.5rem) }
  .hero-chip--a { left: .6rem; top: -1rem }
  .hero-chip--b { right: .6rem; bottom: -1rem }
  .step { grid-template-columns: 1fr; gap: .7rem; padding: 1.5rem 0 }
  .step-num { font-size: 1.6rem }
  .orb { filter: blur(60px) }
  .fields { grid-template-columns: 1fr }
  .pf-search { max-width: none; margin-left: 0; flex-basis: 100% }
  .service-num { font-size: 4.2rem }
}
@media (max-width: 420px) {
  .btn { width: 100% }
  .hero-actions { flex-direction: column }
  .pf-links .pf-link { flex: 1; justify-content: center }
  .footer-grid { grid-template-columns: 1fr }
  .file-item { grid-template-columns: auto 1fr auto }
  .file-size { display: none }
}

/* ---------- 29. Small utilities ---------- */
.mt { margin-top: 1.2rem }
.mt-s { margin-top: .8rem }
.domain-band h2.mt { margin-top: 1rem }
.auth-foot { margin-top: 1.4rem; font-size: .88rem; color: var(--muted); text-align: center }
.auth-foot a { color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35) }
.consent--inline { margin: 0; align-items: center }
.consent--inline input { margin: 0 }
.aside-card .support-link { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em }
.aside-card p a.support-link { display: inline }
.signed-in .form-success { padding-block: 1.5rem }
.signed-in .hero-actions { justify-content: center; opacity: 1; animation: none; margin-top: 1.8rem }
.signed-in strong { color: var(--paper); font-weight: 500 }
.linkish { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35); padding-bottom: .15rem }
.linkish:hover { color: var(--paper); border-color: var(--paper) }

/* ---------- 30. Client portal dashboard ---------- */
.page-hero--tight { padding-bottom: clamp(2rem, 4vw, 3rem) }
.dash { padding-top: clamp(2rem, 4vw, 3rem) }
.dash-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: 250px minmax(0, 1fr); align-items: start }
.dash-side {
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  display: flex; flex-direction: column; gap: 1.2rem;
  border: 1px solid var(--rule-solid); border-radius: var(--radius); padding: 1.1rem; background: rgba(248,255,245,.02);
}
.dash-who { display: flex; align-items: center; gap: .8rem; min-width: 0; padding: .3rem .2rem .9rem; border-bottom: 1px solid var(--rule-solid) }
.dash-who div { display: grid; min-width: 0 }
.dash-who strong { font-weight: 500; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.dash-who div > span { font-size: .78rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; background: linear-gradient(135deg, var(--purple), var(--moss)); color: var(--paper) }
.dash-tabs { display: grid; gap: .25rem }
.dash-tab {
  display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 46px; padding: .55rem .8rem;
  border-radius: 10px; color: var(--muted); font-size: .95rem; text-align: left;
  transition: background .2s, color .2s;
}
.dash-tab svg { width: 18px; height: 18px; flex: none }
.dash-tab:hover { background: rgba(248,255,245,.04); color: var(--paper) }
.dash-tab[aria-selected="true"] { background: rgba(155,89,236,.18); color: var(--paper) }
.dash-tab[aria-selected="true"] svg { color: var(--purple) }
.badge { margin-left: auto; min-width: 1.5rem; padding: .15rem .45rem; border-radius: 999px; font-family: var(--mono); font-size: .56rem; font-weight: 400; letter-spacing: .06em; text-align: center; background: var(--purple); color: var(--paper) }
.badge--clay { background: var(--clay); color: var(--ink) }
.badge[hidden] { display: none }
.dash-side-foot { display: grid; gap: .8rem; justify-items: start; padding-top: .9rem; border-top: 1px solid var(--rule-solid) }
.dash-side-foot .btn { width: 100% }
.dash-main { display: grid; gap: 1rem; min-width: 0 }
.dash-panel { display: grid; gap: 1rem; animation: rise .45s var(--ease-out) }
.dash-panel[hidden] { display: none }
.stat-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)) }
.d-stat { border: 1px solid var(--rule-solid); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; background: rgba(248,255,245,.02); display: grid; gap: .45rem; min-width: 0 }
.d-stat strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; overflow-wrap: anywhere }
.d-stat small { color: var(--faint); font-size: .8rem }
.d-stat.is-due strong { color: var(--clay) }
.d-card { border: 1px solid var(--rule-solid); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); background: rgba(248,255,245,.02); min-width: 0 }
.d-card--quiet { background: transparent }
.d-card > p, .d-card--quiet p { color: var(--muted); font-size: .92rem }
.d-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem }
.d-head h2 { font-family: var(--display); font-size: 1.55rem }
.d-head p { color: var(--muted); font-size: .9rem; margin-top: .35rem }
.site-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem }
.site-line .site-url { font-family: var(--display); font-size: 1.4rem; overflow-wrap: anywhere }
.site-line p { color: var(--muted); font-size: .9rem }
.quick { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)) }
.quick-btn {
  display: flex; align-items: center; gap: .85rem; padding: .95rem 1rem; border-radius: 12px; text-align: left;
  border: 1px solid var(--rule-solid); background: rgba(248,255,245,.02);
  transition: border-color .2s, background .2s, transform .3s var(--ease-spring);
}
.quick-btn:hover { border-color: rgba(155,89,236,.4); background: rgba(155,89,236,.06); transform: translateY(-2px) }
.quick-btn svg { width: 20px; height: 20px; color: var(--purple); flex: none }
.quick-btn span { display: grid }
.quick-btn b { font-weight: 500; font-size: .95rem }
.quick-btn small { color: var(--faint); font-size: .78rem }

.req-list, .inv-list { display: grid; gap: .5rem }
.req-item { border: 1px solid var(--rule-solid); border-radius: 12px; background: rgba(248,255,245,.015) }
.req-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; align-items: center; padding: .9rem 1rem }
.req-item summary::-webkit-details-marker { display: none }
.req-item summary strong { font-weight: 500; font-size: .96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.req-meta { grid-column: 1; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint) }
.req-item summary .chip { grid-row: 1 / span 2; grid-column: 2 }
.req-body { padding: 0 1rem 1rem; color: var(--muted); font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; border-top: 1px solid var(--rule-solid); padding-top: .8rem }
.req-body a { color: var(--clay) }
.chip { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; padding: .34rem .6rem; border-radius: 999px; white-space: nowrap; background: rgba(248,255,245,.07); color: var(--muted) }
.chip--open, .chip--due { background: rgba(155,89,236,.18); color: #c9a4f5 }
.chip--in_progress, .chip--overdue { background: rgba(214,160,141,.18); color: var(--clay) }
.chip--waiting { background: rgba(248,255,245,.1); color: var(--paper) }
.chip--done, .chip--paid { background: rgba(106,146,58,.2); color: #a8ce78 }
.chip--urgent { background: rgba(214,160,141,.9); color: var(--ink) }
.empty { padding: 1.6rem 1.2rem; border: 1px dashed var(--rule); border-radius: 12px; text-align: center; color: var(--muted); font-size: .92rem }
.empty .btn { margin-top: 1rem }

.inv-row {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) auto auto; gap: .5rem 1.2rem; align-items: center;
  padding: .9rem 1rem; border: 1px solid var(--rule-solid); border-radius: 12px; background: rgba(248,255,245,.015);
}
.inv-row strong { font-weight: 500; font-size: .95rem; display: block }
.inv-row small { color: var(--faint); font-size: .78rem }
.inv-amt { font-family: var(--display); font-size: 1.35rem; white-space: nowrap }
.plan-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem }
.plan-card h2 { font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: .5rem 0 .4rem }
.plan-card p { color: var(--muted); font-size: .9rem }
.dash .form-status.is-ok { color: #a8ce78 }

@media (max-width: 900px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr) }
  .dash-side, .dash-main { min-width: 0 }
  .dash-side { position: static; padding: .8rem }
  .dash-who { padding-bottom: .7rem }
  .dash-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem }
  .dash-tab { position: relative; flex-direction: column; justify-content: center; gap: .3rem; min-height: 60px; padding: .55rem .2rem; font-size: .74rem; text-align: center }
  .dash-tab .badge { position: absolute; top: 5px; right: 6px; margin: 0; min-width: 1.2rem; padding: .1rem .35rem; font-size: .5rem }
  .dash-side-foot { grid-template-columns: 1fr auto; align-items: center }
  .dash-side-foot .btn { width: auto }
}
@media (max-width: 560px) {
  .inv-row { grid-template-columns: minmax(0, 1fr) auto }
  .inv-row .inv-amt { grid-column: 2; grid-row: 1 }
  .inv-row .chip { justify-self: start }
  .inv-row .btn { grid-column: 1 / -1; width: 100% }
}

/* ---------- 31. Auth extras + request replies ---------- */
.auth-tabs[hidden], .signup-closed[hidden], form[hidden] { display: none }
.auth-title { font-family: var(--display); font-size: 1.9rem; margin-bottom: .5rem }
.auth-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem }
.signup-closed { text-align: center; padding: .5rem 0 }
.signup-closed .btn { margin-top: .4rem }
.form-status.is-ok { color: #a8ce78 }
.req-reply { margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px; background: rgba(106,146,58,.1); border: 1px solid rgba(106,146,58,.25); white-space: normal }
.req-reply .label { color: #a8ce78; display: block; margin-bottom: .35rem }
.req-reply p { color: var(--paper); white-space: pre-wrap }

/* ---------- 32. Admin ---------- */
input[type="date"], input[type="number"] {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; font-size: 1rem; font-weight: 300; color: var(--paper);
  background: rgba(248,255,245,.035); border: 1px solid var(--rule); border-radius: 12px; color-scheme: dark;
}
input[type="date"]:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(155,89,236,.16) }
.adm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem }
.adm-filter { display: flex; flex-wrap: wrap; gap: .4rem }
.adm-filter .pf-tab[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--paper) }
.chip-row { display: inline-flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; grid-row: 1 / span 2; grid-column: 2 }
.adm-meta { margin-top: .8rem; font-size: .85rem; color: var(--muted) }
.adm-meta a { color: var(--clay) }
.adm-controls, .adm-plan { display: grid; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule-solid); white-space: normal }
.adm-controls textarea { min-height: 90px }
.adm-controls select { max-width: 260px }
.adm-inv { grid-template-columns: minmax(0, 1.6fr) auto auto auto }
.adm-acts { display: flex; flex-wrap: wrap; gap: .4rem .9rem; justify-content: flex-end }
.copy-box { display: flex; gap: .5rem; margin-top: .9rem }
.copy-box[hidden] { display: none }
.copy-box input { font-family: var(--mono); font-size: .72rem !important; min-height: 42px !important }
.dash-side-foot .hint { font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase }
.d-card .d-head .pf-search { max-width: 260px; margin-left: auto }
@media (max-width: 560px) {
  .adm-inv { grid-template-columns: minmax(0, 1fr) auto }
  .adm-inv .adm-acts { grid-column: 1 / -1; justify-content: flex-start }
  .copy-box { flex-direction: column }
}

/* ---------- 33. Legal pages ---------- */
.legal-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 230px minmax(0, 1fr); align-items: start }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: .8rem }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; counter-reset: toc }
.legal-toc a { display: block; padding: .35rem 0 .35rem .8rem; border-left: 1px solid var(--rule-solid); color: var(--muted); font-size: .9rem; transition: color .2s, border-color .2s }
.legal-toc a:hover { color: var(--paper); border-color: var(--purple) }
.legal { max-width: 70ch }
.legal-date { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 2rem }
.legal section { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule-solid) }
.legal section:last-child { border-bottom: 0 }
.legal h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 1rem; scroll-margin-top: calc(var(--nav-h) + 20px) }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7 }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 1rem }
.legal ul { list-style: none; padding: 0; display: grid; gap: .6rem }
.legal li { position: relative; padding-left: 1.3rem }
.legal li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--purple) }
.legal strong { color: var(--paper); font-weight: 500 }
.legal a { color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35) }
.legal code { font-family: var(--mono); font-size: .8em; color: var(--paper); background: rgba(248,255,245,.06); padding: .1rem .35rem; border-radius: 4px }
.consent a { color: var(--clay); border-bottom: 1px solid rgba(214,160,141,.35) }
.footer-base .support-link { display: inline }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr } .legal-toc { position: static } }

/* ---------- 34. Work showcase with real screenshots ---------- */
.frame-body { aspect-ratio: 16 / 9 }
.frame-body > img { transition: transform .8s var(--ease-out) }
.work:hover .frame-body > img { transform: scale(1.025) }
.work-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 2.2rem 1.5rem }
.work-go { font-family: var(--mono); font-size: .9rem; color: var(--faint); padding-top: 1.6rem; transition: color .2s, transform .3s var(--ease-spring) }
.work:hover .work-go { color: var(--clay); transform: translate(3px, -3px) }
.work-cta {
  border: 1px dashed rgba(155,89,236,.45); border-radius: 16px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(155,89,236,.16), transparent 60%), rgba(248,255,245,.02);
  display: grid; place-items: center; min-height: 280px; transition: border-color .3s, background .3s;
}
.work-cta:hover { border-color: var(--purple) }
.work-cta-inner { text-align: center; padding: 2rem 1.5rem; display: grid; justify-items: center; gap: .8rem }
.work-cta h3 { font-family: var(--display); font-size: clamp(1.9rem, 3.5vw, 2.6rem) }
.work-cta h3 em { font-style: italic; color: var(--clay) }
.work-cta p { color: var(--muted); max-width: 32ch }
.work-cta .btn { margin-top: .6rem }

/* ---------- 35. Admin inbox ---------- */
.adm-inq.is-new { border-color: rgba(214,160,141,.45) }
.adm-inq.is-new summary strong::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); margin-right: .5rem; vertical-align: middle }
.inq-fields { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: .5rem 1.2rem; margin: 0; white-space: normal }
.inq-fields dt { font-family: var(--mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); padding-top: .25rem }
.inq-fields dd { margin: 0; color: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere }
.inq-fields dd a { color: var(--clay) }
.inq-files { display: grid; gap: .45rem; margin-top: 1rem; white-space: normal }
.inq-file { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--rule-solid); background: rgba(248,255,245,.025); transition: border-color .2s }
.inq-file:hover { border-color: var(--clay) }
@media (max-width: 560px) { .inq-fields { grid-template-columns: 1fr; gap: .15rem } .inq-fields dd { margin-bottom: .5rem } }
.req-body a.btn, .req-body a.btn:hover { color: var(--paper); border-bottom: 0 }
.req-body a.btn-ghost { color: var(--paper) }

/* Team portraits */
.team-section { border-top: 1px solid var(--rule-solid) }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem) }
.team-card { margin: 0; overflow: hidden; border: 1px solid var(--rule-solid); border-radius: var(--radius); background: var(--ink) }
.team-photo { aspect-ratio: 1 / 1; display: flex; align-items: end; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, rgba(155,89,236,.18), transparent 67%), #242129 }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom }
.team-card figcaption { padding: clamp(1.5rem, 3vw, 2.3rem) }
.team-card h3 { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.1 }
.team-role { margin: .4rem 0 1.6rem; color: var(--clay); font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase }
.team-bio { border-top: 1px solid var(--rule-solid); padding-top: 1.4rem }
.team-bio p { color: var(--muted); font-size: .97rem; line-height: 1.75 }
.team-bio p + p { margin-top: 1.1rem }
.team-bio strong { color: var(--paper); font-weight: 500 }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr } }
