:root {
    --blue: #157fa8;
    --blue-dark: #0c5f82;
    --blue-deep: #093f58;
    --red: #d93f53;
    --red-dark: #b92e42;
    --ink: #172028;
    --muted: #5e6972;
    --paper: #ffffff;
    --soft: #f4f7f8;
    --warm: #f6f0e7;
    --line: #dbe3e6;
    --shadow: 0 22px 60px rgba(12, 57, 77, 0.12);
    --radius: 24px;
    --radius-small: 14px;
    --container: 1180px;
    --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(10, 50, 68, .08); border-bottom-color: var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 245px; max-height: 74px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 700; }
.main-nav a { position: relative; text-decoration: none; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--red); transition: right .2s ease; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta { padding: 10px 17px; color: #fff; background: var(--blue); border-radius: 999px; }
.nav-cta:hover { background: var(--blue-dark); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 12px; background: var(--soft); }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fff 45%, #f4f8fa 100%); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; padding-block: 72px 92px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 740px; margin-bottom: 24px; font-size: clamp(44px, 6.2vw, 78px); }
h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 54px); }
h3 { margin-bottom: 10px; font-size: 22px; }
.hero h1::after { content: ""; display: block; width: 110px; height: 8px; margin-top: 22px; background: var(--red); border-radius: 99px; transform: rotate(-2deg); }
.hero-lead, .lead { color: var(--muted); font-size: clamp(19px, 2vw, 23px); }
.hero-lead { max-width: 620px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 24px rgba(217,63,83,.2); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--blue-deep); background: #fff; border-color: var(--line); }
.button-secondary:hover { border-color: var(--blue); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.hero-facts div { padding-left: 14px; border-left: 3px solid var(--blue); }
.hero-facts dt { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-facts dd { margin: 2px 0 0; font-weight: 700; line-height: 1.4; }
.hero-visual { position: relative; }
.hero-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1.15 / .9; border-radius: 38px 38px 110px 38px; background: #fff; box-shadow: var(--shadow); }
.hero-image-wrap::before { content: ""; position: absolute; inset: 18px; z-index: 1; border: 2px solid rgba(21,127,168,.18); border-radius: 26px 26px 96px 26px; pointer-events: none; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 48%; }
.hero-visual::before { content: ""; position: absolute; width: 180px; height: 180px; top: -35px; right: -35px; background: var(--blue); border-radius: 50%; opacity: .12; }
.hero-visual::after { content: ""; position: absolute; width: 92px; height: 92px; bottom: -28px; left: -38px; background: var(--red); border-radius: 28px; transform: rotate(18deg); opacity: .9; }
.hero-badge { position: absolute; right: -18px; bottom: 35px; z-index: 2; display: grid; padding: 17px 22px; color: #fff; background: var(--blue-deep); border-radius: 16px; box-shadow: 0 14px 32px rgba(9,63,88,.22); transform: rotate(2deg); }
.hero-badge span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hero-badge strong { font-size: 22px; }
.hero-stripe { position: absolute; left: 0; bottom: 0; width: 38%; height: 8px; background: var(--red); }

.section { padding-block: 110px; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading > p:last-child { max-width: 680px; color: var(--muted); font-size: 20px; }
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { min-height: 305px; padding: 32px; background: #fff; border: 1px solid #e5ebed; border-radius: var(--radius); box-shadow: 0 8px 28px rgba(12,57,77,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(21,127,168,.35); box-shadow: 0 20px 44px rgba(12,57,77,.1); }
.service-card:nth-child(2), .service-card:nth-child(5) { transform: translateY(18px); }
.service-card:nth-child(2):hover, .service-card:nth-child(5):hover { transform: translateY(12px); }
.service-icon { display: grid; width: 54px; height: 54px; margin-bottom: 24px; place-items: center; color: var(--blue); background: rgba(21,127,168,.1); border-radius: 16px; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card p { margin: 0; color: var(--muted); }

.studio { overflow: hidden; }
.studio-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 92px; }
.studio-photo { position: relative; }
.studio-photo::before { content: ""; position: absolute; inset: -24px 34% 28% -40px; z-index: -1; background: var(--blue); border-radius: 30px; opacity: .12; }
.studio-photo img { width: 100%; max-height: 650px; object-fit: cover; object-position: center 58%; border-radius: 34px; box-shadow: var(--shadow); }
.photo-caption { position: absolute; right: -34px; bottom: 34px; width: min(330px, 80%); padding: 22px 24px; color: #fff; background: var(--red); border-radius: 16px; font-weight: 800; line-height: 1.35; box-shadow: 0 16px 34px rgba(185,46,66,.22); }
.studio-copy .lead { margin-bottom: 36px; }
.feature-list { display: grid; gap: 6px; margin-bottom: 30px; }
.feature-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--red); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.feature-list h3 { margin-bottom: 5px; font-size: 20px; }
.feature-list p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 850; text-decoration: none; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.process { color: #fff; background: var(--blue-deep); }
.process .eyebrow { color: #7fd2f0; }
.section-heading-light { color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.process-grid li { min-height: 260px; padding: 30px; background: var(--blue-deep); }
.process-grid li:hover { background: #0c4e6b; }
.process-grid span { display: grid; width: 44px; height: 44px; margin-bottom: 30px; place-items: center; color: var(--blue-deep); background: #fff; border-radius: 50%; font-weight: 900; }
.process-grid h3 { font-size: 21px; }
.process-grid p { margin: 0; color: rgba(255,255,255,.74); }

.contact { background: linear-gradient(180deg, #fff, var(--warm)); }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 64px; align-items: start; }
.contact-info > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 19px; }
.contact-cards { display: grid; gap: 12px; margin: 32px 0; }
.contact-card { display: grid; padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--blue); transform: translateX(4px); }
.contact-card span { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong { color: var(--blue-deep); }
.hours { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.hours h3 { margin-bottom: 18px; }
.hours > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 7px 0; }
.hours > div span { color: var(--muted); }
.hours > div strong { font-size: 15px; }
.hours > p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.form-panel { padding: 38px; background: #fff; border: 1px solid rgba(21,127,168,.12); border-radius: 30px; box-shadow: var(--shadow); }
.form-panel > h3 { margin-bottom: 5px; font-size: 30px; }
.form-panel > p { margin-top: 0; color: var(--muted); font-size: 14px; }
.contact-form { display: grid; gap: 20px; margin-top: 26px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #cbd7db; border-radius: 11px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,127,168,.12); }
.field small { justify-self: end; color: var(--muted); }
.checkbox-field { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { cursor: wait; opacity: .75; transform: none; }
.button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.submit-button.is-loading .button-loader { display: inline-block; }
.form-fallback { margin: -4px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.form-notice { padding: 13px 15px; border-radius: 10px; font-weight: 700; }
.form-notice-success { color: #1f663f; background: #eaf8f0; border: 1px solid #bde6cd; }
.form-notice-error { color: #8a2433; background: #fff0f2; border: 1px solid #f2c5cc; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding-top: 72px; color: rgba(255,255,255,.78); background: #10242f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 60px; padding-bottom: 58px; }
.footer-brand img { width: 250px; margin-bottom: 14px; background: #fff; border-radius: 10px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 17px; letter-spacing: .04em; }
.site-footer address { font-style: normal; }
.site-footer a { display: block; color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.footer-bottom a { display: inline; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(2), .service-grid .reveal:nth-child(5) { transition-delay: .08s; }
.service-grid .reveal:nth-child(3), .service-grid .reveal:nth-child(6) { transition-delay: .16s; }
@keyframes spin { to { transform: rotate(360deg); } }

.legal-page { background: var(--soft); }
.legal-header { background: #fff; border-bottom: 1px solid var(--line); }
.legal-header .container { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-header .brand img { width: 220px; }
.legal-main { padding-block: 72px 100px; }
.legal-content { max-width: 880px; padding: 56px 64px; background: #fff; border-radius: 28px; box-shadow: 0 16px 50px rgba(12,57,77,.08); }
.legal-content h1 { font-size: clamp(42px, 6vw, 66px); }
.legal-content h2 { margin-top: 38px; margin-bottom: 10px; font-size: 24px; }
.legal-content p, .legal-content li { color: #414d55; }
.legal-content code { padding: 2px 6px; background: var(--soft); border-radius: 5px; }
.legal-note { padding: 18px 20px; background: #eef7fa; border-left: 4px solid var(--blue); border-radius: 8px; }
.legal-footer { padding-block: 24px; color: #fff; background: #10242f; }
.legal-footer .container { display: flex; justify-content: space-between; gap: 20px; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: var(--soft); }
.error-card { width: min(680px, 100%); padding: 55px; text-align: center; background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.error-card img { width: 280px; margin: 0 auto 30px; }
.error-card h1 { font-size: clamp(38px, 7vw, 58px); }

:focus-visible { outline: 3px solid rgba(217,63,83,.65); outline-offset: 4px; }

@media (max-width: 980px) {
    :root { --header-height: 78px; }
    .header-inner { min-height: var(--header-height); }
    .brand img { width: 205px; }
    .menu-toggle { display: block; position: relative; z-index: 102; }
    .main-nav { position: fixed; inset: var(--header-height) 0 auto; z-index: 101; display: grid; gap: 0; padding: 18px 20px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(12,57,77,.12); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .main-nav.is-open { transform: translateY(0); visibility: visible; }
    .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .main-nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
    .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 46px; padding-block: 58px 74px; }
    .hero-copy { max-width: 760px; }
    .hero-visual { width: min(760px, 100%); justify-self: center; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(2), .service-card:nth-child(5), .service-card:nth-child(2):hover, .service-card:nth-child(5):hover { transform: none; }
    .studio-grid, .contact-grid { grid-template-columns: 1fr; gap: 58px; }
    .studio-photo { width: min(700px, 100%); }
    .studio-photo img { max-height: 560px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .container { width: min(100% - 28px, var(--container)); }
    .brand img { width: 178px; }
    .section { padding-block: 78px; }
    .hero-grid { padding-top: 44px; }
    h1 { font-size: clamp(42px, 13vw, 60px); }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-image-wrap { aspect-ratio: 1 / .9; border-radius: 28px 28px 76px 28px; }
    .hero-badge { right: 8px; bottom: 16px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; padding: 26px; }
    .photo-caption { right: 14px; bottom: 20px; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid li { min-height: auto; }
    .form-panel { padding: 26px 20px; border-radius: 22px; }
    .form-row { grid-template-columns: 1fr; }
    .hours > div { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .legal-header .container { min-height: 84px; }
    .legal-header .brand img { width: 170px; }
    .legal-main { padding-block: 36px 70px; }
    .legal-content { padding: 34px 22px; border-radius: 20px; }
    .legal-footer .container { flex-direction: column; }
    .error-card { padding: 36px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}
