:root {
  --sand: #f6f4ef;
  --ocean: #0d2b3e;
  --ink: #182026;
  --coral: #e05a47;
  --line: #dcd7cd;
  --serif: Fraunces, Georgia, serif;
  --mono: 'JetBrains Mono', monospace;
  color: var(--ink);
  background: var(--sand);
  font: 112.5%/1.65 'Plus Jakarta Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 3; background: var(--sand); padding: .5rem; }
.skip:focus { top: 1rem; }
.wrap { width: min(91%, 1370px); margin-inline: auto; }
.header { min-height: 84px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.header > .button { justify-self: end; }
.brand { display: inline-flex; gap: .55rem; align-items: center; width: fit-content; text-decoration: none; text-transform: uppercase; font: 600 1.08rem/1.1 var(--serif); color: var(--ocean); }
nav, .actions, .sources { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.85rem, 2vw, 2rem); }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 50px; padding: .65rem 1rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; font-size: .89rem; font-weight: 750; text-align: center; text-decoration: none; }
.coral { color: #201410; background: var(--coral); }
.button:hover { transform: translateY(-2px); border-color: currentColor; }
.button, .tile, .choices span { transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.hero { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: clamp(1.7rem, 5vw, 5rem); align-items: center; padding-top: clamp(2.4rem, 5vw, 5.2rem); }
.hero-copy { padding-bottom: 1rem; }
.label { margin: 0 0 1rem; font: 600 .72rem/1.6 var(--mono); letter-spacing: .085em; text-transform: uppercase; }
.hero .label { display: flex; align-items: center; gap: .6rem; }
.hero .label span { display: inline-block; flex: 0 0 1.15rem; height: 1px; background: var(--coral); }
h1, h2, h3 { margin: 0; color: var(--ocean); font: 500 1rem/1.04 var(--serif); letter-spacing: -.02em; }
h1 { font-size: clamp(3.2rem, 5.8vw, 6.05rem); max-width: 12ch; }
h1 em { font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.7vw, 4.6rem); }
h3 { font-size: clamp(1.65rem, 2.5vw, 2.7rem); }
.intro { max-width: 39ch; margin: 1.25rem 0 1.45rem; }
.text-link { font-weight: 700; font-size: .9rem; }
.hero-image img { width: 100%; aspect-ratio: .79; max-height: 720px; object-fit: cover; object-position: 54% center; border-radius: 180px 180px 12px 12px / 72px 72px 12px 12px; background: var(--ocean); }
figcaption { margin-top: .5rem; font: 500 .69rem/1.5 var(--mono); }
.section { margin-top: clamp(5rem, 10vw, 9rem); }
.story { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); gap: clamp(1.5rem, 5vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.story-title h2 { max-width: 13ch; }
.story-art { margin-top: 1.5rem; width: min(100%, 300px); }
.story-art img { width: 100%; height: auto; border-radius: 12px; }
.story-copy { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 4rem); }
.story-copy p:first-child { margin-top: 0; }
.lead { font-weight: 600; }
.sources { gap: .35rem 1rem; font-size: .85rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; border-top: 1px solid var(--line); margin: 1.5rem 0 0; padding-top: 1.25rem; }
.facts div { display: flex; flex-direction: column-reverse; justify-content: start; gap: .45rem; }
.facts dd { margin: 0; font: 500 clamp(1.42rem, 3.2vw, 3.5rem)/1 var(--serif); color: var(--ocean); }
.facts dt { font: 500 .68rem/1.55 var(--mono); }
.section-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.6rem; margin-bottom: 1.5rem; }
.section-head p:last-child { margin-bottom: 0; max-width: 35ch; }
.bento { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: .9rem; }
.tile { padding: clamp(1.15rem, 3vw, 2.3rem); background: #eeece4; border: 1px solid var(--line); border-radius: 12px; }
.tile:hover { border-color: var(--ocean); }
.tile p:last-child { margin-bottom: 0; }
.tile-main { grid-row: span 2; background: #e2e8e5; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.tile-main h3 { font-size: clamp(2rem, 4vw, 4rem); max-width: 14ch; }
.net-art { display: block; margin: 1rem -1rem -1rem; width: calc(100% + 2rem); color: #426776; }
.protect { margin-top: clamp(5rem, 10vw, 9rem); padding: clamp(3.5rem, 7vw, 7rem) 0; background: var(--ocean); color: var(--sand); }
.protect-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: center; }
.protect h2, .protect h3 { color: inherit; }
.protect h2 { max-width: 13ch; }
.trust { border-top: 1px solid #f6f4ef50; margin-top: 1.45rem; padding-top: 1.1rem; }
.trust h3 { font-size: 1.55rem; }
.contribution { color: var(--ink); background: var(--sand); padding: clamp(1.1rem, 3vw, 2rem); border-radius: 12px; }
fieldset { border: 0; margin: .85rem 0; padding: 0; min-width: 0; }
legend { margin-bottom: .35rem; padding: 0; font-weight: 650; }
.choices { display: grid; gap: .4rem; }
.modes { grid-template-columns: repeat(2, 1fr); }
.amounts { grid-template-columns: repeat(3, 1fr); }
.choices label { position: relative; cursor: pointer; display: grid; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: grid; place-items: center; min-height: 52px; border: 1px solid #aca99f; border-radius: 6px; padding: .35rem; text-align: center; font-size: .89rem; font-weight: 650; line-height: 1.35; }
.choices label:hover span { border-color: var(--ocean); }
.choices input:checked + span { background: var(--ocean); color: var(--sand); border-color: var(--ocean); }
.choices input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 2px; }
.impact { border-top: 1px solid var(--line); padding-top: .8rem; }
.impact p { margin: .3rem 0 .65rem; }
.preview-note { font-size: .81rem; margin-bottom: 0; }
.footer { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); align-items: start; gap: .9rem; padding-block: 2rem; }
.footer p { font-size: .87rem; }
.footer summary { cursor: pointer; font-weight: 650; font-size: .89rem; }
@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; padding-block: .8rem; }
  nav { grid-row: 2; grid-column: 1 / -1; }
  .footer { grid-template-columns: repeat(2, 1fr); }
  .footer > div { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .hero, .story, .section-head, .bento, .protect-layout { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.65rem, 11vw, 4.3rem); }
  .hero-image img { aspect-ratio: .95; }
  .story-copy { border-left: 0; border-top: 1px solid var(--line); padding: 1.15rem 0 0; }
  .tile-main { grid-row: auto; }
  .story-art { width: min(65%, 260px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

:root {
  color-scheme: dark;
  --sand: #eee7dc;
  --ocean: #0d2533;
  --ink: #eee7dc;
  --night: #15191e;
  --surface: #1d242b;
  --line: #ffffff29;
  color: var(--ink);
  background: var(--night);
}
.brand, h1, h2, h3, .facts dd { color: var(--ink); }
.skip { color: var(--ink); background: var(--surface); }
.hero h1 em { color: #e2c4ae; }
.hero-image img { background: var(--ocean); }
.tile, .tile-main { background: var(--surface); }
.tile:hover { border-color: #e2c4ae; }
.net-art { color: #8ca9ae; }
.contribution { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.choices span { border-color: #b6a99b; }
.choices input:checked + span { background: var(--sand); color: var(--night); border-color: var(--sand); }
.choices label:hover span, .choices input:focus-visible + span { border-color: var(--sand); outline-color: var(--sand); }
.footer { overflow-wrap: anywhere; }
.shop-tools { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.shop-tools > span { font-size: .82rem; }
.secondary, .primary { color: var(--ink); border-color: #ad9c8b; background: transparent; gap: .45rem; }
.primary:hover, .secondary:hover { background: #ffffff12; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); overflow: hidden; border-radius: 12px; }
.product-visual { position: relative; aspect-ratio: 1.65; background: #333239; }
.product-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-visual span { position: absolute; top: .55rem; left: .55rem; padding: .18rem .4rem; border-radius: 4px; background: var(--night); font: 500 .72rem var(--mono); }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: .9rem; }
.product-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem .6rem; }
.product-title h3 { font-size: 1.45rem; }
.price { white-space: nowrap; font: 500 .82rem var(--mono); }
.product-copy p { margin: .4rem 0 .75rem; font-size: .84rem; }
.buy { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.buy button { flex: 1; }
.buy select { font: inherit; font-size: .83rem; color: var(--ink); background: var(--night); padding-inline: .5rem; border: 1px solid var(--line); border-radius: 6px; min-height: 48px; }
.motif-grid { display: grid; grid-template-columns: 1fr .87fr .75fr; gap: .8rem; align-items: end; }
.motif-grid img { width: 100%; border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
dialog { width: min(94%, 35rem); max-height: 88dvh; color: var(--ink); background: var(--surface); border: 1px solid #ad9c8b; border-radius: 12px; padding: 1.1rem; }
dialog::backdrop { background: #080c10c4; }
.cart-header, .cart-row, .total { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.cart-header h2 { font-size: 2rem; }
.cart-row { padding-block: .7rem; border-bottom: 1px solid var(--line); }
.cart-row small { display: block; }
.close, .remove { min-height: 44px; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); font: inherit; }
.total { padding-top: .8rem; }
#feedback:not(:empty) { position: fixed; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); background: var(--ocean); padding: .6rem .9rem; border: 1px solid #ad9c8b; border-radius: 6px; }
.story-hero, .story-layout, .whale-guide, .legal { width: min(91%, 1200px); margin-inline: auto; }
.story-hero, .story-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2rem; align-items: start; }
.story-hero { padding-top: 3rem; align-items: center; }
.story-hero img { width: min(100%, 340px); height: auto; justify-self: end; border-radius: 12px; }
.story-layout article h2:not(:first-child) { margin-top: 2rem; }
.timeline, .guide-grid article { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 1rem; }
.timeline h2, .guide-grid h3 { font-size: 1.7rem; }
.timeline time { display: block; font-family: var(--mono); font-size: .85rem; }
.timeline li { margin-bottom: .5rem; }
.whale-guide { padding-bottom: 3rem; }
.guide-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: .75rem; margin-top: 1rem; }
.guide-grid article:first-child { grid-row: span 2; }
.legal { max-width: 760px; margin-block: 4rem; }
.legal h2 { font-size: 1.7rem; margin-top: 1.6rem; }
.legal address { font-style: normal; margin-top: 1rem; }
body:has(.legal) > .header, body:has(.story-hero) > .header { padding-inline: 4.5%; }
body:has(.legal) > .footer, body:has(.story-hero) > .footer { padding-inline: 4.5%; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) {
  .products, .story-hero, .story-layout, .guide-grid { grid-template-columns: 1fr; }
  .guide-grid article:first-child { grid-row: auto; }
  .story-hero img { justify-self: start; }
  .motif-grid { gap: .35rem; }
}

button.product-visual {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--ink);
  cursor: zoom-in;
}
button.product-visual:focus-visible { outline-offset: -3px; }
.product-visual .zoom-label {
  top: auto;
  left: auto;
  right: .55rem;
  bottom: .55rem;
  border: 1px solid var(--line);
}
.product-visual:hover .zoom-label { border-color: #e2c4ae; }
#product-view { width: min(94%, 78rem); }
.product-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}
.product-view-header h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
#product-view-image { width: auto; height: auto; max-height: 68dvh; margin-inline: auto; }
