@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Josefin+Sans:wght@300;400;500;600&display=swap');

:root{
  --ink:#172623;
  --ink-soft:#3a4a44;
  --teal:#5cc6b0;
  --teal-deep:#2c8071;
  --sand:#d4c4a8;
  --clay:#b0623f;
  --soil:#6b5a44;
  --paper:#f5efe4;
  --paper-2:#e9dfcd;
  --line:rgba(23,38,35,.14);
  --shadow:0 22px 44px -26px rgba(23,38,35,.55);
  --max:1180px;
  --serif:Cinzel,'Songti SC',Georgia,serif;
  --sans:'Josefin Sans',system-ui,-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
}

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

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

body{
  margin:0;
  overflow-x:hidden;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.75;
  letter-spacing:.01em;
}

body::after{
  content:'';
  position:fixed;
  inset:0;
  z-index:9;
  pointer-events:none;
  opacity:.4;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.3'/%3E%3C/svg%3E");
  background-size:160px 160px;
}

img{display:block;max-width:100%;height:auto}

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

h1,h2,h3{
  font-family:var(--serif);
  line-height:1.16;
  letter-spacing:.005em;
  margin:0 0 .55em;
  font-weight:600;
}

p{margin:0 0 1.05em}

.mast{
  position:sticky;
  top:0;
  z-index:20;
  background:var(--ink);
  color:var(--sand);
  border-bottom:1px solid rgba(212,196,168,.28);
}

.ticker{
  margin:0;
  padding:7px 16px;
  background:var(--teal);
  color:var(--ink);
  font-size:16px;
  line-height:1.4;
  letter-spacing:.2em;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mastbar{padding:8px 0}

.split{
  display:flex;
  align-items:center;
  gap:10px;
  max-width:var(--max);
  margin:0 auto;
  padding:0 clamp(12px,3vw,28px);
}

.navcol{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  flex:1 1 0;
  min-width:0;
  margin:0;
  padding:0;
  list-style:none;
}

.navcol-l{justify-content:flex-start}
.navcol-r{justify-content:flex-end}

.navcol a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 14px;
  border-radius:999px;
  border:1px solid rgba(212,196,168,.3);
  color:var(--sand);
  font-size:16px;
  line-height:1.2;
  letter-spacing:.03em;
  white-space:nowrap;
  transition:background .25s ease-out,color .25s ease-out,border-color .25s ease-out;
  animation:navIn .5s ease-out backwards;
}

.navcol li:nth-child(1) a{animation-delay:.04s}
.navcol li:nth-child(2) a{animation-delay:.09s}
.navcol li:nth-child(3) a{animation-delay:.14s}
.navcol li:nth-child(4) a{animation-delay:.19s}

.navcol a:hover,.navcol a:focus-visible{
  background:var(--teal);
  border-color:var(--teal);
  color:var(--ink);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-height:44px;
  padding:4px 10px;
  color:var(--teal);
  font-family:var(--serif);
  font-size:17px;
  letter-spacing:.12em;
}

.brand-name{white-space:nowrap}

.mark{font-size:20px;line-height:1}
.mark-img{width:30px;height:30px;object-fit:contain}

.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  align-items:end;
  gap:clamp(20px,4vw,48px);
  padding:clamp(28px,5vw,72px) clamp(16px,4vw,54px) clamp(30px,5vw,64px);
  background:linear-gradient(155deg,#f8f3e9 0%,#ecdfc9 58%,#d9c8ae 100%);
}

.hero::before{
  content:'';
  position:absolute;
  z-index:0;
  left:-9%;
  right:-9%;
  bottom:24%;
  height:22px;
  background:var(--teal);
  opacity:.85;
  transform:rotate(-3.5deg);
}

.hero::after{
  content:'';
  position:absolute;
  z-index:0;
  left:-9%;
  right:-9%;
  bottom:19.4%;
  height:5px;
  background:var(--clay);
  opacity:.55;
  transform:rotate(-3.5deg);
}

.hero-copy{
  position:relative;
  z-index:1;
  max-width:36ch;
  padding-bottom:clamp(0px,4vw,42px);
}

.hero-copy > *{animation:rise .85s ease-out backwards}
.hero-copy h1{animation-delay:.06s}
.hero-copy .hero-desc{animation-delay:.18s}

.hero h1{
  font-size:clamp(34px,6.2vw,68px);
  line-height:1.06;
  letter-spacing:.004em;
  margin:0 0 .45em;
  color:var(--ink);
  text-shadow:0 1px 0 rgba(245,239,228,.55);
}

.hero-desc{
  max-width:44ch;
  margin:0;
  color:var(--ink-soft);
  font-size:17px;
  line-height:1.8;
}

.hero-art{
  position:relative;
  z-index:1;
  align-self:stretch;
  min-height:60vh;
}

.hero-art::before{
  content:'';
  position:absolute;
  inset:10% 4% 12% 6%;
  background:repeating-linear-gradient(135deg,rgba(92,198,176,.24) 0 12px,rgba(212,196,168,.4) 12px 24px);
}

.hero-shot{
  position:absolute;
  object-fit:cover;
  border:7px solid #fbf7ee;
  box-shadow:var(--shadow);
  background:var(--paper-2);
}

.hero-shot-1{
  width:60%;
  aspect-ratio:3/4;
  top:2%;
  right:0;
  transform:rotate(1.6deg);
}

.hero-shot-2{
  width:46%;
  aspect-ratio:4/5;
  bottom:0;
  right:47%;
  transform:rotate(-2.6deg);
}

main{
  display:grid;
  grid-template-columns:minmax(0,290px) minmax(0,1fr);
  gap:clamp(20px,4vw,56px);
  align-items:start;
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(32px,5vw,64px) clamp(16px,4vw,54px) clamp(40px,7vw,88px);
}

.rail{
  position:sticky;
  top:118px;
  align-self:start;
  padding:20px 18px 22px;
  background:var(--paper-2);
  border-top:4px solid var(--teal);
  box-shadow:var(--shadow);
}

.rail h2{
  font-size:21px;
  margin:0 0 .25em;
}

.subtitle{
  margin:0 0 16px;
  color:var(--soil);
  font-size:16px;
  line-height:1.5;
  letter-spacing:.16em;
}

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

.rail-list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:6px 2px;
  font-size:16px;
  line-height:1.3;
  border-bottom:1px solid var(--line);
  transition:padding-left .2s ease-out,color .2s ease-out;
}

.rail-list a:hover,.rail-list a:focus-visible{
  color:var(--teal-deep);
  padding-left:8px;
}

.rail-top{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  letter-spacing:.1em;
  color:var(--teal-deep);
  border-bottom:2px solid var(--teal);
}

.body{min-width:0}

.body > div{
  padding:clamp(22px,3vw,38px) 0;
  border-top:1px solid var(--line);
  scroll-margin-top:132px;
}

.body > div:first-child{
  border-top:0;
  padding-top:0;
}

.body h2{
  font-size:clamp(23px,2.6vw,32px);
  padding-bottom:.4em;
  border-bottom:3px solid var(--teal);
  margin-bottom:.7em;
}

.body h3{
  font-size:clamp(19px,2vw,23px);
  color:var(--ink-soft);
}

.body p{max-width:66ch}

.body ul,.body ol{padding-left:1.35em;margin:0 0 1.1em}
.body li{margin:.4em 0}
.body li::marker{color:var(--teal-deep)}

.body strong{color:var(--ink);box-shadow:inset 0 -8px 0 rgba(92,198,176,.3)}

.body blockquote{
  margin:1.5em 0;
  padding:.3em 0 .3em 1.1em;
  border-left:4px solid var(--sand);
  color:var(--soil);
}

.body a{
  border-bottom:1px solid var(--teal);
  color:var(--teal-deep);
}

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease-out,transform .6s ease-out;
}

.reveal.in{opacity:1;transform:none}

.foot{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(18px,3vw,40px);
  padding:clamp(34px,5vw,64px) clamp(16px,4vw,54px) 22px;
  background:var(--ink);
  color:var(--sand);
  border-top:7px solid var(--teal);
}

.foot h2,.foot h3{color:#f1e7d4;margin:0 0 .5em}
.foot h2{font-size:clamp(21px,2.6vw,30px)}
.foot h3{font-size:18px;letter-spacing:.16em}

.foot .subtitle{color:var(--teal);margin-bottom:16px}

.foot-cta{
  grid-column:1 / -1;
  padding-bottom:clamp(18px,3vw,30px);
  border-bottom:1px solid rgba(212,196,168,.22);
}

.foot-cta p:last-child{margin:0}

.foot-btn{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 24px;
  border:1px solid var(--teal);
  color:var(--teal);
  letter-spacing:.12em;
  transition:background .25s ease-out,color .25s ease-out;
}

.foot-btn:hover,.foot-btn:focus-visible{background:var(--teal);color:var(--ink)}

.foot-brand .mark-img{width:34px;height:34px}
.foot-brand .mark{font-size:24px;color:var(--teal)}

.foot-name{
  margin:10px 0 0;
  font-family:var(--serif);
  font-size:18px;
  letter-spacing:.1em;
  color:#f1e7d4;
}

.foot-col ol{list-style:none;margin:0;padding:0}

.foot-col a{
  display:flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  color:#cdc0a8;
  border-bottom:1px solid rgba(212,196,168,.14);
  transition:color .2s ease-out;
}

.foot-col a:hover,.foot-col a:focus-visible{color:var(--teal)}

.foot-base{
  grid-column:1 / -1;
  padding-top:16px;
  border-top:1px solid rgba(212,196,168,.22);
}

.foot-base p{
  margin:0;
  font-size:16px;
  letter-spacing:.1em;
  color:#b3a693;
}

@keyframes navIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:none}
}

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

@media (max-width:900px){
  .mastbar{padding:6px 0 10px}
  .split{flex-wrap:wrap;gap:6px;padding:0 12px}
  .brand{order:-1;flex:1 0 100%;justify-content:center;letter-spacing:.16em;min-height:46px}
  .navcol-l,.navcol-r{flex:1 1 100%;justify-content:center}
  .navcol a{padding:6px 12px}

  .hero{
    grid-template-columns:minmax(0,1fr);
    min-height:0;
    padding:clamp(20px,6vw,34px) clamp(16px,5vw,28px) clamp(34px,9vw,52px);
    gap:18px;
  }
  .hero-copy{max-width:none;padding-bottom:0}
  .hero-art{order:2;min-height:64vw}
  .hero::before{bottom:auto;top:auto;bottom:20%;height:14px;opacity:.7}
  .hero::after{bottom:auto;bottom:17%;height:4px}

  main{grid-template-columns:minmax(0,1fr);gap:24px}
  .rail{position:static;top:auto}
  .rail-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
  .body > div{scroll-margin-top:150px}

  .foot{grid-template-columns:minmax(0,1fr)}
  .foot-cta,.foot-base{grid-column:auto}
}

@media (max-width:420px){
  .rail-list{grid-template-columns:minmax(0,1fr)}
  .body p{max-width:none}
}

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

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