:root {
  color-scheme: light;
  --ink: #0b2228;
  --night: #081923;
  --chalk: #f8f6ef;
  --muted: #46595a;
  --accent: #c4cfb0;
  --gutter: clamp(24px, 6vw, 100px);
  --page: 1440px;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: url("assets/site/oyster-cursor-small.png") 6 22, auto; }
  a, button { cursor: url("assets/site/oyster-cursor-small.png") 6 22, pointer; }
}
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
h1, h2, p, figure { margin: 0; }
.wrap { width: min(100%, var(--page)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 14px;
  z-index: 4;
  color: var(--ink);
  background: var(--chalk);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.masthead { position: absolute; z-index: 2; width: 100%; color: var(--chalk); }
.masthead-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
}
.masthead-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  max-width: calc(var(--page) - var(--gutter) * 2);
  margin-inline: auto;
  border-bottom: 1px solid #f8f6ef42;
}
.brand { display: inline-block; flex: none; }
.brand img { height: auto; }
.masthead-links { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
nav { display: flex; align-items: center; }
.section-nav { gap: clamp(14px, 3vw, 42px); }
nav a, .footer a { text-decoration: none; }
nav a { font-size: 15px; padding-block: 10px; white-space: nowrap; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.language-nav { gap: 10px; padding-inline-start: 14px; border-inline-start: 1px solid #f8f6ef45; }
.language-nav a { font-size: 12px; line-height: 1.25; color: #d7e2db; }
.language-nav a[aria-current="page"] { color: var(--chalk); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 735px;
  min-height: max(735px, 100svh);
  display: flex;
  align-items: center;
  overflow: clip;
  color: var(--chalk);
}
.hero-scene, .hero-water, .hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene {
  z-index: -2;
  filter: brightness(.83) saturate(.87);
}
.hero-photo, .hero-water {
  object-fit: cover;
  object-position: 55% 52%;
}
.water-canvas { pointer-events: none; }
.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(to bottom, transparent 72%, var(--night) 100%),
    linear-gradient(90deg, #04121ce8 0%, #061927ad 37%, #06192722 79%),
    linear-gradient(180deg, #06141fb3 0%, #06141f0d 50%, #03131bd6 100%);
}
.hero-inner { padding-block: 154px 115px; }
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}
.label span { background: currentColor; width: 24px; height: 1px; }
.hero-label { color: #e3e8d5; margin-bottom: clamp(22px, 4vh, 37px); }
h1, h2 { font-weight: 700; letter-spacing: -.078em; line-height: .89; }
h1 { font-size: clamp(69px, 11vw, 172px); }
html[lang="en"] h1 { font-size: clamp(49px, 9.7vw, 153px); }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.086em; }
h1 em { color: #e9eadb; }
.hero-description { margin-top: 30px; max-width: 34ch; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease;
}
.button-light { margin-top: 27px; color: var(--chalk); border-color: #f8f6ef9c; }
.button-light:hover { color: var(--night); background: var(--chalk); }
.hero-caption {
  position: absolute;
  inset: auto 0 25px;
  font-size: 13px;
  letter-spacing: .04em;
  color: #eef0e6;
}

.farm {
  color: var(--chalk);
  background:
    radial-gradient(ellipse 75% 62% at 63% 55%, #143330 0%, transparent 100%),
    var(--night);
  padding-block: clamp(58px, 8vw, 118px) clamp(72px, 9vw, 130px);
}
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: 28px clamp(35px, 10vw, 145px);
  margin-bottom: clamp(34px, 5vw, 67px);
}
.section-label { color: #385456; margin-bottom: 25px; }
h2 { font-size: clamp(51px, 8.2vw, 125px); }
h2 em { color: #3a5b59; }
.section-copy { max-width: 34ch; color: var(--muted); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; }
.farm h2 em { color: #b7c9b8; }
.farm .section-label { color: #b7c9b8; }
.farm .section-copy { color: #cdd7d3; }
.aerial, .farm-band {
  width: min(calc(100% - clamp(32px, 5.2vw, 96px)), 1510px);
  margin-inline: auto;
}
.aerial { --aerial-start-inset: 13%; }
.aerial-photo { display: block; position: relative; overflow: hidden; background: #112b2c; }
.aerial-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #081923b3, #08192324 64%, transparent);
  opacity: 0;
  pointer-events: none;
}
.aerial img {
  width: 100%;
  aspect-ratio: 1.95;
  object-fit: cover;
  object-position: 55% center;
}
figcaption { font-size: 14px; }
.aerial figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 0;
  border-bottom: 1px solid #cad7cc48;
  color: #cdd7d3;
}
.aerial figcaption a { text-underline-offset: 4px; }

.oysters {
  padding-block: clamp(55px, 8vw, 110px);
  background: radial-gradient(ellipse at 73% 10%, #d2e0d4, transparent 52%), #edf0e7;
}
.oyster-intro, .oyster-details {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
}
.oyster-intro { align-items: center; padding-bottom: clamp(32px, 5vw, 67px); }
.oyster-intro h2 { font-size: clamp(45px, 6.3vw, 86px); line-height: 1; }
.oyster-intro .section-copy { margin-top: 18px; max-width: 39ch; }
.oyster-shell, .oyster-platter {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 13px 15px #1a33292c);
}
.oyster-shell { max-width: 425px; justify-self: center; }
.oyster-details {
  align-items: start;
  padding-top: clamp(24px, 3.8vw, 52px);
  border-top: 1px solid #9aafa0;
}
.oyster-details h3 {
  margin: 0 0 18px;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.calibre-guide {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.calibre-guide th, .calibre-guide td { padding: 12px 0; border-bottom: 1px solid #bac9bd; }
.calibre-guide thead { color: #385456; font-size: 14px; }
.calibre-guide thead th:first-child { width: 34%; }
.calibre-guide tbody th { color: #28645c; font-size: 24px; line-height: 1; }
.calibre-guide tbody td { font-size: 17px; }
.oyster-supply {
  display: grid;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.oyster-supply div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 6px 16px;
  padding-block: 12px;
  border-bottom: 1px solid #bac9bd;
}
.oyster-supply dt { font-weight: 700; }
.oyster-supply dd { margin: 0; color: var(--muted); }
.oyster-platter { width: min(78%, 280px); margin: clamp(24px, 4vw, 44px) auto 0; }

.farm-band {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  height: min(46vw, 580px);
  margin-top: clamp(22px, 4vw, 54px);
  display: flex;
  align-items: end;
  overflow: clip;
  color: var(--chalk);
}
.farm-band img, .farm-band canvas { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 47%; }
.farm-band::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(transparent 35%, #04121ce0 100%); }
.farm-band figcaption { padding: clamp(17px, 3vw, 32px); }
.stand {
  padding-block: clamp(56px, 8vw, 112px);
  color: var(--chalk);
  background: radial-gradient(ellipse at 82% 45%, #193c3b, transparent 65%), var(--night);
}
.stand-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 86px);
}
.stand h2 { font-size: clamp(42px, 5vw, 74px); line-height: 1; }
.stand h2 em { color: #bdcfbd; }
.stand-description { max-width: 39ch; margin-top: 22px; color: #d3ded7; font-size: 17px; line-height: 1.55; }
.stand-setup { margin-top: 14px; color: #e2ebdf; font-size: 16px; font-weight: 700; }
.stand img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #102629; }
.contact { padding-block: clamp(48px, 8vw, 105px); color: var(--chalk); background: #102b30; }
.contact-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 22px 40px; }
.contact h2 { font-size: clamp(38px, 6vw, 77px); line-height: 1; }
.contact a { font-size: clamp(17px, 2.4vw, 28px); text-underline-offset: .26em; overflow-wrap: anywhere; }
.footer { padding-block: 48px; color: var(--chalk); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; line-height: 1.6; }
.footer p { color: #d2dbd8; }

@media (max-width: 760px) {
  .masthead-inner { min-height: 77px; }
  .masthead .brand img { width: clamp(52px, 14vw, 70px); }
  .masthead-links { flex-direction: column; align-items: end; gap: 0; }
  .section-nav { justify-content: flex-end; gap: clamp(8px, 2.8vw, 18px); flex-wrap: wrap; }
  .section-nav a { padding-block: 8px 3px; font-size: 13px; }
  .language-nav { border: 0; padding: 0; gap: 12px; }
  .language-nav a { padding-block: 5px 8px; }
  .hero { min-height: max(630px, 96svh); }
  .hero-inner { padding-block: 115px 92px; }
  .hero-photo, .hero-water { object-position: 58% 52%; }
  .hero::after {
    background: linear-gradient(to bottom, transparent 76%, var(--night) 100%),
      linear-gradient(90deg, #04121cc7, #06192764 100%),
      linear-gradient(180deg, #06141fb3 0%, #06141f0d 50%, #03131bd6 100%);
  }
  .hero-caption { display: none; }
  .section-intro, .oyster-intro, .oyster-details, .stand-inner { grid-template-columns: 1fr; }
  .aerial { --aerial-start-inset: 8%; }
  .aerial img { aspect-ratio: 1.22; object-position: 57% center; }
  .oyster-intro { gap: 22px; }
  .oyster-shell { width: min(78%, 260px); }
  .oyster-details { gap: 34px; }
  .footer-inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .water-canvas { display: none; }
}

@supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline: --hero block; }
    .hero-scene {
      animation: sea-descent linear both;
      animation-timeline: --hero;
      animation-duration: auto;
      animation-range: exit 0% exit 100%;
    }

    .aerial { view-timeline: --aerial block; }
    .aerial-photo, .aerial-photo img, .aerial-photo::after {
      animation-timeline: --aerial;
      animation-range: entry 5% entry 88%;
      animation-duration: auto;
      animation-fill-mode: both;
      animation-timing-function: cubic-bezier(.25, .6, .35, 1);
    }
    .aerial-photo { animation-name: aerial-reveal; }
    .aerial-photo img { animation-name: aerial-settle; }
    .aerial-photo::after { animation-name: aerial-light; }
    .aerial:focus-within .aerial-photo,
    .aerial:focus-within .aerial-photo img,
    .aerial:focus-within .aerial-photo::after {
      animation-name: none;
    }

    .farm-band { view-timeline: --tables block; }
    .farm-band img, .farm-band canvas {
      animation: approach-tables linear both;
      animation-timeline: --tables;
      animation-duration: auto;
      animation-range: entry 0% cover 62%;
    }
  }
}

@keyframes sea-descent {
  to { transform: translateY(28%) scale(1.09); }
}

@keyframes aerial-reveal {
  from { clip-path: inset(9% var(--aerial-start-inset) 12%); }
  to { clip-path: inset(0); }
}

@keyframes aerial-settle {
  from { transform: scale(1.12) translateY(3%); }
  to { transform: scale(1); }
}

@keyframes aerial-light {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes approach-tables {
  from { transform: scale(1.015); }
  to { transform: scale(1.12); }
}
