@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #f3e4d4;
  --surface-color: #fbf0df;
  --primary-color: #660125;
  --accent-color: #9d2344;
  --accent-gold: #bf8f3b;
  --text-color: #660125;
  --text-light: rgba(102, 1, 37, .68);
  --line: rgba(102, 1, 37, .16);
  --white: #fff;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 70px rgba(102, 1, 37, .14);
  --shadow-deep: 0 34px 100px rgba(102, 1, 37, .25);
  --transition-fast: .28s ease;
}

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

html { scroll-behavior: smooth; background: var(--bg-color); }

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-color);
  background:
    radial-gradient(circle at 15% 8%, rgba(255,255,255,.45), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(157,35,68,.12), transparent 24rem),
    var(--bg-color);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(102,1,37,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,1,37,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { color: var(--text-light); }

.container {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

h1, h2, h3, h4 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: .96;
}

h1 { font-size: clamp(4rem, 8vw, 8.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(3rem, 6.4vw, 7rem); letter-spacing: -.035em; }
h3 { font-size: clamp(2rem, 3.8vw, 4rem); letter-spacing: -.025em; }

.eyebrow, .subheading-line {
  color: var(--accent-color);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.top-note {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 10px 24px;
  color: var(--bg-color);
  background: var(--primary-color);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.top-note a { color: #f7bc6e; }

.navbar {
  position: fixed;
  top: 50px;
  left: 50%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1180px);
  min-height: 70px;
  padding: 10px 18px 10px 22px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  background: rgba(251, 240, 223, .82);
  box-shadow: 0 20px 56px rgba(102,1,37,.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: top .35s var(--ease), background .35s ease;
}

.navbar.scrolled { top: 42px; background: rgba(251,240,223,.94); }
.nav-logo img {
  width: 132px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-menu a {
  padding: 12px 14px;
  border-radius: 999px;
  transition: background .25s ease;
}
.nav-menu a:hover { background: rgba(102,1,37,.08); }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
}

.brand-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  min-width: 360px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 24px;
  background: rgba(251,240,223,.94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s var(--ease);
  backdrop-filter: blur(18px);
}

.nav-dropdown:hover .brand-menu,
.nav-dropdown:focus-within .brand-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.brand-menu a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
}

.brand-menu img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.btn-primary, .btn-link, .text-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn-primary {
  color: var(--bg-color);
  background: var(--primary-color);
  box-shadow: 0 16px 38px rgba(102,1,37,.22);
}
.btn-link, .text-pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.32);
}
.btn-primary:hover, .btn-link:hover, .text-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Compatibility for secondary pages that use the earlier static header markup. */
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar > .container .nav-logo {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0;
}

.navbar > .container .nav-logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--primary-color);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(102,1,37,.08);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 190px;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 18px;
  background: rgba(251,240,223,.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s var(--ease);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}

.team-card h3,
.step-card h3,
.contact-info h2,
.contact-form h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.08;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--primary-color);
  border-radius: 999px;
  color: var(--bg-color);
  background: var(--primary-color);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

section { position: relative; padding: 120px 0; }

.hero {
  display: grid;
  min-height: 1060px;
  padding: 168px 0 136px;
  overflow: hidden;
  place-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 10% 8% auto;
  height: 80%;
  border: 1px solid rgba(102,1,37,.11);
  border-radius: 50%;
}

.hero-center { position: relative; z-index: 5; }
.hero-center.reveal,
.hero-center.reveal.is-visible {
  transform: none;
}
.quote-mark {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.subheading-line { margin-top: 14px; }
.hero-title { max-width: 1060px; margin: 16px auto 0; }
.hero-title span { display: block; }
.mobile-line { display: none !important; }
.hero-lead { max-width: 700px; margin: 24px auto 0; font-size: 1.08rem; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-brand-spotlight {
  display: grid;
  grid-template-columns: 1.18fr repeat(4, minmax(106px, 1fr));
  gap: 10px;
  width: min(100%, 820px);
  margin: 26px auto 0;
  transition: opacity .35s ease, transform .45s var(--ease);
}

.hero-brand-spotlight.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.spotlight-card {
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: center;
  min-height: 106px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  background: rgba(251,240,223,.68);
  box-shadow: 0 16px 38px rgba(102,1,37,.1);
  backdrop-filter: blur(16px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.spotlight-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 10px;
}

.spotlight-card.ceo-card {
  grid-template-columns: 64px 1fr;
  justify-items: start;
  text-align: left;
}

.spotlight-card.ceo-card img {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
}

.spotlight-card span {
  color: var(--accent-color);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spotlight-card strong {
  color: var(--primary-color);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-collage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float-photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 26px;
  background: var(--surface-color);
  box-shadow: var(--shadow);
  transition: translate .8s var(--ease);
}
.float-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-a { left: 5vw; top: 22vh; width: clamp(140px,17vw,255px); height: clamp(180px,22vw,330px); transform: rotate(-8deg); }
.photo-b { right: 8vw; top: 16vh; width: clamp(170px,21vw,330px); height: clamp(230px,28vw,430px); transform: rotate(7deg); }
.photo-c { left: 13vw; bottom: 2vh; width: clamp(130px,16vw,250px); height: clamp(130px,16vw,250px); border-radius: 50%; }
.photo-d { right: 18vw; bottom: 0; width: clamp(180px,24vw,380px); height: clamp(120px,16vw,250px); transform: rotate(-5deg); }
.photo-e { right: 3vw; bottom: 30vh; width: clamp(110px,13vw,190px); height: clamp(150px,19vw,280px); transform: rotate(10deg); }

.welcome-wrap { text-align: center; }
.welcome-wrap h2 { max-width: 1100px; margin: 16px auto 34px; }
.founder-message {
  display: grid;
  gap: 16px;
  width: min(100%, 860px);
  margin: 0 auto 34px;
  text-align: left;
  font-size: 1.05rem;
}
.welcome-image { width: min(100%,680px); margin: 0 auto 22px; overflow: hidden; border-radius: 38px; box-shadow: var(--shadow); }
.welcome-image img { width: 100%; max-height: 620px; object-fit: cover; }
.caption-block { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.caption-block span { display: block; margin-top: 4px; color: var(--accent-color); }

.library-section { background: rgba(255,255,255,.16); }
.library-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.22); }
.hero-marquee {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: rgba(102,1,37,.92);
  border-color: rgba(243,228,212,.2);
  transform: translateY(0);
  transition: transform .45s var(--ease), opacity .35s ease;
  backdrop-filter: blur(18px);
}
.hero-marquee.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.marquee-track { display: flex; width: max-content; animation: marqueeMove 30s linear infinite; }
.marquee span { padding: 18px 32px; font-family: var(--font-heading); font-size: clamp(2.4rem,5vw,5.8rem); font-weight: 700; white-space: nowrap; }
.hero-marquee span { color: var(--bg-color); font-size: clamp(2rem,4vw,4.5rem); }

.guide-section, .not-blog-section { background: var(--bg-color); }
.guide-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.guide-copy .text-pill { margin-top: 28px; }
.guide-text { display: grid; gap: 22px; padding-top: 80px; }
.guide-gallery { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-top: 50px; }
.guide-gallery img { width: 100%; aspect-ratio: 3/4; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.guide-gallery img:nth-child(even) { transform: translateY(28px); }

.ceo-profile-section {
  background: rgba(255,255,255,.18);
}

.ceo-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 58px;
  align-items: center;
}

.ceo-profile-copy p:not(.eyebrow) {
  margin-top: 18px;
}

.ceo-profile-copy .text-pill {
  margin-top: 28px;
}

.ceo-profile-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ceo-profile-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.ceo-profile-media img:nth-child(2) {
  transform: translateY(42px);
}

.authority-section {
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
}

.authority-grid,
.vision-layout,
.partner-engine-grid,
.derkecal-story-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 58px;
  align-items: center;
}

.authority-copy p:not(.eyebrow),
.partner-engine-copy p:not(.eyebrow),
.derkecal-story-copy p:not(.eyebrow),
.expertise-copy p:not(.eyebrow),
.ecosystem-head p {
  margin-top: 18px;
}

.credential-pills,
.partner-points,
.expertise-tags,
.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.compact-row {
  margin-top: 14px;
}

.credential-pills span,
.partner-points span,
.expertise-tags span,
.value-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-color);
  background: rgba(255,255,255,.34);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.authority-image,
.vision-art,
.partner-engine-visual,
.expertise-image {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.authority-image img,
.vision-art img,
.partner-engine-visual img,
.expertise-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.proof-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.proof-grid article,
.timeline-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.34);
  box-shadow: var(--shadow);
}

.proof-grid strong,
.timeline-grid strong {
  display: block;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .88;
}

.proof-grid span,
.timeline-grid span {
  display: block;
  margin-top: 14px;
  color: var(--accent-color);
  font-weight: 800;
}

.vision-section,
.derkecal-story-section {
  color: var(--bg-color);
  background: var(--primary-color);
}

.vision-section h2,
.vision-section h3,
.derkecal-story-section h2 {
  color: var(--bg-color);
}

.vision-section .eyebrow,
.derkecal-story-section .eyebrow {
  color: #f7bc6e;
}

.vision-section p,
.derkecal-story-section p,
.story-list {
  color: rgba(243,228,212,.78);
}

.vision-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.vision-cards article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(243,228,212,.2);
  border-radius: 28px;
  background: rgba(255,255,255,.08);
}

.vision-cards span {
  color: #f7bc6e;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
}

.vision-cards h3 {
  margin: 12px 0;
}

.vision-section .value-row span,
.derkecal-story-section .story-list li {
  border-color: rgba(243,228,212,.2);
  color: var(--bg-color);
  background: rgba(255,255,255,.08);
}

.partner-engine-section,
.expertise-section {
  background: rgba(255,255,255,.18);
}

.partner-engine-copy .btn-primary {
  margin-top: 26px;
}

.ecosystem-section {
  background: var(--surface-color);
}

.ecosystem-head {
  max-width: 980px;
  margin-bottom: 44px;
}

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

.ecosystem-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,.38);
  box-shadow: var(--shadow);
}

.ecosystem-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ecosystem-card div {
  padding: 24px;
}

.ecosystem-card span {
  color: var(--accent-color);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ecosystem-card h3 {
  margin: 12px 0;
  font-size: clamp(1.55rem, 2.3vw, 2.55rem);
}

.story-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.story-list li {
  padding: 14px 16px;
  border: 1px solid rgba(243,228,212,.2);
  border-radius: 18px;
}

.derkecal-story-media {
  display: grid;
  gap: 14px;
}

.derkecal-story-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-deep);
}

.philosophy-section, .subscribe-section, .footer { color: var(--bg-color); background: var(--primary-color); }
.philosophy-section h2, .philosophy-section h3, .subscribe-section h2 { color: var(--bg-color); }
.philosophy-section p, .subscribe-section p, .subscribe-section small, .footer p { color: rgba(243,228,212,.76); }
.philosophy-head { text-align: center; }
.philosophy-head figure { width: min(100%,760px); margin: 0 auto 34px; overflow: hidden; border-radius: 38px; box-shadow: var(--shadow-deep); }
.philosophy-head img { width: 100%; max-height: 430px; object-fit: cover; }
.philosophy-head .text-pill { margin-top: 24px; color: var(--bg-color); border-color: rgba(243,228,212,.24); background: rgba(255,255,255,.08); }
.seed-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 58px; }
.seed-card { min-height: 520px; padding: 24px; border: 1px solid rgba(243,228,212,.18); border-radius: 34px; background: rgba(255,255,255,.08); }
.seed-card span, .promise-step > span, .meaning-card span { color: #f7bc6e; font-family: var(--font-heading); font-size: 4rem; font-weight: 700; }
.seed-card img { width: 100%; aspect-ratio: 4/3; margin: 18px 0 24px; border-radius: 24px; object-fit: cover; }
.seed-card p, .meaning-card p { margin-top: 14px; }

.article-list { display: grid; border-top: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); font-family: var(--font-heading); font-size: clamp(1.8rem,3.4vw,3.5rem); line-height: 1; }
.article-list span { color: var(--accent-color); }

.journey-promise { background: linear-gradient(180deg, var(--bg-color), #ead3be); }
.promise-header { text-align: center; }
.pain-list { display: grid; gap: 12px; max-width: 900px; margin: 38px auto 72px; }
.pain-list h3 { padding: 18px 24px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.24); font-size: clamp(1.45rem,3vw,3rem); }
.promise-steps { display: grid; gap: 34px; }
.promise-step { display: grid; grid-template-columns: 90px 280px 1fr; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.promise-step img { width: 280px; aspect-ratio: 4/3; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow); }
.promise-step p { margin-top: 18px; }

.subscribe-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 58px; align-items: center; }
.subscribe-copy p:not(.eyebrow) { margin: 22px 0 24px; }
.newsletter-form, .footer-form { display: flex; gap: 8px; padding: 8px; border: 1px solid rgba(243,228,212,.22); border-radius: 999px; background: rgba(255,255,255,.08); }
.newsletter-form input, .footer-form input { min-width: 0; flex: 1; border: 0; outline: 0; color: inherit; background: transparent; padding: 0 14px; font-family: var(--font-body); }
.newsletter-form button, .footer-form button { min-width: 54px; border: 0; border-radius: 999px; color: var(--primary-color); background: #f7bc6e; font-weight: 800; cursor: pointer; }
.subscribe-image { overflow: hidden; border-radius: 36px; box-shadow: var(--shadow-deep); }
.subscribe-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.not-blog-head { max-width: 920px; margin-bottom: 54px; }
.not-blog-head p { margin-top: 20px; }
.meaning-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.meaning-card { padding: 24px; border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.26); box-shadow: var(--shadow); }
.meaning-card img { width: 100%; aspect-ratio: 4/3; margin: 22px 0; border-radius: 24px; object-fit: cover; }
.meaning-card span { color: var(--accent-color); font-size: 2.8rem; }

.who-section { text-align: center; background: var(--surface-color); }
.who-wrap h1 { font-size: clamp(3rem,8vw,8rem); }
.who-wrap p { max-width: 760px; margin: 28px auto; }

.numbered-gallery { padding: 60px 0; overflow: hidden; background: var(--bg-color); }
.gallery-line { display: flex; gap: 30px; width: max-content; animation: galleryMove 42s linear infinite; }
.gallery-line.clone { margin-top: 34px; animation-direction: reverse; }
.gallery-line figure { width: 220px; flex: 0 0 auto; }
.gallery-line img { width: 100%; aspect-ratio: 3/4; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow); }
.gallery-line figcaption { margin-top: 10px; color: var(--accent-color); font-weight: 800; }

.library-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.library-card { position: relative; min-height: 340px; overflow: hidden; border-radius: 34px; box-shadow: var(--shadow); }
.library-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.library-card img[src*="Image/Logo"] {
  padding: 34px;
  background: #f7efd9;
  object-fit: contain;
}
.library-card:hover img { transform: scale(1.06); }
.library-card span { position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 10px 14px; border-radius: 999px; color: var(--bg-color); background: rgba(102,1,37,.72); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(14px); }

.footer { padding: 90px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 46px; }
.footer-logo { width: 170px; height: 68px; margin-bottom: 18px; border-radius: 999px; object-fit: cover; object-position: center; }
.footer h4 { margin-bottom: 16px; color: rgba(243,228,212,.56); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.footer a { display: block; margin-bottom: 10px; color: var(--bg-color); }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(243,228,212,.18); color: rgba(243,228,212,.6); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(42px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes galleryMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes topNoteMove { from { transform: translateX(0); } to { transform: translateX(-62%); } }

@media (max-width: 1060px) {
  .nav-menu { gap: 4px; font-size: .68rem; letter-spacing: .08em; }
  .nav-menu > a:nth-of-type(2),
  .nav-menu > a:nth-of-type(3) { display: none; }
  .brand-menu { right: auto; left: 50%; min-width: 320px; transform: translate(-50%, 10px); }
  .nav-dropdown:hover .brand-menu,
  .nav-dropdown:focus-within .brand-menu { transform: translate(-50%, 0); }
  .guide-split, .authority-grid, .vision-layout, .vision-cards, .subscribe-grid, .partner-engine-grid, .ecosystem-grid, .derkecal-story-grid, .expertise-grid, .library-cards, .footer-grid { grid-template-columns: 1fr; }
  .ceo-profile-grid { grid-template-columns: 1fr; }
  .proof-grid, .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-gallery { grid-template-columns: repeat(3,1fr); }
  .guide-gallery img:nth-child(even) { transform: none; }
  .ceo-profile-media img:nth-child(2) { transform: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1200px); }
  section { padding: 82px 0; }
  .top-note { justify-content: flex-start; padding: 8px 12px; font-size: .58rem; letter-spacing: .055em; text-align: left; }
  .top-note span {
    display: inline-block;
    min-width: max-content;
    padding-right: 48px;
    animation: topNoteMove 13s linear infinite;
    white-space: nowrap;
  }
  .top-note a { display: none; }
  .navbar { top: 42px; width: min(100% - 24px, 1180px); min-height: 62px; padding: 8px 10px; gap: 8px; }
  .navbar.scrolled { top: 38px; }
  .nav-logo img { width: 58px; height: 40px; }
  .nav-menu {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    flex-direction: row-reverse;
    width: 228px;
    justify-content: flex-end;
    gap: 4px;
    font-size: .5rem;
    letter-spacing: 0;
    transform: translateY(-50%);
  }
  .nav-menu > a:nth-of-type(2),
  .nav-menu > a:nth-of-type(3) { display: none; }
  .nav-menu a { padding: 9px 7px; white-space: nowrap; }
  .navbar > .container .nav-logo {
    font-size: 1rem;
    white-space: nowrap;
  }
  .nav-links {
    gap: 2px;
    font-size: .52rem;
    letter-spacing: 0;
  }
  .nav-links a {
    padding: 8px 6px;
    white-space: nowrap;
  }
  .nav-links li:nth-child(2),
  .nav-links li:nth-child(3) {
    display: none;
  }
  .dropdown-menu {
    right: -8px;
    min-width: min(78vw, 240px);
  }
  .brand-menu {
    grid-template-columns: 1fr;
    left: auto;
    right: -8px;
    min-width: min(84vw, 280px);
    transform: translateY(10px);
  }
  .nav-dropdown:hover .brand-menu,
  .nav-dropdown:focus-within .brand-menu { transform: translateY(0); }
  .hero { min-height: 1040px; padding-top: 128px; padding-bottom: 122px; }
  .subheading-line {
    max-width: 280px;
    margin: 12px auto 0;
    font-size: .64rem;
    line-height: 1.45;
    letter-spacing: .08em;
  }
  .hero-lead {
    max-width: 320px;
    font-size: .95rem;
  }
  h1 { font-size: clamp(2.7rem,12.5vw,3.2rem); line-height: 1; letter-spacing: -.03em; }
  .desktop-line { display: none !important; }
  .mobile-line { display: block !important; }
  .hero-actions { flex-direction: column; max-width: 320px; margin-inline: auto; margin-top: 30px; }
  .btn-primary, .btn-link, .text-pill { width: 100%; }
  .hero-brand-spotlight {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 88px;
    z-index: 997;
    grid-template-columns: 74px repeat(4, minmax(0, 1fr));
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    gap: 3px;
    margin: 0;
  }
  .hero-brand-spotlight.is-hidden { transform: translateY(120%); }
  .spotlight-card { min-height: 56px; border-radius: 12px; padding: 4px; gap: 3px; overflow: hidden; }
  .spotlight-card.ceo-card { grid-template-columns: 24px 1fr; grid-column: auto; }
  .spotlight-card img { width: 26px; height: 26px; }
  .spotlight-card.ceo-card img { width: 24px; height: 24px; border-radius: 8px; }
  .spotlight-card span { font-size: .5rem; letter-spacing: .06em; }
  .spotlight-card strong { max-width: 100%; font-size: .43rem; letter-spacing: 0; line-height: 1.1; overflow-wrap: anywhere; }
  .hero-marquee span { padding: 14px 20px; font-size: 2rem; }
  .float-photo { opacity: .42; border-radius: 22px; }
  .photo-a { left: -18vw; top: 17vh; }
  .photo-b { right: -22vw; top: 18vh; }
  .photo-c { left: -9vw; bottom: 20vh; }
  .photo-d { right: -22vw; bottom: 13vh; }
  .photo-e { display: none; }
  .library-head { align-items: start; flex-direction: column; }
  .article-list a { grid-template-columns: 1fr; gap: 8px; }
  .pain-list h3 { border-radius: 28px; }
  .promise-step { gap: 18px; }
  .promise-step img { width: 100%; }
  .proof-grid, .timeline-grid { grid-template-columns: 1fr; }
  .authority-image img, .vision-art img, .partner-engine-visual img, .expertise-image img { aspect-ratio: 4 / 3; }
  .credential-pills span, .partner-points span, .expertise-tags span, .value-row span { width: 100%; border-radius: 18px; }
  .newsletter-form { border-radius: 28px; flex-direction: column; }
  .newsletter-form input { min-height: 46px; }
  .newsletter-form button { min-height: 46px; }
  .gallery-line figure { width: 150px; }
}

/* Preserve complete source artwork and document content. */
.float-photo {
  height: auto;
  background: var(--surface-color);
}

.float-photo img,
.welcome-image img,
.guide-gallery img,
.ceo-profile-media img,
.authority-image img,
.vision-art img,
.partner-engine-visual img,
.expertise-image img,
.ecosystem-card img,
.derkecal-story-media img,
.philosophy-head img,
.seed-card img,
.promise-step img,
.subscribe-image img,
.meaning-card img,
.gallery-line img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.library-card img {
  object-fit: contain;
  object-position: center;
  background: var(--surface-color);
}

.guide-gallery,
.ceo-profile-media,
.derkecal-story-media {
  align-items: start;
}

@media (max-width: 760px) {
  .authority-image img,
  .vision-art img,
  .partner-engine-visual img,
  .expertise-image img {
    aspect-ratio: auto;
  }
}

/* Logos and compact brand portraits must remain fully visible. */
.nav-logo img,
.footer-logo,
.spotlight-card img,
.spotlight-card.ceo-card img {
  object-fit: contain;
  object-position: center;
}

/* Keep floating artwork fully inside its frame and viewport. */
.photo-c {
  border-radius: 26px;
}

.library-card:hover img {
  transform: none;
}

@media (max-width: 760px) {
  .photo-a { left: 8px; width: 118px; }
  .photo-b { right: 8px; width: 118px; }
  .photo-c { left: 8px; width: 108px; bottom: 20vh; }
  .photo-d { right: 8px; width: 142px; bottom: 13vh; }
  .photo-e { display: block; right: 8px; width: 96px; bottom: 31vh; }
}
