:root {
  color-scheme: light;
  --bg: #f4f2ed;
  --ink: #171a1f;
  --muted: #626a73;
  --line: rgba(23, 26, 31, 0.12);
  --panel: rgba(255, 255, 255, 0.74);
  --accent: #3d6f63;
  --accent-dark: #234a43;
  --warm: #c8a36a;
  --shadow: 0 24px 70px rgba(31, 35, 41, 0.14);
}

.theme-media {
  --bg: #111827;
  --ink: #f6f7fb;
  --muted: #b9c2d2;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(22, 31, 48, 0.72);
  --accent: #7c91ff;
  --accent-dark: #4054c9;
  --warm: #f4c16d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.theme-assets {
  --bg: #071013;
  --ink: #eaf7f7;
  --muted: #93aeb2;
  --line: rgba(145, 213, 210, 0.16);
  --panel: rgba(7, 23, 27, 0.78);
  --accent: #31d1c6;
  --accent-dark: #12827f;
  --warm: #90e0d7;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(200, 163, 106, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(61, 111, 99, 0.18), transparent 34rem),
    linear-gradient(135deg, #f7f4ef 0%, #e9e6df 100%);
}

.theme-media {
  background:
    radial-gradient(circle at 8% 4%, rgba(124, 145, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(244, 193, 109, 0.16), transparent 30rem),
    linear-gradient(135deg, #101827 0%, #1d2640 55%, #111827 100%);
}

.theme-assets {
  background:
    radial-gradient(circle at 12% 12%, rgba(49, 209, 198, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(144, 224, 215, 0.12), transparent 32rem),
    linear-gradient(135deg, #051013 0%, #0b1b20 48%, #04080a 100%);
}

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

.site-header,
.hero,
.section,
.contact-panel,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 30px rgba(35, 74, 67, 0.22);
}

.theme-media .brand-mark {
  border-radius: 999px;
}

.theme-assets .brand-mark {
  border-radius: 8px;
  background: linear-gradient(135deg, #26c5bd, #103d43);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 78px 0 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.94;
  font-weight: 500;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  font-weight: 500;
}

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

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  border-color: transparent;
  background: var(--accent-dark);
}

.theme-media .button.primary,
.theme-assets .button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button.ghost {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.52);
}

.showcase {
  position: relative;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0 35px, rgba(23, 26, 31, 0.035) 35px 36px);
  pointer-events: none;
}

.theme-media .showcase,
.theme-assets .showcase {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.theme-media .showcase {
  border-radius: 22px;
}

.theme-assets .showcase {
  border-radius: 4px;
}

.hero-photo {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.98) contrast(1.02);
}

.theme-media .hero-photo {
  border-radius: 18px;
}

.theme-assets .hero-photo {
  border-radius: 3px;
  filter: saturate(0.86) contrast(1.1) brightness(0.82);
}

.showcase::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.theme-media .showcase::after {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.05), rgba(16, 24, 39, 0.68));
}

.theme-assets .showcase::after {
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(3, 10, 12, 0.2), rgba(3, 10, 12, 0.78));
}

.floating-note,
.mini-gallery {
  position: absolute;
  z-index: 1;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.floating-note {
  top: 38px;
  right: 38px;
  max-width: 210px;
  padding: 16px;
  border-radius: 8px;
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note span,
.gallery-copy span {
  color: var(--muted);
  font-size: 13px;
}

.mini-gallery {
  left: 38px;
  bottom: 38px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  width: min(380px, calc(100% - 76px));
  padding: 12px;
  border-radius: 8px;
}

.mini-gallery img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-copy strong,
.gallery-copy span {
  display: block;
}

.gallery-copy strong {
  margin-top: 6px;
  font-size: 20px;
}

.theme-media .floating-note,
.theme-media .mini-gallery,
.theme-assets .floating-note,
.theme-assets .mini-gallery {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(11, 17, 29, 0.76);
}

.theme-assets .floating-note,
.theme-assets .mini-gallery {
  background: rgba(3, 14, 17, 0.82);
}

.section {
  padding: 48px 0;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 38px rgba(31, 35, 41, 0.08);
}

.theme-media .card,
.theme-assets .card {
  border-color: rgba(255, 255, 255, 0.12);
}

.theme-media .card:nth-child(2) {
  transform: translateY(22px);
}

.theme-assets .cards {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.theme-assets .card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.card-number {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--warm);
  font-weight: 800;
}

.card p,
.split p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.62;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.split p {
  margin: 0;
  font-size: 19px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 54px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(35, 74, 67, 0.96), rgba(23, 26, 31, 0.92)),
    radial-gradient(circle at 90% 0%, rgba(200, 163, 106, 0.34), transparent 24rem);
}

.theme-media .contact-panel {
  background:
    linear-gradient(135deg, rgba(64, 84, 201, 0.9), rgba(17, 24, 39, 0.96)),
    radial-gradient(circle at 92% 4%, rgba(244, 193, 109, 0.32), transparent 22rem);
}

.theme-assets .contact-panel {
  background:
    linear-gradient(135deg, rgba(18, 130, 127, 0.75), rgba(4, 8, 10, 0.96)),
    radial-gradient(circle at 92% 4%, rgba(49, 209, 198, 0.24), transparent 22rem);
}

.contact-panel p,
.contact-panel .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel .button.primary {
  background: #fff;
  color: var(--accent-dark);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .section,
  .contact-panel,
  .footer {
    width: min(100% - 24px, 640px);
  }

  .site-header,
  .hero,
  .split,
  .contact-panel,
  .footer {
    display: block;
  }

  .nav {
    margin-top: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .showcase {
    min-height: 420px;
    margin-top: 38px;
  }

  .mini-gallery {
    grid-template-columns: 86px 1fr;
    left: 28px;
    right: 28px;
    bottom: 28px;
    width: auto;
  }

  .mini-gallery img {
    width: 86px;
    height: 72px;
  }

  .floating-note {
    top: 28px;
    right: 28px;
  }

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

  .contact-panel .button {
    margin-top: 16px;
  }
}
