:root {
    color-scheme: dark;
    --black: #050505;
    --carbon: #0d0d0f;
    --panel: #141416;
    --panel-soft: #1b1b1e;
    --white: #ffffff;
    --muted: #b8b8bd;
    --soft: #e6e6e8;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --red: #e50914;
    --red-dark: #970811;
    --mat-blue: #2c8ecb;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
    --container: 1180px;
    --radius: 8px;
    --header-height: 74px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    min-width: 320px;
    max-width: 100%;
    background:
        linear-gradient(180deg, rgba(229, 9, 20, 0.08), transparent 360px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        var(--black);
    background-size: auto, 64px 64px, auto;
    color: var(--white);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
}

body.nav-open,
body.lightbox-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    color: inherit;
}

main {
    min-height: 70vh;
}

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

h1,
h2,
h3 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-weight: 400;
    line-height: 0.96;
    overflow-wrap: anywhere;
}

h1 {
    max-width: 920px;
    font-size: 3.7rem;
}

h2 {
    font-size: 2.9rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-140%);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--black);
    padding: 10px 14px;
    transition: transform 180ms ease;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 5, 0.76);
    backdrop-filter: blur(18px);
    transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(5, 5, 5, 0.94);
}

.header-inner {
    width: min(100% - 24px, 1260px);
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 58px);
    font-weight: 800;
}

.brand-link img {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}

.brand-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--white);
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) translateY(-7px);
}

.nav-toggle span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) translateY(7px);
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 10, 11, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.site-nav a {
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--soft);
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    background: rgba(229, 9, 20, 0.16);
    color: var(--white);
    outline: none;
}

.header-cta {
    display: none;
    flex: 0 0 auto;
    border: 1px solid rgba(229, 9, 20, 0.6);
    border-radius: 6px;
    background: var(--red);
    color: var(--white);
    padding: 10px 14px;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-1px);
    background: #ff111d;
    box-shadow: 0 16px 34px rgba(229, 9, 20, 0.28);
    outline: none;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 12px 18px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.btn-primary {
    border-color: rgba(229, 9, 20, 0.74);
    background: var(--red);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(229, 9, 20, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #ff121d;
}

.btn-secondary {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.11);
}

.btn-danger {
    border-color: rgba(229, 9, 20, 0.6);
    background: rgba(229, 9, 20, 0.16);
    color: var(--white);
}

.btn-small {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.9rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
}

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

.text-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 800;
}

.text-link::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--red);
    transform-origin: left center;
    transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
    transform: scaleX(1.35);
}

.hero {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: calc(var(--header-height) + 70px) 0 52px;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.68) 52%, rgba(5, 5, 5, 0.98) 100%),
        linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.5) 46%, rgba(5, 5, 5, 0.94) 100%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--black);
}

.hero-logo-mark {
    position: absolute;
    top: 92px;
    left: 50%;
    width: min(72%, 330px);
    border-radius: var(--radius);
    opacity: 0.92;
    transform: translateX(-50%);
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.6));
}

.hero-still {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-still img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
}

.hero-still-1 {
    top: 165px;
    right: -8%;
    width: 44%;
    aspect-ratio: 9 / 16;
    transform: rotate(3deg);
}

.hero-still-2 {
    top: 248px;
    left: -12%;
    width: 37%;
    aspect-ratio: 9 / 16;
    transform: rotate(-4deg);
}

.hero-still-3 {
    right: 18%;
    bottom: 280px;
    width: 34%;
    aspect-ratio: 9 / 15;
    transform: rotate(-2deg);
}

.hero-still-4 {
    right: 4%;
    bottom: 140px;
    width: 54%;
    aspect-ratio: 9 / 16;
}

.hero-still-5 {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 18px;
    text-wrap: balance;
}

.hero-subtitle {
    max-width: 690px;
    margin-bottom: 26px;
    color: var(--soft);
    font-size: 1.06rem;
}

.trust-strip {
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

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

.trust-inner span {
    min-height: 76px;
    display: grid;
    place-items: center;
    border-left: 1px solid var(--line);
    color: var(--white);
    font-weight: 800;
    text-align: center;
}

.trust-inner span:last-child {
    border-right: 1px solid var(--line);
}

.section {
    padding: 76px 0;
}

.section-muted {
    border-block: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        var(--carbon);
}

.section-heading {
    max-width: 790px;
    margin-bottom: 32px;
}

.section-heading h2,
.final-cta h2,
.page-hero h1 {
    margin-bottom: 16px;
    text-wrap: balance;
}

.section-heading p {
    max-width: 680px;
}

.row-heading {
    display: grid;
    gap: 18px;
    max-width: none;
}

.capture-grid,
.process-grid,
.services-grid,
.admin-stat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.capture-card,
.service-card,
.process-step,
.stat-card,
.contact-panel,
.contact-aside,
.admin-panel,
.admin-login-card,
.empty-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.capture-card,
.service-card,
.process-step,
.stat-card {
    padding: 22px;
}

.capture-card h3,
.service-card h2,
.process-step h3 {
    margin-bottom: 10px;
}

.capture-card p,
.service-card p,
.process-step p {
    margin-bottom: 0;
}

.card-slash {
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 18px;
    background: var(--red);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.featured-tile,
.gallery-tile {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

.featured-tile img,
.gallery-tile img {
    width: 100%;
    height: auto;
    transition: transform 360ms ease, filter 360ms ease;
}

.featured-tile {
    aspect-ratio: 4 / 5;
}

.featured-tile img {
    height: 100%;
    object-fit: cover;
}

.featured-tile span,
.gallery-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 3px;
    padding: 38px 14px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
    color: var(--white);
    font-weight: 800;
    text-align: left;
}

.gallery-caption small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.featured-tile:hover img,
.featured-tile:focus-visible img,
.gallery-tile:hover img,
.gallery-tile:focus-visible img {
    transform: scale(1.045);
    filter: saturate(1.12) contrast(1.06);
}

.featured-tile:focus-visible,
.gallery-tile:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

.process-step span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--red);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.4rem;
    line-height: 1;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(151, 8, 17, 0.92), rgba(5, 5, 5, 0.86)),
        url("../../ippon_1.jpg") center / cover;
}

.final-cta-inner {
    max-width: 820px;
}

.final-cta p {
    color: var(--soft);
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-height) + 96px) 0 72px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.94)),
        linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(151, 8, 17, 0.35));
}

.compact-hero {
    min-height: 470px;
}

.page-hero p {
    max-width: 720px;
    color: var(--soft);
}

.page-hero .btn {
    margin-top: 8px;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-image {
    position: absolute;
    top: var(--header-height);
    right: -42px;
    bottom: 0;
    width: min(50%, 430px);
    opacity: 0.42;
}

.page-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--black), transparent 55%, var(--black));
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.masonry-gallery {
    column-count: 1;
    column-gap: 16px;
}

.gallery-tile {
    display: block;
    margin: 0 0 16px;
    break-inside: avoid;
}

.services-grid {
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.contact-layout {
    display: grid;
    gap: 16px;
}

.contact-panel,
.contact-aside {
    padding: 22px;
}

.contact-aside {
    display: grid;
    align-content: start;
    gap: 12px;
}

.contact-aside img {
    width: 138px;
    height: 138px;
    aspect-ratio: 1 / 1;
    justify-self: start;
    align-self: start;
    object-fit: contain;
    background: var(--black);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-form,
.admin-form {
    display: grid;
    gap: 12px;
}

.contact-form label,
.admin-form label {
    color: var(--white);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(5, 5, 5, 0.74);
    color: var(--white);
    padding: 13px 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(229, 9, 20, 0.75);
    background: rgba(5, 5, 5, 0.94);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.14);
}

textarea {
    resize: vertical;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field small {
    color: var(--muted);
    font-weight: 700;
}

.option-stack {
    display: grid;
    gap: 8px;
}

.option-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    padding: 12px;
    cursor: pointer;
}

.option-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--red);
}

.option-row span {
    color: var(--soft);
    font-weight: 700;
    line-height: 1.35;
}

.alert {
    margin: 0 0 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-weight: 700;
}

.alert p {
    margin: 0;
    color: inherit;
}

.alert p + p {
    margin-top: 6px;
}

.alert.success {
    border-color: rgba(44, 142, 203, 0.55);
    background: rgba(44, 142, 203, 0.14);
}

.alert.error {
    border-color: rgba(229, 9, 20, 0.6);
    background: rgba(229, 9, 20, 0.14);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #070707;
    padding: 30px 0;
}

.footer-inner {
    display: grid;
    gap: 18px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.footer-brand img {
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    object-fit: cover;
}

.footer-copy p {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: var(--soft);
    font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--white);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-frame {
    width: min(100%, 980px);
    max-height: 88vh;
    margin: 0;
    display: grid;
    gap: 12px;
}

.lightbox-frame img {
    max-height: 80vh;
    width: 100%;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--black);
}

.lightbox-frame figcaption {
    color: var(--soft);
    font-weight: 800;
    text-align: center;
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.admin-section {
    padding: calc(var(--header-height) + 48px) 0 76px;
}

.admin-shell {
    display: grid;
    gap: 20px;
}

.admin-shell.narrow {
    max-width: 820px;
}

.admin-heading {
    display: grid;
    gap: 16px;
    align-items: end;
}

.admin-heading h1 {
    margin-bottom: 8px;
}

.admin-login-section {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--header-height) + 40px) 16px 48px;
}

.admin-login-card {
    width: min(100%, 480px);
    padding: 24px;
}

.admin-login-card img {
    width: 132px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-panel {
    padding: 20px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-heading h2,
.empty-panel h2 {
    margin-bottom: 0;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 3rem;
    line-height: 1;
}

.admin-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-preview-grid figure,
.edit-preview {
    margin: 0;
}

.admin-preview-grid img,
.edit-preview img,
.admin-thumb {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.admin-preview-grid figcaption,
.edit-preview figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.edit-preview img {
    max-height: 420px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.admin-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 14px;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--soft);
    font-size: 0.86rem;
}

.admin-table td small {
    display: block;
    max-width: 360px;
    color: var(--muted);
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-thumb {
    width: 72px;
    height: 84px;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.empty-state {
    margin-bottom: 0;
}

.empty-panel {
    padding: 24px;
}

.form-editor-panel {
    display: grid;
    gap: 14px;
}

.field-editor {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    padding: 14px;
}

.field-editor summary {
    color: var(--white);
    cursor: pointer;
    font-weight: 900;
}

.field-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 14px 0;
}

.field-actions {
    align-items: center;
    margin-top: 12px;
}

.submission-list {
    display: grid;
    gap: 16px;
}

.submission-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    padding: 18px;
}

.submission-head {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.submission-head h2 {
    margin-bottom: 4px;
}

.submission-head p,
.submission-meta {
    color: var(--muted);
    font-weight: 700;
}

.submission-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.status-pill {
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 10px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-sent {
    border-color: rgba(44, 142, 203, 0.6);
    background: rgba(44, 142, 203, 0.16);
}

.status-failed,
.status-not_configured {
    border-color: rgba(229, 9, 20, 0.6);
    background: rgba(229, 9, 20, 0.14);
}

.response-grid {
    display: grid;
    gap: 10px;
    margin: 0;
}

.response-grid div {
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.response-grid dt {
    color: var(--white);
    font-weight: 900;
}

.response-grid dd {
    margin: 4px 0 0;
    color: var(--muted);
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 560px) {
    .featured-grid,
    .admin-preview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (min-width: 720px) {
    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3.8rem;
    }

    .section {
        padding: 96px 0;
    }

    .capture-grid,
    .process-grid,
    .services-grid,
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .row-heading,
    .contact-layout,
    .admin-heading {
        grid-template-columns: 1fr auto;
    }

    .masonry-gallery {
        column-count: 2;
    }

    .footer-inner {
        grid-template-columns: 1fr 2fr auto;
        align-items: center;
    }

    .page-hero {
        min-height: 610px;
    }

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

    .submission-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }
}

@media (min-width: 1080px) {
    .brand-link {
        max-width: none;
    }

    .header-cta {
        display: inline-flex;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    .hero {
        min-height: 820px;
        padding-bottom: 84px;
    }

    .hero-logo-mark {
        top: 108px;
        left: 64%;
        width: 300px;
    }

    .hero-still-1 {
        top: 142px;
        right: 11%;
        width: 210px;
    }

    .hero-still-2 {
        top: 300px;
        left: auto;
        right: 34%;
        width: 170px;
    }

    .hero-still-3 {
        right: 4%;
        bottom: 220px;
        width: 210px;
    }

    .hero-still-4 {
        right: 19%;
        bottom: 104px;
        width: 275px;
    }

    .hero-still-5 {
        display: block;
        right: 46%;
        bottom: 92px;
        width: 165px;
        aspect-ratio: 9 / 16;
        transform: rotate(4deg);
    }

    .hero-content {
        max-width: 720px;
    }

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

    .contact-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    }
}

@media (min-width: 1080px) {
    h1 {
        font-size: 6.4rem;
    }

    h2 {
        font-size: 4.5rem;
    }

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

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

    .masonry-gallery {
        column-count: 3;
    }
}

@media (min-width: 1380px) {
    .masonry-gallery {
        column-count: 4;
    }
}

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

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
