@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('./assets/jakarta-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('./assets/jakarta.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Baskervville';
  src: url('./assets/baskervville-wordmark.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --panel: #ffffff;
  --text: #142441;
  --muted: #495b74;
  --line: #d7e1ee;
  --accent: #2656b4;
  --accent-hover: #19428e;
  --tint: #eaf1fb;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section[id], #brief { scroll-margin-top: 96px; }
::selection { color: var(--text); background: #cfe0fa; }
.shell { width: min(100% - 112px, 1296px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; background: var(--accent); color: white; padding: 12px 20px; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.header { position: sticky; top: 0; z-index: 5; background: #fffffff7; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; font: 500 26px/1.15 'Baskervville', Georgia, serif; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { position: relative; flex: none; width: .87em; aspect-ratio: 165 / 208; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 47%; height: 63%; clip-path: polygon(0 28%, 100% 0, 100% 72%, 0 100%); }
.brand-mark::before { bottom: 0; left: 0; background: var(--brand-lower, #315585); }
.brand-mark::after { top: 0; right: 0; background: var(--brand-upper, #5e83b7); }
@media (prefers-reduced-motion: no-preference) {
  .header .brand-mark::before, .header .brand-mark::after { animation: brand-step .52s cubic-bezier(.2, .75, .2, 1) backwards; }
  .header .brand-mark::after { animation-delay: .1s; }
  @keyframes brand-step {
    from { opacity: 0; transform: translate(-3px, 4px); }
    to { opacity: 1; transform: translate(0, 0); }
  }
}
.nav { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav a { display: flex; align-items: center; min-height: 40px; padding-inline: clamp(10px, 1.1vw, 16px); border-radius: 8px; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { background: var(--tint); color: var(--accent-hover); }
.button { display: inline-flex; gap: 14px; align-items: center; justify-content: center; width: fit-content; border: 1px solid transparent; border-radius: 999px; padding: 15px 21px; background: var(--accent); color: white; font-weight: 800; font-size: 14px; transition: background .2s, transform .2s; }
.button svg { width: 19px; height: 19px; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button-outline { border-color: #a9c0e4; background: transparent; color: var(--accent-hover); }
.button-outline:hover { background: var(--tint); border-color: var(--accent); }
.button:disabled { opacity: .55; cursor: default; transform: none; }
.button-shine {
  position: relative;
  overflow: hidden;
  border-color: #1b4395;
  background: linear-gradient(150deg, #315ab2, #1c469d 62%, #173b85);
  box-shadow: inset 0 1px 0 #ffffff4a, 0 5px 16px #2656b438;
}
.button-shine:hover, .button-shine:focus-visible { background: linear-gradient(150deg, #315ab2, #204caa 62%, #173b85); }
@media (prefers-reduced-motion: no-preference) {
  .button-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 34%, #ffffff16 47%, #ffffff29 50%, transparent 63%);
    transform: translateX(-110%);
  }
  .button-shine:hover::after, .button-shine:focus-visible::after { animation: button-glint .65s ease-out; }
  @keyframes button-glint {
    to { transform: translateX(110%); }
  }
}
.header-cta { justify-self: end; min-height: 44px; padding: 10px 15px; gap: 8px; border-radius: 9px; white-space: nowrap; }
.header-cta svg { width: 16px; height: 16px; }
.header-cta:hover { transform: none; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 3.2vw, 54px); align-items: center; padding-top: 65px; }
.hero-copy { padding-block: 18px; }
.eyebrow, .section-tag, .steps > li > span { font: 500 11px/1.45 var(--mono); letter-spacing: .1em; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 25px; }
.eyebrow.hero-slogan { color: var(--accent); font: 700 14px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .015em; }
.signal { width: 8px; height: 8px; background: var(--accent); border-radius: 100%; box-shadow: 0 0 13px #2656b42e; flex: none; }
h1 { font-size: clamp(66px, 7.8vw, 124px); line-height: .98; letter-spacing: -.026em; word-spacing: .025em; font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
.hero-text { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; color: var(--muted); max-width: 470px; margin-top: 26px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; }
.text-link:hover, .contact-links a:hover { color: var(--accent); }
.text-link svg { width: 17px; height: 17px; }
.hero-visual { display: block; width: 100%; min-width: 0; padding: 0; border: 1px solid #d0dded; border-radius: 19px; overflow: hidden; background: var(--panel); color: var(--text); text-align: left; box-shadow: 0 24px 54px -26px #24518450; transition: border-color .2s, box-shadow .2s; }
.hero-visual img { width: 100%; height: auto; }
.hero-visual-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.hero-visual-category { color: var(--muted); }
.hero-visual-caption svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.hero-visual:hover { border-color: #9eb8df; box-shadow: 0 26px 56px -26px #24518480; }

.studio {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 80px);
  margin-top: clamp(22px, 4vw, 52px);
  padding: clamp(26px, 5vw, 68px);
  border-radius: 20px;
  background: radial-gradient(ellipse at 95% 0%, #2d5388, #142441 70%);
  color: #fff;
}
.studio .eyebrow { margin-bottom: 16px; color: #afccf4; }
.studio h2 { font-size: clamp(34px, 4.2vw, 64px); }
.studio h2 span, .studio .text-link { color: #c0d8fb; }
.studio-copy { max-width: 430px; color: #e0ebfb; font-size: 16px; line-height: 1.65; }
.studio-copy p + p { margin-top: 12px; }
.studio .text-link { margin-top: 18px; }
.studio .text-link:hover { color: #fff; }
.studio .text-link:focus-visible { outline-color: #c0d8fb; }

.clinic { border-bottom: 1px solid var(--line); }
.clinic .section-head h2 { max-width: 790px; }
.clinic-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(16px, 2.8vw, 36px); align-items: start; }
.comparison, .clinic-offer { margin: 0; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.comparison-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 12px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); }
.comparison-controls button { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--accent); font-size: 14px; font-weight: 800; }
.comparison-controls button:hover { background: var(--panel); }
.comparison-controls button[aria-pressed="true"] { background: var(--accent); color: white; }
.comparison-stage { position: relative; container-type: inline-size; aspect-ratio: 1.88; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.comparison-page { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 3.5%; }
.comparison-before { background: #e2e5e8; color: #1a2432; font-family: Arial, sans-serif; }
.comparison-after { background: #f6f1e8; color: #212f26; }
.comparison-nav { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 13%; margin-bottom: 4%; padding: 2.5% 3%; background: #374759; color: white; font-size: clamp(9px, 2.1cqw, 16px); font-weight: 800; }
.comparison-nav span { font-size: clamp(6px, 1.6cqw, 11px); }
.comparison-after .comparison-nav { padding-inline: 0; border-bottom: 1px solid #bfbfb2; background: transparent; color: inherit; font-size: clamp(15px, 3.4cqw, 26px); letter-spacing: -.045em; }
.comparison-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; min-width: 0; padding: 2%; }
.comparison-layout img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.comparison-before img { height: 74%; }
.comparison-after img { border-radius: 5px; }
.comparison-layout b { display: block; font-size: clamp(14px, 4.1cqw, 32px); line-height: 1.05; letter-spacing: -.025em; }
.comparison-after b { font-family: Georgia, serif; font-weight: 500; font-size: clamp(17px, 5.1cqw, 41px); }
.comparison-layout p { margin: 6% 0; font-size: clamp(9px, 2cqw, 14px); line-height: 1.4; }
.comparison-layout small { display: inline-block; font-size: clamp(8px, 1.7cqw, 12px); }
.comparison-before small { color: #143c88; text-decoration: underline; }
.comparison-after small { padding: 5% 6%; border-radius: 3px; background: #2c4939; color: white; font-weight: 800; }
.comparison-caption { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.comparison-notes { margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 0; }
.comparison-notes summary { padding: 10px 0 0; font-size: 13px; }
.comparison-notes ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.clinic-offer { padding: clamp(18px, 2.8vw, 36px); background: var(--tint); }
.clinic-offer h3 { font-size: clamp(24px, 2.6vw, 37px); letter-spacing: -.045em; line-height: 1.15; }
.clinic-offer p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.clinic-actions { display: grid; justify-items: start; gap: 13px; margin-top: 20px; }

.section { padding-block: clamp(60px, 7vw, 105px); }
.work { padding-top: clamp(48px, 5vw, 78px); }
.section-tag { color: var(--muted); margin-bottom: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 34px; }
h2 { font-size: clamp(42px, 5.5vw, 82px); letter-spacing: -.042em; font-weight: 800; line-height: 1.05; }
h2 span { color: var(--accent); }
.section-head p, .process-grid > div > p, .contact-grid > div > p { max-width: 335px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project { min-width: 0; }
.project-button { display: block; width: 100%; padding: 0; text-align: left; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.project-art { display: grid; place-items: center; aspect-ratio: 1.6; padding: 8% 10%; overflow: hidden; }
.forma { background: radial-gradient(ellipse at top left,#dcd0bc,#a49984); }
.kavra { background: radial-gradient(ellipse at top left,#af5a39,#74301d); }
.mock { width: 100%; overflow: hidden; border-radius: 6px; background: #f4ead8; color: #24211b; box-shadow: 0 20px 44px #17110960; transform: rotate(-4deg); transition: transform .35s; }
.kavra .mock { transform: rotate(4deg); background: #f6d7a9; color: #48221b; }
.project-button:hover .mock { transform: rotate(0) scale(1.025); }
.mock-nav { display: flex; justify-content: space-between; align-items: center; padding: 2.3% 4%; }
.mock-nav b { font-size: clamp(12px, 1.8vw, 25px); letter-spacing: -.08em; }
.mock-nav span { font-size: clamp(6px, .85vw, 12px); font-weight: 800; }
.mock-image { position: relative; overflow: hidden; aspect-ratio: 2.05; color: #fff7e9; background: #382921; }
.mock-image img { width: 100%; height: 100%; object-fit: cover; opacity: .66; }
.mock-image div { position: absolute; bottom: 13%; left: 5%; font: 400 clamp(16px, 3vw, 48px)/1 Georgia, serif; letter-spacing: -.05em; }
.kavra .mock-image img { object-position: center 60%; }
.kavra .mock-image div { font: 800 clamp(16px, 3vw, 48px)/.93 'Plus Jakarta Sans', sans-serif; }
.project-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.project-info h3 { font-size: 23px; font-weight: 800; letter-spacing: -.05em; }
.project-info p { font-size: 13px; margin-top: 4px; color: var(--muted); }
.round { display: grid; place-items: center; flex: none; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 50%; }
.project-button:hover .round { background: var(--accent); color: white; }

.service-section { background: var(--tint); border-block: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service { display: flex; flex-direction: column; padding: clamp(19px, 2.1vw, 31px); min-height: 262px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.service-top { margin-bottom: 24px; }
.service-top svg { width: 33px; height: 33px; color: var(--accent); }
.service h3, .steps h3 { font-size: 23px; line-height: 1.18; letter-spacing: -.045em; }
.service p, .steps p, details p, .detail-copy p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.service p { margin: 10px 0 21px; }
.service .text-link { margin-top: auto; }

.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 78px); }
.process-grid > div > p { margin-top: 18px; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--accent); margin-top: 4px; }
.steps p { margin-top: 7px; }
.faq { border-top: 1px solid var(--line); }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; cursor: pointer; list-style: none; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 21px; font-weight: 500; }
details[open] summary::after { content: '−'; }
details p { padding-bottom: 17px; max-width: 510px; }

.contact {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 74% 25%, #fff 0%, transparent 48%),
    radial-gradient(ellipse at 88% 72%, #b8d3fb, transparent 58%),
    linear-gradient(125deg, #f5f9fe, #dce9fc);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 5vw, 82px); }
.contact-grid > div > p { margin-top: 23px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.contact-links a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 15px; border: 1px solid #aabfda; border-radius: 100px; background: #ffffff8c; font-size: 14px; font-weight: 800; }
#brief {
  display: grid;
  gap: 16px;
  padding: clamp(17px, 2.5vw, 34px);
  border: 1px solid transparent;
  border-radius: 20px;
  background: linear-gradient(155deg, #fff 18%, #f6f9ff) padding-box, linear-gradient(145deg, #fff, #9ebdea) border-box;
  box-shadow: 0 18px 46px -20px #1a449960, 0 0 28px #ffffffa6;
}
#brief :is(input, select, textarea) { background: var(--panel); }
#brief h3 { font-size: 21px; letter-spacing: -.025em; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#brief label { display: block; font-size: 13px; font-weight: 800; }
#brief small { color: var(--muted); font-size: 10px; font-weight: 500; }
input, select, textarea { display: block; width: 100%; margin-top: 7px; padding: 12px; background: var(--bg); border: 1px solid #a9bbd3; border-radius: 7px; color: var(--text); font-size: 16px; }
input::placeholder, textarea::placeholder { color: #5b6c84; }
textarea { resize: vertical; min-height: 95px; }
.form-note, .form-status, .draft-link { font-size: 12px; line-height: 1.6; color: var(--muted); }
.form-note { margin-top: -6px; }
.form-status { color: var(--text); }
.draft-link { color: var(--accent); text-decoration: underline; }
.footer { --brand-lower: #a8c3e3; --brand-upper: #a8c3e3; background: #0c1729; color: #f6f1e7; }
.footer-inner { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 94px; }
.footer-inner > span, .footer-inner > a:last-child { color: #b9c8dd; font-size: 12px; }
.footer a:hover { color: #e5efff; }
.footer a:focus-visible { outline-color: #a8c3e3; }

dialog { position: fixed; width: min(calc(100% - 32px), 670px); max-height: calc(100dvh - 32px); padding: 0; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 16px; }
dialog::backdrop { background: #1424419c; backdrop-filter: blur(5px); }
.close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 25px; }
.detail-image { width: 100%; height: min(36vh, 300px); object-fit: cover; }
.detail-copy { padding: clamp(20px, 4vw, 35px); }
.detail-copy h2 { font-size: clamp(34px, 5vw, 53px); }
.detail-copy p { margin: 12px 0 20px; }

@media (max-width: 1080px) {
  .shell { width: calc(100% - 72px); }
  .hero { padding-top: 50px; }
  h1 { font-size: clamp(56px, 8.6vw, 104px); }
}
@media (max-width: 900px) {
  .clinic-grid { grid-template-columns: 1fr; }
  section[id], #brief { scroll-margin-top: 82px; }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .header .brand { font-size: clamp(19px, 5vw, 24px); }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--text); }
  .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--tint); color: var(--accent-hover); }
  .menu-toggle span { position: relative; width: 18px; height: 10px; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle span::after { transform: translateY(8px); }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(4px) rotate(-45deg); }
  .nav { display: none; position: absolute; inset-inline: auto 0; top: calc(100% + 8px); width: min(100%, 380px); max-height: calc(100dvh - 88px); overflow: auto; gap: 2px; padding: 8px; border-radius: 14px; background: var(--panel); box-shadow: 0 16px 38px -14px #1424414d; }
  .menu-toggle[aria-expanded="true"] + .nav { display: grid; }
  .nav a { justify-content: space-between; min-height: 48px; padding-inline: 13px; }
  .nav a::after { content: ""; width: 7px; height: 7px; margin-right: 2px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
  .header-cta { padding-inline: 11px; gap: 5px; font-size: 12px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .section { padding-block: clamp(42px, 8vw, 60px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 34px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 10px; }
  h1 { font-size: clamp(44px, 13.4vw, 92px); }
  h2 { font-size: clamp(34px, 8vw, 53px); }
  .hero-text { margin-top: 16px; }
  .actions { margin-top: 20px; }
  .hero-visual { max-width: 590px; }
  .studio { grid-template-columns: 1fr; }
  .studio-break { display: none; }
  .comparison-stage { aspect-ratio: 1.5; }
  .section-head { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 23px; }
  .services, .process-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service { min-height: auto; }
  .service-top { margin-bottom: 16px; }
  .contact-grid > div > p { margin-top: 14px; }
  .contact-links { margin-top: 16px; }
  .contact-links a, .clinic-actions .text-link { min-height: 44px; }
  .comparison-notes summary { min-height: 44px; padding: 8px 0; }
  #brief label { font-size: 14px; }
  #brief :is(input, select, textarea) { min-height: 48px; font-weight: 500; scroll-margin-top: 86px; }
  .footer-inner { flex-wrap: wrap; padding-block: 22px; }
  .footer-inner > span { order: 1; width: 100%; }
}
@media (max-width: 520px) {
  .nav { width: 100%; }
  .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; }
  .actions .button { width: 100%; min-height: 48px; padding: 9px 10px; gap: 5px; font-size: 13px; text-align: center; }
  .actions .button svg { width: 16px; height: 16px; flex: none; }
  .comparison-stage { aspect-ratio: auto; }
  .comparison-page { position: static; min-height: 270px; padding: 12px; }
  .comparison-nav { margin-bottom: 10px; padding-block: 8px; font-size: 12px; }
  .comparison-nav span { font-size: 10px; }
  .comparison-after .comparison-nav { font-size: 21px; }
  .comparison-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; }
  .comparison-layout > div { grid-row: 1; }
  .comparison-layout img { grid-row: 2; height: auto; aspect-ratio: 2.6; }
  .comparison-layout b { font-size: 19px; }
  .comparison-after b { font-size: 24px; }
  .comparison-layout p { margin: 6px 0; font-size: 13px; }
  .comparison-layout small { font-size: 11px; }
  .comparison-after small { padding: 7px 9px; }
  .fields { grid-template-columns: 1fr; }
  #brief > .button, .clinic-actions .button { width: 100%; min-height: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .mock-nav b { font-size: 20px; }
  .mock-nav span { font-size: 9px; }
  .mock-image div, .kavra .mock-image div { font-size: clamp(22px, 7vw, 42px); }
}
@media (max-width: 374px) {
  .actions { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { gap: 6px; }
  .header .brand { gap: 6px; }
  .header-cta { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
