:root {
    --blue-950: #052f57;
    --blue-900: #073d70;
    --blue-800: #07539a;
    --blue-700: #0b67ba;
    --blue-100: #e8f4ff;
    --orange-600: #e95f00;
    --orange-500: #fb750c;
    --orange-100: #fff0e3;
    --ink: #102538;
    --muted: #5a6a78;
    --line: #d9e3ea;
    --paper: #ffffff;
    --canvas: #f5f8fa;
    --success: #1f815c;
    --shadow-sm: 0 8px 24px rgba(7, 46, 80, 0.08);
    --shadow-md: 0 20px 60px rgba(4, 39, 70, 0.14);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --shell: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(251, 117, 12, 0.45);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h1 {
    max-width: 770px;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 6.4vw, 5.4rem);
}

.hero h1 {
    font-size: clamp(2.6rem, 5.8vw, 5rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.1rem, 4.2vw, 3.8rem);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

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

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--paper);
    background: var(--blue-950);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(9, 75, 132, 0.1);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 24px rgba(4, 42, 74, 0.04);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    min-width: 210px;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 66px;
    height: 64px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    color: var(--blue-900);
    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.brand-copy span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    position: relative;
    color: #294557;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--orange-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav .nav-cta {
    padding: 11px 17px;
    border-radius: 999px;
    color: var(--paper);
    background: var(--blue-800);
    box-shadow: 0 8px 20px rgba(7, 83, 154, 0.18);
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.site-nav .nav-cta:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 0;
    color: var(--blue-900);
    background: transparent;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 9vw, 120px) 0 94px;
    background:
        radial-gradient(circle at 10% 15%, rgba(137, 207, 255, 0.34), transparent 26%),
        radial-gradient(circle at 93% 12%, rgba(255, 171, 85, 0.28), transparent 26%),
        linear-gradient(145deg, #f8fcff 0%, #edf6ff 48%, #fff9f3 100%);
}

.hero::after {
    position: absolute;
    right: -160px;
    bottom: -245px;
    width: 620px;
    height: 620px;
    border: 80px solid rgba(8, 91, 165, 0.05);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: clamp(45px, 7vw, 90px);
}

.eyebrow {
    margin-bottom: 15px;
    color: var(--orange-600);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-intro {
    max-width: 690px;
    margin-bottom: 30px;
    color: #40586a;
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    line-height: 1.7;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--paper);
    background: var(--orange-600);
    box-shadow: 0 12px 26px rgba(233, 95, 0, 0.22);
}

.button-primary:hover {
    background: #cf5100;
    box-shadow: 0 16px 30px rgba(213, 83, 0, 0.28);
}

.button-secondary {
    border-color: rgba(7, 83, 154, 0.18);
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.66);
}

.button-secondary:hover {
    border-color: var(--blue-700);
    background: var(--paper);
}

.button-outline {
    border-color: var(--blue-800);
    color: var(--blue-800);
    background: transparent;
}

.button-outline:hover {
    color: var(--paper);
    background: var(--blue-800);
}

.hero-note {
    display: flex;
    margin: 24px 0 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #577083;
    font-size: 0.88rem;
    font-weight: 650;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    position: absolute;
    top: 8%;
    right: -8%;
    width: 72%;
    height: 72%;
    border-radius: 50%;
    content: "";
    background: var(--orange-500);
    filter: blur(70px);
    opacity: 0.17;
}

.motion-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(150deg, rgba(10, 96, 173, 0.98), rgba(4, 42, 78, 0.99));
    box-shadow: 0 30px 80px rgba(4, 45, 82, 0.28);
    transform: rotate(1.5deg);
}

.motion-card-topline {
    display: flex;
    padding: 2px 5px 14px;
    align-items: center;
    gap: 8px;
    color: #dcefff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #62e6ae;
    box-shadow: 0 0 0 5px rgba(98, 230, 174, 0.14);
}

.motion-frame {
    overflow: hidden;
    border: 8px solid var(--paper);
    border-radius: 21px;
    background: var(--paper);
    box-shadow: 0 14px 28px rgba(0, 24, 48, 0.22);
}

.motion-frame img {
    width: 100%;
    aspect-ratio: 29 / 22.5;
    object-fit: contain;
}

.motion-features {
    display: grid;
    padding: 14px 5px 3px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    color: #e7f5ff;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.motion-features span {
    padding: 7px 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.spec-strip {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

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

.spec-grid > div {
    display: flex;
    min-height: 108px;
    padding: 22px 30px;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.spec-grid > div:first-child {
    border-left: 1px solid var(--line);
}

.spec-grid strong {
    color: var(--blue-900);
    font-size: 1.03rem;
}

.spec-grid span {
    color: var(--muted);
    font-size: 0.84rem;
}

.section {
    padding: clamp(84px, 10vw, 132px) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading > p:not(.eyebrow) {
    max-width: 700px;
    margin-bottom: 0;
    font-size: 1.08rem;
}

.section-dark {
    position: relative;
    overflow: hidden;
    color: var(--paper);
    background:
        radial-gradient(circle at 90% 20%, rgba(18, 126, 213, 0.38), transparent 33%),
        linear-gradient(145deg, var(--blue-950), #06233d);
}

.section-dark::after {
    position: absolute;
    right: -150px;
    bottom: -250px;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.025),
        0 0 0 140px rgba(255, 255, 255, 0.018);
    content: "";
}

.section-heading-light {
    position: relative;
    z-index: 1;
}

.section-heading-light h2,
.section-heading-light p:not(.eyebrow) {
    color: var(--paper);
}

.section-heading-light p:not(.eyebrow) {
    opacity: 0.76;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
}

.product-card:hover {
    border-color: #bad7ec;
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.product-number {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 50%;
    place-items: center;
    color: var(--paper);
    background: rgba(5, 47, 87, 0.76);
    font-size: 0.72rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.product-image,
.postcard-visual {
    display: grid;
    min-height: 280px;
    padding: 22px;
    place-items: center;
    background:
        linear-gradient(135deg, #e7f5ff, #f8fbfd 46%, #fff1e5);
}

.product-image img {
    width: min(100%, 246px);
    max-height: 245px;
    object-fit: contain;
    filter: drop-shadow(0 16px 17px rgba(7, 61, 104, 0.16));
}

.product-image.landscape img {
    width: min(100%, 315px);
}

.product-card-copy {
    display: flex;
    padding: 28px 28px 31px;
    flex: 1;
    flex-direction: column;
}

.product-card-copy p {
    margin-bottom: 21px;
}

.product-card-copy .product-kicker {
    margin-bottom: 8px;
    color: var(--orange-600);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-card-copy .text-link {
    margin-top: auto;
}

.text-link {
    color: var(--blue-800);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.postcard-visual {
    grid-template-columns: 1.45fr 0.65fr;
    gap: 12px;
}

.postcard-scene,
.postcard-lines {
    height: 190px;
    border: 7px solid var(--paper);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(7, 61, 104, 0.17);
}

.postcard-scene {
    display: flex;
    padding: 18px;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--paper);
    background:
        linear-gradient(0deg, rgba(4, 35, 63, 0.75), transparent 75%),
        radial-gradient(circle at 68% 22%, #ffd668 0 10%, transparent 10.5%),
        linear-gradient(150deg, #c3e9ff 0 41%, #4d95c8 42% 51%, #1d6d8e 52% 62%, #346c38 63%);
    transform: rotate(-2deg);
}

.postcard-scene span {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.postcard-scene strong {
    font-size: 1.4rem;
    line-height: 1;
}

.postcard-lines {
    display: flex;
    padding: 42px 12px 20px;
    flex-direction: column;
    gap: 14px;
    background: var(--paper);
    transform: rotate(2deg);
}

.postcard-lines::before {
    width: 42px;
    height: 34px;
    margin: -26px 0 4px auto;
    border: 2px solid #b8c6cf;
    content: "";
}

.postcard-lines i {
    display: block;
    height: 2px;
    background: #c9d4db;
}

.benefit-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.benefit-grid article {
    min-height: 270px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(8px);
}

.benefit-grid h3 {
    color: var(--paper);
}

.benefit-grid p {
    margin: 0;
    color: #c3d6e5;
    font-size: 0.94rem;
}

.benefit-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    border-radius: 14px;
    place-items: center;
    color: var(--paper);
    background: var(--orange-600);
    font-size: 1.35rem;
    font-weight: 800;
}

.featured-section {
    background: var(--canvas);
}

.split-heading {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.split-heading > div {
    max-width: 740px;
}

.split-heading h2 {
    margin-bottom: 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.featured-grid figure {
    margin: 0;
}

.featured-grid figure > div {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.featured-grid img {
    position: absolute;
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    object-fit: contain;
}

.featured-grid figcaption {
    padding: 14px 4px 0;
    color: var(--blue-900);
    font-size: 0.9rem;
    font-weight: 800;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
    align-items: start;
    gap: clamp(55px, 9vw, 120px);
}

.process-layout .section-heading {
    position: sticky;
    top: 120px;
    margin: 0;
}

.process-layout .button {
    margin-top: 12px;
}

.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    padding: 34px 0;
    grid-template-columns: 68px 1fr;
    gap: 24px;
    border-top: 1px solid var(--line);
}

.process-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.process-list > li > span {
    display: grid;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    place-items: center;
    color: var(--paper);
    background: var(--blue-800);
    font-size: 0.8rem;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(7, 83, 154, 0.2);
}

.process-list h3 {
    margin-top: 3px;
}

.process-list p {
    margin: 0;
}

.about-section {
    background:
        linear-gradient(115deg, #eaf5fd 0, #f8fbfd 48%, #fff5ec 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: clamp(50px, 9vw, 110px);
}

.about-mark {
    position: relative;
    display: grid;
    min-height: 410px;
    padding: 32px;
    border: 1px solid rgba(7, 83, 154, 0.12);
    border-radius: var(--radius-lg);
    place-items: center;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-md);
}

.about-mark::before {
    position: absolute;
    width: 73%;
    height: 73%;
    border: 1px solid rgba(7, 83, 154, 0.12);
    border-radius: 50%;
    content: "";
}

.about-mark img {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
}

.about-grid > div:last-child > p:not(.eyebrow) {
    max-width: 680px;
    font-size: 1.04rem;
}

.about-points {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 10px;
}

.about-points span {
    padding: 8px 13px;
    border: 1px solid rgba(7, 83, 154, 0.14);
    border-radius: 999px;
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.79rem;
    font-weight: 800;
}

.contact-section {
    padding: clamp(84px, 10vw, 132px) 0;
    background: var(--blue-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
    align-items: start;
    gap: clamp(50px, 8vw, 100px);
}

.contact-copy {
    padding-top: 30px;
}

.contact-copy h2,
.contact-copy > p:not(.eyebrow) {
    color: var(--paper);
}

.contact-copy > p:not(.eyebrow) {
    opacity: 0.77;
}

.contact-details {
    display: grid;
    margin-top: 36px;
    gap: 13px;
}

.contact-details a {
    display: flex;
    padding: 14px 0;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--paper);
    font-weight: 750;
    text-decoration: none;
}

.contact-details span {
    min-width: 52px;
    color: #9ec8e9;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-panel {
    padding: clamp(28px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: 0 24px 70px rgba(0, 19, 37, 0.32);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #294455;
    font-size: 0.8rem;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #c9d6de;
    border-radius: 11px;
    color: var(--ink);
    background: #fbfdfe;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.field input,
.field select {
    height: 49px;
    padding: 0 13px;
}

.field textarea {
    min-height: 134px;
    padding: 12px 13px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(11, 103, 186, 0.1);
}

.form-submit {
    width: 100%;
    border: 0;
}

.form-note {
    margin: 12px 0 0;
    font-size: 0.78rem;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.site-footer {
    padding: 46px 0;
    color: #d9e7f1;
    background: #041f36;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.footer-brand {
    color: var(--paper);
    font-size: 1.13rem;
    font-weight: 850;
    text-decoration: none;
}

.footer-grid > div p,
.copyright {
    margin: 4px 0 0;
    color: #9eb5c5;
    font-size: 0.78rem;
}

.footer-grid nav {
    display: flex;
    gap: 22px;
}

.footer-grid nav a {
    color: #d9e7f1;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

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

.copyright {
    text-align: right;
}

/* Sample gallery */
.gallery-hero {
    padding: clamp(68px, 9vw, 112px) 0 70px;
    color: var(--paper);
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 141, 45, 0.33), transparent 28%),
        linear-gradient(145deg, var(--blue-800), var(--blue-950));
}

.gallery-hero .eyebrow {
    color: #ffc18b;
}

.gallery-hero h1 {
    max-width: 900px;
    color: var(--paper);
}

.gallery-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 30px;
    color: #d7e9f7;
    font-size: 1.12rem;
}

.gallery-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.gallery-jump a {
    display: inline-flex;
    min-height: 45px;
    padding: 9px 17px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: var(--paper);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.gallery-jump a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.gallery-section {
    padding: 82px 0;
    background: var(--canvas);
}

.gallery-section + .gallery-section {
    padding-top: 0;
}

.gallery-section-heading {
    display: flex;
    margin-bottom: 28px;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.gallery-section-heading h2 {
    margin-bottom: 7px;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.gallery-section-heading p {
    max-width: 650px;
    margin-bottom: 0;
}

.gallery-count {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue-900);
    background: var(--paper);
    font-size: 0.78rem;
    font-weight: 850;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.gallery-card:hover {
    border-color: #b5d4ea;
    box-shadow: 0 17px 42px rgba(5, 52, 92, 0.13);
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 325px;
    padding: 18px;
    place-items: center;
    background: #ffffff;
}

.gallery-image::after {
    position: absolute;
    right: 14px;
    bottom: 13px;
    padding: 5px 9px;
    border-radius: 999px;
    content: "Motion preview";
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(5, 47, 87, 0.12);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-image img {
    width: 100%;
    max-width: 100%;
    max-height: 330px;
    object-fit: contain;
}

.gallery-image img[data-src] {
    min-height: 240px;
    opacity: 0;
}

.gallery-image img.is-loaded {
    min-height: 0;
    opacity: 1;
    transition: opacity 220ms ease;
}

.image-loading {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7890a1;
    font-size: 0.76rem;
    font-weight: 750;
}

.image-loading::before {
    width: 18px;
    height: 18px;
    border: 2px solid #d5e2ea;
    border-top-color: var(--blue-700);
    border-radius: 50%;
    content: "";
    animation: spin 700ms linear infinite;
}

.gallery-image.has-error .image-loading::before {
    display: none;
}

.gallery-image.has-error .image-loading {
    color: #9b2c2c;
}

.gallery-card-info {
    display: grid;
    padding: 18px 20px 20px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e8eef2;
}

.gallery-code {
    margin-bottom: 3px;
    color: var(--blue-800);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.gallery-name {
    color: #425b6c;
    font-size: 0.88rem;
}

.gallery-inquire {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--paper);
    background: var(--orange-600);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.gallery-inquire:hover {
    background: var(--blue-800);
    transform: translateX(2px);
}

.gallery-note {
    display: flex;
    margin-top: 28px;
    padding: 18px 21px;
    align-items: center;
    gap: 13px;
    border: 1px solid #c7dcea;
    border-radius: 14px;
    color: #425f72;
    background: var(--blue-100);
    font-size: 0.88rem;
}

.gallery-note strong {
    color: var(--blue-900);
}

.gallery-cta {
    padding: 76px 0;
    text-align: center;
    background: linear-gradient(130deg, #fff4ea, #f7fbfe);
}

.gallery-cta h2 {
    max-width: 780px;
    margin-inline: auto;
}

.gallery-cta p {
    max-width: 680px;
    margin: 0 auto 26px;
}

/* Thank-you page */
.thank-you-page {
    display: grid;
    min-height: calc(100vh - 84px);
    padding: 70px 0;
    place-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(124, 205, 255, 0.32), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(251, 117, 12, 0.22), transparent 26%),
        var(--canvas);
}

.thank-you-card {
    width: min(calc(100% - 40px), 720px);
    padding: clamp(36px, 7vw, 72px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.success-mark {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    place-items: center;
    color: var(--paper);
    background: var(--success);
    font-size: 2rem;
    font-weight: 800;
}

.thank-you-card h1 {
    margin-inline: auto;
    font-size: clamp(2.4rem, 6vw, 4rem);
}

.thank-you-card p {
    max-width: 540px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1050px) {
    .site-nav {
        gap: 18px;
    }

    .site-nav a {
        font-size: 0.86rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
        gap: 45px;
    }

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

    .benefit-grid article {
        min-height: 235px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 76px;
    }

    .brand-logo {
        width: 58px;
        height: 56px;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        display: inline-flex;
        padding: 10px;
        align-items: center;
        gap: 10px;
    }

    .menu-toggle-label {
        font-size: 0.78rem;
        font-weight: 800;
    }

    .menu-lines,
    .menu-lines::before,
    .menu-lines::after {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition:
            top 180ms ease,
            transform 180ms ease;
    }

    .menu-lines {
        position: relative;
    }

    .menu-lines::before,
    .menu-lines::after {
        position: absolute;
        left: 0;
        content: "";
    }

    .menu-lines::before {
        top: -7px;
    }

    .menu-lines::after {
        top: 7px;
    }

    .menu-toggle[aria-expanded="true"] .menu-lines {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-lines::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-lines::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: -20px;
        left: -20px;
        display: none;
        padding: 20px;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 18px 32px rgba(5, 45, 78, 0.13);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 10px;
        font-size: 0.98rem;
    }

    .site-nav .nav-cta {
        margin-top: 9px;
        padding: 13px 17px;
        text-align: center;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1,
    .hero-intro {
        margin-right: auto;
        margin-left: auto;
    }

    .button-row,
    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 600px);
        margin-inline: auto;
    }

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

    .spec-grid > div:first-child {
        border-left: 0;
    }

    .spec-grid > div:nth-child(2) {
        border-right: 0;
    }

    .spec-grid > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

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

    .product-card {
        display: grid;
        grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    }

    .product-card-copy {
        padding: 36px;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .process-layout .section-heading {
        position: static;
    }

    .about-mark {
        width: min(100%, 500px);
        min-height: 380px;
        margin-inline: auto;
    }

    .contact-grid {
        gap: 44px;
    }

    .contact-copy {
        max-width: 650px;
        padding-top: 0;
    }

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

    .footer-grid nav {
        justify-content: flex-end;
    }

    .copyright {
        grid-column: 1 / -1;
        text-align: left;
    }

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

@media (max-width: 680px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .brand {
        min-width: 0;
    }

    .brand-copy span {
        display: none;
    }

    .brand-logo {
        width: 52px;
        height: 50px;
    }

    .header-inner {
        min-height: 70px;
    }

    .site-nav {
        right: -14px;
        left: -14px;
    }

    .hero {
        padding: 62px 0 68px;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.7rem);
    }

    h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-grid {
        gap: 42px;
    }

    .button-row {
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .hero-note {
        display: block;
        text-align: center;
    }

    .hero-note span {
        display: none;
    }

    .motion-card {
        padding: 11px;
        border-radius: 24px;
        transform: none;
    }

    .motion-frame {
        border-width: 5px;
        border-radius: 16px;
    }

    .motion-features {
        grid-template-columns: 1fr;
    }

    .motion-features span:nth-child(n + 2) {
        display: none;
    }

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

    .spec-grid > div {
        min-height: 86px;
        padding: 17px 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        text-align: center;
    }

    .spec-grid > div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 76px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .product-card {
        display: flex;
    }

    .product-image,
    .postcard-visual {
        min-height: 255px;
    }

    .product-card-copy {
        padding: 26px 23px 28px;
    }

    .benefit-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid article {
        min-height: 0;
    }

    .split-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .split-heading .button {
        width: 100%;
    }

    .process-list li {
        padding: 28px 0;
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }

    .process-list > li > span {
        width: 46px;
        height: 46px;
    }

    .about-mark {
        min-height: 310px;
        padding: 22px;
    }

    .form-panel {
        border-radius: 24px;
    }

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

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

    .footer-grid nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .copyright {
        grid-column: auto;
    }

    .gallery-hero {
        padding: 62px 0;
    }

    .gallery-section {
        padding: 68px 0;
    }

    .gallery-section + .gallery-section {
        padding-top: 0;
    }

    .gallery-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
    }

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

    .gallery-image {
        min-height: 300px;
    }
}

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