:root {
  --bg: #0b0a08;
  --bg1: #100f0c;
  --bg2: #141310;
  --bg3: #1c1a16;
  --amber: #c8893a;
  --amber2: #e0a050;
  --cream: #f0ede6;
  --muted: #7a7468;
  --faint: #2e2c28;
  --border: rgba(200, 137, 58, 0.15);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(200, 137, 58, 0.28);
  color: var(--cream);
}

img,
video,
iframe,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.055'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

* {
  cursor: none;
}

#cur {
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    border-color 0.3s;
}

#cur.view-mode {
  width: 76px;
  height: 76px;
  background: rgba(11, 10, 8, 0.65);
  border: 1px solid rgba(200, 137, 58, 0.5);
  backdrop-filter: blur(8px);
}

#cur-label {
  color: var(--amber);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
}

#cur.view-mode #cur-label {
  opacity: 1;
}

#cur-r {
  position: fixed;
  z-index: 9998;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200, 137, 58, 0.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

#cur.view-mode ~ #cur-r {
  opacity: 0;
}

body:has(a:hover) #cur:not(.view-mode),
body:has(button:hover) #cur:not(.view-mode) {
  width: 11px;
  height: 11px;
}

body:has(a:hover) #cur-r,
body:has(button:hover) #cur-r {
  width: 44px;
  height: 44px;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 52px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

nav.scrolled {
  background: rgba(11, 10, 8, 0.85);
  border-color: var(--faint);
  backdrop-filter: blur(16px);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  text-decoration: none;
}

.nav-brand-name {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-brand-sub {
  color: var(--amber);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-block;
  flex-shrink: 0;
  padding: 9px 20px;
  border: 1px solid rgba(200, 137, 58, 0.4);
  color: var(--amber);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-cta:hover {
  background: var(--amber);
  color: var(--bg);
}

#hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1508 0%, #0b0a08 40%, #0d1218 100%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.06;
  pointer-events: none;
}

.hero-lines::before,
.hero-lines::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--cream);
}

.hero-lines::before {
  top: 6vh;
}

.hero-lines::after {
  bottom: 6vh;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 75% 60%, rgba(180, 100, 20, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(20, 40, 80, 0.18) 0%, transparent 60%);
}

.hero-video-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video-area iframe,
.hero-video-area .media-node--video,
.hero-video-area .media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.hero-video-area .media-node--video {
  border: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  pointer-events: none;
}

.hero-video-area .media-placeholder {
  padding: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(11, 10, 8, 0.8) 100%),
    linear-gradient(to top, rgba(11, 10, 8, 1) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(11, 10, 8, 0.6) 0%, transparent 20%);
}

.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity 0.6s ease;
}

.hero-poster.gone {
  opacity: 0;
  pointer-events: none;
}

.play-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(200, 137, 58, 0.5);
  border-radius: 50%;
  background: rgba(200, 137, 58, 0.06);
  color: var(--cream);
  backdrop-filter: blur(6px);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.hero-poster:hover .play-ring,
.hero-poster:focus-visible .play-ring {
  transform: scale(1.1);
  border-color: var(--amber);
  background: rgba(200, 137, 58, 0.12);
}

.play-ring svg {
  margin-left: 5px;
}

.play-label-outer {
  color: rgba(240, 237, 230, 0.35);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 52px 64px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  opacity: 0.8;
  text-transform: uppercase;
}

.hero-location::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--amber);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 8.5vw, 112px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.hero-title em {
  color: rgba(240, 237, 230, 0.45);
  font-style: italic;
}

.hero-desc {
  max-width: 480px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero-desc span {
  color: rgba(200, 137, 58, 0.7);
}

.hero-meta {
  position: absolute;
  right: 52px;
  bottom: 64px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: rgba(240, 237, 230, 0.2);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meta-line {
  position: relative;
  align-self: flex-end;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(240, 237, 230, 0.1);
}

.meta-line::after {
  content: "";
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(200, 137, 58, 0.6);
  animation: drip 2.2s ease-in-out infinite;
}

@keyframes drip {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: char-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  background: var(--bg);
}

.marquee-inner {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-inner span {
  padding-right: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee-inner em {
  color: var(--amber);
  font-style: normal;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

section {
  padding: 120px 52px;
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 72px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  opacity: 0.7;
  text-transform: uppercase;
}

.sec-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(200, 137, 58, 0.4);
}

.media-slot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg3);
}

.media-slot > * {
  width: 100%;
  height: 100%;
}

.media-node {
  width: 100%;
  height: 100%;
}

.media-node--image,
.media-node--video {
  object-fit: cover;
}

.media-node--embed {
  border: 0;
}

.media-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  background: var(--media-placeholder-bg, linear-gradient(160deg, #181512 0%, #11100d 60%, #090807 100%));
  color: var(--cream);
  overflow: hidden;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(224, 160, 80, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(11, 10, 8, 0.2) 100%);
  pointer-events: none;
}

.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240, 237, 230, 0.08);
  pointer-events: none;
}

.media-placeholder-eyebrow,
.media-placeholder-title,
.media-placeholder-detail {
  position: relative;
  z-index: 1;
}

.media-placeholder-eyebrow {
  color: rgba(240, 237, 230, 0.55);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.media-placeholder-title {
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.1;
}

.media-placeholder-detail {
  max-width: 24ch;
  color: rgba(240, 237, 230, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

#about {
  background: var(--bg1);
  border-top: 1px solid var(--faint);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.about-wrap > *,
.srv-top > *,
.contact-grid > * {
  min-width: 0;
}

.about-img {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--faint);
}

.about-img::before,
.about-img::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 20px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 14px,
    rgba(240, 237, 230, 0.06) 14px,
    rgba(240, 237, 230, 0.06) 22px
  );
}

.about-img::before {
  left: 0;
}

.about-img::after {
  right: 0;
}

.about-media .media-placeholder {
  justify-content: flex-end;
}

.about-heading {
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.about-heading em {
  color: rgba(240, 237, 230, 0.45);
  font-style: italic;
}

.about-quote {
  margin-bottom: 36px;
  padding-left: 20px;
  border-left: 2px solid rgba(200, 137, 58, 0.3);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.8;
}

.about-bio {
  max-width: 500px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.about-bio strong {
  color: var(--cream);
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--faint);
}

.stat-n {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.stat-l {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#work {
  padding: 0;
  overflow: visible;
  background: var(--bg);
  border-top: 1px solid var(--faint);
}

.work-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 80px 52px 52px;
}

.work-heading {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.work-heading em {
  color: rgba(240, 237, 230, 0.4);
  font-style: italic;
}

.work-count {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-pin {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.work-rail {
  display: flex;
  gap: 16px;
  padding: 0 52px;
  will-change: transform;
}

.wcard {
  flex-shrink: 0;
  width: 380px;
  overflow: hidden;
  border: 1px solid var(--faint);
  background: transparent;
  color: inherit;
  transition: border-color 0.35s;
}

.wcard:hover,
.wcard:focus-visible {
  border-color: rgba(200, 137, 58, 0.35);
}

.wcard-thumb {
  position: relative;
  height: 58vh;
  overflow: hidden;
}

.wcard-media {
  position: absolute;
  inset: 0;
}

.wcard-media > * {
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wcard:hover .wcard-media > *,
.wcard:focus-visible .wcard-media > * {
  transform: scale(1.06);
}

.wcard-frame {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: rgba(240, 237, 230, 0.07);
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}

.wcard-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 10, 8, 0.18);
  opacity: 0;
  transition: opacity 0.3s;
}

.wcard:hover .wcard-hover,
.wcard:focus-visible .wcard-hover {
  opacity: 1;
}

.wi-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(200, 137, 58, 0.5);
  border-radius: 50%;
  background: rgba(11, 10, 8, 0.4);
  color: var(--cream);
  backdrop-filter: blur(10px);
  transition: transform 0.2s;
}

.wcard:hover .wi-play-btn,
.wcard:focus-visible .wi-play-btn {
  transform: scale(1.05);
}

.wi-play-btn svg {
  margin-left: 4px;
}

.wcard-info {
  padding: 14px 18px 18px;
  background: var(--bg2);
  border-top: 1px solid var(--faint);
}

.wi-cat {
  margin-bottom: 5px;
  color: var(--amber);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  opacity: 0.7;
  text-transform: uppercase;
}

.wi-title {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.wi-client {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.work-progress-wrap {
  position: absolute;
  right: 52px;
  bottom: 0;
  left: 52px;
  height: 1px;
  background: var(--faint);
}

.work-progress-bar {
  width: 0;
  height: 100%;
  background: var(--amber);
  transition: width 0.05s linear;
}

.work-drag-hint {
  position: absolute;
  right: 52px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 237, 230, 0.18);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-drag-hint::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

#modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 10, 8, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(8px);
}

#modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  position: relative;
  width: min(960px, 92vw);
}

.modal-media-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.modal-media-wrap > * {
  width: 100%;
  height: 100%;
}

.modal-media-wrap .media-placeholder {
  justify-content: center;
}

.modal-x {
  position: absolute;
  top: -48px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.modal-x:hover,
.modal-x:focus-visible {
  color: var(--cream);
}

#services {
  background: var(--bg1);
  border-top: 1px solid var(--faint);
}

.srv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 80px;
}

.srv-heading {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.srv-heading em {
  color: rgba(240, 237, 230, 0.4);
  font-style: italic;
}

.srv-sub {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.srv-sub strong {
  color: var(--cream);
  font-weight: 400;
}

.srv-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--faint);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.srv-row:last-child {
  border-bottom: 1px solid var(--faint);
}

.srv-row:hover {
  border-color: rgba(200, 137, 58, 0.3);
}

.srv-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.srv-row:hover::after {
  width: 100%;
}

.srv-n {
  padding-top: 5px;
  color: rgba(200, 137, 58, 0.4);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.srv-name {
  margin-bottom: 9px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.srv-desc {
  max-width: 500px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.srv-badge {
  margin-top: 5px;
  padding: 7px 13px;
  border: 1px solid var(--faint);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.srv-row:hover .srv-badge {
  border-color: rgba(200, 137, 58, 0.3);
  color: var(--amber);
}

#contact {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--faint);
}

#contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200, 137, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact-heading em {
  color: rgba(200, 137, 58, 0.5);
  font-style: italic;
}

.contact-sub {
  max-width: 400px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.contact-links {
  margin-top: 52px;
}

.c-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--faint);
  text-decoration: none;
  transition: opacity 0.2s;
}

.c-link:last-child {
  border-bottom: 1px solid var(--faint);
}

.c-link:hover,
.c-link:focus-visible {
  opacity: 0.5;
}

.c-link-name {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.c-link-val {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.c-link-arr {
  color: var(--amber);
  font-size: 16px;
  opacity: 0.5;
}

.cform {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flabel {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.finput,
.ftextarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--faint);
  background: rgba(240, 237, 230, 0.03);
  color: var(--cream);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.finput:focus,
.ftextarea:focus {
  border-color: rgba(200, 137, 58, 0.4);
}

.finput::placeholder,
.ftextarea::placeholder {
  color: rgba(120, 116, 104, 0.5);
}

.ftextarea {
  min-height: 120px;
  resize: vertical;
}

.fsub {
  align-self: flex-start;
  display: inline-block;
  padding: 16px 32px;
  border: 0;
  background: var(--amber);
  color: var(--bg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    opacity 0.2s,
    background 0.2s,
    color 0.2s,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fsub:hover,
.fsub:focus-visible {
  background: var(--amber2);
}

.fsub:disabled {
  opacity: 0.7;
}

.fsub.is-error {
  background: #6b2a24;
  color: var(--cream);
}

.fsub.is-busy,
.fsub.is-success {
  background: var(--amber2);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  background: var(--bg);
  border-top: 1px solid var(--faint);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

footer a {
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--amber);
}

.footer-brand {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
}

[data-r] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-r].in {
  opacity: 1;
  transform: translateY(0);
}

.hero-poster:focus-visible,
.wcard:focus-visible,
.nav-cta:focus-visible,
.modal-x:focus-visible,
.c-link:focus-visible,
.finput:focus-visible,
.ftextarea:focus-visible,
.fsub:focus-visible {
  outline: 1px solid rgba(200, 137, 58, 0.5);
  outline-offset: 4px;
}

@media (min-width: 901px) {
  #hero {
    display: block;
    height: 100vh;
    min-height: 760px;
  }

  .hero-video-area {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .hero-content {
    position: absolute;
    left: 52px;
    right: 52px;
    bottom: 64px;
    padding: 0;
    z-index: 4;
  }

  .hero-meta {
    position: absolute;
    right: 52px;
    bottom: 64px;
  }
}

@media (max-width: 900px) {
  nav {
    gap: 12px;
    padding: 16px 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-brand-name {
    font-size: 15px;
    line-height: 1.1;
  }

  .nav-brand-sub {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  section {
    padding: 80px 24px;
  }

  #hero {
    display: block;
    height: auto;
    min-height: 0;
    padding-top: 88px;
  }

  .hero-video-area {
    position: relative;
    inset: auto;
    padding: 0 24px;
    margin-bottom: 24px;
    overflow: hidden;
  }

  .hero-video-area iframe,
  .hero-video-area .media-node--video,
  .hero-video-area .media-placeholder {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: none;
    transform: none;
  }

  .hero-video-area .media-node--video {
    object-fit: cover;
  }

  .hero-content {
    padding: 0 24px 40px;
  }

  .hero-location {
    max-width: 22rem;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.18em;
    line-height: 1.6;
  }

  .hero-title {
    font-size: clamp(42px, 16vw, 72px);
    line-height: 0.96;
  }

  .hero-desc {
    max-width: 26ch;
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-meta,
  .hero-poster {
    display: none;
  }

  .hero-video-area .media-placeholder {
    padding: 24px;
  }

  .marquee {
    padding: 14px 0;
  }

  .marquee-inner span {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .about-wrap,
  .srv-top,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-img {
    position: static;
    max-width: 100%;
    aspect-ratio: 3 / 2;
  }

  .about-heading,
  .srv-heading,
  .contact-heading {
    font-size: clamp(34px, 11vw, 56px);
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 80px 24px 32px;
  }

  .work-pin {
    display: block;
    height: auto;
    overflow: visible;
  }

  .work-rail {
    flex-direction: column;
    gap: 3px;
    padding: 0 24px 24px;
    transform: none !important;
  }

  .wcard {
    width: 100%;
  }

  .wcard-thumb {
    height: min(72vw, 420px);
  }

  .work-progress-wrap,
  .work-drag-hint {
    display: none;
  }

  .srv-row {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }

  .srv-badge {
    display: none;
  }

  .contact-grid {
    gap: 44px;
  }

  .contact-links {
    margin-top: 36px;
  }

  .c-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: start;
  }

  .c-link-name {
    grid-column: 1;
    grid-row: 1;
  }

  .c-link-val {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .c-link-arr {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    text-align: center;
  }

  * {
    cursor: auto;
  }

  #cur,
  #cur-r {
    display: none;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 14px 14px;
  }

  .nav-brand-name {
    font-size: 14px;
  }

  .nav-brand-sub {
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .nav-cta {
    padding: 7px 11px;
    font-size: 9px;
  }

  section {
    padding: 72px 16px;
  }

  #hero {
    padding-top: 80px;
  }

  .hero-video-area {
    padding: 0 16px;
    margin-bottom: 18px;
  }

  .hero-content {
    padding: 0 16px 28px;
  }

  .hero-location {
    margin-bottom: 16px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .hero-location::before {
    width: 18px;
  }

  .hero-title {
    font-size: clamp(38px, 15vw, 58px);
  }

  .hero-desc {
    margin-top: 14px;
    font-size: 12px;
  }

  .work-top {
    padding: 72px 16px 24px;
  }

  .work-rail {
    padding: 0 16px 16px;
  }

  .wcard-thumb {
    height: min(78vw, 340px);
  }

  .wcard-info {
    padding: 12px 14px 14px;
  }

  .srv-top,
  .contact-grid {
    gap: 36px;
  }

  .srv-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .srv-n {
    padding-top: 0;
  }

  .contact-links {
    margin-top: 28px;
  }

  .c-link {
    padding: 16px 0;
  }

  .c-link-name {
    font-size: 12px;
  }

  .c-link-val {
    font-size: 11px;
  }

  footer {
    padding: 20px 16px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
