:root {
  --bg: #040302;
  --bg-soft: #0d0907;
  --surface: rgba(175, 132, 92, 0.08);
  --surface-strong: rgba(175, 132, 92, 0.14);
  --text: #f3eee7;
  --muted: rgba(231, 220, 208, 0.74);
  --line: rgba(200, 157, 118, 0.18);
  --accent: #ad7e54;
  --accent-strong: #d9b08a;
  --accent-soft: rgba(173, 126, 84, 0.26);
  --accent-deep: #241712;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.56);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(173, 126, 84, 0.14), transparent 0 24%),
    radial-gradient(circle at 86% 18%, rgba(240, 210, 180, 0.05), transparent 0 20%),
    radial-gradient(circle at 50% 100%, rgba(92, 58, 34, 0.16), transparent 0 28%),
    linear-gradient(180deg, #020201, #060403 38%, #090705 100%);
  color: var(--text);
  font-family: "Bricolage Grotesque", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

::selection {
  background: rgba(217, 176, 138, 0.3);
  color: var(--text);
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.ambient,
.noise,
.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-a {
  z-index: -3;
  background:
    radial-gradient(circle at 18% 20%, rgba(173, 126, 84, 0.16), transparent 0 32%),
    radial-gradient(circle at 74% 16%, rgba(247, 224, 200, 0.04), transparent 0 18%);
}

.ambient-b {
  z-index: -2;
  background:
    radial-gradient(circle at 82% 76%, rgba(173, 126, 84, 0.12), transparent 0 24%),
    radial-gradient(circle at 20% 80%, rgba(121, 74, 40, 0.12), transparent 0 22%);
}

.noise {
  z-index: -1;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.spotlight {
  z-index: 10;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(217, 176, 138, 0.07), transparent 0 24%);
  transition: background 140ms ease-out;
}

.section {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(4, 3, 2, 0.52), rgba(4, 3, 2, 0.08));
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 0 auto;
}

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

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 78, 50, 0.96), rgba(217, 176, 138, 0.96));
  box-shadow: 0 0 28px rgba(173, 126, 84, 0.3);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.brand-text em {
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  gap: 26px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(144px, 22vh, 196px) 0 clamp(54px, 9vh, 86px);
}

.hero-video-shell,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video-shell {
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(0.88) contrast(1.04) brightness(0.62);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 2, 2, 0.28), rgba(3, 2, 2, 0.54) 28%, rgba(3, 2, 2, 0.8) 70%, rgba(3, 2, 2, 0.96) 100%),
    radial-gradient(circle at 22% 28%, rgba(173, 126, 84, 0.14), transparent 0 26%),
    radial-gradient(circle at 78% 22%, rgba(243, 224, 205, 0.06), transparent 0 18%);
}

.hero-copy {
  position: relative;
  max-width: min(100%, 72rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-name,
.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-name {
  max-width: none;
  font-size: clamp(2.75rem, 6vw, 4.6rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-meta {
  display: block;
  margin-top: 16px;
  color: rgba(243, 238, 231, 0.82);
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-text,
.project-copy p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.74;
  text-wrap: pretty;
}

.hero-text {
  max-width: 39rem;
  margin: 22px 0 0;
  color: rgba(243, 238, 231, 0.82);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.98rem, 1.3vw, 1.14rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.46;
  letter-spacing: 0.01em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  overflow-wrap: anywhere;
  text-align: center;
}

.button-primary {
  background: linear-gradient(180deg, rgba(173, 126, 84, 0.24), rgba(173, 126, 84, 0.08));
  border-color: rgba(217, 176, 138, 0.34);
  box-shadow: 0 16px 34px rgba(46, 25, 13, 0.24);
}

.button-secondary,
.contact-link {
  background: rgba(173, 126, 84, 0.08);
}

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 176, 138, 0.56);
}
