:root {
  --bg: #060606;
  --bg-soft: #0b0b0b;
  --panel: #111111;
  --panel-soft: #151515;

  --ivory: #f6f1e8;
  --ivory-soft: #ddd4c7;
  --cream: #efe8dc;
  --white: #ffffff;

  --ink: #141414;
  --ink-soft: #2a2722;
  --ink-muted: rgba(20, 20, 20, 0.72);

  --text: #f4efe7;
  --text-soft: #d2c8bb;
  --text-muted: #aca296;
  --text-faint: #8f867b;

  --gold: #b79c72;
  --gold-deep: #927751;

  --line: rgba(246, 241, 232, 0.1);
  --line-soft: rgba(246, 241, 232, 0.06);
  --line-dark: rgba(20, 20, 20, 0.08);

  --shadow-xl: 0 28px 90px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.16);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;

  --max-width: 1360px;
  --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================
   RESET
   ========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
figure,
blockquote {
  margin-top: 0;
}

.container {
  width: min(var(--max-width), calc(100% - 56px));
  margin: 0 auto;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4,
.brand-mark {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.03em;
}

.section-kicker,
.venture-label,
.build-card-kicker,
.showcase-label,
.hero-panel-label,
.meta-label {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
}

.section-head h2,
.philosophy-left h2,
.build-head h2,
.final-cta-inner h2,
.case-intro-grid h2,
.editorial-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.97;
  font-weight: 600;
}

.section-intro {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--text-faint);
  font-size: 1rem;
  line-height: 1.82;
}

.section-light .section-kicker,
.section-cream .section-kicker {
  color: var(--gold-deep);
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(6, 6, 6, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 6, 6, 0.88);
  border-bottom-color: var(--line-soft);
}

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

.brand-mark {
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ivory);
  white-space: nowrap;
}

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

.site-nav a,
.footer-links a {
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ivory);
}

.site-nav a:hover::after,
.footer-links a:hover::after {
  width: 100%;
}

/* Active nav link */
.nav-active {
  color: var(--ivory) !important;
}

.nav-active::after {
  width: 100% !important;
  background: var(--gold) !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(246, 241, 232, 0.2);
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(246, 241, 232, 0.36);
}

/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  max-height: 1120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.14), rgba(8, 8, 8, 0.88)),
    url("images/hero-bg.jpeg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(183, 156, 114, 0.12), transparent 20%),
    radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.04), transparent 18%);
  pointer-events: none;
}

/* Hero content — visible */
.hero-content {
  display: block;
}

.hero-bg,
.hero-vignette,
.hero-rule,
.hero-scroll,
.hero-scroll-line {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 132px 0 92px;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 820px;
  font-size: clamp(4rem, 8vw, 7.3rem);
  line-height: 0.9;
  font-weight: 600;
  color: var(--ivory);
}

.hero h1 em {
  display: block;
  color: var(--ivory-soft);
  font-weight: 500;
  font-style: italic;
}

.hero .section-kicker {
  display: block;
  margin-bottom: 20px;
}

.hero-copy {
  display: block;
  max-width: 600px;
  margin: 0 0 36px;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.84;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
}

.btn-hero-primary,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-hero-primary {
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-hero-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hero-ghost {
  border: 1px solid rgba(246, 241, 232, 0.28);
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.025);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 241, 232, 0.44);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  transition: all var(--transition);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  background: var(--ivory);
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.025);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 241, 232, 0.34);
}

/* =========================
   INTRO STRIP
   ========================= */

.intro-strip {
  background: #0d0d0d;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  padding: 40px 0;
}

.intro-grid p {
  margin: 0;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.82;
}

/* =========================
   SECTIONS
   ========================= */

.section {
  padding: 124px 0;
}

.section-dark {
  background: var(--bg-soft);
}

.section-light {
  background: var(--ivory);
  color: var(--ink);
}

.section-cream {
  background: var(--cream);
  color: var(--ink);
}

.section-head {
  margin-bottom: 52px;
}

.section-head-tight {
  max-width: 980px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-inline-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--ivory-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 10px;
  transition: color var(--transition);
}

.section-inline-link:hover {
  color: var(--ivory);
}

.section-light .section-inline-link,
.section-cream .section-inline-link {
  color: rgba(20, 20, 20, 0.56);
}

.section-light .section-inline-link:hover,
.section-cream .section-inline-link:hover {
  color: var(--ink);
}

.narrow {
  max-width: 780px;
}

/* =========================
   PULL QUOTE
   ========================= */

.philosophy-quote-strip {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 78px 0;
}

.pull-quote {
  margin: 0 auto;
  max-width: 980px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--ivory);
  text-align: center;
  letter-spacing: -0.01em;
  border: none;
}

.pull-quote::before {
  content: "\201C";
  color: var(--gold);
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.18em;
  margin-right: 0.06em;
}

.pull-quote::after {
  content: "\201D";
  color: var(--gold);
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.18em;
  margin-left: 0.06em;
}

/* =========================
   SELECTED WORK
   ========================= */

.selected-work-section {
  border-top: 1px solid var(--line-soft);
}

.work-stack {
  display: grid;
  gap: 24px;
}

.work-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.work-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(183, 156, 114, 0.05), transparent 26%);
  pointer-events: none;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border-color: rgba(246, 241, 232, 0.16);
}

.work-link {
  display: block;
}

.work-media {
  position: relative;
  overflow: hidden;
  background: #111111;
  aspect-ratio: 16 / 9.1;
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-media img {
  transform: scale(1.02);
}

.work-media-flagship {
  aspect-ratio: 16 / 7.5;
  padding: 18px 18px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)), #101010;
}

.work-media-frame {
  height: 100%;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: #121212;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.work-media-frame img {
  object-fit: contain;
  object-position: center top;
  background: #121212;
}

.work-media-light {
  background: #ece7dd;
}

.work-copy {
  padding: 20px 24px 24px;
}

.work-copy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.work-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 241, 232, 0.08);
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-copy-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.work-copy-main {
  max-width: 780px;
}

.work-copy h3 {
  margin: 0 0 8px;
  color: var(--ivory);
  font-size: 2.2rem;
  line-height: 0.98;
}

.work-card-flagship .work-copy h3 {
  font-size: 2.45rem;
}

.work-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.76;
}

.venture-domain {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ivory-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-link-text {
  white-space: nowrap;
}

/* =========================
   PHILOSOPHY / ABOUT
   ========================= */

.philosophy-layout {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 78px;
  align-items: start;
}

.philosophy-left h2 {
  color: var(--ink);
  max-width: 560px;
}

.philosophy-right {
  max-width: 640px;
}

.philosophy-right p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.82;
}

.philosophy-right p:last-child {
  margin-bottom: 0;
}

/* =========================
   VENTURES
   ========================= */

.ventures-section {
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.venture-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.venture-card-light {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.venture-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.venture-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.venture-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9.8;
}

.venture-image-light {
  background: #ebe4d9;
}

.venture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.venture-card:hover .venture-image img {
  transform: scale(1.02);
}

.venture-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.venture-content h3 {
  margin: 0 0 10px;
  font-size: 1.82rem;
  line-height: 0.98;
}

.venture-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
}

.venture-card-light .venture-content h3 {
  color: #0b0b0b;
}

.venture-card-light .venture-content p {
  color: rgba(20, 20, 20, 0.72);
}

.venture-card-light .venture-label {
  color: #9a8464;
  margin-bottom: 12px;
}

.venture-card-light .venture-domain {
  color: rgba(20, 20, 20, 0.5);
  margin-top: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   SERVICES / BUILD
   ========================= */

.build-section {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 100%, rgba(183, 156, 114, 0.06), transparent 24%),
    var(--bg);
}

.build-wrap {
  display: grid;
  gap: 42px;
}

.build-head {
  max-width: 780px;
}

.build-head h2 {
  max-width: 760px;
  color: var(--ivory);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
}

.build-intro {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.82;
}

.build-primary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.build-card {
  position: relative;
  padding: 32px 30px 30px;
  border-radius: 28px;
  border: 1px solid rgba(246, 241, 232, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.012));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.build-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(183, 156, 114, 0.07), transparent 28%);
  pointer-events: none;
}

.build-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 241, 232, 0.14);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.build-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.build-index {
  display: inline-block;
  color: var(--text-faint);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
}

.build-card h3 {
  margin: 0 0 12px;
  max-width: 460px;
  color: var(--ivory);
  font-size: 1.9rem;
  line-height: 1.02;
  font-weight: 600;
}

.build-card p {
  margin: 0;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.build-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.build-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.64;
}

.build-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.build-showcase-head {
  max-width: 760px;
}

.build-showcase-head h3 {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(1.95rem, 3vw, 2.6rem);
  line-height: 1.02;
  font-weight: 600;
}

.build-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.showcase-card {
  padding: 26px 24px;
  border-radius: 24px;
  border: 1px solid rgba(246, 241, 232, 0.08);
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 241, 232, 0.14);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.showcase-card-editorial {
  background: radial-gradient(circle at top left, rgba(183, 156, 114, 0.06), transparent 34%), #121212;
}

.showcase-card-luxury {
  background: radial-gradient(circle at top center, rgba(183, 156, 114, 0.05), transparent 34%), #121212;
}

.showcase-card-founder {
  background: radial-gradient(circle at top right, rgba(120, 130, 170, 0.05), transparent 34%), #121212;
}

.showcase-card-portal {
  background: radial-gradient(circle at bottom right, rgba(183, 156, 114, 0.05), transparent 34%), #121212;
}

.showcase-card-top {
  margin-bottom: 14px;
}

.showcase-label {
  margin: 0;
}

.showcase-card h4 {
  margin: 0 0 14px;
  color: var(--ivory);
  font-size: 1.55rem;
  line-height: 1.04;
  font-weight: 600;
  max-width: 12ch;
}

.showcase-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.72;
}

/* =========================
   CASE STUDY PAGES
   ========================= */

.case-study-page {
  background: var(--bg-soft);
}

.case-hero {
  padding: 170px 0 96px;
  background:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.92)),
    url("images/hero-bg.jpeg") center center / cover no-repeat;
  border-bottom: 1px solid var(--line-soft);
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.case-hero-copy h1 {
  margin: 0 0 16px;
  color: var(--ivory);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.94;
  font-weight: 400;
}

.case-subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.case-meta {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.case-meta-item {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.meta-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.meta-value {
  color: var(--ivory-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.meta-link {
  transition: color var(--transition);
}

.meta-link:hover {
  color: var(--ivory);
}

.case-hero-image-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  padding: 20px 20px 0;
}

.case-hero-image {
  border-radius: 20px 20px 0 0;
  background: #121212;
  object-fit: contain;
  object-position: center top;
}

.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}

.case-intro-text {
  max-width: 680px;
}

.case-intro-text p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.86;
}

.case-intro-text p:last-child {
  margin-bottom: 0;
}

.section-dark .case-intro-text p,
.case-study-page .section-dark .case-intro-text p {
  color: var(--text-muted);
}

.case-full-image-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.case-full-image-card {
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.case-full-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.editorial-image-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.editorial-copy p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.84;
}

.editorial-copy p:last-child {
  margin-bottom: 0;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: start;
}

.detail-card {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.025);
}

.detail-card img {
  width: 100%;
  display: block;
}

.detail-card figcaption {
  padding: 16px 18px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.detail-card-large figcaption {
  padding: 18px 22px 20px;
}

.case-detail-grid .detail-card:not(.detail-card-large) img {
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  object-position: center top;
}

.section-light .detail-card,
.section-cream .detail-card {
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.section-light .detail-card figcaption,
.section-cream .detail-card figcaption {
  color: rgba(20, 20, 20, 0.7);
}

.case-quote-section {
  border-top: 1px solid rgba(20, 20, 20, 0.06);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.vivi-quote-section {
  background: var(--cream);
}

.case-quote-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.case-quote {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.14;
  font-style: italic;
  font-weight: 400;
}

.case-quote-caption {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.vivi-dark-band {
  background: #0a0a0a;
}

.case-principles-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.case-principles-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.case-principles-head h2 {
  max-width: 700px;
}

.case-principles-head .section-intro {
  max-width: 620px;
}

.case-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
}

.case-principles-grid .showcase-card {
  min-height: 0;
  padding: 28px 28px 26px;
  border-radius: 26px;
}

.case-principles-grid .showcase-label {
  margin: 0 0 16px;
}

.case-principles-grid .showcase-card h4 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  line-height: 1.06;
  max-width: 11ch;
}

.case-principles-grid .showcase-card p:last-child {
  max-width: 28ch;
  font-size: 0.94rem;
  line-height: 1.74;
}

/* =========================
   CTA
   ========================= */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 138px 0;
  background:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.94)),
    url("images/hero-bg.jpeg") center center / cover no-repeat;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, rgba(183, 156, 114, 0.12), transparent 24%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.final-cta-inner h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--ivory);
}

.final-cta-inner p {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.84;
}

/* =========================
   CONTACT STRIP (journal page)
   ========================= */

.contact-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 72px 0;
  text-align: center;
}

.contact-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.contact-strip-inner p {
  margin: 0;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.84;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: #090909;
  border-top: 1px solid var(--line-soft);
  padding: 32px 0 44px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-copy {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* =========================
   JOURNAL
   ========================= */

.journal-page {
  background: var(--bg-soft);
}

.journal-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--line-soft);
}

.journal-hero-inner {
  max-width: 820px;
}

.journal-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.94;
  font-weight: 300;
  color: var(--ivory);
}

.journal-hero h1 em {
  font-style: italic;
  color: var(--ivory-soft);
}

.journal-hero-sub {
  margin: 0;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.84;
}

.journal-section {
  padding-top: 80px;
}

.journal-featured {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line-soft);
}

.journal-featured-inner {
  max-width: 780px;
}

.journal-featured h2 {
  margin: 0 0 32px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 600;
  color: var(--ivory);
}

.journal-excerpt {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.88;
}

.journal-excerpt:last-of-type {
  margin-bottom: 32px;
}

.journal-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
}

.journal-cta-link::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.journal-cta-link:hover {
  color: var(--ivory);
}

.journal-cta-link:hover::after {
  width: 32px;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  overflow: hidden;
}

.journal-card {
  background: var(--bg-soft);
  transition: background var(--transition);
}

.journal-card:hover {
  background: #111111;
}

.journal-card-inner {
  padding: 44px 40px 48px;
}

.journal-card-category {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.journal-card h3 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.02;
  font-weight: 600;
  color: var(--ivory);
}

.journal-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.84;
}

.journal-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-page {
  background: var(--bg-soft);
}

.contact-page-hero {
  padding: 170px 0 72px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.92)),
    url("images/hero-bg.jpeg") center center / cover no-repeat;
}

.contact-page-hero-inner {
  max-width: 760px;
}

.contact-page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.94;
  font-weight: 300;
  color: var(--ivory);
}

.contact-page-intro {
  max-width: 620px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.84;
}

.contact-page-section {
  padding: 92px 0 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 16px;
  color: var(--ivory);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.contact-copy p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.82;
  max-width: 520px;
}

.contact-meta {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.contact-meta p {
  margin: 0;
  color: var(--text-soft);
}

.contact-form-card {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(246, 241, 232, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  color: var(--ivory-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(246, 241, 232, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ivory);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(183, 156, 114, 0.6);
  background: rgba(255, 255, 255, 0.03);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-status {
  min-height: 24px;
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =========================
   FOCUS
   ========================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1180px) {
  .hero-grid,
  .philosophy-layout,
  .case-hero-grid,
  .case-intro-grid,
  .editorial-split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .build-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .philosophy-left h2,
  .philosophy-right,
  .case-intro-text,
  .editorial-copy {
    max-width: none;
  }

  .case-hero-image-wrap {
    max-width: 920px;
  }
}

@media (max-width: 980px) {
  .intro-grid,
  .work-grid-two,
  .build-primary-grid,
  .case-detail-grid,
  .form-grid,
  .case-principles-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 96px 0;
  }

  .section-head-row,
  .work-copy-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .site-nav,
  .nav-cta {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

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

  .build-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta {
    padding: 110px 0;
  }

  .philosophy-quote-strip {
    padding: 58px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding: 90px 0 58px;
  }

  .hero h1,
  .hero-copy-wrap h1 {
    font-size: clamp(2.6rem, 10vw, 3.9rem);
  }

  .hero-copy,
  .section-intro,
  .intro-grid p,
  .philosophy-right p,
  .work-copy p,
  .venture-content p,
  .build-intro,
  .build-card p,
  .showcase-card p:last-child,
  .case-subtitle,
  .case-intro-text p,
  .editorial-copy p,
  .case-quote-caption,
  .detail-card figcaption,
  .final-cta-inner p,
  .journal-hero-sub,
  .journal-card p,
  .contact-page-intro,
  .contact-copy p {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .build-showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .pull-quote {
    font-size: clamp(1.55rem, 6vw, 2.2rem);
  }

  .journal-hero {
    padding: 130px 0 60px;
  }

  .journal-card-inner {
    padding: 32px 28px 36px;
  }

  .journal-featured-inner {
    max-width: 100%;
  }

  .contact-page-hero {
    padding: 140px 0 58px;
  }

  .contact-page-section {
    padding: 72px 0 92px;
  }

  .contact-form-card {
    padding: 22px;
    border-radius: 22px;
  }

  .work-media,
  .venture-image {
    aspect-ratio: 16 / 10.2;
  }

  .work-media-flagship {
    aspect-ratio: 16 / 9;
    padding: 16px 16px 0;
  }

  .case-hero {
    padding: 138px 0 70px;
  }

  .case-hero-copy h1 {
    font-size: clamp(2.7rem, 11vw, 4.3rem);
  }

  .case-hero-image-wrap {
    padding: 14px 14px 0;
    border-radius: 24px;
  }

  .case-hero-image {
    border-radius: 16px 16px 0 0;
  }

  .case-intro-grid,
  .editorial-split {
    gap: 34px;
  }

  .case-quote {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }

  .contact-strip {
    padding: 52px 0;
  }
}