:root {
  color-scheme: light;
  --bg: #f5f0e8;
  --bg-soft: #f8f5ef;
  --surface: rgba(255, 252, 247, 0.74);
  --surface-strong: rgba(255, 252, 247, 0.94);
  --ink: #23211c;
  --ink-soft: rgba(35, 33, 28, 0.72);
  --line: rgba(35, 33, 28, 0.11);
  --line-soft: rgba(35, 33, 28, 0.06);
  --accent: #24231d;
  --accent-soft: #ece7de;
  --shadow: 0 24px 80px rgba(54, 45, 28, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.48), transparent 20%),
    linear-gradient(180deg, #f7f4ee 0%, #f5f0e8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 38%),
    radial-gradient(circle at bottom center, rgba(35, 33, 28, 0.025), transparent 28%);
}

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

.site-shell {
  width: min(1520px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 10;
  padding: 10px 6px;
  margin-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav,
.header-actions,
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.header-actions a,
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.header-pill {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(35, 33, 28, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
  box-shadow: 0 8px 24px rgba(54, 45, 28, 0.08);
  color: var(--ink) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
  min-height: calc(100vh - 120px);
  padding: clamp(64px, 8vw, 110px) 0 220px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}

.eyebrow,
.block-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: rgba(35, 33, 28, 0.5);
}

.hero h1,
.section-intro h2,
.editorial-block h3,
.download-highlight h3,
.notes-grid h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 8.6ch;
  margin-top: 14px;
  font-size: clamp(4.4rem, 7.6vw, 7.8rem);
  line-height: 0.88;
}

.hero-text {
  max-width: 30rem;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  line-height: 1.68;
}

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

.primary-button {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25241d;
  color: #faf7f2;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(37, 36, 29, 0.18);
}

.secondary-link {
  color: var(--ink);
  font-weight: 600;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 52rem;
  margin-top: 50px;
}

.hero-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-facts strong,
.agent-item strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.hero-facts span,
.agent-item span,
.editorial-block p,
.download-highlight p,
.notes-grid p {
  color: var(--ink-soft);
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 760px;
}

.visual-orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(229, 222, 210, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(35, 33, 28, 0.06),
    0 36px 80px rgba(78, 67, 48, 0.1);
}

.visual-orb-left {
  left: 14%;
  top: 22%;
  width: 250px;
  height: 250px;
  opacity: 0.78;
}

.visual-orb-right {
  right: 10%;
  top: 4%;
  width: 170px;
  height: 170px;
  opacity: 0.62;
}

.floating-sheet,
.skill-console,
.skill-disc {
  position: absolute;
  box-shadow: var(--shadow);
}

.floating-sheet {
  border: 1px solid rgba(35, 33, 28, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(237, 231, 220, 0.85));
}

.sheet-back {
  top: 82px;
  right: 64px;
  width: 196px;
  height: 340px;
  border-radius: 18px;
  transform: rotate(17deg);
}

.sheet-front {
  top: 122px;
  right: 258px;
  width: 220px;
  height: 282px;
  border-radius: 22px;
  transform: rotate(-10deg);
  padding: 26px 22px;
}

.sheet-notch,
.sheet-title,
.sheet-rule,
.sheet-rules::before,
.sheet-rules::after {
  border-radius: 999px;
  background: rgba(35, 33, 28, 0.08);
}

.sheet-notch {
  width: 74%;
  height: 24px;
  margin: 18px auto 0;
}

.sheet-rules {
  position: absolute;
  inset: 58px 24px 24px;
}

.sheet-rules::before,
.sheet-rules::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
}

.sheet-rules::before {
  top: 0;
  box-shadow:
    0 38px 0 rgba(35, 33, 28, 0.08),
    0 76px 0 rgba(35, 33, 28, 0.08),
    0 114px 0 rgba(35, 33, 28, 0.08),
    0 152px 0 rgba(35, 33, 28, 0.08),
    0 190px 0 rgba(35, 33, 28, 0.08);
}

.sheet-rules::after {
  top: 18px;
  width: 72%;
}

.sheet-title {
  width: 78%;
  height: 24px;
}

.sheet-rule {
  width: 100%;
  height: 14px;
  margin-top: 18px;
}

.sheet-rule.short {
  width: 58%;
}

.sheet-rule.medium {
  width: 74%;
}

.skill-disc {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(233, 227, 216, 0.88));
  border: 1px solid rgba(35, 33, 28, 0.08);
}

.disc-left {
  left: 54px;
  top: 238px;
  width: 290px;
  height: 290px;
}

.disc-right {
  right: 102px;
  bottom: 104px;
  width: 212px;
  height: 212px;
}

.disc-inner {
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid rgba(35, 33, 28, 0.08);
  display: grid;
  place-items: center;
  color: rgba(35, 33, 28, 0.38);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.icon-ring span {
  width: 72px;
  height: 72px;
  border: 9px solid rgba(35, 33, 28, 0.18);
  border-radius: 999px;
  position: relative;
}

.icon-ring span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 52px;
  border-radius: 999px;
  background: rgba(35, 33, 28, 0.18);
  transform: translate(-50%, -50%);
}

.skill-console {
  left: 210px;
  bottom: 114px;
  width: 334px;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(252, 249, 244, 0.88), rgba(241, 234, 223, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.console-top {
  display: flex;
  gap: 8px;
  padding: 2px 0 12px 2px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(35, 33, 28, 0.14);
}

.console-body {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 33, 39, 0.98), rgba(24, 27, 33, 0.95));
  color: rgba(255, 250, 243, 0.88);
}

.console-title {
  font-size: 1rem;
  font-weight: 700;
}

.console-block {
  margin-top: 18px;
}

.console-line {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.12);
}

.console-line.short {
  width: 42%;
}

.console-line.medium {
  width: 66%;
}

.console-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  font-size: 0.76rem;
  color: rgba(255, 250, 243, 0.6);
}

.hero-landscape {
  position: absolute;
  inset: auto -9% 0;
  height: 300px;
  overflow: hidden;
  z-index: 0;
}

.hero-landscape div {
  position: absolute;
  inset: 42px -40px 0;
  border-radius: 44px 44px 0 0;
  background:
    linear-gradient(90deg, rgba(35, 33, 28, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(240, 235, 228, 0.94));
  background-size: 18px 100%, 100% 100%;
  clip-path: polygon(0 34%, 10% 40%, 22% 28%, 33% 43%, 46% 30%, 58% 46%, 68% 35%, 82% 49%, 100% 30%, 100% 100%, 0 100%);
  border-top: 1px solid rgba(35, 33, 28, 0.06);
}

.section {
  position: relative;
  padding-top: clamp(64px, 8vw, 104px);
}

.statement p {
  max-width: 24ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.section-intro.compact h2 {
  max-width: 10ch;
}

.section-intro h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4.4vw, 4.5rem);
  line-height: 0.9;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.section-intro,
.block-large {
  grid-column: span 1;
}

.editorial-block,
.download-highlight,
.download-item,
.agent-item,
.notes-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.62);
  box-shadow: 0 20px 50px rgba(61, 49, 31, 0.06);
}

.editorial-block {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
}

.block-large {
  grid-row: span 2;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.64), transparent 34%),
    rgba(255, 252, 247, 0.8);
}

.editorial-block h3,
.download-highlight h3,
.notes-grid h3 {
  margin-top: 18px;
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 0.94;
}

.editorial-block p:last-child,
.download-highlight p,
.notes-grid p {
  margin: 16px 0 0;
  font-size: 0.98rem;
  line-height: 1.72;
}

.agent-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.agent-item {
  padding: 22px 20px;
  border-radius: 24px;
}

.agent-item span {
  display: block;
  margin-top: 8px;
  font-size: 0.93rem;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.download-highlight {
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 32%),
    rgba(255, 252, 247, 0.82);
}

.download-highlight .primary-button {
  margin-top: 26px;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.download-item {
  min-height: 142px;
  padding: 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-item span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: rgba(35, 33, 28, 0.5);
}

.download-item strong {
  font-size: 1.14rem;
  letter-spacing: -0.03em;
}

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

.notes-grid article {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
}

.site-footer {
  padding: 64px 0 18px;
  color: var(--ink-soft);
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.site-footer span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
}

@media (max-width: 1440px) {
  .site-shell {
    width: min(1360px, calc(100% - 40px));
  }

  .site-header {
    padding: 8px 4px;
  }

  .site-nav,
  .header-actions,
  .footer-links {
    gap: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: calc(100vh - 96px);
    padding: 32px 0 158px;
  }

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

  .hero h1 {
    max-width: 8.2ch;
    font-size: clamp(3.5rem, 6.2vw, 5.75rem);
    line-height: 0.9;
  }

  .hero-text {
    max-width: 28rem;
    margin-top: 22px;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 16px;
  }

  .hero-facts {
    gap: 14px;
    margin-top: 34px;
  }

  .hero-facts span {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .hero-visual {
    min-height: 560px;
  }

  .visual-orb-left {
    left: 18%;
    top: 20%;
    width: 210px;
    height: 210px;
  }

  .visual-orb-right {
    right: 12%;
    top: 6%;
    width: 132px;
    height: 132px;
  }

  .sheet-back {
    top: 50px;
    right: 56px;
    width: 154px;
    height: 270px;
  }

  .sheet-front {
    top: 98px;
    right: 198px;
    width: 176px;
    height: 228px;
    padding: 20px 18px;
  }

  .disc-left {
    left: 54px;
    top: 210px;
    width: 228px;
    height: 228px;
  }

  .disc-right {
    right: 72px;
    bottom: 78px;
    width: 166px;
    height: 166px;
  }

  .skill-console {
    left: 170px;
    bottom: 74px;
    width: 278px;
    padding: 12px;
  }

  .console-body {
    padding: 16px;
    border-radius: 18px;
  }

  .console-title {
    font-size: 0.92rem;
  }

  .console-footer {
    margin-top: 18px;
    font-size: 0.68rem;
  }

  .hero-landscape {
    inset: auto -8% 0;
    height: 224px;
  }

  .hero-landscape div {
    inset: 34px -28px 0;
    background-size: 14px 100%, 100% 100%;
  }
}

@media (max-height: 860px) and (min-width: 981px) {
  .hero {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 126px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 5.5vw, 4.9rem);
  }

  .hero-text {
    margin-top: 18px;
  }

  .hero-facts {
    margin-top: 26px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-landscape {
    height: 188px;
  }
}

@media (max-width: 1180px) {
  .hero,
  .download-layout,
  .editorial-grid,
  .agent-row,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 150px;
  }

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

  .hero h1,
  .section-intro h2,
  .section-intro.compact h2,
  .statement p {
    max-width: none;
  }

  .hero-facts,
  .download-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1520px);
    padding-top: 8px;
  }

  .site-header,
  .site-footer,
  .site-nav,
  .header-actions,
  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
    gap: 14px;
    padding: 6px 0;
  }

  .site-nav,
  .header-actions {
    gap: 12px;
  }

  .header-pill,
  .primary-button {
    width: 100%;
  }

  .hero {
    gap: 8px;
    padding: 28px 0 96px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 17vw, 4.5rem);
    line-height: 0.9;
  }

  .hero-text {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    width: 100%;
    gap: 14px;
    margin-top: 24px;
  }

  .hero-facts,
  .download-list {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    margin-top: 32px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .sheet-back {
    top: 34px;
    right: 16px;
    width: 112px;
    height: 208px;
  }

  .sheet-front {
    top: 78px;
    right: 108px;
    width: 136px;
    height: 184px;
    padding: 18px 14px;
  }

  .disc-left {
    left: 6px;
    top: 168px;
    width: 156px;
    height: 156px;
  }

  .disc-right {
    right: 14px;
    bottom: 46px;
    width: 128px;
    height: 128px;
  }

  .skill-console {
    left: 78px;
    right: 22px;
    bottom: 52px;
    width: auto;
    padding: 10px;
    border-radius: 22px;
  }

  .console-body {
    padding: 14px;
    border-radius: 16px;
  }

  .hero-landscape {
    inset: auto -20% 0;
    height: 154px;
  }

  .hero-landscape div {
    inset: 34px -30px 0;
    background-size: 11px 100%, 100% 100%;
  }

  .statement p {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .section-intro h2 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
  }

  .editorial-block,
  .download-highlight,
  .download-item,
  .agent-item,
  .notes-grid article {
    padding: 20px;
    border-radius: 20px;
  }

  .editorial-block h3,
  .download-highlight h3,
  .notes-grid h3 {
    font-size: clamp(1.7rem, 10vw, 2.35rem);
  }
}

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