:root {
  --ivory: #f5efe5;
  --paper: #e8dcc9;
  --linen: #d4c4ad;
  --honey: #bc914d;
  --antique: #92703d;
  --walnut: #765239;
  --bark: #382b22;
  --earth: #241f1b;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ivory); }
body { margin: 0; color: var(--bark); background: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--antique); }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; }

.legal-announcement { min-height: 33px; padding: 7px 24px; color: var(--ivory); background: var(--earth); font-size: 10px; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.legal-announcement span { color: var(--honey); }
.legal-header { width: min(1180px, calc(100% - 64px)); min-height: 92px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; position: relative; isolation: isolate; border-bottom: 1px solid rgba(118,82,57,.2); }
.legal-brand { width: 174px; height: 76px; display: block; justify-self: start; line-height: .9; }
.legal-brand img { width: 174px; height: 76px; object-fit: contain; object-position: center; mix-blend-mode: multiply; transform: scale(1.12); transform-origin: left center; }
.legal-nav { display: flex; align-items: center; gap: 26px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.legal-language { justify-self: end; color: var(--antique); font-size: 10px; letter-spacing: .16em; }

.legal-page { padding: 90px 0 135px; }
.legal-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.legal-kicker { display: flex; align-items: center; gap: 12px; color: var(--antique); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.legal-rule { display: inline-block; width: 38px; height: 1px; background: currentColor; }
.legal-shell h1 { max-width: 700px; margin: 25px 0 28px; font-family: var(--serif); font-size: clamp(68px, 9vw, 122px); font-weight: 400; letter-spacing: -.07em; line-height: .82; }
.legal-shell h1 em { color: var(--walnut); font-style: italic; }
.legal-intro { max-width: 620px; margin: 0; color: #75695d; font-family: var(--serif); font-size: 25px; line-height: 1.27; }
.legal-meta { margin-top: 43px; padding: 14px 0; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(118,82,57,.25); border-bottom: 1px solid rgba(118,82,57,.25); color: var(--antique); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.legal-layout { margin-top: 73px; display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 25px; padding-top: 4px; }
.legal-toc > p { margin: 0 0 15px; color: var(--antique); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 6px 0; color: #8a7b6c; font-size: 11px; line-height: 1.35; }
.legal-toc a span { margin-left: 7px; color: var(--bark); }
.legal-toc a:hover, .legal-toc a:hover span { color: var(--honey); }
.legal-content { max-width: 800px; }
.legal-section { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 24px; padding: 0 0 50px; margin-bottom: 51px; border-bottom: 1px solid rgba(118,82,57,.2); scroll-margin-top: 30px; }
.legal-section-number { color: var(--honey); font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.legal-section h2 { margin: 0 0 17px; font-family: var(--serif); font-size: 37px; font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.legal-section p { margin: 0 0 14px; color: #5f554c; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: -2px 0 18px; padding-left: 19px; color: #5f554c; }
.legal-section li { margin: 6px 0; padding-left: 4px; }
.notice-card { max-width: 800px; margin: 75px 0 63px 252px; padding: 27px 30px; display: flex; align-items: flex-start; gap: 20px; border: 1px solid rgba(146,112,61,.36); background: rgba(232,220,201,.45); }
.notice-card-symbol { width: 31px; height: 31px; flex: none; display: grid; place-items: center; color: var(--ivory); background: var(--honey); font-family: var(--serif); font-size: 20px; }
.notice-card p { margin: 0; color: #5f554c; }
.notice-fields { max-width: 800px; margin-left: 252px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.notice-field { min-height: 96px; padding: 18px 0; display: grid; grid-template-columns: 28px 1fr; gap: 10px; border-top: 1px solid rgba(118,82,57,.2); }
.notice-field > span { color: var(--honey); font-family: var(--serif); font-size: 20px; }
.notice-field small { display: block; color: var(--antique); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.notice-field strong { display: block; margin-top: 7px; color: #5f554c; font-size: 14px; font-weight: 400; line-height: 1.35; }

.legal-footer { color: var(--ivory); background: var(--bark); }
.legal-footer-main { width: min(1180px, calc(100% - 64px)); min-height: 210px; margin: 0 auto; padding: 52px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 35px; align-items: start; }
.legal-footer .legal-brand small { color: var(--honey); }
.legal-footer-main > p { margin: 2px 0 0; color: var(--linen); font-family: var(--serif); font-size: 23px; font-style: italic; }
.legal-footer-links { display: grid; justify-self: end; gap: 10px; color: #c1b3a3; font-size: 10px; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.legal-footer-links a:hover { color: var(--honey); }
.legal-footer-bottom { width: min(1180px, calc(100% - 64px)); padding: 14px 0 19px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(232,220,201,.18); color: #a39483; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.legal-top { position: fixed; right: 25px; bottom: 25px; width: 43px; height: 43px; display: grid; place-items: center; color: var(--ivory); border: 1px solid var(--honey); background: var(--bark); font-size: 18px; cursor: pointer; }

/* Fine honeycomb traces keep the editorial and legal pages in the same world. */
.legal-header::after, .legal-page::before, .legal-footer::before { content: ""; position: absolute; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='62' viewBox='0 0 72 62'%3E%3Cpath d='M18 1h36l18 30-18 30H18L0 31 18 1z' fill='none' stroke='%2392703d' stroke-opacity='.2'/%3E%3C/svg%3E"); }
.legal-header::after { top: 0; right: -70px; width: 210px; height: 155px; z-index: -1; opacity: .3; transform: rotate(-8deg); mask-image: linear-gradient(135deg, black, transparent 80%); }
.legal-page { position: relative; isolation: isolate; }
.legal-page::before { left: -100px; top: 8%; width: 250px; height: 205px; opacity: .22; transform: rotate(11deg); mask-image: linear-gradient(45deg, black, transparent 80%); }
.legal-footer { position: relative; isolation: isolate; }
.legal-footer::before { left: -45px; top: 20px; width: 275px; height: 150px; opacity: .17; transform: rotate(-7deg); mask-image: linear-gradient(90deg, black, transparent 82%); }
.legal-footer .legal-brand img { filter: brightness(1.42) saturate(.84); }

@media (max-width: 850px) {
  .legal-header { grid-template-columns: 1fr auto; }
  .legal-nav { grid-column: 1 / -1; grid-row: 2; padding-bottom: 14px; justify-content: flex-start; flex-wrap: wrap; }
  .legal-header { padding-top: 16px; padding-bottom: 9px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: baseline; }
  .legal-toc > p { width: 100%; margin-bottom: 0; }
  .legal-toc a { padding: 3px 0; }
  .notice-card, .notice-fields { margin-left: 0; }
}

@media (max-width: 560px) {
  .legal-announcement { font-size: 8px; letter-spacing: .1em; }
  .legal-header, .legal-footer-main, .legal-footer-bottom { width: calc(100% - 34px); }
  .legal-header { gap: 18px; }
  .legal-brand { width: 128px; height: 58px; }
  .legal-brand img { width: 128px; height: 58px; transform: scale(1.08); }
  .legal-header::after, .legal-page::before { opacity: .14; transform: scale(.72); }
  .legal-footer::before { left: -110px; opacity: .12; transform: scale(.72); }
  .legal-nav { gap: 12px; font-size: 8px; }
  .legal-page { padding: 67px 0 90px; }
  .legal-shell { width: calc(100% - 34px); }
  .legal-shell h1 { font-size: clamp(60px, 18vw, 90px); }
  .legal-intro { font-size: 22px; }
  .legal-meta { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 8px; }
  .legal-section { grid-template-columns: 27px 1fr; gap: 12px; padding-bottom: 35px; margin-bottom: 35px; }
  .legal-section-number { font-size: 21px; }
  .legal-section h2 { font-size: 31px; }
  .legal-section p, .legal-section li { font-size: 15px; line-height: 1.7; }
  .notice-card { margin-top: 49px; margin-bottom: 44px; padding: 21px; gap: 13px; }
  .notice-card p { font-size: 14px; line-height: 1.6; }
  .notice-fields { grid-template-columns: 1fr; }
  .legal-footer-main { min-height: 0; padding: 42px 0; grid-template-columns: 1fr; gap: 22px; }
  .legal-footer-links { justify-self: start; text-align: left; }
  .legal-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .legal-top { right: 17px; bottom: 17px; width: 39px; height: 39px; }
}

.bee-layer { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: visible; }
.bee-particle { position: fixed; left: 0; top: 0; display: block; font-size: var(--size); line-height: 1; transform: translate3d(var(--x),var(--y),0) rotate(0deg); animation: bee-flight var(--duration) cubic-bezier(.22,.61,.36,1) forwards; filter: drop-shadow(0 3px 4px rgba(62,38,20,.18)); }
@keyframes bee-flight { 0% { opacity: 0; transform: translate3d(var(--x),var(--y),0) scale(.5) rotate(0deg); } 14% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; transform: translate3d(calc(var(--x) + var(--dx)),calc(var(--y) + var(--dy)),0) scale(.78) rotate(var(--rotate)); } }

.author-credit { min-width: 360px; display: inline-flex; align-items: center; gap: 20px; color: #c1b3a3; }
.author-credit-logo { width: 160px; height: 160px; flex: none; display: block; position: relative; overflow: hidden; border: 1px solid rgba(188,145,77,.58); border-radius: 18px; background: rgba(188,145,77,.08); }
.author-credit-logo::after { content: ""; position: absolute; inset: -20% 0; pointer-events: none; background: linear-gradient(105deg, transparent 34%, rgba(255,244,201,.58) 50%, transparent 66%); transform: translateX(-145%); transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.author-credit-logo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.author-credit-copy { display: block; position: relative; line-height: 1.15; }
.author-credit-label { display: block; color: #a39483; font-size: 11px; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; transition: color .35s; }
.author-credit-copy strong { display: inline-block; margin-top: 6px; color: var(--honey); font-size: 15px; font-weight: 500; letter-spacing: .1em; }
.author-credit-arrow { display: inline-block; margin-left: 6px; color: var(--honey); font-size: 18px; opacity: 0; transform: translateX(-5px); transition: opacity .35s, transform .35s cubic-bezier(.22,.61,.36,1); }
.author-credit:hover .author-credit-logo img { transform: scale(1.05); }
.author-credit:hover .author-credit-logo::after { transform: translateX(145%); }
.author-credit:hover .author-credit-label { color: var(--ivory); }
.author-credit:hover .author-credit-arrow { opacity: 1; transform: translateX(0); }
.legal-footer-main { grid-template-columns: 1fr 1fr 1fr auto; }
.legal-footer-main .author-credit { justify-self: end; }

@media (max-width: 850px) {
  .legal-footer-main { grid-template-columns: 1fr 1fr; }
  .legal-footer-main .author-credit { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .author-credit-logo img, .author-credit-arrow { transition: none; }
  .author-credit-logo::after { display: none; }
  .bee-particle { animation: none; }
}

@media (max-width: 560px) {
  .legal-footer-main { grid-template-columns: 1fr; }
  .author-credit { min-width: 0; width: fit-content; max-width: 100%; }
  .author-credit-logo { width: 112px; height: 112px; }
  .author-credit { gap: 14px; }
  .legal-footer-main .author-credit { justify-self: start; }
}
