/*
 * Legacy Ink Books — Homepage prototype
 * Pure CSS, organized by page section for straightforward WordPress migration.
 */

.libs-v1 {
  --wine: #510d00;
  --wine-deep: #2e0903;
  --white: #ffffff;
  --grey: #afafaf;
  --dark: #2b2b2b;
  --accent: #a3541b;
  --paper: #f4f0e9;
  --paper-deep: #e8dfd3;
  --line: rgba(43, 43, 43, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(100% - 64px, 1280px);
  --section-space: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Override a legacy plugin's global `body * { font-family: ... !important }`
   rule only inside the isolated V1 surfaces. */
body.libs-v1 :where(.site-header, main, .site-footer) * {
  font-family: var(--sans) !important;
}

body.libs-v1 .site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.libs-v1 main :is(h1, h2, h3, blockquote),
body.libs-v1 main :is(h1, h2, h3, blockquote) *,
body.libs-v1 main :is(.statement-index, .paper-front b, .step-number, .process-note, .project-meta p, .ecosystem-number, .quote-mark, .portrait-monogram, .founder-signature strong, .image-word, .contact-quick-links a, .ff-el-form-control),
body.libs-v1 .project-controls span {
  font-family: var(--serif) !important;
}

body.nav-open {
  overflow: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

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

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--dark);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-space);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--wine);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.73);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: clamp(64px, 9vw, 148px);
  margin-bottom: 80px;
}

.section-heading h2,
.ecosystem-intro h2,
.why-intro h2,
.founder-copy h2,
.cta-content h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-lead {
  max-width: 540px;
  margin-bottom: 0;
  color: #5d5a57;
  font-size: 1.03rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 2.3;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 220ms var(--ease);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, -3px);
}

.text-link-light {
  color: var(--white);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button-light {
  color: var(--wine);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.button-accent {
  gap: 18px;
  color: var(--white);
  background: var(--accent);
}

.button-accent:hover,
.button-accent:focus-visible {
  color: var(--wine);
  background: var(--white);
}

.asset-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 7px 9px 6px;
  border: 1px solid rgba(43, 43, 43, 0.24);
  color: rgba(43, 43, 43, 0.7);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.asset-label-light {
  color: var(--white);
  background: rgba(46, 9, 3, 0.68);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  color: var(--dark);
  background: rgba(244, 240, 233, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--shell);
  min-height: 92px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: 111px;
  aspect-ratio: 332 / 204;
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 240ms ease;
}

.brand-logo-light {
  opacity: 1;
}

.brand-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 38px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.primary-nav > a:not(.nav-contact) {
  position: relative;
  padding-block: 9px;
}

.primary-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 11px 17px 10px;
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: min(920px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--wine);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 41%;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 60%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  content: "";
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.44) 0.6px, transparent 0.6px);
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(64px, 9vw, 150px);
  padding-top: 122px;
  padding-bottom: 94px;
}

.hero-copy {
  padding-top: 22px;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 33px;
  font-family: var(--serif);
  font-size: clamp(4.7rem, 8.4vw, 8.9rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.hero h1 em,
.brand-statement h2 em {
  color: #cc8a5a;
  font-weight: 400;
}

.hero-intro {
  max-width: 580px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.77);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.hero-art {
  position: relative;
  min-height: 570px;
  align-self: stretch;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  content: "";
}

.hero-art::before {
  top: 6%;
  right: -11%;
  width: min(32vw, 410px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-art::after {
  right: 5%;
  bottom: 10%;
  left: 5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-art-caption {
  position: absolute;
  top: 9%;
  right: 0;
  z-index: 3;
  width: 185px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.67rem;
  line-height: 1.45;
}

.hero-art-caption span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-managed-image {
  position: absolute;
  top: 50%;
  left: 46%;
  width: min(29vw, 390px);
  aspect-ratio: 0.74;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(20, 0, 0, 0.32);
  transform: translate(-50%, -43%) rotate(1.5deg);
}

.hero-managed-image__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paper-stack {
  position: absolute;
  top: 50%;
  left: 46%;
  width: min(25vw, 330px);
  aspect-ratio: 0.67;
  transform: translate(-50%, -43%);
}

.paper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 30px;
  color: var(--wine);
  background: #e9dfd0;
  box-shadow: 0 32px 80px rgba(20, 0, 0, 0.32);
}

.paper-back {
  background: #a3541b;
  transform: rotate(11deg) translate(29px, 9px);
}

.paper-mid {
  background: #ccb79a;
  transform: rotate(-6deg) translate(-24px, 10px);
}

.paper-front {
  background-image: linear-gradient(rgba(81, 13, 0, 0.12) 1px, transparent 1px);
  background-size: 100% 36px;
  transform: rotate(1.5deg);
}

.paper-front::after {
  position: absolute;
  top: 50%;
  right: 31px;
  left: 31px;
  height: 1px;
  background: var(--wine);
  content: "";
}

.paper-front i,
.paper-front small {
  font-family: var(--sans);
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.paper-front b {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-footer {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue i {
  width: 28px;
  height: 1px;
  background: currentColor;
  animation: scroll-line 1.8s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scroll-line {
  0%,
  100% { transform: scaleX(0.45); }
  50% { transform: scaleX(1); }
}

/* Brand statement */
.brand-statement {
  position: relative;
  background: var(--paper);
}

.brand-statement::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: var(--shell);
  height: 1px;
  margin: auto;
  background: var(--line);
  content: "";
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.33fr 1fr;
  gap: clamp(50px, 9vw, 150px);
}

.statement-index {
  margin-top: 60px;
  color: rgba(81, 13, 0, 0.2);
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 1;
}

.brand-statement h2 {
  max-width: 990px;
  margin-bottom: 68px;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.057em;
  line-height: 1.1;
}

.statement-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 58px;
  max-width: 850px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #5f5a56;
}

.statement-notes p {
  margin-bottom: 0;
}

/* Process */
.process {
  background: #f7f4ef;
  padding-block: clamp(88px, 8vw, 120px);
}

.process .section-heading {
  margin-bottom: clamp(48px, 5vw, 66px);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list::before {
  position: absolute;
  top: 85px;
  right: -1px;
  z-index: 3;
  width: 1px;
  height: 50%;
  background: var(--accent);
  content: "";
  pointer-events: none;
}

.process-step {
  --path-dot: var(--accent);
  --path-line: rgba(81, 13, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 276px;
  overflow: hidden;
  padding: 20px 22px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 350ms var(--ease);
}

.process-step::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--wine);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 450ms var(--ease);
}

.process-step::after {
  position: absolute;
  top: 82px;
  right: 0;
  left: 0;
  z-index: 2;
  height: 7px;
  background:
    radial-gradient(circle at 14px 50%, var(--path-dot) 0 3px, transparent 3.5px),
    linear-gradient(var(--path-line), var(--path-line)) center / 100% 1px no-repeat;
  content: "";
  pointer-events: none;
  transition: background 350ms var(--ease);
}

.process-step:hover {
  --path-dot: #d79a6c;
  --path-line: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.process-step:hover::before {
  transform: scaleY(1);
}

.process-step > * {
  position: relative;
  z-index: 1;
}

.step-number {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(2rem, 2.65vw, 2.75rem);
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.88;
  opacity: 0.13;
  transform: translate(-6px, -5px);
  transition: color 350ms var(--ease), opacity 350ms var(--ease);
}

.process-step > div {
  transform: translateY(-14px);
}

.process-step:hover .step-number {
  color: var(--white);
  opacity: 0.25;
}

.process-step h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.58rem, 1.8vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.7;
}

.process-note {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 36px;
  max-width: 770px;
  margin: 34px 0 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #69635e;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.process-note span {
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 1101px) {
  .process-step:nth-child(1) { grid-area: 1 / 1; }
  .process-step:nth-child(2) { grid-area: 1 / 2; }
  .process-step:nth-child(3) { grid-area: 1 / 3; }
  .process-step:nth-child(4) { grid-area: 1 / 4; }
  .process-step:nth-child(5) { grid-area: 1 / 5; }
  .process-step:nth-child(6) { grid-area: 2 / 5; }
  .process-step:nth-child(7) { grid-area: 2 / 4; }
  .process-step:nth-child(8) { grid-area: 2 / 3; }
  .process-step:nth-child(9) { grid-area: 2 / 2; }
  .process-step:nth-child(10) { grid-area: 2 / 1; }

  .process-step:nth-child(n + 6)::after {
    background:
      radial-gradient(circle at calc(100% - 14px) 50%, var(--path-dot) 0 3px, transparent 3.5px),
      linear-gradient(var(--path-line), var(--path-line)) center / 100% 1px no-repeat;
  }
}

/* Projects */
.projects {
  overflow: hidden;
  background: var(--paper-deep);
}

.project-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 19px;
}

.project-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(43, 43, 43, 0.38);
  color: var(--dark);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.project-controls button:hover,
.project-controls button:focus-visible {
  color: var(--white);
  background: var(--wine);
}

.project-controls span {
  min-width: 50px;
  color: #766f68;
  font-family: var(--serif);
  font-size: 0.8rem;
  text-align: center;
}

.project-controls b {
  color: var(--wine);
  font-weight: 400;
}

.project-rail {
  display: grid;
  grid-auto-columns: min(780px, 86vw);
  grid-auto-flow: column;
  gap: 38px;
  overflow-x: auto;
  padding: 8px max(0px, calc((100vw - 1280px) / 2)) 30px;
  margin-inline: max(-32px, calc((1280px - 100vw) / 2));
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-rail::-webkit-scrollbar {
  display: none;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(280px, 1fr);
  align-items: end;
  gap: clamp(38px, 5vw, 72px);
  min-height: 570px;
  padding: 56px;
  background: rgba(255, 255, 255, 0.52);
  scroll-snap-align: start;
}

.book-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 330px);
  aspect-ratio: 0.67;
  padding: 54px 35px 35px;
  box-shadow: 16px 20px 38px rgba(43, 32, 25, 0.18);
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
}

.project-cover-image {
  padding: 0;
  overflow: hidden;
  background: var(--wine);
}

.project-cover-image::before {
  z-index: 2;
  pointer-events: none;
}

.project-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card:hover .book-cover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 21px 31px 50px rgba(43, 32, 25, 0.23);
}

.book-cover::before {
  position: absolute;
  inset: 13px;
  border: 1px solid currentColor;
  content: "";
  opacity: 0.38;
}

.book-cover p,
.book-cover small {
  position: relative;
  z-index: 1;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.book-cover p {
  position: absolute;
  top: 47px;
  left: 35px;
}

.book-cover small {
  position: absolute;
  right: 35px;
  bottom: 42px;
  left: 35px;
}

.book-cover h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.cover-one {
  color: #f5ede4;
  background: var(--wine);
}

.cover-one::after {
  position: absolute;
  top: 44%;
  right: -4%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  content: "";
}

.cover-two {
  color: #2b2b2b;
  background: #d3b98f;
}

.cover-two::after {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 72px;
  height: 110px;
  border: 1px solid currentColor;
  content: "";
}

.cover-three {
  color: var(--wine);
  background: #f2eadf;
  background-image: linear-gradient(90deg, transparent 49.5%, rgba(81, 13, 0, 0.24) 50%, transparent 50.5%);
}

.project-meta > span {
  color: var(--wine);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta p {
  max-width: 440px;
  margin: 25px 0 39px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.28;
}

/* Ecosystem */
.ecosystem {
  color: var(--white);
  background: var(--wine-deep);
}

.ecosystem-intro {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: clamp(60px, 9vw, 150px);
  margin-bottom: 88px;
}

.ecosystem-intro p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.ecosystem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 480px;
  padding: 30px clamp(26px, 2.5vw, 38px) 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: color 300ms ease, background 300ms ease;
}

.ecosystem-card:hover {
  background: var(--wine);
}

.ecosystem-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  transform: translateY(-18px);
}

.ecosystem-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.35;
  overflow: hidden;
  margin-bottom: 28px;
}

.ecosystem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecosystem-number {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 2.8vw, 2.85rem);
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.85;
  opacity: 0.18;
  transform: translate(-7px, -6px);
}

.ecosystem-number::after {
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 20px;
  background: var(--accent);
  content: "";
}

.card-kicker {
  margin: clamp(58px, 6vw, 82px) 0 15px;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.58;
  text-transform: uppercase;
}

.ecosystem-card h3 {
  margin-bottom: 19px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
  transition: color 300ms ease;
}

.ecosystem-card:hover h3 {
  color: #d8c5ac;
}

.ecosystem-description {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.58;
  opacity: 0.66;
}

.ecosystem-card a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  margin-top: auto;
  padding-top: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 2.2;
  text-transform: uppercase;
}

.ecosystem-card a span:last-child {
  transition: transform 220ms var(--ease);
}

.ecosystem-card a:hover span:last-child,
.ecosystem-card a:focus-visible span:last-child {
  transform: translate(3px, -3px);
}

/* Why books */
.why-books {
  background: #f7f4ef;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(450px, 0.8fr);
  gap: clamp(70px, 10vw, 160px);
}

.why-intro h2 {
  font-size: clamp(3rem, 5.3vw, 5.7rem);
  line-height: 0.99;
}

.quote-mark {
  margin: 77px 0 -28px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.5;
}

.why-intro blockquote {
  max-width: 520px;
  margin-bottom: 0;
  padding-left: 31px;
  border-left: 1px solid var(--accent);
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: italic;
  line-height: 1.35;
}

.why-list {
  border-top: 1px solid var(--line);
}

.why-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 21px;
  padding: 35px 0 32px;
  border-bottom: 1px solid var(--line);
}

.why-list article > span {
  padding-top: 5px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 0.8rem;
  font-style: italic;
}

.why-list h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.why-list p {
  max-width: 540px;
  margin-bottom: 0;
  color: #6d6762;
  font-size: 0.88rem;
}

/* Founder */
.founder {
  background: var(--paper-deep);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(70px, 11vw, 180px);
}

.founder-portrait {
  position: relative;
  display: grid;
  aspect-ratio: 0.76;
  overflow: hidden;
  place-items: center;
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(135deg, transparent 0 49.8%, rgba(255, 255, 255, 0.15) 50%, transparent 50.2%),
    var(--wine);
}

.founder-portrait::before,
.founder-portrait::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.founder-portrait::before {
  width: 63%;
  aspect-ratio: 1;
}

.founder-portrait::after {
  width: 38%;
  aspect-ratio: 1;
}

.portrait-monogram {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.09em;
}

.founder-portrait.has-founder-image::before,
.founder-portrait.has-founder-image::after {
  display: none;
}

.founder-portrait__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-cta {
  margin-top: 14px;
}

.founder-copy h2 {
  margin-bottom: 39px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.founder-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: #615b56;
}

.founder-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 43px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.signature-line {
  width: 48px;
  height: 1px;
  background: var(--wine);
}

.founder-signature div {
  display: flex;
  flex-direction: column;
}

.founder-signature strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.founder-signature small {
  margin-top: 3px;
  color: #7f7770;
  font-size: 0.57rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Insights */
.insights {
  background: #f7f4ef;
}

.insights-heading .text-link {
  justify-self: end;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.insight-card a {
  display: block;
}

.insight-image {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  margin-bottom: 18px;
  background: #d4c8b8;
}

.insight-card-large .insight-image {
  aspect-ratio: 16 / 9;
}

.insight-image::before,
.insight-image::after {
  position: absolute;
  content: "";
  transition: transform 550ms var(--ease);
}

.insight-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms var(--ease);
}

.insight-card:hover .insight-image img {
  transform: scale(1.035);
}

.insight-image-one {
  color: rgba(255, 255, 255, 0.9);
  background: var(--wine);
}

.insight-image-one::before {
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.insight-image-one::after {
  width: 1px;
  height: 70%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(31deg);
}

.insight-image-two {
  color: var(--wine);
  background: #d9c5aa;
}

.insight-image-two::before {
  width: 52%;
  height: 66%;
  border: 1px solid var(--wine);
}

.insight-image-three {
  color: var(--white);
  background: var(--dark);
}

.insight-image-three::before,
.insight-image-three::after {
  width: 1px;
  height: 80%;
  background: rgba(255, 255, 255, 0.28);
}

.insight-image-three::before { transform: rotate(42deg); }
.insight-image-three::after { transform: rotate(-42deg); }

.image-word {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 4.3rem);
  font-style: italic;
  letter-spacing: 0.04em;
}

.insight-card:hover .insight-image::before {
  transform: scale(1.08) rotate(3deg);
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  color: #827a73;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.17;
  transition: color 180ms ease;
}

.insight-card:hover h3 {
  color: var(--wine);
}

.insight-card p {
  max-width: 600px;
  margin-bottom: 0;
  color: #6d6762;
  font-size: 0.85rem;
  line-height: 1.58;
}

.insight-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* CTA and footer */
.closing-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--wine);
}

.cta-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76vw, 990px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-orbit::before,
.cta-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.cta-orbit::before {
  width: 70%;
  aspect-ratio: 1;
}

.cta-orbit::after {
  width: 43%;
  aspect-ratio: 1;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-content .eyebrow::before {
  display: none;
}

.cta-content h2 {
  margin-bottom: 28px;
  font-size: clamp(3.45rem, 5.8vw, 6.7rem);
}

.cta-content > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(480px, 0.88fr);
  align-items: center;
  gap: clamp(72px, 9vw, 145px);
  min-height: min(900px, calc(100vh + 120px));
  padding-block: clamp(110px, 11vw, 160px);
}

.contact-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
}

.contact-quick-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--serif);
  font-size: 0.92rem;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-quick-links a:hover,
.contact-quick-links a:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

.contact-form {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(46, 9, 3, 0.32);
  backdrop-filter: blur(3px);
}

.contact-form-heading {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-form-heading > span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form-heading h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-form-heading p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.65;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 30px;
  padding-top: 31px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-field em {
  color: #d8a476;
  font-style: normal;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.45;
  transition: border-color 180ms ease;
}

.contact-field select {
  cursor: pointer;
}

.contact-field select option {
  color: var(--dark);
}

.contact-field textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.95);
}

.contact-form.was-validated .contact-field :invalid {
  border-color: rgba(221, 164, 126, 0.95);
}

.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.contact-form-status {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  line-height: 1.5;
}

/* Fluent Forms: server-side workflow, visually mapped to the approved form. */
.contact-form .fluentform,
.contact-form .frm-fluent-form {
  margin: 0;
}

.contact-form .frm-fluent-form > fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 30px;
  padding-top: 31px;
}

.contact-form .ff-el-group {
  min-width: 0;
  margin: 0;
}

.contact-form .contact-field-wide,
.contact-form .ff_submit_btn_wrapper,
.contact-form .ff-message-success,
.contact-form .error.text-danger {
  grid-column: 1 / -1;
}

.contact-form .ff-el-input--label {
  margin: 0 0 7px;
}

.contact-form .ff-el-input--label label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-form .ff-el-input--label label::after {
  color: #d8a476;
}

body.libs-v1 .contact-form .ff-el-form-control,
body.libs-v1 .contact-form .ff-el-form-control:focus {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 9px 0 11px;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 0 !important;
  outline: 0;
  color: var(--white);
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.45;
}

body.libs-v1 .contact-form .ff-el-form-control:focus {
  border-bottom-color: rgba(255, 255, 255, 0.95) !important;
}

.contact-form select.ff-el-form-control option {
  color: var(--dark);
  background: var(--white);
}

.contact-form textarea.ff-el-form-control {
  min-height: 96px;
  resize: vertical;
}

.contact-form .ff-btn-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--white) !important;
  background: var(--accent) !important;
  box-shadow: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease;
}

.contact-form .ff-btn-submit:hover,
.contact-form .ff-btn-submit:focus-visible {
  color: var(--wine) !important;
  background: var(--white) !important;
  opacity: 1;
}

.contact-form .error.text-danger,
.contact-form .ff-el-is-error .text-danger,
.contact-form .ff-el-is-error .error {
  color: #f0bf9c;
  font-size: 0.7rem;
}

.contact-form .ff-el-is-error .ff-el-form-control {
  border-bottom-color: rgba(240, 191, 156, 0.95);
}

.contact-form .ff-message-success {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  color: rgba(255, 255, 255, 0.69);
  background: var(--wine-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 0.6fr 0.67fr 0.82fr;
  gap: 54px;
  padding-block: 78px 70px;
}

.brand-light {
  color: var(--white);
}

.footer-brand .brand-logo-wrap {
  width: 108px;
}

.footer-brand > p {
  max-width: 330px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.47);
  font-family: var(--serif);
  font-size: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.78rem;
}

.footer-column h3 {
  margin-bottom: 13px;
  color: var(--white);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column a {
  transition: color 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.footer-ecosystem-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-list p {
  display: grid;
  gap: 1px;
  margin: 0;
}

.footer-contact-list p > span:first-child {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact-list a {
  width: max-content;
  max-width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.55rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-bottom a {
  justify-self: end;
  color: rgba(255, 255, 255, 0.7);
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 750ms var(--ease), transform 750ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Tablet */
@media (max-width: 1100px) {
  .libs-v1 {
    --shell: min(100% - 48px, 960px);
  }

  .primary-nav {
    gap: 19px;
  }

  .primary-nav a:nth-child(4),
  .primary-nav a:nth-child(5) {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1.08fr 0.65fr;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(4.7rem, 10vw, 7rem);
  }

  .hero-art {
    min-height: 510px;
  }

  .paper-stack {
    left: 43%;
    width: min(29vw, 300px);
  }

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

  .process-list::before {
    display: none;
  }

  .process-step {
    min-height: 250px;
  }

  .ecosystem-card {
    min-height: 450px;
    padding-inline: 27px;
  }

  .why-grid {
    grid-template-columns: 0.88fr 1fr;
    gap: 65px;
  }

  .founder-grid {
    grid-template-columns: 0.7fr 1fr;
    gap: 75px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
    gap: 52px;
  }

  .footer-top {
    grid-template-columns: 1.25fr repeat(3, 0.7fr);
    gap: 34px;
  }
}

@media (max-width: 820px) {
  .libs-v1 {
    --section-space: 108px;
  }

  .site-header,
  .site-header.is-scrolled {
    color: var(--dark);
    background: rgba(244, 240, 233, 0.97);
    border-color: var(--line);
  }

  .site-header .brand-logo-light {
    opacity: 0;
  }

  .site-header .brand-logo-dark {
    opacity: 1;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: min(82vw, 430px);
    padding: 92px 42px 54px;
    color: var(--white);
    background: var(--wine-deep);
    box-shadow: -25px 0 65px rgba(0, 0, 0, 0.2);
    transform: translateX(105%);
    transition: transform 400ms var(--ease);
  }

  .primary-nav::before {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.45);
    content: "MỤC LỤC";
    font-size: 0.55rem;
    letter-spacing: 0.16em;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav a,
  .primary-nav a:nth-child(4),
  .primary-nav a:nth-child(5) {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .nav-contact {
    margin-top: 18px;
    border: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 94px;
    padding-bottom: 94px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 15.5vw, 7rem);
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-art {
    min-height: 490px;
  }

  .hero-art::before {
    right: 2%;
    width: 55vw;
  }

  .hero-art-caption {
    top: 7%;
    right: 4%;
  }

  .paper-stack {
    top: 52%;
    left: 42%;
    width: min(43vw, 315px);
  }

  .hero-footer {
    display: none;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .statement-index {
    display: none;
  }

  .brand-statement h2 {
    margin-bottom: 50px;
  }

  .section-heading,
  .ecosystem-intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .process-step {
    min-height: 245px;
  }

  .process-note {
    grid-template-columns: 140px 1fr;
  }

  .project-card {
    grid-template-columns: minmax(230px, 0.7fr) 1fr;
    padding: 38px;
  }

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

  .ecosystem-card {
    min-height: 360px;
    padding: 28px 32px 32px;
  }

  .card-kicker {
    margin-top: 38px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 75px;
  }

  .quote-mark {
    margin-top: 56px;
  }

  .founder-grid {
    grid-template-columns: minmax(250px, 0.7fr) 1fr;
    gap: 45px;
  }

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

  .insight-card-large {
    grid-column: auto;
  }

  .insight-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 14px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 72px;
    min-height: 0;
  }

  .cta-content {
    max-width: 650px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / 4;
    margin-bottom: 24px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-bottom span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .libs-v1 {
    --shell: calc(100% - 36px);
    --section-space: 84px;
  }

  html {
    scroll-padding-top: 74px;
  }

  .header-inner {
    min-height: 76px;
  }

  .site-header .brand-logo-wrap {
    width: 88px;
  }

  .eyebrow {
    margin-bottom: 19px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .ecosystem-intro h2,
  .why-intro h2,
  .founder-copy h2,
  .cta-content h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.98;
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero h1 {
    margin-bottom: 26px;
    font-size: clamp(3.7rem, 19vw, 5.4rem);
    line-height: 0.88;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

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

  .hero-art {
    min-height: 390px;
  }

  .hero-art-caption {
    top: 1%;
    right: 0;
    width: 150px;
  }

  .paper-stack {
    left: 40%;
    width: min(57vw, 240px);
  }

  .paper {
    padding: 28px 22px;
  }

  .paper-front::after {
    right: 22px;
    left: 22px;
  }

  .paper-front b {
    font-size: 1.55rem;
  }

  .brand-statement h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .statement-notes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-list {
    grid-template-columns: 1fr;
    border: 0;
  }

  .process-step {
    grid-column: 1;
    min-height: 0;
    padding: 2px 0 42px 78px;
    overflow: visible;
    border: 0;
  }

  .process-step::before {
    display: none;
  }

  .process-step::after {
    top: 48px;
    right: auto;
    bottom: 0;
    left: 31px;
    z-index: 0;
    display: block;
    width: 1px;
    height: auto;
    background: var(--line);
  }

  .process-step:last-child::after {
    display: none;
  }

  .process-step:hover {
    color: var(--dark);
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 60px;
    height: 49px;
    place-items: center;
    color: var(--wine);
    background: #f7f4ef;
    font-size: 1.7rem;
    line-height: 1;
    opacity: 0.2;
    transform: none;
  }

  .process-step > div {
    transform: none;
  }

  .process-step:hover .step-number {
    color: var(--wine);
    opacity: 0.2;
  }

  .process-step h3 {
    margin-bottom: 10px;
    font-size: 1.82rem;
  }

  .process-step p {
    font-size: 0.86rem;
  }

  .process-note {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .project-heading {
    grid-template-columns: 1fr;
  }

  .project-controls {
    justify-content: flex-start;
  }

  .project-rail {
    grid-auto-columns: calc(100vw - 36px);
    gap: 18px;
    padding-inline: 18px;
    margin-inline: -18px;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding: 28px 24px 36px;
  }

  .book-cover {
    width: min(78vw, 300px);
    margin-inline: auto;
  }

  .project-meta p {
    font-size: 1.35rem;
  }

  .ecosystem-intro {
    margin-bottom: 54px;
  }

  .ecosystem-card {
    min-height: 345px;
    padding: 27px 24px 30px;
  }

  .ecosystem-number {
    font-size: 1.7rem;
    transform: translate(-5px, -4px);
  }

  .ecosystem-card-body {
    transform: translateY(-12px);
  }

  .ecosystem-number::after {
    width: 22px;
    margin-top: 15px;
  }

  .ecosystem-card h3 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .ecosystem-description {
    font-size: 0.85rem;
  }

  .why-list article {
    grid-template-columns: 38px 1fr;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .founder-portrait {
    width: min(100%, 420px);
  }

  .founder-copy h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .insights-heading .text-link {
    justify-self: start;
  }

  .insight-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .insight-card-large {
    grid-column: auto;
  }

  .insight-card:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .insight-image,
  .insight-card-large .insight-image {
    aspect-ratio: 16 / 9;
  }

  .closing-cta {
    min-height: 0;
  }

  .cta-content h2 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .contact-layout {
    gap: 56px;
    padding-block: 96px;
  }

  .contact-form {
    padding: 30px 24px 34px;
  }

  .contact-form-fields {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-form .frm-fluent-form > fieldset {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-form .contact-field-wide,
  .contact-form .ff_submit_btn_wrapper,
  .contact-form .ff-message-success,
  .contact-form .error.text-danger {
    grid-column: auto;
  }

  .contact-field-wide {
    grid-column: auto;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
    padding-block: 65px 55px;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }

  .footer-brand .brand-logo-wrap {
    width: 82px;
  }

  .footer-brand > p {
    margin-top: 18px;
  }

  .footer-contact {
    grid-column: 1 / 3;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .footer-bottom a {
    justify-self: start;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
