@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root{
  --cream:#f5e6c8;
  --cream-lift:#fbf3e2;
  --caramel:#d4a574;
  --caramel-deep:#a9764a;
  --ink:#262117;
  --ink-soft:#4e4437;
  --line:rgba(38,33,23,.18);
  --card:rgba(255,250,238,.74);
  --radius:28px;
  --pad:clamp(1rem,4vw,3rem);
  --font:'Plus Jakarta Sans','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font);
  font-size:1.0625rem;
  line-height:1.75;
  color:var(--ink);
  background-color:var(--cream);
  background-image:linear-gradient(168deg,#f9eed7 0%,#f2dfbd 48%,#e7cda3 100%);
  background-attachment:fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:8;
  pointer-events:none;
  opacity:.32;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.42'/%3E%3C/svg%3E");
  background-size:160px 160px;
}

body::after{
  content:"";
  position:fixed;
  inset:-25%;
  z-index:7;
  pointer-events:none;
  mix-blend-mode:soft-light;
  background:
    radial-gradient(closest-side at 16% 10%,rgba(255,226,168,.95),transparent 68%),
    radial-gradient(closest-side at 86% 74%,rgba(255,170,110,.8),transparent 72%);
  animation:drift 24s ease-in-out infinite alternate;
}

img{max-width:100%}

a{color:var(--ink)}

.skip{
  position:absolute;
  left:-999px;
  top:0;
  z-index:60;
  padding:.65rem 1.1rem;
  background:var(--ink);
  color:var(--cream);
  border-radius:0 0 14px 0;
}
.skip:focus{left:0}

.masthead{
  position:sticky;
  top:0;
  z-index:20;
  padding:.55rem var(--pad) .7rem;
  background:rgba(245,230,200,.9);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(7px);
}

.brandline{display:flex;align-items:center}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:44px;
  padding:.2rem 0;
  text-decoration:none;
  color:var(--ink);
}

.brand-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
  filter:sepia(.4) contrast(1.05) saturate(.85);
}

.brand-name{
  font-size:1.5rem;
  font-weight:800;
  letter-spacing:-.015em;
}

.pillbar{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:.45rem;
}

.pillbar a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.42rem .92rem;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,252,244,.55);
  color:var(--ink-soft);
  font-size:.96rem;
  text-decoration:none;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.pillbar a:hover,.pillbar a:focus-visible{
  background:var(--caramel);
  border-color:var(--caramel-deep);
  color:var(--ink);
}

.pillbar .pill-cta{
  background:var(--ink);
  border-color:var(--ink);
  color:var(--cream);
}
.pillbar .pill-cta:hover,.pillbar .pill-cta:focus-visible{
  background:var(--caramel-deep);
  border-color:var(--caramel-deep);
  color:var(--cream);
}

.stage{
  display:grid;
  grid-template-columns:15rem minmax(0,1fr);
  grid-template-areas:"rail sheet";
  gap:clamp(1.4rem,3vw,3rem);
  max-width:82rem;
  margin:0 auto;
  padding:0 var(--pad);
}

.sheet{
  grid-area:sheet;
  min-width:0;
  padding-bottom:3rem;
}

.hero{
  position:relative;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:clamp(1.2rem,3.5vw,2.6rem);
  min-height:100vh;
  padding-top:clamp(1.1rem,3.5vw,2.6rem);
  text-align:right;
  scroll-margin-top:9.5rem;
}

.hero h1{
  margin:0;
  font-size:clamp(2.1rem,6.4vw,4.5rem);
  line-height:1.05;
  letter-spacing:-.03em;
  font-weight:800;
  text-wrap:balance;
  animation:vhs 7s steps(1,end) infinite;
}

.hero-visual{
  position:relative;
  overflow:hidden;
  min-height:38vh;
  border-radius:var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(120% 96% at 28% 14%,#f8ddb0,#dcb98d 44%,#8f6d4c 100%);
}

.hero-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:sepia(.34) contrast(1.06) saturate(.8);
}

.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:16px;
  background:var(--caramel);
  clip-path:polygon(0 46%,100% 0,100% 100%,0 100%);
}

.sheet > section{
  scroll-margin-top:9.5rem;
}

.sheet > section:not(.hero){
  position:relative;
  margin-top:clamp(1.2rem,3vw,2rem);
  padding:clamp(1.3rem,3.4vw,2.5rem);
  background:var(--card);
  border:1px solid var(--line);
  border-bottom:4px solid var(--caramel);
  border-radius:var(--radius);
  box-shadow:0 14px 32px -26px rgba(38,33,23,.7);
  animation:rise .6s ease both;
}

.sheet > section:nth-of-type(2){animation-delay:.05s}
.sheet > section:nth-of-type(3){animation-delay:.1s}
.sheet > section:nth-of-type(4){animation-delay:.15s}
.sheet > section:nth-of-type(5){animation-delay:.2s}
.sheet > section:nth-of-type(6){animation-delay:.25s}
.sheet > section:nth-of-type(7){animation-delay:.3s}
.sheet > section:nth-of-type(8){animation-delay:.35s}
.sheet > section:nth-of-type(n+9){animation-delay:.4s}

.lede h2{
  margin:0 0 .45rem;
  font-size:clamp(1.35rem,3vw,1.9rem);
  line-height:1.3;
  letter-spacing:-.01em;
}

.sheet h1{
  font-size:clamp(1.8rem,4.4vw,2.8rem);
  line-height:1.2;
}

.sheet h2{
  margin:0 0 .55rem;
  font-size:clamp(1.45rem,3.2vw,2.05rem);
  line-height:1.26;
  letter-spacing:-.015em;
}

.sheet h3{
  margin:1.7rem 0 .45rem;
  font-size:1.2rem;
  line-height:1.4;
}

.sheet p{margin:0 0 1rem}

.sheet p.subtitle,
.sheet p.subhead,
.sheet p.desc,
.sheet p.lead{
  margin:0 0 1.15rem;
  color:var(--ink-soft);
  font-size:1.04rem;
}

.sheet ul,.sheet ol{
  margin:0 0 1rem;
  padding-left:1.35rem;
}

.sheet li{margin:.4rem 0}

.sheet li::marker{color:var(--caramel-deep)}

.sheet a{
  color:var(--ink);
  text-decoration-color:var(--caramel-deep);
  text-underline-offset:.22em;
}

.sheet strong{font-weight:700}

.sheet blockquote{
  margin:1.5rem 0;
  padding:.55rem 0 .55rem 1.15rem;
  border-left:4px solid var(--caramel);
  color:var(--ink-soft);
  font-size:1.04rem;
}

.sheet blockquote p:last-child{margin:0}

.sheet figure{margin:1.5rem 0}

.sheet figure img{
  display:block;
  width:100%;
  border-radius:18px;
  filter:sepia(.22) contrast(1.04) saturate(.86);
}

.sheet figcaption{
  margin-top:.5rem;
  font-size:.92rem;
  color:var(--ink-soft);
}

.sheet code{
  padding:.1em .38em;
  border-radius:6px;
  background:rgba(38,33,23,.09);
  font-size:.94em;
}

.rail{
  grid-area:rail;
  position:sticky;
  top:8.5rem;
  align-self:start;
  padding-top:clamp(1.2rem,3.5vw,2.6rem);
}

.rail-title{
  margin:0 0 .7rem;
  padding-bottom:.5rem;
  border-bottom:2px solid var(--caramel);
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.32em;
  color:var(--ink-soft);
}

.rail-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:.1rem;
}

.rail-list li{animation:rise .5s ease both}
.rail-list li:nth-child(1){animation-delay:.05s}
.rail-list li:nth-child(2){animation-delay:.1s}
.rail-list li:nth-child(3){animation-delay:.15s}
.rail-list li:nth-child(4){animation-delay:.2s}
.rail-list li:nth-child(5){animation-delay:.25s}
.rail-list li:nth-child(6){animation-delay:.3s}
.rail-list li:nth-child(7){animation-delay:.35s}

.rail-list a{
  display:flex;
  align-items:center;
  gap:.6rem;
  min-height:40px;
  padding:.35rem .5rem;
  border-bottom:1px solid var(--line);
  border-radius:12px;
  color:var(--ink-soft);
  font-size:.96rem;
  text-decoration:none;
  transition:background .2s ease,color .2s ease;
}

.rail-list a:hover,.rail-list a:focus-visible{
  background:rgba(212,165,116,.36);
  color:var(--ink);
}

.rail-list a[aria-current="true"]{
  background:rgba(212,165,116,.5);
  color:var(--ink);
  font-weight:600;
}

.rail-num{
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--caramel-deep);
  font-variant-numeric:tabular-nums;
}

.colophon{
  display:grid;
  grid-template-columns:1.3fr 1fr .9fr;
  grid-template-areas:"brand nav base";
  gap:clamp(1.4rem,3vw,2.6rem);
  margin-top:clamp(2.4rem,6vw,4.5rem);
  padding:clamp(2rem,5vw,3.4rem) var(--pad) 1.6rem;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(38,33,23,.03),rgba(38,33,23,.11));
}

.foot-brand{grid-area:brand}
.foot-nav{grid-area:nav}
.foot-base{grid-area:base}

.foot-word{
  margin:0;
  font-size:clamp(2rem,5.6vw,3.4rem);
  line-height:.98;
  font-weight:800;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.foot-nav dl{
  display:grid;
  grid-template-columns:max-content auto;
  align-items:baseline;
  gap:.1rem 1rem;
  margin:0;
}

.foot-nav dt{margin:0}

.foot-nav dt a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--ink-soft);
  font-size:.98rem;
  text-decoration:none;
  border-bottom:1px solid transparent;
}

.foot-nav dt a:hover,.foot-nav dt a:focus-visible{
  color:var(--ink);
  border-bottom-color:var(--caramel-deep);
}

.foot-nav dd{
  margin:0;
  text-align:right;
  font-size:.76rem;
  letter-spacing:.12em;
  color:var(--caramel-deep);
  font-variant-numeric:tabular-nums;
}

.foot-base{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
}

.copy{
  margin:0;
  font-size:.9rem;
  color:var(--ink-soft);
}

.totop{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.4rem 1.05rem;
  border:1px solid var(--ink);
  border-radius:999px;
  color:var(--ink);
  font-size:.94rem;
  text-decoration:none;
  transition:background .2s ease,color .2s ease;
}

.totop:hover,.totop:focus-visible{
  background:var(--ink);
  color:var(--cream);
}

@keyframes drift{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(2.5%,-2.5%,0) scale(1.05)}
}

@keyframes vhs{
  0%,90%,100%{transform:skewX(0)}
  91%{transform:skewX(-1.1deg)}
  94%{transform:skewX(.7deg)}
  97%{transform:skewX(-.3deg)}
}

@keyframes rise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:none}
}

@media (max-width:62rem){
  .stage{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"sheet" "rail";
  }
  .rail{
    position:static;
    margin-top:2.2rem;
    padding-top:1.2rem;
    border-top:1px solid var(--line);
  }
  .rail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .8rem}
  .colophon{
    grid-template-columns:1fr;
    grid-template-areas:"brand" "nav" "base";
    gap:1.6rem;
  }
  .foot-base{flex-direction:row;align-items:center}
}

@media (max-width:44rem){
  .masthead{position:static}
  .brand-name{font-size:1.32rem}
  .hero{min-height:86svh;scroll-margin-top:1rem}
  .hero-visual{min-height:44vh}
  .sheet > article:not(.hero){border-radius:20px;padding:1.15rem}
  .rail-list{grid-template-columns:1fr}
  .foot-word{font-size:clamp(1.85rem,9vw,2.6rem)}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{
    animation:none!important;
    transition:none!important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
