/* ==========================================================================
   Webintrop Technologies — 2026
   A storytelling showcase in cobalt, graphite and coral.
   ========================================================================== */

:root {
    --ink: #0b1017;
    --ink-2: #111a26;
    --ink-3: #1b2735;
    --cream: #f3efe5;
    --cream-2: #e9e3d5;
    --paper: #eee8dc;
    --white: #fcfaf5;
    --blue: #1c9bd2;
    --blue-bright: #5cc4ee;
    --blue-deep: #006ba5;
    --coral: #ff9074;
    --coral-deep: #f27557;
    --lime: #d8f56b;
    --muted: #7d8794;
    --line: rgba(11, 16, 23, 0.14);
    --line-light: rgba(255, 255, 255, 0.15);
    --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
    --font-serif: "Instrument Serif", Georgia, serif;
    --container: min(1280px, calc(100vw - 96px));
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 26px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

p,
h1,
h2,
h3,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--coral);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 4px;
}

.visually-hidden {
    position: absolute !important;
    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: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--coral);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.25s var(--ease);
}

.skip-link:focus {
    transform: none;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: currentColor;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 0.78;
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 4px rgba(255, 144, 116, 0.16);
}

.lede {
    max-width: 590px;
    color: var(--muted);
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.75;
}

.section {
    position: relative;
    padding-block: clamp(88px, 10vw, 150px);
}

.section--cream {
    background: var(--cream);
}

.section--paper {
    background: var(--paper);
}

.section--dark {
    background: var(--ink);
    color: var(--cream);
}

.section--ink {
    background: var(--ink);
    color: var(--cream);
}

.section--coral {
    background: var(--coral);
    color: var(--ink);
}

.section-head {
    max-width: 880px;
    margin-bottom: clamp(54px, 6vw, 86px);
}

.section-head h2,
.process__intro h2,
.contact__intro h2 {
    max-width: 880px;
    font-size: clamp(38px, 5.2vw, 76px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.section-head h2 em,
.process__intro h2 em,
.contact__intro h2 em {
    color: var(--blue);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-head--light {
    color: var(--cream);
}

.section-head--light .lede {
    color: rgba(255, 255, 255, 0.6);
}

.section-head--light h2 em {
    color: var(--coral);
}

.section-head--split {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.section-head--split > div {
    max-width: 820px;
}

.section-head--split .lede {
    max-width: 380px;
    margin-bottom: 8px;
    color: var(--muted);
}

/* Buttons ------------------------------------------------------------------ */

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    transition:
        background-color 0.35s var(--ease),
        border-color 0.35s var(--ease),
        color 0.35s var(--ease),
        transform 0.35s var(--ease);
}

.btn svg {
    width: 17px;
    height: 17px;
    transition: transform 0.35s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn--solid {
    background: var(--ink);
    color: var(--cream);
}

.btn--solid:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn--pill {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--cream);
}

.btn--pill:hover {
    border-color: var(--coral);
    background: var(--coral);
    color: var(--ink);
}

.btn--text {
    min-height: 40px;
    padding: 0;
    border-radius: 0;
    color: inherit;
    opacity: 0.75;
}

.btn--text:hover {
    opacity: 1;
}

.btn--dark {
    background: var(--cream);
    color: var(--ink);
}

.btn--dark:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn--outline {
    border-color: var(--ink);
    color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--cream);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 700;
    transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow svg {
    width: 16px;
    height: 16px;
}

.link-arrow:hover {
    gap: 16px;
    color: var(--blue-deep);
}

/* Reveal ------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(42px);
    transition:
        opacity 0.9s var(--ease-out) var(--reveal-delay, 0ms),
        transform 0.9s var(--ease-out) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Cursor ------------------------------------------------------------------- */

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--coral);
}

.cursor-ring {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: -19px 0 0 -19px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    mix-blend-mode: difference;
    transition:
        width 0.25s var(--ease),
        height 0.25s var(--ease),
        margin 0.25s var(--ease),
        background-color 0.25s var(--ease);
}

.cursor-ring__label {
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
}

.cursor-ring.is-active {
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    background: rgba(255, 255, 255, 0.12);
}

.cursor-ring.has-label {
    width: 78px;
    height: 78px;
    margin: -39px 0 0 -39px;
}

.cursor-ring.has-label .cursor-ring__label {
    opacity: 1;
}

.cursor-ring.is-pressed {
    transform: scale(0.86);
}

.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

body:not(.has-custom-cursor) .cursor-dot,
body:not(.has-custom-cursor) .cursor-ring {
    display: none;
}

/* Header ------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    color: var(--cream);
    transition: box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(11, 16, 23, 0.82);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.header__inner {
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .header__inner {
    height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand img {
    width: 311px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
}

.main-nav a {
    position: relative;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.3s var(--ease);
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--coral);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__cta {
    min-height: 44px;
    padding: 0 20px;
    font-size: 13px;
    flex: 0 0 auto;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}

.menu-toggle.is-open span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile menu -------------------------------------------------------------- */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    padding: 110px 26px 42px;
    background: var(--ink);
    color: var(--cream);
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 44px;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    margin-top: 26px;
}

.mobile-menu nav a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    font-size: clamp(34px, 9vw, 48px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.mobile-menu nav a span {
    color: var(--coral);
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0;
}

.mobile-menu__contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.mobile-menu__contact a:first-child {
    color: var(--cream);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mobile-menu__contact p {
    max-width: 310px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
}

/* Story -------------------------------------------------------------------- */

.story {
    position: relative;
    background: #061a30;
    color: var(--cream);
}

.story__stage {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    background: var(--stage-bg);
    color: var(--stage-fg);
    touch-action: pan-y;
    transition: background-color 0.9s var(--ease), color 0.9s var(--ease);
}

.theme-dark,
[data-theme="dark"] {
    --stage-bg: #061a30;
    --stage-fg: #f8f4e9;
    --stage-muted: rgba(248, 244, 233, 0.64);
    --stage-accent: #ff9074;
    --stage-line: rgba(255, 255, 255, 0.13);
    --stage-card: rgba(255, 255, 255, 0.05);
    --stage-orb: rgba(28, 155, 210, 0.4);
}

.theme-cream,
[data-theme="cream"] {
    --stage-bg: #071d35;
    --stage-fg: #f8f4e9;
    --stage-muted: rgba(248, 244, 233, 0.64);
    --stage-accent: #e9c98c;
    --stage-line: rgba(255, 255, 255, 0.14);
    --stage-card: rgba(255, 255, 255, 0.06);
    --stage-orb: rgba(255, 144, 116, 0.34);
}

.theme-blue,
[data-theme="blue"] {
    --stage-bg: #07233f;
    --stage-fg: #f8fbfd;
    --stage-muted: rgba(255, 255, 255, 0.7);
    --stage-accent: #7cc7ff;
    --stage-line: rgba(255, 255, 255, 0.17);
    --stage-card: rgba(255, 255, 255, 0.08);
    --stage-orb: rgba(28, 155, 210, 0.42);
}

.theme-coral,
[data-theme="coral"] {
    --stage-bg: #081a2e;
    --stage-fg: #fdf7f0;
    --stage-muted: rgba(253, 247, 240, 0.66);
    --stage-accent: #ff9074;
    --stage-line: rgba(255, 255, 255, 0.15);
    --stage-card: rgba(255, 255, 255, 0.06);
    --stage-orb: rgba(255, 144, 116, 0.4);
}

.story__grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    opacity: 0.045;
    pointer-events: none;
}

.story__orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: var(--stage-orb);
    filter: blur(70px);
    pointer-events: none;
    transition: background-color 0.9s var(--ease);
}

.story__orb--one {
    top: -18vh;
    right: -10vw;
    width: 48vw;
    height: 48vw;
    animation: drift 14s ease-in-out infinite alternate;
}

.story__orb--two {
    bottom: -24vh;
    left: -12vw;
    width: 34vw;
    height: 34vw;
    opacity: 0.55;
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(5vw, 3vh, 0) scale(1.12);
    }
}

.story__track {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.85s var(--ease-out);
    will-change: transform;
}

.story-panel {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    align-items: center;
    padding: clamp(110px, 13vh, 150px) 0 104px;
}

.story-panel__inner {
    position: relative;
    z-index: 2;
    display: grid;
    width: var(--container);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(38px, 6vw, 100px);
}

.story-panel__chapter {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    color: transparent;
    font-size: clamp(220px, 32vw, 520px);
    font-weight: 800;
    letter-spacing: -0.1em;
    line-height: 0.8;
    opacity: 0.55;
    pointer-events: none;
    transform: translate(-50%, -50%);
    -webkit-text-stroke: 1px var(--stage-line);
}

.story-panel__copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.story-panel__kicker {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out) 0.05s, transform 0.75s var(--ease-out) 0.05s;
}

.story-panel__title {
    margin: 0;
    font-size: clamp(44px, 6.3vw, 96px);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.story-line {
    display: block;
    opacity: 0;
    overflow: hidden;
    transform: translateY(55%);
    transition:
        opacity 0.75s var(--ease-out),
        transform 0.9s var(--ease-out),
        clip-path 0.9s var(--ease-out);
    clip-path: inset(0 0 100% 0);
}

.story-line--accent {
    color: var(--stage-accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.story-line:nth-child(2) {
    transition-delay: 0.08s;
}

.story-line:nth-child(3) {
    transition-delay: 0.16s;
}

.story-line:nth-child(4) {
    transition-delay: 0.24s;
}

.story-panel__body {
    max-width: 490px;
    margin-top: 28px;
    color: var(--stage-muted);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.75;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease-out) 0.32s, transform 0.85s var(--ease-out) 0.32s;
}

.story-panel__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 34px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out) 0.44s, transform 0.85s var(--ease-out) 0.44s;
}

.story-panel__actions .btn--solid {
    background: var(--stage-fg);
    color: var(--stage-bg);
}

.story-panel__actions .btn--solid:hover {
    background: var(--stage-accent);
    color: var(--stage-bg);
}

.story-panel__note {
    color: var(--stage-muted);
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
}

.story-panel.is-active .story-panel__kicker,
.story-panel.is-active .story-panel__body,
.story-panel.is-active .story-panel__actions {
    opacity: 1;
    transform: none;
}

.story-panel.is-active .story-line {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
}

.story-panel__visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(30px) scale(0.9) rotate(4deg);
    transition: opacity 0.9s var(--ease-out) 0.2s, transform 1.15s var(--ease-out) 0.2s;
}

.story-panel.is-active .story-panel__visual {
    opacity: 1;
    transform: none;
}

.story-frame {
    position: relative;
    width: min(100%, 445px);
    padding: 12px;
    border: 1px solid var(--stage-line);
    border-radius: 26px;
    background: var(--stage-card);
    box-shadow: 0 36px 80px -32px rgba(0, 0, 0, 0.55);
    transform: rotate(-2.2deg);
}

.story-frame__image {
    position: relative;
    aspect-ratio: 4 / 4.7;
    overflow: hidden;
    border-radius: 17px;
    background: rgba(0, 0, 0, 0.16);
}

.story-frame__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 10, 16, 0.42));
    content: "";
    pointer-events: none;
}

.story-frame__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.04);
    transform: scale(1.15);
    transition: transform 1.5s var(--ease-out) 0.2s;
}

.story-panel.is-active .story-frame__image img {
    transform: scale(1);
}

.story-frame figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 4px 2px;
    color: var(--stage-muted);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.story-badge {
    position: absolute;
    bottom: -16px;
    left: -26px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 14px;
    background: var(--cream);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
    color: var(--ink);
    transform: rotate(3deg);
}

.story-badge img {
    width: 58px;
    height: auto;
}

.story-badge span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.story-badge small {
    color: var(--muted);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.story__ui {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
}

.story__chapters {
    position: absolute;
    top: 50%;
    left: max(16px, calc((100vw - var(--container)) / 2 - 58px));
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-50%);
    pointer-events: auto;
}

.story__chapters button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--stage-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.55;
    transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.story__chapters button i {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: width 0.35s var(--ease), background-color 0.3s var(--ease);
}

.story__chapters button:hover,
.story__chapters button.is-active {
    color: var(--stage-fg);
    opacity: 1;
}

.story__chapters button.is-active i {
    width: 42px;
    background: var(--stage-accent);
}

.story__dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    display: none;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    transform: translateX(-50%);
}

.story__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 999px;
    background: var(--stage-line);
    transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}

.story__dots button.is-active {
    width: 30px;
    background: var(--stage-accent);
}

.story__nav {
    position: absolute;
    right: max(24px, calc((100vw - var(--container)) / 2));
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.story__nav > button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--stage-line);
    border-radius: 50%;
    color: var(--stage-fg);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s;
}

.story__nav > button svg {
    width: 18px;
    height: 18px;
}

.story__nav > button:hover:not(:disabled) {
    border-color: var(--stage-accent);
    background: var(--stage-accent);
    color: var(--stage-bg);
}

.story__nav > button:disabled {
    opacity: 0.28;
    cursor: default;
}

.story__counter {
    min-width: 62px;
    color: var(--stage-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
}

.story__counter strong {
    color: var(--stage-fg);
    font-size: 13px;
    font-weight: 800;
}

.story__toggle .icon-play {
    display: none;
}

.story__toggle.is-paused .icon-pause {
    display: none;
}

.story__toggle.is-paused .icon-play {
    display: block;
}

.story__toggle svg {
    width: 15px;
    height: 15px;
}

.story__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--stage-line);
}

.story__progress span {
    display: block;
    width: 20%;
    height: 100%;
    background: var(--stage-accent);
    transition: width 0.7s var(--ease-out);
}

/* Marquee ------------------------------------------------------------------ */

.marquee-section {
    position: relative;
    z-index: 3;
    padding: 26px 0;
    background: var(--coral);
    color: var(--ink);
    overflow: hidden;
    transform: rotate(-0.9deg) scale(1.01);
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 28px;
    animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__track span {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.marquee__track i {
    color: rgba(11, 16, 23, 0.55);
    font-size: 15px;
    font-style: normal;
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Studio ------------------------------------------------------------------- */

.studio {
    overflow: hidden;
}

.studio__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: end;
    gap: clamp(44px, 7vw, 110px);
}

.studio__media {
    position: relative;
}

.studio__media > img {
    width: 100%;
    aspect-ratio: 5 / 4.2;
    border-radius: var(--radius);
    object-fit: cover;
    filter: saturate(0.86) contrast(1.03);
}

.studio__stamp {
    position: absolute;
    right: -22px;
    bottom: -34px;
    display: flex;
    width: 150px;
    height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    text-align: center;
    transform: rotate(6deg);
}

.studio__stamp span,
.studio__stamp small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.studio__stamp strong {
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    line-height: 0.95;
}

.studio__copy {
    padding-bottom: 18px;
}

.studio__copy > p {
    margin-bottom: 20px;
    color: #3b4654;
    font-size: clamp(15px, 1.2vw, 17.5px);
    line-height: 1.8;
}

.studio__values {
    display: grid;
    margin: 34px 0 36px;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.studio__values li {
    position: relative;
    padding: 12px 0 12px 18px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 700;
}

.studio__values li::before {
    position: absolute;
    top: 17px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    content: "";
}

.stats-block {
    margin-top: clamp(62px, 8vw, 110px);
}

.stats__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.stats__note {
    max-width: 360px;
    color: #5b6572;
    font-family: var(--font-serif);
    font-size: clamp(17px, 1.6vw, 21px);
    font-style: italic;
    line-height: 1.35;
    text-align: right;
}

.stats {
    display: grid;
    margin-top: clamp(22px, 2.6vw, 34px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.5vw, 22px);
}

.stat {
    position: relative;
    display: flex;
    min-height: clamp(190px, 18vw, 236px);
    flex-direction: column;
    padding: clamp(22px, 2.2vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(11, 16, 23, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(28, 155, 210, 0.16), transparent 44%),
        linear-gradient(155deg, #fffdf8 0%, #ece5d8 100%);
    box-shadow: 0 24px 55px -42px rgba(11, 16, 23, 0.55);
    isolation: isolate;
}

.stat::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    content: "";
    z-index: 2;
}

.stat:nth-child(2)::before {
    background: linear-gradient(90deg, var(--coral-deep), var(--coral));
}

.stat:nth-child(3)::before {
    background: linear-gradient(90deg, #6e8d00, var(--lime));
}

.stat:nth-child(4)::before {
    background: linear-gradient(90deg, var(--blue-deep), var(--coral));
}

.stat::after {
    position: absolute;
    right: -42px;
    bottom: -58px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(11, 16, 23, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 22px rgba(11, 16, 23, 0.035),
        0 0 0 44px rgba(11, 16, 23, 0.018);
    content: "";
    z-index: 0;
}

.stat__index {
    position: absolute;
    top: clamp(18px, 2vw, 26px);
    right: clamp(20px, 2vw, 28px);
    color: rgba(11, 16, 23, 0.34);
    font-family: var(--font-serif);
    font-size: 17px;
    font-style: italic;
    letter-spacing: 0.08em;
    z-index: 2;
}

.stat strong {
    position: relative;
    display: block;
    margin-top: auto;
    color: var(--ink);
    font-size: clamp(58px, 6.2vw, 94px);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.08em;
    line-height: 0.82;
    z-index: 1;
}

.stat strong span {
    font: inherit;
    letter-spacing: inherit;
}

.stat__label {
    position: relative;
    display: block;
    max-width: 170px;
    margin-top: 16px;
    color: #4c5865;
    font-size: clamp(10.5px, 0.95vw, 12px);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-transform: uppercase;
    z-index: 1;
}

/* Services ----------------------------------------------------------------- */

.services {
    overflow: hidden;
}

.services__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
    align-items: start;
    gap: clamp(38px, 6vw, 88px);
}

.services__list {
    border-bottom: 1px solid var(--line-light);
}

.service-row {
    display: grid;
    width: 100%;
    padding: 25px 0;
    border-top: 1px solid var(--line-light);
    grid-template-columns: 50px minmax(0, 1fr) 42px;
    align-items: start;
    gap: 18px;
    text-align: left;
    transition: padding 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-row:hover,
.service-row.is-active {
    border-color: rgba(255, 144, 116, 0.8);
}

.service-row__number {
    padding-top: 3px;
    color: rgba(255, 255, 255, 0.56);
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    transition: color 0.3s;
}

.service-row__title {
    display: block;
    color: var(--cream);
    font-size: clamp(23px, 2.3vw, 34px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    transition: color 0.3s var(--ease), transform 0.35s var(--ease);
}

.service-row:hover .service-row__title,
.service-row.is-active .service-row__title {
    color: var(--coral);
    transform: translateX(4px);
}

.service-row__summary {
    display: block;
    max-width: 640px;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.7;
    opacity: 0;
    transition:
        max-height 0.5s var(--ease),
        opacity 0.45s var(--ease),
        margin-top 0.4s var(--ease);
}

.service-row.is-active .service-row__summary {
    max-height: 160px;
    margin-top: 12px;
    opacity: 1;
}

.service-row__tags {
    display: flex;
    max-height: 0;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.5s var(--ease),
        opacity 0.45s var(--ease) 0.05s,
        margin-top 0.4s var(--ease);
}

.service-row.is-active .service-row__tags {
    max-height: 100px;
    margin-top: 14px;
    opacity: 1;
}

.service-row__tags span {
    padding: 5px 10px;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-row__arrow {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    color: var(--cream);
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.service-row__arrow svg {
    width: 17px;
    height: 17px;
}

.service-row:hover .service-row__arrow,
.service-row.is-active .service-row__arrow {
    border-color: var(--coral);
    background: var(--coral);
    color: var(--ink);
    transform: rotate(45deg);
}

.services__preview {
    position: sticky;
    top: 118px;
    align-self: start;
}

.services__preview-card {
    position: relative;
    min-height: 450px;
    padding: 30px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 80% 8%, rgba(28, 155, 210, 0.28), transparent 42%),
        linear-gradient(155deg, #16202c, #0d131b);
    overflow: hidden;
}

.services__preview-number {
    display: block;
    color: rgba(255, 255, 255, 0.18);
    font-family: var(--font-serif);
    font-size: 100px;
    font-style: italic;
    line-height: 0.8;
}

.services__preview-title {
    margin: 14px 0 18px;
    color: var(--cream);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.services__preview-card > p:not(.services__preview-title) {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12.5px;
    line-height: 1.7;
}

.services__preview-shape {
    position: absolute;
    top: 24px;
    right: -34px;
    width: 220px;
    height: 220px;
    opacity: 0.9;
}

.services__preview-shape span {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.services__preview-shape span:nth-child(1) {
    inset: 0;
    background: rgba(255, 144, 116, 0.13);
}

.services__preview-shape span:nth-child(2) {
    inset: 26px;
    background: rgba(28, 155, 210, 0.18);
}

.services__preview-shape span:nth-child(3) {
    inset: 60px;
    background: var(--coral);
    opacity: 0.65;
}

.services__preview-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.services__preview-tags span {
    padding: 5px 9px;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services__preview-hint {
    position: absolute;
    right: 30px;
    bottom: 26px;
    left: 30px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Portfolio shared call-to-action ------------------------------------------ */

.work__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(56px, 7vw, 90px);
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.work__cta p {
    font-family: var(--font-serif);
    font-size: clamp(24px, 2.6vw, 36px);
    font-style: italic;
}

/* Portfolio ---------------------------------------------------------------- */

.portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.portfolio__filters button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    color: #5a6572;
    font-size: 11px;
    font-weight: 700;
    transition:
        background-color 0.3s var(--ease),
        border-color 0.3s var(--ease),
        color 0.3s var(--ease);
}

.portfolio__filters button span {
    color: #5b6572;
    font-size: 9px;
    font-weight: 800;
}

.portfolio__filters button:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.portfolio__filters button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--cream);
}

.portfolio__filters button.is-active span {
    color: var(--coral);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.2vw, 46px) clamp(20px, 2.4vw, 34px);
}

.portfolio__more {
    display: flex;
    justify-content: center;
    margin-top: clamp(36px, 4.5vw, 56px);
}

.portfolio__more[hidden] {
    display: none;
}

.portfolio-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: inherit;
}

.portfolio-card[hidden] {
    display: none;
}

.portfolio-card__visual {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 3;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.45s var(--ease),
        box-shadow 0.45s var(--ease);
}

.portfolio-card:hover .portfolio-card__visual {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -34px rgba(11, 16, 23, 0.55);
}

.portfolio-card__visual.tone-blue {
    background: linear-gradient(145deg, #0d3f68, #1c9bd2);
    color: #f7fbfe;
}

.portfolio-card__visual.tone-mint {
    background: linear-gradient(145deg, #d6eee2, #8bcbb0);
    color: #0c2d24;
}

.portfolio-card__visual.tone-coral {
    background: linear-gradient(145deg, #ffd0c0, #ff8d6e);
    color: #2b130c;
}

.portfolio-card__visual.tone-lime {
    background: linear-gradient(145deg, #eef8bd, #c8e957);
    color: #1e2a08;
}

.portfolio-card__visual.tone-sand {
    background: linear-gradient(145deg, #f1e9db, #d5c3a4);
    color: #251e12;
}

.portfolio-card__visual.tone-navy {
    background: linear-gradient(145deg, #081b30, #174d79);
    color: #f6f1e7;
}

.portfolio-card__orb {
    position: absolute;
    right: -16%;
    bottom: -42%;
    z-index: -1;
    width: 78%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-card__orb::before {
    position: absolute;
    inset: 18%;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    opacity: 0.16;
}

.portfolio-card__initial {
    font-family: var(--font-serif);
    font-size: clamp(54px, 5.4vw, 80px);
    font-style: italic;
    letter-spacing: -0.06em;
    line-height: 0.82;
}

.portfolio-card__label {
    position: absolute;
    top: 20px;
    left: 22px;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.78;
}

.portfolio-card__visit {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.7;
    transition:
        background-color 0.3s var(--ease),
        color 0.3s var(--ease),
        opacity 0.3s var(--ease),
        transform 0.35s var(--ease);
}

.portfolio-card__visit svg {
    width: 16px;
    height: 16px;
}

.portfolio-card:hover .portfolio-card__visit {
    background: currentColor;
    color: #fff;
    opacity: 1;
    transform: rotate(45deg);
}

.portfolio-card__visual.tone-mint .portfolio-card__visit,
.portfolio-card__visual.tone-coral .portfolio-card__visit,
.portfolio-card__visual.tone-lime .portfolio-card__visit,
.portfolio-card__visual.tone-sand .portfolio-card__visit {
    color: #101b17;
}

.portfolio-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    color: #596471;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.portfolio-card h3 {
    font-size: clamp(19px, 1.8vw, 25px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.1;
    transition: color 0.3s var(--ease);
}

.portfolio-card:hover h3 {
    color: var(--blue-deep);
}

.portfolio-card__domain {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #55616e;
    font-size: 11.5px;
    word-break: break-word;
}

.portfolio-card__domain span {
    color: var(--coral-deep);
    font-size: 12px;
    transition: transform 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-card__domain span {
    transform: translate(2px, -2px);
}

/* Process ------------------------------------------------------------------ */

.process__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(44px, 8vw, 120px);
}

.process__intro {
    position: sticky;
    top: 118px;
}

.process__intro .lede {
    margin-top: 24px;
}

.process__seal {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.36);
}

.process__seal img {
    width: 58px;
    height: auto;
}

.process__seal span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.process__list li {
    display: grid;
    padding: 24px 0 28px;
    border-top: 1px solid var(--line);
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
}

.process__list li:last-child {
    border-bottom: 1px solid var(--line);
}

.process__number {
    color: var(--blue);
    font-family: var(--font-serif);
    font-size: 30px;
    font-style: italic;
    line-height: 1;
}

.process__list h3 {
    margin-bottom: 6px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

.process__list p {
    max-width: 580px;
    color: #586474;
    font-size: 13.5px;
    line-height: 1.7;
}

/* Contact ------------------------------------------------------------------ */

.contact {
    overflow: hidden;
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
    gap: clamp(48px, 7vw, 100px);
}

.contact__intro h2 {
    max-width: 600px;
}

.contact__intro h2 em {
    color: var(--coral);
}

.contact__intro .lede {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.6);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 44px;
}

.contact__details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    color: var(--coral);
}

.contact__icon svg {
    width: 18px;
    height: 18px;
}

.contact__details li > span:last-child {
    display: flex;
    flex-direction: column;
    padding-top: 2px;
}

.contact__details small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact__details a,
.contact__address {
    max-width: 340px;
    color: var(--cream);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.contact__details a:hover {
    color: var(--coral);
}

.contact__map {
    margin-top: 38px;
    border: 1px solid var(--line-light);
    border-radius: 18px;
    overflow: hidden;
    filter: grayscale(1) contrast(0.95);
    opacity: 0.78;
    transition: filter 0.5s, opacity 0.5s;
}

.contact__map:hover {
    filter: grayscale(0.2);
    opacity: 1;
}

.contact__map iframe {
    display: block;
    width: 100%;
    height: 210px;
    border: 0;
    filter: invert(0.9) hue-rotate(180deg);
}

.contact__card {
    padding: clamp(26px, 3.4vw, 46px);
    border-radius: 30px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.7);
}

.contact__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact__card-head span:first-child {
    color: var(--ink);
}

/* Form --------------------------------------------------------------------- */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field--full {
    margin-top: 22px;
}

.field__label {
    color: #4a5563;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.field__label em {
    color: var(--coral-deep);
    font-style: normal;
}

.field__label small {
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(11, 16, 23, 0.17);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.42);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.field textarea {
    min-height: 132px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa3ad;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(28, 155, 210, 0.13);
}

.field select {
    appearance: none;
    padding-right: 34px;
    cursor: pointer;
}

.select-wrap {
    position: relative;
    display: block;
}

.select-wrap > svg {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 11px;
    height: 8px;
    color: var(--muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.field__meta {
    color: var(--muted);
    font-size: 9px;
}

.field__error {
    display: none;
    color: #c63d22;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #c63d22;
    background: rgba(198, 61, 34, 0.04);
}

.field.is-invalid .field__error,
.field__error.is-visible {
    display: block;
}

.field--hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    cursor: pointer;
}

.consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.consent__box {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    place-items: center;
    margin-top: 1px;
    border: 1px solid rgba(11, 16, 23, 0.3);
    border-radius: 5px;
    transition: background-color 0.2s, border-color 0.2s;
}

.consent__box svg {
    width: 11px;
    height: 9px;
    color: var(--cream);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.2s, transform 0.2s;
}

.consent input:checked + .consent__box {
    border-color: var(--ink);
    background: var(--ink);
}

.consent input:checked + .consent__box svg {
    opacity: 1;
    transform: none;
}

.consent input:focus-visible + .consent__box {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.consent__text {
    color: #5b6673;
    font-size: 11px;
    line-height: 1.55;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}

.btn--form {
    min-width: 210px;
}

.btn--form[disabled] {
    opacity: 0.6;
    pointer-events: none;
}

.form-note {
    max-width: 210px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
}

.form-error {
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid rgba(198, 61, 34, 0.28);
    border-radius: 8px;
    background: rgba(198, 61, 34, 0.06);
    color: #a8321c;
    font-size: 11.5px;
    line-height: 1.5;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success {
    padding: 10px 0;
}

.form-success__icon {
    display: block;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    color: var(--blue);
}

.form-success__icon svg {
    width: 100%;
    height: 100%;
}

.form-success h3 {
    max-width: 460px;
    margin-bottom: 14px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.form-success > p {
    max-width: 470px;
    color: #4f5b68;
    font-size: 13px;
    line-height: 1.7;
}

.form-success > p + .btn {
    margin-top: 26px;
}

.form-success strong {
    color: var(--ink);
}

/* Footer ------------------------------------------------------------------- */

.footer {
    padding: clamp(60px, 8vw, 100px) 0 30px;
    background: #080c12;
    color: var(--cream);
}

.footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: clamp(46px, 6vw, 72px);
    border-bottom: 1px solid var(--line-light);
}

.footer__brand img {
    width: min(568px, 72vw);
    height: auto;
}

.footer__brand p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.54);
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
}

.footer__hello {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: var(--cream);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.2;
    text-align: right;
    transition: color 0.3s;
}

.footer__hello span {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer__hello:hover {
    color: var(--coral);
}

.footer__cols {
    display: grid;
    padding: 48px 0 54px;
    grid-template-columns: 1fr 1fr 1.3fr 1fr;
    gap: 34px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer__col h3 {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer__col a,
.footer__col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.25s;
}

.footer__col a:hover {
    color: var(--coral);
}

.footer__col--hours p {
    max-width: 220px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
}

.footer__bottom button {
    padding: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s;
}

.footer__bottom button:hover {
    color: var(--coral);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1180px) {
    .story__chapters {
        display: none;
    }

    .story-panel__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .story-frame {
        width: min(100%, 390px);
    }

    .story-badge {
        left: -10px;
    }

    .services__layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    }
}

@media (max-width: 980px) {
    :root {
        --container: min(100% - 48px, 820px);
    }

    .main-nav,
    .header__cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .story {
        height: auto;
        background: #061a30;
    }

    .story__stage {
        position: relative;
        height: auto;
        min-height: 100svh;
        overflow: hidden;
        background: var(--stage-bg);
    }

    .story__track {
        display: flex;
        width: 100%;
        height: auto;
        transform: translate3d(0, 0, 0);
    }

    .story-panel {
        width: 100%;
        height: auto;
        min-height: 100svh;
        align-items: flex-start;
        padding: 112px 0 128px;
        background: var(--stage-bg);
        color: var(--stage-fg);
    }

    .story-panel__inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .story-panel__chapter {
        top: 30%;
        font-size: 58vw;
    }

    .story-panel__copy {
        max-width: 640px;
    }

    .story-panel__title {
        font-size: clamp(42px, 9.4vw, 72px);
    }

    .story-panel__visual {
        justify-content: flex-start;
        margin-top: 4px;
    }

    .story-frame {
        width: min(100%, 440px);
    }

    .story-badge {
        right: 20px;
        bottom: -22px;
        left: auto;
    }

    .story__dots {
        display: flex;
        bottom: 78px;
    }

    .story__nav {
        right: 16px;
        bottom: 20px;
        gap: 8px;
    }

    .story__nav > button {
        width: 38px;
        height: 38px;
    }

    .story__orb--one {
        width: 70vw;
        height: 70vw;
    }

    .story__orb--two {
        width: 55vw;
        height: 55vw;
    }

    .section-head--split {
        display: block;
    }

    .section-head--split .lede {
        max-width: 560px;
        margin-top: 24px;
    }

    .studio__grid {
        grid-template-columns: 1fr;
    }

    .studio__stamp {
        right: 16px;
        bottom: -30px;
        width: 130px;
        height: 130px;
    }

    .services__layout {
        grid-template-columns: 1fr;
    }

    .services__preview {
        display: none;
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-row__summary,
    .service-row__tags {
        max-height: none;
        opacity: 1;
    }

    .service-row__summary {
        margin-top: 10px;
    }

    .service-row__tags {
        margin-top: 12px;
    }

    .process__grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .process__intro {
        position: static;
    }

    .process__seal {
        margin-top: 32px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__intro {
        max-width: 660px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }
}

@media (max-width: 760px) {
    :root {
        --container: calc(100vw - 40px);
    }

    .header__inner {
        height: 90px;
        gap: 8px;
    }

    .story-panel {
        padding: 96px 0 124px;
    }

    .story-panel__title {
        font-size: clamp(40px, 11.5vw, 64px);
    }

    .story-panel__body {
        margin-top: 22px;
        font-size: 15px;
    }

    .story-panel__actions {
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 28px;
    }

    .story-frame {
        padding: 9px;
        border-radius: 20px;
    }

    .story-frame__image {
        aspect-ratio: 4 / 3.7;
        border-radius: 13px;
    }

    .story-badge {
        padding: 10px 13px;
    }

    .story-badge img {
        width: 46px;
    }

    .marquee-section {
        padding: 20px 0;
    }

    .stats__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stats__note {
        max-width: 420px;
        text-align: left;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat {
        min-height: 168px;
        padding: 20px 18px;
    }

    .stat__index {
        top: 16px;
        right: 16px;
        font-size: 15px;
    }

    .stat strong {
        font-size: clamp(44px, 9vw, 62px);
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .portfolio__filters {
        flex-wrap: nowrap;
        margin-inline: -20px;
        padding: 2px 20px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .portfolio__filters::-webkit-scrollbar {
        display: none;
    }

    .portfolio__filters button {
        flex: 0 0 auto;
    }

    .work__cta {
        display: block;
    }

    .work__cta .btn {
        margin-top: 20px;
    }

    .process__list li {
        grid-template-columns: 54px 1fr;
        gap: 14px;
    }

    .process__number {
        font-size: 24px;
    }

    .process__list h3 {
        font-size: 23px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        display: block;
    }

    .form-note {
        max-width: none;
        margin-top: 12px;
    }

    .contact__card {
        border-radius: 22px;
    }

    .footer__top {
        display: block;
    }

    .footer__hello {
        align-items: flex-start;
        margin-top: 30px;
        text-align: left;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer__bottom button {
        margin-top: 8px;
    }
}

@media (max-width: 520px) {
    .section-head h2,
    .process__intro h2,
    .contact__intro h2 {
        font-size: 36px;
    }

    .stat {
        min-height: 158px;
        padding: 18px 15px;
        border-radius: 20px;
    }

    .stat__index {
        top: 14px;
        right: 14px;
        font-size: 13px;
    }

    .stat strong {
        font-size: clamp(38px, 10.5vw, 48px);
    }

    .stat__label {
        max-width: 130px;
        margin-top: 12px;
        font-size: 9.5px;
        letter-spacing: 0.12em;
    }

    .studio__values {
        grid-template-columns: 1fr;
    }

    .studio__stamp {
        width: 112px;
        height: 112px;
    }

    .studio__stamp strong {
        font-size: 19px;
    }

    .service-row {
        grid-template-columns: 34px 1fr 36px;
        gap: 10px;
    }

    .service-row__title {
        font-size: 22px;
    }

    .service-row__arrow {
        width: 34px;
        height: 34px;
    }

    .section-head--split .lede {
        font-size: 15px;
    }

    .contact__details a,
    .contact__address {
        font-size: 13px;
    }

    .footer__cols {
        grid-template-columns: 1fr;
    }
}

@media (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
