/* =============================================================================
   BLACKBOX-camera — main-v2.css
   Clean rebuild. Only styles actually used by index.html + privacypolicytc.html
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. FONTS
----------------------------------------------------------------------------- */

@font-face {
    font-family: 'pangmenzhengdao';
    src: url('/assets/fonts/pangmenzhengdao-webfont.woff2') format('woff2'),
         url('/assets/fonts/pangmenzhengdao-webfont.woff') format('woff');
    font-display: block;
    font-style: normal;
    font-weight: 300;
}


/* -----------------------------------------------------------------------------
   2. DESIGN TOKENS
----------------------------------------------------------------------------- */

:root {
    /* Surfaces */
    --bg:               rgb(17, 17, 17);
    --surface:          rgb(29, 29, 29);
    --surface-elevated: rgb(17, 17, 17);
    --surface-95:       rgba(12, 12, 12, 0.95);
    --surface-90:       rgba(24, 24, 24, 0.90);
    --surface-80:       rgba(17, 17, 17, 0.80);

    /* Borders */
    --border:           #2e2e2e;
    --border-soft:      #3a3a3a;
    --border-hard:      #111111;
    --border-hover:     #666666;

    /* Accent (purple) */
    --accent:           #a778ff;
    --accent-hover:     #5c5c5c;
    --accent-border:    rgba(0, 0, 0, 0.24);
    --accent-soft-08:   rgba(0, 0, 0, 0.08);
    --accent-soft-20:   rgba(0, 0, 0, 0.20);
    --accent-focus:     rgba(0, 0, 0, 0.50);

    /* Glow */
    --glow:             rgba(0, 0, 0, 0.14);
    --glow-soft:        rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-brand:       'pangmenzhengdao', 'Consolas', monospace;
    --font-mono:        'Consolas', 'SFMono-Regular', 'Menlo', 'Monaco', monospace;
    --font-sans:        Helvetica, Arial, sans-serif;

    /* Clip-path corners */
    --clip-sm:   polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
    --clip-md:   polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
    --clip-lg:   polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
    --clip-xl:   polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
}


/* -----------------------------------------------------------------------------
   3. RESET & BASE
----------------------------------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--border);
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: #e5e7eb;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    user-select: none;
}

/* Re-enable selection on interactive elements */
a, input, textarea, select, button {
    -webkit-user-select: auto;
    user-select: auto;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    /* Fade in on load */
    opacity: 0;
    transition: opacity 0.2s ease;
}

img.loaded {
    opacity: 1;
}

svg {
    display: block;
    vertical-align: middle;
}

ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    line-height: 1;
    font-family: var(--font-mono);
}

h2 {
    font-size: 0.7em;
    font-family: var(--font-mono);
}

button, input, textarea, select {
    font-family: inherit;
    font-size: 100%;
    color: inherit;
}

button {
    cursor: pointer;
    background: transparent;
}

:disabled {
    cursor: default;
}

/* Scrollbar */
::-webkit-scrollbar        { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: #0e1115; }
::-webkit-scrollbar-thumb  { background: #2b303b; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #3d4452; }


/* -----------------------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
----------------------------------------------------------------------------- */

.font-mono    { font-family: var(--font-mono); }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.uppercase    { text-transform: uppercase; }
.truncate     { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leading-tight { line-height: 1.25; }
.text-center  { text-align: center; }

.text-xxs  { font-size: 0.5rem;   line-height: 1rem; }
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-md   { font-size: 0.95rem;  line-height: 1.25rem; }
.text-lg   { font-size: 1.05rem;  line-height: 1.75rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }

/* Responsive text */
@media (min-width: 640px) {
    .sm\:text-\[40px\]     { font-size: 40px; }
    .sm\:leading-\[1\.08\] { line-height: 1.08; }
    .sm\:tracking-\[0\.28em\] { letter-spacing: 0.28em; }
    .sm\:tracking-\[0\.5em\]  { letter-spacing: 0.5em; }
}

/* Letter spacing */
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.16em\] { letter-spacing: 0.16em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.32em\] { letter-spacing: 0.32em; }
.tracking-\[0\.35em\] { letter-spacing: 0.35em; }

/* Colours */
.text-white      { color: #ffffff; }
.text-black      { color: #000000; }
.text-gray-200   { color: #e5e7eb; }
.text-gray-300   { color: #d1d5db; }
.text-gray-400   { color: #9ca3af; }
.text-gray-500   { color: #6b7280; }
.text-purple-300 { color: var(--accent); }
.text-\[10px\]   { font-size: 10px; }


/* -----------------------------------------------------------------------------
   5. COLOUR / BACKGROUND UTILITIES
----------------------------------------------------------------------------- */

.bg-background        { background-color: var(--bg); }

/* Semantic surface names for cleaner HTML */
.bg-surface-base      { background-color: var(--surface); }
.bg-surface-soft      { background-color: var(--surface-80); }
.bg-surface-card      { background-color: var(--surface-95); }
.bg-surface-elevated  { background-color: var(--surface-elevated); }

/* Semantic accent names for cleaner HTML */
.bg-accent            { background-color: var(--accent); }
.bg-accent-soft       { background-color: var(--accent-soft-08); }
.bg-accent-soft-20    { background-color: var(--accent-soft-20); }
.hover\:bg-accent-hover:hover { background-color: var(--accent-hover); }
.hover\:border-gray:hover { border-color: var(--border-hover) }

/* Radial glow backgrounds */
.bg-\[radial-gradient\(circle_at_top\,rgba\(147\,51\,234\,0\.14\)\,transparent_52\%\)\] {
    background-image: radial-gradient(circle at top, rgba(59, 59, 59, 0.14), transparent 52%);
}
.bg-\[radial-gradient\(circle\,rgba\(147\,51\,234\,0\.14\)\,transparent_64\%\)\] {
    background-image: radial-gradient(circle, rgba(59, 59, 59, 0.14), transparent 64%);
}
.bg-\[radial-gradient\(circle\,rgba\(147\,51\,234\,0\.14\)\,transparent_62\%\)\] {
    background-image: radial-gradient(circle, rgba(22, 27, 34, 0.96), transparent 62%);
}
.bg-\[linear-gradient\(180deg\,rgba\(22\,27\,34\,0\.96\)\,rgba\(12\,17\,24\,0\.96\)\)\] {
    background-image: linear-gradient(180deg, rgba(22, 27, 34, 0.96), rgba(12, 17, 24, 0.96));
}


/* -----------------------------------------------------------------------------
   6. BORDER UTILITIES
----------------------------------------------------------------------------- */

.border   { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-solid { border-style: solid; }

.border-surface       { border-color: var(--border); }
.border-surface-soft  { border-color: var(--border-soft); }
.border-surface-hard  { border-color: var(--border-hard); }
.border-accent-soft   { border-color: var(--accent-border); }


/* -----------------------------------------------------------------------------
   7. BORDER RADIUS (clip-path polygon style)
----------------------------------------------------------------------------- */

.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-\[17px\],
.rounded-\[20px\] {
    border-radius: 0;
}

.rounded-lg    { clip-path: var(--clip-sm); }
.rounded-xl    { clip-path: var(--clip-md); }
.rounded-2xl   { clip-path: var(--clip-md); }
.rounded-\[17px\] { clip-path: var(--clip-md); }
.rounded-\[20px\] { clip-path: var(--clip-lg); }
.rounded-full  { border-radius: 9999px; }


/* -----------------------------------------------------------------------------
   8. LAYOUT UTILITIES
----------------------------------------------------------------------------- */

/* Display */
.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid         { display: grid; }
.hidden       { display: none; }
.block        { display: block; }

/* Position */
.relative  { position: relative; }
.absolute  { position: absolute; }
.sticky    { position: sticky; }
.inset-0   { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0     { top: 0; }
.right-0   { right: 0; }
.left-0    { left: 0; }
.bottom-\[12\%\] { bottom: 12%; }
.top-\[18\%\]    { top: 18%; }
.z-30      { z-index: 30; }

/* Responsive position */
@media (min-width: 640px) {
    .sm\:left-\[-5\%\]   { left: -5%; }
    .sm\:right-\[-10\%\] { right: -10%; }
}

/* Flex */
.flex-1       { flex: 1 1 0%; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.shrink-0     { flex-shrink: 0; }
.min-w-0      { min-width: 0; }
.w-full       { width: 100%; }
.min-h-screen { min-height: 100vh; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden     { overflow: hidden; }

/* Responsive flex */
@media (min-width: 640px) {
    .sm\:flex-row    { flex-direction: row; }
    .sm\:items-center { align-items: center; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
}

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:col-span-8  { grid-column: span 8 / span 8; }
}

/* Gap */
.gap-1\.5 { gap: 0.375rem; }
.gap-2    { gap: 0.5rem; }
.gap-3    { gap: 0.75rem; }
.gap-4    { gap: 1rem; }
.gap-5    { gap: 1.25rem; }

/* Space-y (margin stack) */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Sizing */
.w-2  { width: 0.5rem; }
.w-3  { width: 0.75rem; }
.w-4  { width: 1rem; }
.w-8  { width: 2rem; }
.w-\[260px\] { width: 260px; }
.w-\[340px\] { width: 340px; }
.w-3\.5 { width: 0.875rem; }

.h-2  { height: 0.5rem; }
.h-3  { height: 0.75rem; }
.h-4  { height: 1rem; }
.h-7  { height: 1.75rem; }
.h-8  { height: 2rem; }
.h-3\.5 { height: 0.875rem; }
.h-\[260px\] { height: 260px; }
.h-\[340px\] { height: 340px; }
.h-\[520px\] { height: 520px; }

.max-w-4xl     { max-width: 56rem; }
.max-w-\[1320px\] { max-width: 1320px; }
.mx-auto       { margin-left: auto; margin-right: auto; }

/* Margin */
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-7  { margin-top: 1.75rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* Padding */
.p-0    { padding: 0; }
.p-4    { padding: 1rem; }
.p-5    { padding: 1.25rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3   { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4   { padding-left: 1rem; padding-right: 1rem; }
.py-1   { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2   { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3   { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.pb-1   { padding-bottom: 0.25rem; }
.pb-4   { padding-bottom: 1rem; }
.pb-16  { padding-bottom: 4rem; }
.pt-2   { padding-top: 0.5rem; }
.pt-8   { padding-top: 2rem; }
.scroll-mt-24 { scroll-margin-top: 6rem; }

@media (min-width: 640px) {
    .sm\:p-5 { padding: 1.25rem; }
    .sm\:p-6 { padding: 1.5rem; }
    .sm\:p-7 { padding: 1.75rem; }
}

/* Shadows */
.shadow-\[0_0_0_1px_rgba\(17\,17\,17\,0\.015\)_inset\] {
    box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.015) inset;
}
.shadow-\[0_0_0_1px_rgba\(255\,255\,255\,0\.015\)_inset\] {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.015) inset;
}

/* Misc */
.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

/* Focus / form states */
.focus\:outline-none:focus          { outline: none; }
.focus\:border-purple-500\/50:focus { border-color: var(--accent-focus); }
.focus\:border-accent-focus:focus   { border-color: var(--accent-focus); }
.placeholder-gray-600::placeholder  { opacity: 0.5; color: #ada4a4; }

.disabled\:bg-gray-700:disabled   { background-color: #374151; }
.disabled\:text-gray-500:disabled { color: #6b7280; }

@keyframes pulse {
    50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }


/* -----------------------------------------------------------------------------
   9. COMPONENT — HEADER
----------------------------------------------------------------------------- */

.theme-header {
    background-color: rgba(17, 17, 17, 0.98);
    border-color: var(--border-soft);
}


/* -----------------------------------------------------------------------------
   10. COMPONENT — HERO CARD
----------------------------------------------------------------------------- */

.theme-hero {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.96), rgba(12, 12, 12, 0.98));
}


/* -----------------------------------------------------------------------------
   11. COMPONENT — BRAND TITLE
----------------------------------------------------------------------------- */

.brand-title {
    font-family: var(--font-brand);
}

span.brand-title-inline {
    display: inline;
    font-family: var(--font-brand);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

.camera {
    vertical-align: middle;
    position: relative;
    top: -0.15em;
}

.camera1 {
    vertical-align: middle;
    position: relative;
    top: -0.15em;
    letter-spacing: 0.2em;
    margin-left: 0.15em;
}

.logo img {
    max-width: 20% !important;
    height: auto !important;
}


/* -----------------------------------------------------------------------------
   12. COMPONENT — ICONS / SOCIAL LINKS
----------------------------------------------------------------------------- */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-bottom: none;
    position: relative;
    transition: color 0.2s ease-in-out, filter 0.2s ease-in-out;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.icon > .label { display: none; }

.icon i {
    font-size: 1.05rem;
    display: block;
    width: 1.05rem;
    text-align: center;
}

.icon:hover {
    color: var(--accent);
    filter: drop-shadow(0 0 6px rgba(167, 120, 255, 0.5));
}

ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: center;
}

ul.icons li {
    display: inline-block;
    text-align: center;
    padding: 0 12px;
    font-size: 1rem;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

ul.icons li:last-child { padding-right: 0 !important; }


/* -----------------------------------------------------------------------------
   12b. COMPONENT — CONTACT LINKS
----------------------------------------------------------------------------- */

.contact-link {
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-link:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(167, 120, 255, 0.45);
}


/* -----------------------------------------------------------------------------
   13. COMPONENT — CAROUSEL
----------------------------------------------------------------------------- */

.carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0;
    font-size: 0;
    overflow: hidden;
}

.carousel-item {
    display: none;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    display: block;
    opacity: 1;
}

.carousel img {
    width: 100%;
    height: auto;
    display: block;
}
.carousel-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.carousel-placeholder.visible {
    visibility: visible;
    opacity: 1;
}

.carousel-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible { color: rgba(255, 255, 255, 0.78); opacity: 1; }
.carousel-arrow:focus-visible  { outline: none; }
.carousel-arrow:active         { transform: scale(0.98); }
.carousel-arrow-prev           { left: 0; }
.carousel-arrow-next           { right: 0; }

.carousel-arrow span {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

@media (max-width: 736px) {
    .carousel-arrow       { width: 52px; }
    .carousel-arrow span  { font-size: 1.25rem; }
}


/* -----------------------------------------------------------------------------
   14. COMPONENT — HORIZONTAL GALLERY
----------------------------------------------------------------------------- */

.horizontal-gallery-wrapper {
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    max-width: 100%;
}

.horizontal-gallery-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.horizontal-gallery-arrow:hover,
.horizontal-gallery-arrow:focus-visible { color: rgba(255, 255, 255, 0.78); opacity: 1; }
.horizontal-gallery-arrow:focus-visible  { outline: none; }
.horizontal-gallery-arrow:active         { transform: scale(0.98); }
.horizontal-gallery-arrow-prev           { left: 0; }
.horizontal-gallery-arrow-next           { right: 0; }

.horizontal-gallery-arrow span {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

@media (max-width: 736px) {
    .horizontal-gallery-arrow      { width: 44px; }
    .horizontal-gallery-arrow span { font-size: 1.25rem; }
}

.horizontal-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    gap: 1em;
}

.horizontal-gallery::-webkit-scrollbar { display: none; }
.horizontal-gallery:active              { cursor: grabbing; }

.horizontal-gallery-container {
    display: flex;
    gap: 0.5rem;
}

.horizontal-gallery-item {
    position: relative;
    flex: 0 0 auto;
    width: 50vw;
    height: 50vw;
    max-width: 300px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1 / 1;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.horizontal-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    touch-action: none;
    /* Global img starts at opacity:0 and fades in via .loaded class.
       Cloned gallery images never fire a load event so they stay invisible,
       causing a black gap when the scroll loops. Force full opacity here. */
    opacity: 1 !important;
    transition: none !important;
}

@media (max-width: 640px) {
    .horizontal-gallery          { gap: 0.5rem; }
    .horizontal-gallery-item     { width: 44vw; height: 44vw; }
}


/* -----------------------------------------------------------------------------
   15. COMPONENT — CONTACT FORM
----------------------------------------------------------------------------- */

#confirmation-message {
    text-align: center;
    line-height: 1;
}


/* -----------------------------------------------------------------------------
   16. COMPONENT — CONTACT DL (address block)
----------------------------------------------------------------------------- */

dl { margin: 0 0 2em 0; }
dl dt { display: block; }
dl dd { margin-left: 8em; }

dl.alt dt {
    display: block;
    margin: 0;
    clear: left;
    float: left;
}

dl.alt dd {
    margin-bottom: 2em;
    margin-left: 10em;
}

@media (max-width: 640px) {
    dl dd, dl.alt dd { margin-left: 0; }
    dl.alt dt { float: none; clear: none; margin-bottom: 0.35rem; }
    dl.alt dd { margin-bottom: 1.25rem; }
}


/* -----------------------------------------------------------------------------
   17. COMPONENT — INSTALLATION PROCESS
----------------------------------------------------------------------------- */

.installation-process-left-text  { padding-left: 1rem; }
.installation-process-right-column { margin-top: 1.5rem; }

/*
 * Force a compositing layer on the grid so that when the viewport is resized
 * (wide → narrow on desktop) the browser repaints child text immediately,
 * rather than waiting for a scroll/interaction event to flush the clip-path
 * stacking context.
 */
.installation-process-grid {
    transform: translateZ(0);
    will-change: transform;
}

@media (min-width: 1024px) {
    .installation-process-grid {
        position: relative;
        column-gap: 4rem;
    }

    .installation-process-grid::after {
        content: "";
        position: absolute;
        top: 12.5%;
        bottom: 12.5%;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
        background-color: var(--border);
        opacity: 0.9;
    }

    .installation-process-right-column { margin-top: 0; }
}


/* -----------------------------------------------------------------------------
   18. COMPONENT — HERO GRID LAYOUT
----------------------------------------------------------------------------- */

@media (min-width: 1024px) {
    .hero-main-grid {
        grid-template-columns: 6fr 4fr;
    }
}

.camera-sentence {
    position: static;
    vertical-align: 0.05em;
}

.camera1-sentence {
    position: static;
    top: unset;
    vertical-align: 0.05em;
}