:root {
  color-scheme: dark;
  --background: #020202;
  --panel: rgba(8, 8, 8, 0.9);
  --panel-strong: rgba(10, 10, 10, 0.94);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.68);
  --accent: #d7b45f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius-lg: 24px;
  --radius-md: 16px;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --photo-swamp: url("../assets/media/IMG_2205.JPG");
  --photo-meadow: url("../assets/media/IMG_1971.JPG");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background-color: #000000;
}

body {
  min-height: 100svh;
  font-family: var(--sans);
  color: var(--text);
  background:
    linear-gradient(rgba(2, 6, 4, 0.84), rgba(2, 4, 3, 0.9)),
    var(--photo-swamp) center 44% / cover fixed no-repeat,
    #000000;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(94, 169, 106, 0.08), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(215, 180, 95, 0.08), transparent 24%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 22%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.18;
}

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

.node-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.site-footer {
  margin-top: 14px;
  padding: 18px 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.brand-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-strip__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
}

.brand-strip__wordmark {
  width: min(250px, 48vw);
  height: 32px;
  border-radius: 10px;
  opacity: 0.92;
}

.node-header,
.node-card,
.node-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.theme-second-cutting .node-header,
.theme-second-cutting .node-card,
.theme-second-cutting .node-nav,
.theme-second-cutting .site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.theme-second-cutting .node-header::before,
.theme-second-cutting .node-card::before,
.theme-second-cutting .node-nav::before,
.theme-second-cutting .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(9, 11, 9, 0.5), rgba(6, 8, 6, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.38)),
    var(--photo-swamp);
  background-size: cover;
  background-position: center 44%;
  opacity: 0.5;
  z-index: 0;
}

.theme-second-cutting .node-header::before {
  background-position: center 40%;
  opacity: 0.62;
}

.theme-second-cutting .node-card:nth-of-type(2n)::before {
  background-image:
    linear-gradient(180deg, rgba(9, 11, 9, 0.5), rgba(6, 8, 6, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.38)),
    var(--photo-meadow);
  background-position: center 56%;
  opacity: 0.42;
}

.theme-second-cutting .node-header > *,
.theme-second-cutting .node-card > *,
.theme-second-cutting .node-nav > *,
.theme-second-cutting .site-footer > * {
  position: relative;
  z-index: 1;
}

.node-header {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(215, 180, 95, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--panel-strong);
}

.node-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(94, 169, 106, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(215, 180, 95, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--panel);
}

.node-nav__brand {
  display: grid;
  gap: 4px;
}

.node-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-link,
.chip,
.node-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-link--brand {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.nav-link[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.eyebrow,
.path,
.section-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.node-header h1,
.node-card h2 {
  margin: 0;
  font-weight: 500;
}

.node-header h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.04rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin-top: 14px;
}

.node-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.node-card--inset {
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.stack {
  display: grid;
  gap: 14px;
}

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

.node-card p,
.node-card li {
  color: var(--muted);
  line-height: 1.65;
}

.node-card ul {
  margin: 0;
  padding-left: 18px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

.price-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.price-card--selected {
  border-color: rgba(215, 180, 95, 0.5);
  box-shadow: 0 0 0 1px rgba(215, 180, 95, 0.18), 0 0 28px rgba(215, 180, 95, 0.08);
}

.price-card h3,
.summary-card h2 {
  margin: 0;
  font-weight: 500;
}

.price-card__price {
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-card__meta {
  margin: 0;
  color: var(--text);
}

.price-card__note {
  margin: 0;
  color: var(--accent);
  line-height: 1.55;
}

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

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

.form-field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: vertical;
}

.form-field textarea {
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(215, 180, 95, 0.4);
  box-shadow: 0 0 0 3px rgba(215, 180, 95, 0.08);
}

.summary-card {
  display: grid;
  gap: 14px;
}

.summary-card--social {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.summary-card h3 {
  margin: 0;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.summary-card__line {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.summary-card__line--accent {
  color: var(--text);
}

.summary-card__strong {
  color: var(--text);
}

.consult-note {
  background:
    radial-gradient(circle at top right, rgba(215, 180, 95, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.consult-note__highlight {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(215, 180, 95, 0.28);
  border-radius: 14px;
  background: rgba(215, 180, 95, 0.08);
  color: var(--text);
}

.action-button {
  padding: 14px 18px;
  border: 1px solid rgba(215, 180, 95, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(215, 180, 95, 0.26), rgba(215, 180, 95, 0.12)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-button:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 180, 95, 0.48);
}

.portrait-gallery {
  display: grid;
  gap: 12px;
}

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

.portrait-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.portrait-figure--primary {
  min-height: 420px;
}

.portrait-figure--wide {
  grid-column: 1 / -1;
}

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.portrait-figure--primary .portrait-image {
  min-height: 420px;
}

.embed-frame {
  width: 100%;
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.symbol-panel {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(215, 180, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.symbol-panel--apple::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.symbol-panel__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.node-link:hover,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .node-nav {
    padding: 14px 16px;
  }

  .node-nav__links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .nav-link--brand {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

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

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

  .card-grid--two {
    grid-template-columns: 1fr;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

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

  .portrait-figure--wide {
    grid-column: auto;
  }

  .brand-strip {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .nav-link {
    flex-basis: 100%;
  }

  .nav-link--brand {
    flex-basis: auto;
  }
}

:root {
  --accent-soft: rgba(215, 180, 95, 0.18);
}

body::before {
  background-image:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.16) 0.5px, transparent 0.9px),
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.12) 0.5px, transparent 0.9px),
    radial-gradient(circle at 34% 76%, rgba(255, 255, 255, 0.1) 0.4px, transparent 0.8px);
  background-size: 180px 180px;
  opacity: 0.1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 32%),
    radial-gradient(circle at bottom right, rgba(215, 180, 95, 0.06), transparent 28%),
    radial-gradient(circle at center, transparent 56%, rgba(0, 0, 0, 0.44) 100%);
}

.node-header,
.node-card,
.node-nav,
.site-footer,
.price-card,
.summary-card--social,
.portrait-figure,
.embed-frame,
.symbol-panel,
.consult-note__highlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.node-header::after,
.node-card::after,
.node-nav::after,
.site-footer::after,
.price-card::after,
.summary-card--social::after,
.portrait-figure::after,
.embed-frame::after,
.symbol-panel::after,
.consult-note__highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 22%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.2;
  z-index: 0;
}

.node-header > *,
.node-card > *,
.node-nav > *,
.price-card > *,
.summary-card--social > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.path,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::after,
.path::after,
.section-kicker::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

.nav-link,
.chip,
.node-link,
.action-button,
.price-card,
.summary-card--social,
.node-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.nav-link:hover,
.node-link:hover,
.action-button:hover,
.price-card:hover,
.summary-card--social:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 180, 95, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 58px rgba(0, 0, 0, 0.32);
}

.node-header,
.node-card,
.summary-card--social,
.price-card,
.node-header h1,
.node-card h2,
.summary-card h3,
.price-card h3 {
  text-wrap: balance;
}
