/* Site Timelapse. Palette follows the photoSentinel "earth" scale over deep navy, as requested by the owner. */

:root {
  --navy: #0b0d14;
  --navy-2: #141824;
  --ink: #111111;
  --paper: #fefbff;
  --paper-2: #f7f5f3;

  --earth-100: #efebe6;
  --earth-200: #e4d9cd;
  --earth-300: #d7c2ad;
  --earth-400: #c8a889;
  --earth-500: #9a7f68;
  --earth-600: #936b42;
  --earth-700: #775431;
  --earth-800: #513b24;
  --earth-900: #281f15;

  --bg: var(--paper);
  --surface: #ffffff;
  --surface-2: var(--paper-2);
  --fg: var(--ink);
  --fg-muted: #5c5650;
  --line: #e6e1db;
  --accent: var(--earth-500);
  --accent-hover: var(--earth-700);
  --accent-text: var(--earth-700);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 1px 2px rgba(11, 13, 20, .06), 0 8px 24px rgba(11, 13, 20, .06);
  --font: "Google Sans Flex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--navy);
    --surface: var(--navy-2);
    --surface-2: #10131c;
    --fg: var(--paper);
    --fg-muted: #b5aea6;
    --line: #262b38;
    --accent-text: var(--earth-300);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--navy);
  --surface: var(--navy-2);
  --surface-2: #10131c;
  --fg: var(--paper);
  --fg-muted: #b5aea6;
  --line: #262b38;
  --accent-text: var(--earth-300);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--fg-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 600; color: var(--earth-400); margin-bottom: 1.1em; }
.h2 { font-size: clamp(28px, 3.6vw, 42px); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--fg-muted); max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.35em; border-radius: var(--radius-md); font: inherit; font-weight: 550; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--earth { background: var(--accent); color: #fff; }
.btn--earth:hover { background: var(--accent-hover); }
.btn--outline { border-color: rgba(254, 251, 255, .5); color: var(--paper); background: rgba(11, 13, 20, .25); backdrop-filter: blur(8px); }
.btn--outline:hover { border-color: var(--paper); }
.btn--ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { padding: .5em 1em; font-size: 14.5px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62, 207, 142, .25); }

/* Navigation */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px max(16px, calc((100% - 1200px) / 2)); color: var(--paper); }
.nav--solid { position: sticky; top: 0; background: rgba(11, 13, 20, .92); backdrop-filter: blur(12px); padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand b { font-weight: 800; color: var(--earth-400); }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav__links a:not(.btn) { text-decoration: none; opacity: .85; }
.nav__links a:not(.btn):hover { opacity: 1; }
@media (max-width: 720px) { .nav__links a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: var(--paper); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: url("/img/hero.jpg") center / cover no-repeat; }
.hero__art { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; }
.hero__photo { position: absolute; z-index: -2; right: max(0px, calc((100vw - 1200px) / 2 - 60px)); top: 90px; height: calc(100% - 110px); width: auto; max-width: 58%; object-fit: contain; object-position: right bottom; pointer-events: none; }
@media (max-width: 720px) { .hero__photo { right: -20%; max-width: none; height: 70%; opacity: .45; } }
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 13, 20, .94) 0%, rgba(11, 13, 20, .78) 45%, rgba(11, 13, 20, .35) 100%), linear-gradient(0deg, rgba(11, 13, 20, .9) 0%, transparent 35%); }
.hero__inner { padding-block: 140px 80px; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 700; max-width: 13ch; margin-bottom: .35em; }
.hero .lead { color: rgba(254, 251, 255, .82); }
.hero__stat { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: rgba(254, 251, 255, .55); margin: 1.6em 0 2em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Glass cards over the hero, like the photoSentinel feature row */
.glass-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.glass { padding: 22px 24px; border-radius: var(--radius-lg); background: rgba(254, 251, 255, .08); border: 1px solid rgba(254, 251, 255, .14); backdrop-filter: blur(14px); }
.glass h3 { font-size: 19px; margin-bottom: .4em; }
.glass p { font-size: 15px; color: rgba(254, 251, 255, .72); margin: 0; }
@media (max-width: 860px) { .glass-row { grid-template-columns: 1fr; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--navy); color: var(--paper); }
.section--dark .lead, .section--dark .muted { color: rgba(254, 251, 255, .7); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head .eyebrow { color: var(--accent-text); }
.section--dark .section__head .eyebrow { color: var(--earth-400); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature { padding: 28px; }
.feature__icon { width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--earth-100); color: var(--earth-700); margin-bottom: 18px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--fg-muted); font-size: 15.5px; margin: 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mono); color: var(--accent-text); font-size: 14px; margin-bottom: 14px; }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--fg-muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.preview-shot { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--navy); }
.preview-shot img { width: 100%; height: 100%; object-fit: cover; }

.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: .5em 1.05em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }

.cta { border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 64px); background: radial-gradient(120% 140% at 100% 0%, var(--earth-800) 0%, var(--navy) 60%); color: var(--paper); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta .lead { color: rgba(254, 251, 255, .75); }
.cta__contact { display: grid; gap: 12px; }
.cta__contact a { text-decoration: none; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--fg-muted); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Gallery */
.g-head { background: var(--navy); color: var(--paper); padding-block: 48px 40px; }
.g-head .eyebrow { margin-bottom: .6em; }
.g-title { font-size: clamp(32px, 5vw, 52px); }
.g-sub { color: rgba(254, 251, 255, .65); }
.g-section { padding-block: 32px; }
.notice { padding: 16px 20px; border-radius: var(--radius-md); background: var(--earth-100); color: var(--earth-900); margin-bottom: 20px; }

.player { overflow: hidden; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy); }
.player__frame iframe, .player__frame video, .player__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--paper); background: rgba(11, 13, 20, .45); font-size: 15px; text-align: center; padding: 16px; }
.player__play { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); position: relative; }
.player__play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.player__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 18px 22px; }
.player__title { font-size: 22px; margin: 0 0 2px; }
.player__meta .muted { margin: 0; font-size: 15px; }

.g-list-title { font-size: 28px; }
.vlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.vcard { display: grid; gap: 4px; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-2); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.vcard__thumb img, .vcard__thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vcard:hover .vcard__thumb img, .vcard:hover .vcard__thumb video { transform: scale(1.04); }
.vcard.is-active .vcard__thumb { outline-color: var(--accent); }
.vcard__dur { position: absolute; right: 8px; bottom: 8px; font-family: var(--mono); font-size: 12px; color: var(--paper); background: rgba(11, 13, 20, .7); padding: 2px 7px; border-radius: 4px; }
.vcard__dur:empty { display: none; }
.vcard__name { font-weight: 600; margin-top: 8px; line-height: 1.3; }
.vcard__date { font-size: 14px; color: var(--fg-muted); }
@media (max-width: 480px) { .vlist { grid-template-columns: 1fr; } }

.access { min-height: 70vh; display: grid; place-items: center; padding: 48px 16px; }
.access__card { width: min(440px, 100%); padding: 36px; display: grid; gap: 4px; }
.access__card input { margin: 10px 0 14px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.error { color: #b3261e; }

/* About facts, remote section */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { padding: 22px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); }
.fact strong { display: block; font-size: 18px; margin-bottom: 6px; color: var(--accent-text); }
.fact span { font-size: 15px; color: var(--fg-muted); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.ticks--light li { color: rgba(254, 251, 255, .88); }
.remote-art svg { width: 100%; height: auto; display: block; border-radius: var(--radius-xl); }
#services .cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { #services .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { #services .cards { grid-template-columns: 1fr; } }
.player__frame video { object-fit: contain; background: #000; }

/* Gallery cards (/galleries and the home page) */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .gcards { grid-template-columns: 1fr; } }
.gcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.gcard:hover, .gcard:focus-visible { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 13, 20, .08), 0 16px 40px rgba(11, 13, 20, .14); }
.gcard__media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.gcard__media img, .gcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard__media video { opacity: 0; transition: opacity .4s; }
.gcard.is-playing .gcard__media video { opacity: 1; }
.gcard__blank { position: absolute; inset: 0; background: linear-gradient(135deg, var(--earth-800), var(--navy)); }
.gcard__play { position: absolute; left: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; background: rgba(11, 13, 20, .55); backdrop-filter: blur(6px); border: 1px solid rgba(254, 251, 255, .35); transition: opacity .3s, background .2s; }
.gcard__play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.gcard:hover .gcard__play { background: var(--accent); }
.gcard.is-playing .gcard__play { opacity: 0; }
.gcard__lock { position: absolute; right: 12px; top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--paper); background: rgba(11, 13, 20, .65); padding: 4px 10px; border-radius: 999px; }
.gcard__body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.gcard__name { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.gcard__sub { font-size: 15px; color: var(--fg-muted); }
.gcard__cta { margin-top: 8px; font-size: 15px; font-weight: 550; color: var(--accent-text); }
.gcard:hover .arrow { transform: translateX(3px); }
.gcard .arrow { display: inline-block; transition: transform .2s; }
.featured-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.featured-head .section__head { margin-bottom: 0; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px 28px; }
.price__term { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); margin: 0 0 18px; }
.price__amount { font-size: clamp(44px, 5vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.02em; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.price__currency { font-size: .5em; vertical-align: .75em; margin-right: 2px; font-weight: 600; }
.price__unit { color: var(--fg-muted); font-size: 15.5px; margin: 0; }
.price-terms { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.price-terms li { display: flex; gap: 14px; align-items: flex-start; }
.price-terms svg { flex: none; color: var(--accent-text); margin-top: 2px; }
.price-terms strong { display: block; font-weight: 600; }
.price-terms span { display: block; color: var(--fg-muted); font-size: 15.5px; }
.price-cta { margin: 40px 0 0; }
@media (max-width: 860px) { .prices, .price-terms { grid-template-columns: 1fr; } .price-terms { gap: 18px; } }

.cta__email { color: var(--earth-300); font-size: 17px; text-decoration: none; }
.cta__email:hover { text-decoration: underline; }
.footer a { color: inherit; }
