:root {
  --ink: #0f0807;
  --cola: #1a0e0b;
  --espresso: #241411;
  --cream: #f7f1e4;
  --sand: #ebd9bd;
  --gold: #e8a668;
  --apricot: #df9d62;
  --rose: #c86b67;
  --muted: rgba(247, 241, 228, 0.68);
  --line: rgba(247, 241, 228, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --pill: 999px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.container {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker::before {
  content: "✦";
  font-size: 0.9em;
  color: var(--rose);
}

/* ---------- HEADER ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  line-height: 0;
}

.brand-mark img {
  width: clamp(96px, 22vw, 140px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.header-meta {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.header-meta .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- BUTTONS ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: var(--pill);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    color 220ms var(--ease),
    border-color 220ms var(--ease);
}

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

.button-primary {
  background: var(--gold);
  color: var(--espresso);
  box-shadow: 0 14px 40px rgba(232, 166, 104, 0.3);
}

.button-primary:hover {
  background: var(--cream);
}

.button-ghost {
  border-color: var(--line);
  color: var(--cream);
  background: rgba(15, 8, 7, 0.35);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(247, 241, 228, 0.08);
  border-color: rgba(247, 241, 228, 0.3);
}

.button-dark {
  background: var(--espresso);
  color: var(--cream);
}

.button-dark:hover {
  background: var(--ink);
}

.button-sm {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: 0.7rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 8, 7, 0.85) 0%,
      rgba(15, 8, 7, 0.25) 30%,
      rgba(15, 8, 7, 0.55) 70%,
      rgba(15, 8, 7, 0.95) 100%
    ),
    linear-gradient(90deg, rgba(15, 8, 7, 0.55) 0%, rgba(15, 8, 7, 0) 65%);
}

.hero-content {
  position: relative;
  padding: 10rem 0 3.5rem;
  max-width: 940px;
}

.hero-content .kicker {
  margin-bottom: 1rem;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 15vw, 9.5rem);
  color: var(--cream);
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(3) {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}

.hero-intro {
  max-width: 52ch;
  margin: 1.5rem 0 2rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  position: absolute;
  top: 6rem;
  right: 1.25rem;
  display: none;
  width: 148px;
  height: 148px;
  padding: 0.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(15, 8, 7, 0.6);
  backdrop-filter: blur(10px);
  transform: rotate(-8deg);
}

.hero-badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(247, 241, 228, 0.35);
}

.hero-badge-inner {
  display: grid;
  justify-items: center;
  align-content: center;
  height: 100%;
  text-align: center;
  color: var(--cream);
  font-family: "Fraunces", serif;
}

.hero-badge-top,
.hero-badge-bottom {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

.hero-badge strong {
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  margin: 0.15rem 0;
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--cream);
  color: var(--espresso);
  overflow: hidden;
  padding: 1.15rem 0;
  border-block: 1px solid rgba(36, 20, 17, 0.1);
}

.marquee-alt {
  background: var(--gold);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  white-space: nowrap;
  animation: scroll 32s linear infinite;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.8rem, 5.5vw, 3.6rem);
  text-transform: uppercase;
  line-height: 1;
}

.marquee-track span {
  font-style: italic;
}

.marquee-track i {
  color: var(--rose);
  font-style: normal;
  font-size: 0.55em;
}

.marquee-alt .marquee-track i {
  color: var(--espresso);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------- EXPERIENCE ---------- */
.experience {
  padding: 4.5rem 0;
  background: var(--ink);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-top: 0.85rem;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  color: var(--cream);
}

.experience-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.experience-item {
  padding: 1.9rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--cola);
  transition:
    transform 260ms var(--ease),
    background 260ms var(--ease),
    border-color 260ms var(--ease);
}

.experience-item:hover {
  transform: translateY(-4px);
  background: var(--espresso);
  border-color: rgba(232, 166, 104, 0.35);
}

.experience-item .icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.experience-item .icon svg {
  width: 100%;
  height: 100%;
}

.experience-item h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.55rem;
  color: var(--cream);
}

.experience-item p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- FEATURE ---------- */
.feature {
  padding: 4.5rem 0;
  background: var(--ink);
}

.feature-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.feature-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media-accent {
  position: absolute;
  right: -0.75rem;
  bottom: -0.75rem;
  width: 46%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--ink);
  transform: rotate(4deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-media-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(2.3rem, 8vw, 5.25rem);
  color: var(--cream);
}

.feature-copy p {
  margin: 1.35rem 0 0;
  max-width: 48ch;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- OPENING ---------- */
.opening {
  padding: 5rem 0 6rem;
  background: var(--cream);
  color: var(--espresso);
}

.opening .kicker {
  color: var(--rose);
}

.opening .kicker::before {
  color: var(--gold);
}

.opening-inner {
  display: grid;
  gap: 2.5rem;
}

.opening-copy h2 {
  margin-top: 0.85rem;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  color: var(--espresso);
}

.opening-copy p {
  margin: 1.35rem 0 1.75rem;
  max-width: 54ch;
  line-height: 1.7;
  color: rgba(36, 20, 17, 0.78);
  font-size: 1.02rem;
}

.opening-panel {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.75rem;
  padding: 3rem 1.75rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 166, 104, 0.22), transparent 60%),
    var(--ink);
  text-align: center;
  color: var(--cream);
  box-shadow: 0 28px 60px rgba(36, 20, 17, 0.18);
  overflow: hidden;
}

.opening-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px dashed rgba(247, 241, 228, 0.18);
  pointer-events: none;
}

.stacked-logo {
  display: block;
  width: min(280px, 78%);
  line-height: 0;
}

.stacked-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(36, 20, 17, 0.25));
}

.panel-label {
  margin: 1rem 0 0.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel-text {
  max-width: 32ch;
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
  font-size: 0.95rem;
}

.opening-panel .stacked-logo img {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-link {
  color: var(--gold);
  border-bottom: 1px solid rgba(232, 166, 104, 0.35);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(15, 8, 7, 0.35);
  transition:
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.social-icon:hover,
.social-icon:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon-sm {
  width: 30px;
  height: 30px;
}

.social-icon-sm svg {
  width: 15px;
  height: 15px;
}

/* ---------- BREAKPOINTS ---------- */
@media (min-width: 640px) {
  .container {
    width: min(100% - 2.5rem, var(--max));
  }

  .header-meta {
    display: flex;
  }

  .hero-content {
    padding: 12rem 0 4.5rem;
  }

  .hero-badge {
    display: block;
    top: 6.5rem;
    right: 2rem;
    width: 170px;
    height: 170px;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .feature-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .feature-flip .feature-media {
    order: 2;
  }

  .opening-inner {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3rem;
    align-items: stretch;
  }

  .opening-panel {
    padding: 3rem 2rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .footer-center {
    flex: 1;
    text-align: center;
  }
}

@media (min-width: 980px) {
  .experience {
    padding: 6.5rem 0;
  }

  .experience-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature {
    padding: 6.5rem 0;
  }

  .feature-inner {
    gap: 5rem;
  }

  .hero-badge {
    width: 190px;
    height: 190px;
    top: 7rem;
    right: 3rem;
  }

  .hero-badge strong {
    font-size: 2.4rem;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: clamp(5.5rem, 11vw, 10.5rem);
  }
}
