:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --paper-deep: #ebe8dc;
  --cream: #f3e8ce;
  --forest: #103f30;
  --forest-deep: #0c3126;
  --ink: #1d3028;
  --muted: #50645a;
  --gold: #b48b37;
  --gold-bright: #d4b35f;
  --rule: #d5dccf;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --display: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
::selection { background: #d8c47c; color: var(--forest-deep); }
.skip-link { position: absolute; z-index: 50; top: -60px; left: 16px; padding: 10px 16px; background: white; color: var(--forest); font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(16, 63, 48, .12); background: rgba(246, 244, 237, .98); }
.header-inner { width: min(1280px, calc(100% - 64px)); min-height: 106px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-link { display: block; width: 316px; height: 78px; overflow: hidden; flex: 0 0 auto; }
.home-link img { width: 316px; height: 158px; max-width: none; object-fit: cover; object-position: center; transform: translateY(-40px) scale(1.13); }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); font-size: .92rem; font-weight: 700; }
.primary-nav a { text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: #805d1a; }
.primary-nav .nav-product { border: 1px solid var(--forest); border-radius: 100px; padding: 10px 18px; color: var(--forest); }
.primary-nav .nav-product:hover { background: var(--forest); color: #fff; }
.primary-nav .nav-product span { margin-left: 8px; font-size: 1rem; }

.hero { overflow: hidden; background: radial-gradient(circle at 78% 40%, #f6eedc 0, transparent 37%), var(--paper); }
.hero-inner { width: min(1280px, calc(100% - 64px)); min-height: 650px; margin: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; column-gap: 60px; padding: 68px 0 88px; }
.hero-copy { position: relative; z-index: 1; max-width: 690px; }
.place-line { display: flex; align-items: center; gap: 11px; margin: 0 0 25px; color: var(--muted); font-size: .9rem; font-weight: 700; letter-spacing: .015em; }
.place-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #eadbb3; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin-bottom: 29px; color: var(--forest); font-size: clamp(3.4rem, 5.15vw, 5.45rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; }
.hero-lede { max-width: 550px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--gold); padding: 5px 0; color: var(--forest); font-weight: 700; text-decoration: none; }
.text-link:hover { border-bottom-color: var(--forest); }
.text-link span { font-size: 1.12rem; }
.hero-mark { position: relative; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mark-halo { position: absolute; width: min(520px, 115%); aspect-ratio: 1; border: 1px solid rgba(180, 139, 55, .32); border-radius: 50%; }
.mark-halo::before, .mark-halo::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(180, 139, 55, .2); border-radius: 50%; }
.mark-halo::after { inset: 45px; }
.brand-seal { --seal-size: 355px; position: relative; width: var(--seal-size); height: var(--seal-size); overflow: hidden; border-radius: 50%; filter: drop-shadow(0 16px 22px rgba(10, 47, 34, .16)); }
.brand-seal img { position: absolute; width: calc(var(--seal-size) * 5.07); height: calc(var(--seal-size) * 2.54); max-width: none; left: calc(var(--seal-size) * -.69); top: calc(var(--seal-size) * -.83); }
.mark-caption { position: absolute; bottom: 3px; margin: 0; color: #6b755d; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }

.section-shell { width: min(1180px, calc(100% - 64px)); margin: auto; }
.product-section { padding: 112px 0 124px; background: var(--forest); color: #f8f8f2; }
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-kicker { margin-bottom: 18px; color: var(--gold-bright); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
h2 { margin-bottom: 14px; font-size: clamp(2.45rem, 4vw, 4.15rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.16; }
.section-heading > p:last-child { margin-bottom: 0; color: #c9d5ca; font-size: 1.13rem; }
.product-feature { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 70px; padding: 54px 60px; border: 1px solid #537565; border-radius: 5px; background: #174b3a; }
.product-name-wrap { display: flex; align-items: baseline; gap: 19px; margin-bottom: 24px; }
.product-index { color: var(--gold-bright); font-size: .87rem; font-weight: 700; }
h3 { margin-bottom: 0; font-size: clamp(2.8rem, 4.2vw, 4.7rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; }
.product-period { color: var(--gold-bright); }
.product-summary { max-width: 580px; margin-bottom: 18px; font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.65rem); font-weight: 500; line-height: 1.48; }
.product-detail { max-width: 570px; margin-bottom: 27px; color: #cedbd0; }
.product-link { display: inline-flex; align-items: center; gap: 17px; border-radius: 100px; padding: 12px 20px; background: #f5edd8; color: var(--forest-deep); font-weight: 700; text-decoration: none; }
.product-link:hover { background: #fff7e3; }
.workflow { align-self: center; padding: 16px 0 16px 35px; border-left: 1px solid #6c8d79; }
.workflow-step { display: grid; gap: 3px; }
.workflow-step span { color: var(--gold-bright); font-size: .85rem; font-weight: 700; }
.workflow-step strong { font-family: var(--display); font-size: clamp(1.13rem, 1.5vw, 1.38rem); font-weight: 500; }
.workflow-rule { width: 1px; height: 30px; margin: 14px 0 14px 15px; background: var(--gold-bright); }

.studio-section { padding: 128px 0 140px; background: var(--paper-deep); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 110px; }
.studio-grid .section-kicker { color: #866624; }
.studio-grid h2 { max-width: 680px; color: var(--forest); }
.studio-copy { padding-top: 45px; color: var(--muted); font-size: 1.15rem; line-height: 1.8; }
.studio-copy p { margin-bottom: 24px; }
.site-footer { border-top: 1px solid var(--rule); background: var(--paper); }
.footer-inner { width: min(1180px, calc(100% - 64px)); min-height: 140px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner div { display: grid; gap: 3px; }
.footer-inner strong { color: var(--forest); font-family: var(--display); font-size: 1rem; font-weight: 600; }
.footer-inner span, .footer-inner p, .footer-inner small { color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--forest); font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 10px; padding: 75px 0 80px; }
  .hero-copy { max-width: 700px; }
  .hero-mark { min-height: 430px; }
  .brand-seal { --seal-size: 300px; }
  .mark-halo { width: 420px; }
  .product-feature { grid-template-columns: 1fr; gap: 35px; }
  .workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 28px 0 0; border-left: 0; border-top: 1px solid #6c8d79; }
  .workflow-rule { display: none; }
  .studio-grid { gap: 60px; }
}

@media (max-width: 650px) {
  .header-inner, .hero-inner, .section-shell, .footer-inner { width: min(100% - 36px, 1180px); }
  .header-inner { min-height: 96px; flex-wrap: wrap; justify-content: center; gap: 0; padding: 6px 0 13px; }
  .home-link { width: 280px; height: 64px; }
  .home-link img { width: 280px; height: 140px; transform: translateY(-39px) scale(1.1); }
  .primary-nav { width: 100%; justify-content: center; gap: 25px; font-size: .85rem; }
  .primary-nav .nav-product { border: 0; padding: 0; }
  .primary-nav .nav-product span { margin-left: 2px; }
  .hero-inner { padding: 67px 0 65px; }
  .place-line { margin-bottom: 21px; }
  h1 { font-size: clamp(2.75rem, 11vw, 4.15rem); }
  .hero-lede { font-size: 1.05rem; }
  .hero-mark { min-height: 355px; }
  .brand-seal { --seal-size: 245px; }
  .mark-halo { width: 330px; }
  .mark-caption { bottom: 0; font-size: .75rem; }
  .product-section { padding: 84px 0 90px; }
  .section-heading { margin-bottom: 34px; }
  .product-feature { padding: 32px 26px; }
  .product-name-wrap { margin-bottom: 18px; }
  .workflow { grid-template-columns: 1fr; gap: 18px; }
  .workflow-step + .workflow-step { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
  .studio-section { padding: 95px 0 99px; }
  .studio-grid { grid-template-columns: 1fr; gap: 15px; }
  .studio-copy { padding-top: 0; font-size: 1.05rem; }
  .footer-inner { min-height: auto; flex-direction: column; align-items: flex-start; gap: 14px; padding: 34px 0; }
}

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