:root {
  --black: #05080b;
  --black-2: #090e14;
  --charcoal: #101720;
  --steel-dark: #1a2634;
  --steel: #7890a7;
  --silver: #e5edf5;
  --silver-soft: #aab9c7;
  --ice: #34bdf2;
  --ice-bright: #80dcff;
  --line: rgba(115, 198, 235, 0.2);
  --white: #f5f8fb;
  --text: #c5d0da;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 0;
  overflow-x: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(35, 120, 180, 0.18), transparent 28%),
    radial-gradient(circle at 20% 35%, rgba(20, 75, 120, 0.14), transparent 30%),
    radial-gradient(circle at 55% 70%, rgba(120, 45, 20, 0.08), transparent 25%),
    linear-gradient(180deg, #020407 0%, #07111a 28%, #091722 55%, #04070b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
}

body.intro-active {
  overflow: hidden;
}

/* Cinematic Intro Overlay */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--silver);
  background: #020406;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-layer-cinematic {
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(52, 189, 242, 0.05), transparent 34%),
    linear-gradient(180deg, #020406 0%, #04080c 52%, #010203 100%);
}

.intro-layer-effects {
  z-index: 3;
}

.intro-burn-canvas {
  z-index: 2;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.28s ease;
}

.intro-overlay.is-ending .intro-burn-canvas,
.intro-overlay.is-burning .intro-burn-canvas {
  opacity: 1;
}

.intro-overlay.is-burning,
.intro-overlay.is-revealing {
  background: transparent;
}

.intro-overlay.is-burning .intro-layer-cinematic,
.intro-overlay.is-revealing .intro-layer-cinematic {
  background: transparent;
}

.intro-overlay.is-burning .intro-video,
.intro-overlay.is-revealing .intro-video {
  opacity: 0;
  transition: opacity 0.48s ease;
}

.intro-video {
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  max-width: 100vw;
  max-height: 100dvh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #020406;
  opacity: 1;
}

.intro-burn-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.intro-start {
  position: relative;
  z-index: 4;
  display: none;
  padding: 13px 18px;
  border: 1px solid rgba(128, 220, 255, 0.36);
  background: rgba(2, 6, 10, 0.72);
  color: var(--ice-bright);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.06),
    0 0 28px rgba(52, 189, 242, 0.08);
}

.intro-overlay.needs-start .intro-start {
  display: inline-flex;
}

.intro-skip {
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 38px);
  z-index: 4;
  padding: 10px 14px;
  border: 1px solid rgba(128, 204, 240, 0.28);
  background: rgba(2, 6, 10, 0.68);
  color: #a8b7c4;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  color: var(--ice-bright);
  border-color: rgba(128, 220, 255, 0.48);
  background: rgba(5, 14, 22, 0.82);
}

@media (max-width: 700px) {
  .intro-video {
    width: 100vw;
    height: auto;
    max-height: 100dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay,
  .intro-video,
  .intro-burn-canvas,
  .intro-start,
  .intro-skip {
    transition-duration: 0.01ms;
  }
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(130, 207, 245, 0.12);
  background: rgba(4, 8, 12, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.mini-crest {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  border: 1px solid rgba(128, 220, 255, 0.5);
  display: grid;
  place-items: center;
  color: var(--ice);
  box-shadow:
    inset 0 0 20px rgba(52, 189, 242, 0.08),
    0 0 20px rgba(52, 189, 242, 0.07);
  font-size: 23px;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.05;
  color: var(--silver);
  letter-spacing: 2px;
}

.brand-name small {
  display: block;
  margin-top: 5px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  color: var(--ice);
  letter-spacing: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 1.4px;
  color: #d8e0e7;
  transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--ice-bright);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(2, 6, 10, 0.92) 0%,
      rgba(2, 6, 10, 0.78) 36%,
      rgba(2, 6, 10, 0.5) 58%,
      rgba(2, 6, 10, 0.28) 78%,
      rgba(2, 6, 10, 0.5) 100%
    ),
    url("../assets/dragon-oak-hero-bg.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 20%, rgba(110, 190, 255, 0.1), transparent 18%),
    radial-gradient(circle at 67% 45%, rgba(30, 125, 195, 0.08), transparent 25%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.02) 72%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(72px, 9vw, 110px) 0;
}

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

.eyebrow,
.section-kicker {
  color: var(--ice);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 11px;
}

.eyebrow {
  margin-bottom: 18px;
  letter-spacing: 5px;
  font-size: 12px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 2px;
  color: var(--silver);
  text-shadow: 0 0 24px rgba(140, 210, 240, 0.08);
}

h1 span {
  display: block;
  margin-top: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.38em;
  font-weight: 400;
  color: var(--ice-bright);
  letter-spacing: 12px;
}

.tagline {
  margin: 28px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 17px;
  color: #dce8f0;
}

.hero-copy,
.section-intro {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.hero-copy {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 175px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 600;
  font-size: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}

.btn-primary {
  color: #031018;
  background: linear-gradient(135deg, #6ed6fa, #2498d2);
  box-shadow: 0 0 25px rgba(52, 189, 242, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(52, 189, 242, 0.28);
}

.btn-outline {
  color: var(--silver);
  border: 1px solid rgba(117, 205, 245, 0.5);
  background: rgba(255, 255, 255, 0.01);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--ice-bright);
  border-color: var(--ice-bright);
  background: rgba(52, 189, 242, 0.06);
}

.crest-wrap {
  min-height: 500px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-logo {
  width: min(560px, 100%);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.58));
}

/* Feature Strip */
.feature-strip {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #050a0e;
}

.features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature {
  min-height: 98px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px 12px;
  text-align: center;
  border-right: 1px solid rgba(130, 190, 220, 0.11);
}

.feature:last-child {
  border-right: none;
}

.feature-icon {
  color: var(--ice);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.feature p {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #d3dce4;
}

/* Shared Sections */
section {
  padding: clamp(72px, 9vw, 100px) 0;
}

.section-kicker {
  margin-bottom: 8px;
}

.section-title {
  max-width: 860px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: 0.5px;
  color: var(--silver);
  text-shadow:
    0 0 18px rgba(52, 189, 242, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.65);
}

.section-intro {
  max-width: 760px;
}

/* Craftsmanship Meets Technology */
.services-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(58px, 7vw, 82px);
  background:
    url("../assets/dragon-oak-obsidian-stone.webp") 60% 50% / cover no-repeat,
    linear-gradient(180deg, #06121d 0%, #071521 50%, #040b12 100%);
  border-top: 1px solid rgba(124, 190, 224, 0.1);
  border-bottom: 1px solid rgba(124, 190, 224, 0.1);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #040b12 0%, rgba(4, 11, 18, 0.5) 12%, rgba(4, 11, 18, 0.26) 50%, rgba(4, 11, 18, 0.54) 88%, #040b12 100%),
    radial-gradient(circle at 62% 48%, rgba(52, 189, 242, 0.18), transparent 32%),
    radial-gradient(ellipse at 28% 30%, rgba(2, 8, 13, 0.4), transparent 38%),
    radial-gradient(ellipse at 50% 56%, rgba(2, 8, 13, 0.34), transparent 54%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.56), rgba(3, 10, 16, 0.3) 45%, rgba(2, 6, 10, 0.55));
}

.services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background: url("../assets/dragon-oak-obsidian-stone.webp") 60% 50% / cover no-repeat;
  filter: saturate(1.45) contrast(1.12);
  mix-blend-mode: screen;
  mask-image:
    radial-gradient(circle at 62% 52%, black 0 22%, transparent 42%),
    radial-gradient(circle at 29% 65%, black 0 12%, transparent 28%),
    radial-gradient(circle at 83% 34%, black 0 10%, transparent 24%);
}

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

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-top: 45px;
  align-items: stretch;
}

.service-card {
  min-width: 0;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid rgba(128, 204, 240, 0.32);
  background:
    linear-gradient(135deg, rgba(132, 175, 204, 0.16), transparent 18%),
    radial-gradient(circle at 16% 10%, rgba(52, 189, 242, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(14, 27, 38, 0.99), rgba(4, 8, 12, 0.99));
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.055),
    inset 0 0 0 1px rgba(36, 86, 118, 0.16),
    0 18px 45px rgba(0, 0, 0, 0.24);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 211, 252, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.075),
    inset 0 0 0 1px rgba(91, 177, 220, 0.2),
    0 22px 54px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(52, 189, 242, 0.11);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(52, 189, 242, 0.07);
  filter: blur(20px);
}

.service-number {
  position: absolute;
  right: clamp(22px, 4vw, 34px);
  top: 12px;
  font-family: Georgia, serif;
  font-size: clamp(62px, 6vw, 76px);
  line-height: 1;
  color: rgba(138, 212, 244, 0.075);
}

.service-icon {
  color: var(--ice);
  font-size: 42px;
  line-height: 1;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 8.7;
  margin: 20px 0 26px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(128, 204, 240, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(231, 244, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.44),
    0 0 18px rgba(52, 189, 242, 0.075);
  transition:
    transform 0.45s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.025);
  border-color: rgba(128, 220, 255, 0.42);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(52, 189, 242, 0.12);
}

.service-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 31px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 2.3px;
  color: var(--silver);
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: auto;
  font-size: 17px;
  color: var(--text);
  line-height: 1.82;
}

@media (min-width: 1280px) {
  .services-section .container {
    width: min(1320px, calc(100% - 40px));
  }

  .services {
    gap: 28px;
  }
}

/* Featured Products */
.products-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    url("../assets/dragon-oak-obsidian-stone.webp") 28% 42% / cover no-repeat,
    rgba(5, 10, 15, 0.65);
  border-top: 1px solid rgba(125, 195, 225, 0.08);
  border-bottom: 1px solid rgba(125, 195, 225, 0.08);
}

.products-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 11, 18, 0.72) 0%, rgba(4, 11, 18, 0.38) 16%, rgba(4, 11, 18, 0.48) 52%, rgba(4, 11, 18, 0.64) 86%, #040b12 100%),
    radial-gradient(ellipse at 50% 56%, rgba(1, 6, 11, 0.48), transparent 58%),
    radial-gradient(circle at 79% 22%, rgba(52, 189, 242, 0.055), transparent 24%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.68), rgba(3, 10, 16, 0.44) 45%, rgba(2, 6, 10, 0.7));
}

.products-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background: url("../assets/dragon-oak-obsidian-stone.webp") 72% 58% / cover no-repeat;
  filter: saturate(1.28) contrast(1.06);
  mix-blend-mode: screen;
  mask-image:
    radial-gradient(circle at 18% 34%, transparent 0 17%, black 28%, transparent 46%),
    radial-gradient(circle at 84% 24%, black 0 9%, transparent 28%),
    radial-gradient(circle at 66% 76%, black 0 10%, transparent 30%);
}

.products-section .container {
  position: relative;
  z-index: 2;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: 45px;
}

.product-card {
  min-width: 0;
  min-height: 430px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 204, 240, 0.26);
  background:
    linear-gradient(135deg, rgba(132, 175, 204, 0.12), transparent 20%),
    radial-gradient(circle at 60% 30%, rgba(49, 145, 190, 0.12), transparent 34%),
    linear-gradient(155deg, #111c26, #05090d);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.045),
    inset 0 0 0 1px rgba(36, 86, 118, 0.12),
    0 16px 38px rgba(0, 0, 0, 0.22);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 211, 252, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.06),
    inset 0 0 0 1px rgba(91, 177, 220, 0.16),
    0 20px 48px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(52, 189, 242, 0.09);
}

.product-art {
  flex: 1 1 auto;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: clamp(6px, 0.6vw, 8px);
  overflow: hidden;
  color: rgba(162, 224, 249, 0.8);
  font-size: 72px;
  background:
    radial-gradient(circle at center, rgba(52, 189, 242, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(2, 6, 9, 0.12));
}

.product-art img {
  width: 100%;
  height: 100%;
  max-height: 322px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.38));
  transition: transform 0.45s ease;
}

.product-card:hover .product-art img {
  transform: scale(1.035);
}

.product-label {
  min-height: 104px;
  height: 106px;
  padding: 17px 22px 16px;
  border-top: 1px solid rgba(128, 204, 240, 0.18);
  background:
    linear-gradient(180deg, rgba(9, 22, 32, 0.94), rgba(2, 6, 9, 0.98)),
    rgba(2, 6, 9, 0.92);
}

.product-label h3 {
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 1.2px;
  color: var(--silver);
}

.product-label p {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #95a7b5;
}

/* Custom Creations */
.custom-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    url("../assets/dragon-oak-obsidian-stone.webp") 44% 62% / cover no-repeat,
    linear-gradient(180deg, rgba(4, 8, 13, 0.92), rgba(6, 12, 18, 0.98));
}

.custom-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 11, 18, 0.6) 0%, rgba(4, 11, 18, 0.28) 15%, rgba(4, 11, 18, 0.38) 55%, rgba(4, 11, 18, 0.58) 86%, #040b12 100%),
    radial-gradient(circle at 29% 50%, rgba(1, 5, 9, 0.66), transparent 31%),
    radial-gradient(ellipse at 74% 46%, rgba(1, 5, 9, 0.62), transparent 39%),
    radial-gradient(circle at 12% 24%, rgba(52, 189, 242, 0.12), transparent 24%),
    radial-gradient(circle at 91% 70%, rgba(52, 189, 242, 0.1), transparent 25%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.62), rgba(3, 10, 16, 0.3) 48%, rgba(2, 6, 10, 0.66));
}

.custom-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  background: url("../assets/dragon-oak-obsidian-stone.webp") 78% 36% / cover no-repeat;
  filter: saturate(1.38) contrast(1.1);
  mix-blend-mode: screen;
  mask-image:
    radial-gradient(circle at 8% 25%, black 0 13%, transparent 31%),
    radial-gradient(circle at 91% 68%, black 0 15%, transparent 33%),
    radial-gradient(circle at 53% 10%, black 0 9%, transparent 25%),
    radial-gradient(circle at 47% 88%, black 0 10%, transparent 28%);
}

.custom-section .container {
  position: relative;
  z-index: 2;
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 76px);
}

.custom-art {
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 204, 240, 0.22);
  background:
    radial-gradient(circle at center, rgba(52, 189, 242, 0.12), transparent 37%),
    radial-gradient(circle at 50% 52%, rgba(229, 237, 245, 0.05), transparent 22%),
    linear-gradient(145deg, rgba(12, 25, 36, 0.82), rgba(3, 7, 11, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.04),
    inset 0 0 0 1px rgba(36, 86, 118, 0.11),
    0 22px 48px rgba(0, 0, 0, 0.26);
}

.custom-art::before,
.custom-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.custom-art::before {
  width: min(420px, 76%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(128, 204, 240, 0.22);
  box-shadow:
    inset 0 0 70px rgba(52, 189, 242, 0.045),
    0 0 42px rgba(52, 189, 242, 0.045);
}

.custom-art::after {
  inset: 22px;
  border-top: 1px solid rgba(128, 204, 240, 0.18);
  border-bottom: 1px solid rgba(128, 204, 240, 0.08);
  background:
    linear-gradient(90deg, transparent, rgba(128, 204, 240, 0.08), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(132, 175, 204, 0.06), transparent) bottom / 100% 1px no-repeat;
}

.custom-logo {
  position: relative;
  z-index: 1;
  width: min(430px, 90%);
  filter:
    drop-shadow(0 22px 40px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 18px rgba(52, 189, 242, 0.08));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.custom-art:hover .custom-logo {
  transform: scale(1.025);
  filter:
    drop-shadow(0 24px 44px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 24px rgba(52, 189, 242, 0.11));
}

.custom-copy {
  max-width: 650px;
}

.custom-copy .section-title {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 58px);
}

.custom-copy .section-intro {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.85;
}

.custom-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  margin: 34px 0 38px;
}

.custom-list li {
  position: relative;
  min-width: 0;
  padding-left: 28px;
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
}

.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(128, 220, 255, 0.72);
  background: rgba(52, 189, 242, 0.12);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(52, 189, 242, 0.12);
}

.custom-copy .btn-primary {
  min-width: 205px;
  box-shadow:
    0 0 28px rgba(52, 189, 242, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    url("../assets/dragon-oak-obsidian-stone.webp") 68% 46% / cover no-repeat,
    linear-gradient(90deg, rgba(7, 13, 20, 0.99), rgba(5, 10, 16, 0.95));
  border-top: 1px solid rgba(126, 200, 235, 0.09);
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 11, 18, 0.68) 0%, rgba(4, 11, 18, 0.46) 18%, rgba(4, 11, 18, 0.5) 58%, rgba(4, 11, 18, 0.66) 100%),
    radial-gradient(ellipse at 28% 44%, rgba(1, 5, 9, 0.72), transparent 44%),
    radial-gradient(ellipse at 74% 54%, rgba(1, 5, 9, 0.46), transparent 42%),
    radial-gradient(circle at 90% 19%, rgba(52, 189, 242, 0.045), transparent 22%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.7), rgba(3, 10, 16, 0.5) 46%, rgba(2, 6, 10, 0.62));
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.075;
  background: url("../assets/dragon-oak-obsidian-stone.webp") 18% 74% / cover no-repeat;
  filter: saturate(1.2) contrast(1.04);
  mix-blend-mode: screen;
  mask-image:
    radial-gradient(circle at 91% 20%, black 0 10%, transparent 29%),
    radial-gradient(circle at 70% 65%, black 0 9%, transparent 27%),
    radial-gradient(circle at 4% 79%, black 0 9%, transparent 25%);
}

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

.about .section-intro + .section-intro {
  margin-top: 22px;
}

.about .section-title {
  margin-bottom: 24px;
}

.about .section-intro {
  max-width: 660px;
  font-size: 17px;
  line-height: 1.85;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 6vw, 65px);
  align-items: center;
}

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

.value {
  min-width: 0;
  min-height: 148px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 204, 240, 0.23);
  background:
    linear-gradient(135deg, rgba(132, 175, 204, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(9, 18, 26, 0.98), rgba(3, 7, 11, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.045),
    inset 0 0 0 1px rgba(36, 86, 118, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.24);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.value::before,
.value::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.value::before {
  left: 18px;
  right: 18px;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 204, 240, 0.32), transparent);
}

.value::after {
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 1px;
  background: rgba(128, 204, 240, 0.22);
  box-shadow: 0 -7px 0 rgba(132, 175, 204, 0.08);
}

.value:hover {
  transform: translateY(-3px);
  border-color: rgba(128, 220, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.06),
    inset 0 0 0 1px rgba(91, 177, 220, 0.16),
    0 20px 42px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(52, 189, 242, 0.075);
}

.value strong {
  display: block;
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.15;
  color: var(--ice-bright);
}

.value span {
  position: relative;
  z-index: 1;
  color: #a8b7c4;
  font-size: 14px;
  line-height: 1.55;
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    url("../assets/dragon-oak-obsidian-stone.webp") 54% 48% / cover no-repeat,
    rgba(4, 8, 12, 0.94);
  border-top: 1px solid rgba(126, 200, 235, 0.08);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 11, 18, 0.58) 0%, rgba(4, 11, 18, 0.3) 18%, rgba(4, 11, 18, 0.48) 56%, rgba(3, 8, 13, 0.76) 100%),
    radial-gradient(ellipse at 50% 47%, rgba(1, 5, 9, 0.78), transparent 38%),
    radial-gradient(circle at 8% 42%, rgba(52, 189, 242, 0.12), transparent 25%),
    radial-gradient(circle at 92% 38%, rgba(52, 189, 242, 0.13), transparent 26%),
    radial-gradient(circle at 50% 96%, rgba(1, 5, 9, 0.72), transparent 36%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.52), rgba(3, 10, 16, 0.28) 50%, rgba(2, 6, 10, 0.54));
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.145;
  background: url("../assets/dragon-oak-obsidian-stone.webp") 24% 38% / cover no-repeat;
  filter: saturate(1.42) contrast(1.11);
  mix-blend-mode: screen;
  mask-image:
    radial-gradient(circle at 8% 34%, black 0 15%, transparent 35%),
    radial-gradient(circle at 93% 34%, black 0 16%, transparent 36%),
    radial-gradient(circle at 22% 86%, black 0 11%, transparent 28%),
    radial-gradient(circle at 78% 82%, black 0 12%, transparent 29%);
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-box {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 62px) clamp(26px, 5vw, 42px);
  text-align: center;
  border: 1px solid rgba(128, 204, 240, 0.28);
  background:
    linear-gradient(135deg, rgba(132, 175, 204, 0.12), transparent 20%),
    radial-gradient(circle at center, rgba(52, 189, 242, 0.085), transparent 50%),
    rgba(7, 12, 18, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.045),
    inset 0 0 0 1px rgba(36, 86, 118, 0.12),
    0 24px 54px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(52, 189, 242, 0.055);
}

.contact-box::before,
.contact-box::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-box::before {
  left: 28px;
  right: 28px;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 204, 240, 0.32), transparent);
}

.contact-box::after {
  left: 28px;
  right: 28px;
  bottom: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132, 175, 204, 0.18), transparent);
}

.contact-box .section-title {
  margin-inline: auto;
}

.contact-box p:not(.section-kicker) {
  max-width: 620px;
  margin: 10px auto 28px;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 22px;
  margin-top: 34px;
  text-align: left;
}

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

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--silver);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.35;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--ice-bright);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(128, 204, 240, 0.2);
  border-radius: 3px;
  padding: 14px 15px;
  color: var(--silver);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(3, 8, 13, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.04),
    inset 0 0 0 1px rgba(36, 86, 118, 0.08);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-field input[type="file"] {
  cursor: pointer;
  color: var(--silver-soft);
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 14px;
  border: 1px solid rgba(128, 204, 240, 0.32);
  border-radius: 3px;
  padding: 9px 13px;
  color: var(--ice-bright);
  background: rgba(52, 189, 242, 0.08);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field select {
  color-scheme: dark;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(128, 220, 255, 0.74);
  background-color: rgba(5, 13, 20, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(231, 244, 255, 0.06),
    inset 0 0 0 1px rgba(52, 189, 242, 0.16),
    0 0 0 3px rgba(52, 189, 242, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: rgba(255, 116, 116, 0.72);
}

.field-error {
  min-height: 18px;
  margin: 0;
  color: #ffb0a8;
  font-size: 12px;
  line-height: 1.4;
}

.field-help {
  margin: -2px 0 0;
  color: #8d9eaa;
  font-size: 12px;
  line-height: 1.45;
}

.file-summary {
  display: grid;
  gap: 8px;
}

.file-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(128, 204, 240, 0.16);
  border-radius: 3px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(3, 8, 13, 0.52);
}

.file-details {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.file-pill strong {
  min-width: 0;
  overflow: hidden;
  color: var(--silver);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta {
  color: #8d9eaa;
  font-size: 12px;
  line-height: 1.35;
}

.file-remove {
  flex: 0 0 auto;
  border: 1px solid rgba(128, 204, 240, 0.22);
  border-radius: 3px;
  padding: 7px 9px;
  color: var(--ice-bright);
  background: rgba(52, 189, 242, 0.06);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.file-remove:hover,
.file-remove:focus-visible {
  color: var(--silver);
  border-color: rgba(128, 220, 255, 0.46);
}

.file-reset {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--ice-bright);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
}

.file-reset:hover,
.file-reset:focus-visible {
  color: var(--silver);
}

.form-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-box .btn-primary {
  justify-self: center;
  min-width: 245px;
  border: 0;
  cursor: pointer;
  box-shadow:
    0 0 30px rgba(52, 189, 242, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.contact-box .btn-primary:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
  box-shadow:
    0 0 18px rgba(52, 189, 242, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.form-status {
  min-height: 24px;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.form-status.is-success {
  color: var(--ice-bright);
}

.form-status.is-error {
  color: #ffb0a8;
}

/* Footer */
.site-footer {
  padding: 62px 0 30px;
  border-top: 1px solid rgba(126, 199, 235, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 12, 18, 0.98), #030609 42%),
    #030609;
}

.site-footer .container {
  position: relative;
}

.site-footer .container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 204, 240, 0.28), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 1fr) minmax(160px, 1fr);
  gap: clamp(35px, 6vw, 60px);
}

.footer-tagline {
  margin-top: 20px;
  max-width: 330px;
  line-height: 1.65;
}

.site-footer h4 {
  margin-bottom: 16px;
  font-family: Georgia, serif;
  letter-spacing: 1.2px;
  color: var(--silver);
  font-size: 17px;
}

.site-footer p,
.site-footer a {
  color: #93a3b0;
  font-size: 14px;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ice-bright);
}

.copyright {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(128, 204, 240, 0.1);
  color: #6f7f8b;
  font-size: 12px;
  text-align: center;
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .custom-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid > div:first-child {
    max-width: 680px;
  }

  .hero-grid {
    padding: 70px 0 56px;
  }

  .crest-wrap {
    min-height: 360px;
  }

  .hero-logo {
    width: min(420px, 82vw);
  }

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

  .custom-art {
    min-height: 420px;
  }

  .custom-copy {
    max-width: none;
  }

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

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

  .feature {
    border-bottom: 1px solid rgba(130, 190, 220, 0.11);
  }

  .feature:nth-child(2n) {
    border-right: none;
  }

  .feature:last-child {
    grid-column: 1 / -1;
    border-bottom: none;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: none;
    padding: 22px max(20px, 5vw);
    border-bottom: 1px solid var(--line);
    background: rgba(3, 7, 11, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 74px;
    gap: 16px;
  }

  .nav-menu {
    top: 74px;
  }

  .mini-crest {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    font-size: 16px;
    letter-spacing: 1.4px;
  }

  .brand-name small {
    font-size: 9px;
    letter-spacing: 5px;
  }

  .hero-grid {
    padding: 58px 0 46px;
  }

  h1 {
    font-size: 48px;
  }

  h1 span {
    font-size: 17px;
    letter-spacing: 8px;
  }

  .tagline {
    font-size: 14px;
  }

  .hero-buttons {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .crest-wrap {
    min-height: 300px;
  }

  .features,
  .product-grid,
  .values,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding-inline: 20px;
  }

  .contact-form {
    gap: 20px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .feature,
  .feature:nth-child(2n) {
    border-right: none;
  }

  .feature:last-child {
    grid-column: auto;
  }

  .service-card {
    padding: 28px;
  }

  .product-card {
    min-height: 390px;
  }

  .product-art {
    min-height: 270px;
  }

  .product-art img {
    min-height: 0;
    max-height: 273px;
  }

  .custom-art {
    min-height: 340px;
  }

  .custom-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value {
    min-height: 132px;
    padding: 26px 22px 22px;
  }
}
