:root {
  --ink: #1a1f29;
  --muted: #5c6472;
  --paper: #f4f6f9;
  --card: #fff;
  --line: #e3e7ee;
  --accent: #1a5f9a;
  --accent-hover: #154c7c;
  --accent-soft: #5a9fd0;
  --slate: #1c2330;
  --slate-deep: #12161f;
  --band: #eef1f5;
  --font-body: Outfit, system-ui, sans-serif;
  --font-display: Fraunces, Georgia, serif;
  --section-pad: 4.25rem;
  --card-pad: 1.4rem;
  --radius: 10px;
  --btn-radius: 4px;
  --border-w: 1px;
  --page-max: 1280px;
  --photo-radius: 50%;
  --header-h: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--slate);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.inner {
  width: min(var(--page-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.eyebrow.light { color: var(--accent-soft); }

.lead,
.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled {
  background: #9aa3b2;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: rgba(26, 31, 41, 0.05); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand span { white-space: nowrap; }

.brand img { border-radius: 8px; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:not(.btn):hover { color: var(--accent); }

.hero {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(900px 480px at 0% 0%, color-mix(in srgb, var(--paper) 70%, var(--slate)) 0%, transparent 55%),
    radial-gradient(700px 400px at 100% 10%, var(--paper) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2.25rem;
  align-items: start;
}

.hero-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-aside .stack {
  width: 100%;
  margin: 0;
  justify-content: center;
}

.hero-aside .stack + .stack {
  margin-top: 0;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}

.stack li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem 0.28rem 0.32rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.stack + .stack {
  margin-top: 0.55rem;
}

.stack svg,
.stack img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.device {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(18, 24, 38, 0.10);
}

.device-bar {
  display: flex;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: #e8ebf0;
  border-bottom: 1px solid var(--line);
}

.device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c2b5;
}

.device-body { padding: 1.1rem 1.15rem 1.3rem; }

.fake-nav {
  height: 8px;
  width: 55%;
  border-radius: 99px;
  background: var(--line);
  margin-bottom: 1.1rem;
}

.fake-hero {
  background: linear-gradient(135deg, var(--slate) 0%, #2a3344 100%);
  border-radius: 8px;
  padding: 1.4rem 1.2rem;
  margin-bottom: 1rem;
}

.fake-title,
.fake-line,
.fake-btn {
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
}

.fake-title { height: 12px; width: 70%; margin-bottom: 0.7rem; }
.fake-line { height: 6px; width: 90%; margin-bottom: 0.4rem; opacity: 0.55; }
.fake-line.short { width: 55%; }
.fake-btn { height: 10px; width: 4.5rem; margin-top: 0.8rem; background: var(--accent); }

.fake-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.fake-cards div {
  height: 64px;
  border-radius: 6px;
  background: #eef1f5;
  border: 1px solid var(--line);
}

section { padding: var(--section-pad) 0; }

.band { background: var(--band); }

.pains,
.highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.pains li,
.highlights li {
  padding: 0.95rem 1.1rem 0.95rem 2.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}

.pains li::before,
.highlights li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.2rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.close { color: var(--muted); max-width: 42rem; }

.pillars {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.pillars li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.pillars strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.pillars span { color: var(--muted); font-size: 0.98rem; }

.section-intro {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem 2.5rem;
  align-items: end;
}

.section-intro h2 { margin-bottom: 0; }

.section-intro-copy p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: none;
}

.section-intro-copy p:last-child { margin-bottom: 0; }

.work-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.work-tile {
  margin: 0;
}

.work-tile figure { margin: 0; }

.work-tile img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--line);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(18, 24, 38, 0.06);
}

.work-tile figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--photo-radius);
  background: #d5e4f2;
  box-shadow: 0 22px 50px rgba(18, 24, 38, 0.14);
}

.portrait-hero {
  width: min(100%, 27rem);
  margin: 0;
}

.about {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2.25rem;
  align-items: center;
  max-width: 48rem;
}

.about p { color: var(--muted); font-size: 1.05rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
  align-items: start;
}

.card {
  background: var(--card);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.05);
}

.card p { color: var(--muted); font-size: 0.98rem; }

.card ul {
  margin: 0.55rem 0 0.85rem;
  padding: 0 0 0 1.05rem;
  color: var(--ink);
  font-size: 0.94rem;
}

.card li { margin: 0.35rem 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.reasons li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.15rem;
}

.reasons strong { color: var(--ink); }

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.steps li {
  padding: var(--card-pad);
  background: var(--card);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  row-gap: 0.2rem;
  align-content: start;
  align-items: start;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  grid-row: 1 / span 2;
  margin: 0;
  border-radius: 0.7rem;
  background: #eef0f4;
  color: var(--accent);
}

.step-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.steps h3 {
  grid-column: 2;
  margin: 0 0 0.35rem;
}

.steps p {
  grid-column: 1 / -1;
  color: var(--muted);
  margin: 0.45rem 0 0;
}
.steps p:last-child { margin-bottom: 0; }

.cta-band {
  background: var(--slate);
  color: #d8dee8;
}

.cta-band h2 { color: #f4f6f9; }

.cta-band p { color: #b4bcc8; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.mid-cta {
  margin: 2.25rem 0 0;
  max-width: none;
  font-size: 1.05rem;
  color: var(--muted);
}

.mid-cta a { font-weight: 600; }

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.fit article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.35rem 1.3rem 1.2rem;
}

.fit p { color: var(--muted); margin-bottom: 0; }

.faq {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.faq > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}

.faq dt {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.faq dd {
  margin: 0;
  color: var(--muted);
}

.brief {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.3rem;
}

.brief h3 { color: #f4f6f9; }

.brief ol {
  margin: 0 0 1rem;
  padding: 0 0 0 1.2rem;
  color: #d8dee8;
}

.brief li { margin: 0.45rem 0; }

.direct-mail {
  margin-top: 1.25rem;
  color: #b4bcc8;
}

.direct-mail a { color: #f4f6f9; }

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #f4f6f9;
}

.contact-form .opt {
  font-weight: 400;
  color: #b4bcc8;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 22, 31, 0.55);
  color: #f4f6f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.contact-form .btn { justify-self: start; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-ok,
.form-err {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  font-size: 0.92rem;
}

.form-ok {
  background: rgba(26, 95, 154, 0.22);
  color: #d4e6f5;
}

.form-err {
  background: rgba(180, 70, 70, 0.22);
  color: #f3d4d4;
}

.note {
  font-size: 0.88rem;
  color: #b4bcc8;
  margin: 0;
}

.site-footer {
  background: var(--slate-deep);
  color: #b4bcc8;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #f4f6f9;
  margin-bottom: 0.35rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.site-footer a {
  color: #d8dee8;
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.footer-inner { align-items: flex-start; }

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9aa3b2;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .section-intro,
  .cards,
  .split,
  .steps,
  .contact-grid,
  .fit,
  .pillars,
  .about {
    grid-template-columns: 1fr;
  }

  .work-grid { grid-template-columns: 1fr 1fr; }

  .portrait-hero,
  .portrait-about {
    max-width: 16rem;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .nav a:not(.btn) { display: none; }

  .header-inner { height: var(--header-h); }

  .form-row { grid-template-columns: 1fr; }

  section { padding: calc(var(--section-pad) * 0.75) 0; }
}
