:root {
  --ink: #10131c;
  --ink-2: #171b26;
  --gold: #c59b6a;
  --gold-deep: #9c7447;
  --paper: #f7f2ea;
  --paper-soft: #fbfaf7;
  --line: rgba(16, 19, 28, 0.14);
  --white: #ffffff;
  --muted: #6c6b68;
  --shadow: 0 24px 70px rgba(16, 19, 28, 0.18);
  --heading: "Playfair Display", Georgia, serif;
  --body: "Lato", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-soft);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(197, 155, 106, 0.5);
  color: var(--gold);
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(16, 19, 28, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.nav-links a {
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(16, 19, 28, 0.45);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section-dark {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 16%, rgba(197, 155, 106, 0.18), transparent 28%),
    radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.055), transparent 30%),
    linear-gradient(135deg, #0c0f16 0%, #141824 48%, #0f1119 100%);
}

.section-dark::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18%, transparent 78%, rgba(197, 155, 106, 0.05)),
    radial-gradient(circle at 50% 0%, rgba(197, 155, 106, 0.08), transparent 42%);
  pointer-events: none;
}

.section-light {
  background: var(--paper-soft);
}

.section-warm {
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  min-height: 100vh;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(197, 155, 106, 0.055));
  pointer-events: none;
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 58%, rgba(16, 19, 28, 0.78));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.04);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  padding: 130px 72px 96px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  color: #fff8ed;
  background-image: radial-gradient(circle, #ffffff 0%, #fffdf9 66%, #f4ead7 82%, #d7ba8a 100%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 5.7rem;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--gold);
}

h2 {
  font-size: 3.25rem;
}

.hero-copy p:not(.eyebrow),
.contact-inner p:not(.eyebrow) {
  max-width: 560px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover {
  background: #d4aa79;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-ghost:hover {
  border-color: var(--gold);
}

.profile-section,
.gallery-section,
.video-section {
  padding: 110px 0;
}

.content-grid,
.gallery-section > .section-heading {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
}

.section-heading h2 {
  color: var(--ink);
}

.profile-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px 72px;
  align-items: start;
}

.profile-heading {
  position: sticky;
  top: 32px;
}

.prose p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.profile-expertise {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 10px;
}

.expertise-item {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.expertise-item h3 {
  margin: 0 0 0.9rem;
  font-family: var(--heading);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.08;
}

.expertise-item p:last-child {
  margin: 0;
  color: var(--muted);
}

.gallery {
  width: min(1180px, calc(100% - 48px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, opacity 420ms ease;
}

.gallery-item:hover img {
  opacity: 0.86;
  transform: scale(1.055);
}

.video-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 48px;
}

.video-tile {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 14px 40px rgba(16, 19, 28, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms ease, transform 420ms ease;
}

.video-tile:hover img {
  opacity: 0.76;
  transform: scale(1.055);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 155, 106, 0.92);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.video-tile:hover .play-badge {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

.play-badge::after {
  position: absolute;
  top: 50%;
  left: 52%;
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--ink);
  transform: translate(-50%, -50%);
}

.video-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 46%;
  padding: 58px 14px 14px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(16, 19, 28, 0.86));
  transform: translateY(calc(100% - 46px));
  transition: transform 220ms ease;
}

.video-tile:hover .video-meta,
.video-tile:focus-visible .video-meta {
  transform: translateY(0);
}

.video-meta span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.video-meta strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.contact {
  padding: 105px 24px;
  text-align: center;
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact-inner .actions {
  justify-content: center;
}

.contact-inner p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  position: relative;
  padding: 34px 24px;
  display: flex;
  color: rgba(255, 255, 255, 0.66);
  background:
    radial-gradient(circle at 18% 0%, rgba(197, 155, 106, 0.14), transparent 30%),
    linear-gradient(135deg, #111520, #171b26 56%, #0d1018);
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-inner .brand {
  justify-self: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  justify-self: end;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 56vh;
  }

  .hero-media::after {
    background: linear-gradient(180deg, transparent 54%, rgba(16, 19, 28, 0.88));
  }

  .hero-copy {
    max-width: none;
    padding: 46px 48px 82px;
  }

  h1 {
    font-size: 4.45rem;
  }

  .content-grid,
  .profile-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .profile-heading {
    position: static;
  }

  .profile-expertise {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 32px, 1180px);
    padding-top: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(16, 19, 28, 0.94);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-media {
    min-height: 58vh;
  }

  .hero-copy {
    padding: 36px 24px 70px;
  }

  h1 {
    font-size: 3.28rem;
  }

  h2 {
    font-size: 2.38rem;
  }

  .profile-section,
  .gallery-section,
  .video-section {
    padding: 74px 0;
  }

  .content-grid,
  .profile-inner,
  .gallery,
  .gallery-section > .section-heading,
  .video-inner {
    width: calc(100% - 32px);
  }

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

  .profile-expertise {
    grid-template-columns: 1fr;
  }

  .video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-inner .brand,
  .site-footer p {
    justify-self: center;
  }

  .site-footer p {
    text-align: center;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.7rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
