:root {
  --cream: #F3E8D8;
  --cream-2: #e9dbc6;
  --ink: #1f1c19;
  --sage: #5E6D55;
  --umber: #3D3A36;
  --rust: #c4562f;
  --sea: #0c3540;
  --serif: 'Caudex', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', 'Avenir Next', 'Avenir', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sea);
  color: var(--cream);
  font: 300 clamp(16px, 1.05vw + 8px, 19px)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: var(--rust); color: var(--cream); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------- Sea canvas ---------- */
#sea, .sea-fallback { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.sea-fallback {
  z-index: -1;
  background: radial-gradient(120% 90% at 30% 30%, #17525c, #0a2c35 70%);
}

/* ---------- Intro ---------- */
#intro {
  position: fixed; inset: 0; z-index: 50;
  background: var(--cream); color: var(--ink);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.intro-inner { width: min(78vw, 980px); text-align: center; position: relative; }
.intro-mk {
  font: 400 clamp(84px, 13vw, 190px)/0.9 var(--serif);
  display: flex; justify-content: center; overflow: hidden; padding-bottom: .06em;
}
.intro-mk span { display: inline-block; }
#intro-svg { width: 100%; height: clamp(50px, 8vw, 110px); display: block; overflow: visible; transform-origin: 50% 50%; }
#intro-line { fill: none; stroke: var(--rust); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.intro-name { font: italic 400 clamp(18px, 2vw, 26px)/1 var(--serif); margin-top: 8px; color: var(--umber); }
.intro-skip {
  position: absolute; right: var(--pad); bottom: 28px;
  background: none; border: 0; color: var(--umber); font: 500 14px var(--sans); cursor: pointer; padding: 8px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 22px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease);
}
.nav.is-solid { background: rgba(9, 38, 46, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.brand-mark circle { fill: var(--rust); }
.brand-mk { font: 400 26px/1 var(--serif); }
.brand-name { font: italic 400 16px/1.1 var(--serif); opacity: .85; padding-left: 10px; border-left: 1px solid rgba(243,232,216,.35); }
.nav nav { margin-left: auto; display: flex; gap: 30px; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .82; position: relative; transition: opacity .3s; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav nav a:hover { opacity: 1; }
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--cream); border-radius: 0;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff7ea; }
.btn-line { color: var(--cream); background: transparent; border-color: rgba(243,232,216,.55); }
.btn-line:hover { background: rgba(243,232,216,.12); border-color: var(--cream); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; }
.panel {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--pad) 140px calc(50vw + 2vw);
  position: relative;
}
.copy { max-width: 600px; text-shadow: 0 1px 28px rgba(4, 22, 28, .55); }
.eyebrow {
  font: italic 400 clamp(17px, 1.3vw, 21px)/1.3 var(--serif);
  color: var(--cream-2); margin-bottom: 22px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--rust); align-self: center; }
.eyebrow em { font-style: normal; color: var(--cream); }
h1 { font-size: clamp(48px, 6.4vw, 104px); line-height: .98; margin-bottom: 30px; }
h2 { font-size: clamp(36px, 4.2vw, 68px); line-height: 1.04; margin-bottom: 26px; }
.copy > p:not(.eyebrow) { max-width: 52ch; color: rgba(243, 232, 216, .9); }
.lead { font-size: clamp(17px, 1.25vw, 21px); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero { padding-top: 140px; align-items: center; }
.hero .copy { max-width: 640px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  font: italic 400 15px var(--serif); color: var(--cream-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span { width: 1px; height: 46px; background: linear-gradient(var(--cream), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* split headings: word masks */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Products ---------- */
.cargo { padding-top: 140px; padding-bottom: 160px; }
.cargo .copy { max-width: 640px; }
.products { display: grid; gap: 16px; margin-top: 10px; }
.product {
  display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center;
  background: var(--cream); color: var(--ink); text-shadow: none;
  padding: 18px 26px 18px 18px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  box-shadow: 0 18px 50px -24px rgba(2, 18, 22, .7);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -24px rgba(2, 18, 22, .8); }
.product h3 { font-size: 27px; margin-bottom: 6px; }
.product p { font-size: 15.5px; line-height: 1.55; color: #3b3631; }
.dish { width: 112px; height: 112px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 8px 18px -8px rgba(40, 25, 10, .5); }

/* ---------- Responsibility ---------- */
.pillars { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.pillars li { padding-left: 22px; border-left: 2px solid rgba(196, 86, 47, .8); }
.pillars h3 { font-size: 23px; margin-bottom: 4px; }
.pillars p { font-size: 15.5px; color: rgba(243, 232, 216, .85); }

/* ---------- Contact ---------- */
.details { margin: 10px 0 0; display: grid; gap: 18px; }
.details div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.details dt { font: italic 400 17px/1.6 var(--serif); color: var(--cream-2); }
.details dd { margin: 0; }
.details a { text-decoration: none; border-bottom: 1px solid rgba(243,232,216,.4); transition: border-color .3s; }
.details a:hover { border-color: var(--cream); }

/* ---------- Voyage progress ---------- */
.voyage {
  position: fixed; z-index: 15; left: var(--pad); bottom: 26px; width: min(40vw, 560px);
  color: var(--cream); opacity: 0; transition: opacity .6s var(--ease);
  pointer-events: none;
}
.voyage.is-on { opacity: 1; }
.voyage-now { font: italic 400 16px/1 var(--serif); margin-bottom: 14px; text-shadow: 0 1px 10px rgba(3,25,30,.9); }
.voyage-k { opacity: .65; }
.voyage-line { position: relative; height: 1px; background: rgba(243,232,216,.28); }
.voyage-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--cream); transform-origin: left; transform: scaleX(0); }
.voyage-ship { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 4px rgba(196,86,47,.25); transform: translateX(-50%); }
.voyage-stops { list-style: none; margin: 0; padding: 0; position: relative; height: 34px; }
.voyage-stops li { text-shadow: 0 1px 8px rgba(3,25,30,.9); position: absolute; top: 12px; font-size: 12.5px; font-weight: 500; white-space: nowrap; transform: translateX(-50%); opacity: .5; transition: opacity .4s; }
.voyage-stops li::before { content: ''; position: absolute; left: 50%; top: -15px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cream); }
.voyage-stops li:first-child { transform: none; }
.voyage-stops li:first-child::before { left: 0; margin-left: -2px; }
.voyage-stops li:last-child { transform: translateX(-100%); }
.voyage-stops li:last-child::before { left: auto; right: 0; }
.voyage-stops li.is-past { opacity: 1; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 3; background: var(--umber); color: var(--cream); padding: 56px var(--pad) 26px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(243,232,216,.14); }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-top nav a { text-decoration: none; font-size: 15px; opacity: .8; }
.footer-top nav a:hover { opacity: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; padding-top: 22px; font-size: 13.5px; color: rgba(243,232,216,.75); }
.footer-credit { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-credit img { height: 27px; width: auto; display: block; }
.footer-credit .svc { opacity: .8; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .nav .btn { margin-left: auto; min-height: 40px; padding: 0 16px; }
  .brand-name { display: none; }
  .panel {
    padding: 52vh 18px 120px; padding: 52svh 18px 120px;
    align-items: flex-end; min-height: 110vh; min-height: 110svh;
  }
  .copy {
    max-width: none; width: 100%;
    background: rgba(7, 33, 40, .62);
    backdrop-filter: blur(12px) saturate(130%); -webkit-backdrop-filter: blur(12px) saturate(130%);
    padding: 26px 22px 28px; text-shadow: none;
  }
  .hero { padding: 0 18px 20px; min-height: 100vh; min-height: 100svh; align-items: flex-end; }
  .hero .lead { font-size: 16px; }
  .hero .cta { margin-top: 24px; }
  .hero h1 { margin-bottom: 18px; }
  .hero .copy { background: rgba(7, 33, 40, .5); }
  h1 { font-size: clamp(40px, 11vw, 56px); }
  h2 { font-size: clamp(31px, 8.4vw, 44px); }
  .scroll-hint { display: none; }
  .cargo { padding-top: 40vh; }
  .product { grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 16px 16px 14px; align-items: start; }
  .dish { width: 76px; height: 76px; }
  .product h3 { font-size: 23px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .cta .btn { flex: 1 1 auto; }
  .voyage { left: 0; right: 0; width: auto; bottom: auto; top: 72px; padding: 10px 18px 12px; background: rgba(7, 33, 40, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .voyage-now { font-size: 14px; margin-bottom: 8px; }
  .voyage-stops { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
  .scroll-hint span { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
