:root {
  --navy: #0b1220;
  --navy-2: #121a2c;
  --navy-3: #1a2438;
  --ink: #161e2e;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --cream: #faf8f3;
  --white: #ffffff;
  --teal: #1f6f6a;
  --teal-2: #3a9a93;
  --teal-soft: #d7ece9;
  --muted: #5d6575;
  --muted-dark: #a39d92;
  --line: rgba(22, 30, 46, 0.12);
  --line-strong: rgba(22, 30, 46, 0.22);
  --line-light: rgba(244, 241, 234, 0.14);
  --text: #161e2e;
  --text-dark: #ece8e0;
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;
  --max: 1160px;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 560;
}

:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.8rem;
}

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

.wrap-wide {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.dark .eyebrow,
.band-dark .eyebrow,
.site-header .eyebrow {
  color: var(--teal-2);
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 46rem;
}

.section {
  padding: 6.2rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.8rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

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

.band-dark {
  background: var(--navy);
  color: var(--text-dark);
}

.band-dark .lede,
.band-dark .section-head p,
.band-dark p {
  color: var(--muted-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 18, 32, 0.92);
  color: var(--text-dark);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 11rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: nowrap;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  color: #d8d2c6;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--white);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.header-cta .btn-primary {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--text-dark);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-overlay,
.nav-drawer {
  display: none;
}

.nav-overlay:not([hidden]),
.nav-drawer:not([hidden]) {
  display: block;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.5);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(360px, 100%);
  height: 100%;
  background: var(--navy-2);
  color: var(--text-dark);
  padding: 1.2rem 1.4rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  flex-direction: column;
  gap: 1.4rem;
}

.nav-drawer:not([hidden]) {
  display: flex;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-drawer-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--text-dark);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-drawer nav a {
  text-decoration: none;
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line-light);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-2);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--line-light);
}

.page-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-light {
  background: var(--paper);
  color: var(--navy);
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--navy);
  border-top: 1px solid var(--line-light);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
}

.mobile-cta-bar .btn {
  width: 100%;
  border-radius: 0;
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
}

.hero {
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(58, 154, 147, 0.16), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, #0e1626 100%);
  color: var(--text-dark);
  padding: 4.5rem 0 5.2rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.55rem);
  max-width: 12ch;
  color: #f6f2ea;
}

.hero .lede {
  margin: 1.25rem 0 1.8rem;
  color: #c6bfb3;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.trust-line {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.device {
  position: relative;
}

.laptop {
  background: #0f1728;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px 16px 10px 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.laptop-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #171f31;
}

.laptop-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d465c;
}

.screen {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 280px;
  background: #f6f3ec;
  color: var(--ink);
}

.screen-side {
  background: #152036;
  color: #efe9de;
  padding: 1rem 0.9rem;
  font-size: 0.68rem;
}

.screen-side strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  margin: 0.7rem 0 0.15rem;
}

.screen-side em {
  font-style: normal;
  color: #9aa3b5;
}

.screen-side ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.screen-side li {
  padding: 0.28rem 0;
  color: #c5c0b5;
}

.screen-main {
  padding: 1.1rem 1.15rem 1.2rem;
}

.screen-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.screen-main h3 {
  font-size: 1.15rem;
  margin: 0.35rem 0 0.55rem;
}

.pub-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
}

.phone {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 132px;
  background: #101827;
  border: 4px solid #1d2638;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-notch {
  height: 12px;
  background: #1d2638;
}

.phone-body {
  background: #f4f1ea;
  color: var(--ink);
  padding: 0.7rem;
  min-height: 168px;
  font-size: 0.58rem;
}

.phone-body b {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  margin: 0.3rem 0 0.5rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chip {
  background: var(--teal-soft);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}

.grid-3,
.grid-2,
.grid-4,
.feature-grid,
.build-grid {
  display: grid;
  gap: 1.1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card-dark {
  background: var(--navy-2);
  border-color: var(--line-light);
  color: var(--text-dark);
}

.card-dark p,
.card-dark li {
  color: var(--muted-dark);
}

.build-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.build-item {
  padding: 1.4rem 1.2rem;
  border-top: 1px solid var(--line-strong);
}

.build-item h3 {
  font-size: 1.35rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  padding: 1.1rem 0.2rem 0.4rem;
  border-top: 1px solid var(--line);
}

.feature h3 {
  font-size: 1.08rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: var(--radius);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: var(--text-dark);
  background: var(--navy-2);
  border: 1px solid var(--line-light);
}

.work-card.wide {
  grid-row: span 2;
  min-height: 500px;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.12) 18%, rgba(11, 18, 32, 0.9) 88%);
  pointer-events: none;
}

.work-card:hover .work-visual {
  transform: scale(1.04);
}

.work-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.work-meta {
  position: relative;
  z-index: 2;
}

.work-meta span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9c2b5;
  margin-bottom: 0.35rem;
}

.work-meta h3 {
  font-size: 1.55rem;
}

.work-meta em {
  font-style: normal;
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--teal-2);
}

.case-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  text-decoration: none;
  display: block;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.case-shot {
  display: block;
  width: calc(100% + 3.4rem);
  max-width: none;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  margin: -1.7rem -1.7rem 1.15rem;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.case-card .num {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.case-card h3 {
  font-size: 1.7rem;
  margin: 0.45rem 0 0.7rem;
}

.case-card p {
  color: var(--muted);
}

.case-card .meta {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink);
}

.case-card em {
  display: inline-block;
  margin-top: 0.9rem;
  font-style: normal;
  color: var(--teal);
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 2.4rem;
  align-items: start;
}

.price-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.price-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.5rem;
  background: var(--white);
}

.price-card.featured,
.plan-card.featured {
  background: var(--navy);
  color: var(--text-dark);
  border-color: transparent;
}

.price-card.featured p,
.plan-card.featured p {
  color: var(--muted-dark);
}

.price-card h3,
.plan-card h3 {
  font-size: 1.25rem;
}

.amount {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin: 0.6rem 0 0.5rem;
  letter-spacing: -0.03em;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem 1.2rem;
}

.process-step {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-strong);
}

.process-step span {
  display: block;
  font-size: 0.75rem;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-intro {
  align-items: center;
}

.about-intro-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 16ch;
}

.about-intro-copy .lede {
  margin-top: 1rem;
  max-width: 36rem;
}

.founder {
  background: var(--navy);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.5rem;
}

.founder-photo-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  margin-bottom: 1.1rem;
  background: var(--navy-3);
}

.founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.founder span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-2);
}

.founder h3 {
  margin: 0.4rem 0 0.3rem;
  font-size: 1.7rem;
}

.founder p {
  color: var(--muted-dark);
}

.cta-final {
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 18ch;
  margin-inline: auto;
  color: #f6f2ea;
}

.cta-final .lede {
  max-width: 46rem;
  margin: 1rem auto 1.6rem;
}

.cta-final .hero-actions {
  justify-content: center;
}

.site-footer {
  background: #080d18;
  color: var(--text-dark);
  padding: 3.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
}

.site-footer h2,
.site-footer h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper);
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.85rem;
}

.page-hero {
  background: var(--navy);
  color: var(--text-dark);
  padding: 4.2rem 0 3.4rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 16ch;
}

.page-hero .lede {
  margin-top: 1rem;
  color: #c6bfb3;
}

.prose {
  max-width: 46rem;
}

.prose p + p,
.prose ul {
  margin-top: 1rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-item {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-item h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.service-item p {
  color: var(--muted);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 560;
}

.compare td:first-child {
  color: var(--muted);
  width: 24%;
}

.note {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  transition: color 0.25s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.55rem;
}

.faq summary:hover {
  color: var(--teal);
}

.faq-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.4s var(--ease),
    opacity 0.3s var(--ease);
}

.faq details[open] .faq-panel {
  opacity: 1;
}

.faq-panel-inner {
  padding-top: 0.6rem;
}

.faq details > p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.faq-panel-inner p {
  margin: 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after,
  .faq-panel {
    transition: none;
  }

  .faq details[open] > *:not(summary) {
    display: block;
  }

  .faq details[open] .faq-panel {
    height: auto;
    opacity: 1;
  }
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
}

.field .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}

.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 2px;
  border-color: var(--teal);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #b42318;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.field.has-error label {
  color: #b42318;
}

.field-error {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: #b42318;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #f5c2c0;
  background: #fdecea;
  color: #b42318;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status {
  font-size: 0.92rem;
  color: var(--teal);
}

.study-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: end;
}

.study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: #c6bfb3;
}

.study-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}

.study-layout h2 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.study-layout p,
.study-layout li {
  color: var(--muted);
}

.study-layout ul {
  padding-left: 1.1rem;
}

.block + .block {
  margin-top: 2rem;
}

.mock-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mock-frame .laptop-bar {
  background: #ece8df;
}

.mock-frame .laptop-bar i {
  background: #c9c3b6;
}

.mock-frame .shot {
  display: block;
  width: 100%;
  height: auto;
  min-height: 210px;
  max-height: 320px;
  object-fit: cover;
  object-position: top center;
}

.study-portrait {
  display: block;
  width: 100%;
  max-width: 280px;
  margin-top: 1.75rem;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.study-actions {
  margin-top: 1.75rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--muted-dark);
}

.breadcrumb a {
  color: #d8d2c6;
  text-decoration: none;
}

.label-concept {
  display: inline-block;
  margin-bottom: 0.7rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-media {
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.08)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(47, 125, 120, 0.08) 18px, rgba(47, 125, 120, 0.08) 19px),
    var(--paper-2);
}

[data-reveal].will-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
}

.legal p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-desktop {
    display: none;
  }

  .header-cta .btn-ghost,
  .header-cta .btn-primary,
  .nav-drawer > .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-cta-bar {
    display: block;
  }

  body {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-grid,
  .about-grid,
  .study-hero,
  .study-layout,
  .footer-grid,
  .case-preview,
  .grid-3,
  .grid-2,
  .build-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .work-card.wide {
    grid-row: auto;
    min-height: 280px;
  }

  .grid-4,
  .feature-grid,
  .price-grid,
  .plan-grid,
  .process {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    right: 12px;
    bottom: -18px;
  }

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

  .screen-side {
    display: none;
  }
}

@media (max-width: 680px) {
  .wrap,
  .wrap-wide,
  .header-inner {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .brand {
    min-width: 0;
  }

  .brand-text span {
    display: none;
  }

  .section {
    padding: 4.2rem 0;
  }

  .grid-4,
  .feature-grid,
  .price-grid,
  .plan-grid,
  .process,
  .service-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .phone {
    position: static;
    width: 100%;
    margin-top: 1rem;
    max-width: 220px;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal].will-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .case-card:hover,
  .work-card:hover .work-visual {
    transform: none;
  }
}
