/* South Ocean Living. Concept: "the tide line": deep Atlantic ink above, sun-bleached salt below,
   material textures (travertine, linen, sea glass, marble) standing in for photography until real shoots exist. */
:root {
  --ink: #0B1D22;        /* deep Atlantic */
  --ink-2: #12303A;
  --salt: #F4F6F3;       /* cool sun-bleached white */
  --mist: #DCE3E0;
  --stone: #6B7A7A;      /* muted text */
  --seaglass: #8FB3AA;
  --brass: #B8955A;      /* the one warm metal */
  --brass-2: #D4B57E;
  --foam: #EAF2EF;
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--salt); color: var(--ink); font: 400 17px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--salt); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow { font: 500 12px/1.2 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--stone); }
.eyebrow--light { color: rgba(234,242,239,.72); }
.eyebrow--brass { color: var(--brass-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px;
  font: 500 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.btn--light { background: var(--salt); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--salt); border-color: rgba(244,246,243,.7); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-2); }
.link-arrow { font: 500 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px;
  border-bottom: 1px solid currentColor; }
.link-arrow::after { content: " →"; }
.link-arrow--light { color: var(--foam); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: background .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(244,246,243,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--mist); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font: 400 23px/1 var(--f-display); letter-spacing: .02em; text-decoration: none; color: var(--salt); white-space: nowrap; transition: color .5s var(--ease); }
.wordmark em { color: var(--brass-2); }
.nav.is-solid .wordmark { color: var(--ink); }
.nav.is-solid .wordmark em { color: var(--brass); }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav ul a { font: 400 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: rgba(244,246,243,.82); transition: color .3s; }
.nav ul a:hover { color: var(--salt); }
.nav.is-solid ul a { color: var(--stone); }
.nav.is-solid ul a:hover { color: var(--ink); }
.nav-cta { font: 500 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 12px 18px;
  border: 1px solid rgba(244,246,243,.5); border-radius: 999px; color: var(--salt); white-space: nowrap; transition: all .4s var(--ease); }
.nav.is-solid .nav-cta { border-color: var(--ink); color: var(--ink); }
@media (max-width: 980px) { .nav ul { display: none; } }
@media (max-width: 520px) { .nav-inner { gap: 12px; } .wordmark { font-size: 20px; white-space: nowrap; } .nav-cta { padding: 10px 12px; font-size: 10px; letter-spacing: .14em; white-space: nowrap; } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; background: var(--ink); color: var(--salt); overflow: hidden; isolation: isolate; }
.hero-water { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  background: radial-gradient(120% 90% at 70% 10%, #2B6A6E 0%, #12303A 45%, #0B1D22 100%); }
.hero-veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(11,29,34,.25) 0%, rgba(11,29,34,0) 30%, rgba(11,29,34,.15) 60%, rgba(11,29,34,.85) 100%); }
.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; padding: 160px var(--gutter) 96px; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(56px, 10.5vw, 168px); line-height: .92; letter-spacing: -0.035em; }
.h-line { display: block; }
.h-italic { font-style: italic; color: var(--brass-2); padding-left: .55em; }
.hero-lede { max-width: 540px; font-size: 18px; font-weight: 300; color: rgba(234,242,239,.86); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 6px; }
.hero-coords { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 28px; font: 400 11px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: rgba(234,242,239,.5);
  writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 700px) { .hero-coords { display: none; } .h-italic { padding-left: .3em; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .h-line, .hero-lede, .hero-actions, .hero .eyebrow { opacity: 0; transform: translateY(24px); animation: rise 1.4s var(--ease) forwards; }
  .hero .eyebrow { animation-delay: .1s; } .hero h1 .h-line:first-child { animation-delay: .25s; } .hero h1 .h-italic { animation-delay: .45s; }
  .hero-lede { animation-delay: .7s; } .hero-actions { animation-delay: .85s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Marquee */
.marquee { background: var(--ink-2); color: var(--foam); overflow: hidden; border-top: 1px solid rgba(234,242,239,.08); }
.marquee-track { display: flex; gap: 36px; align-items: center; width: max-content; padding: 20px 0; font: italic 400 22px/1 var(--f-display); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--brass-2); font-size: 12px; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: drift 60s linear infinite; } }
@keyframes drift { to { transform: translateX(-50%); } }

/* Intro */
.intro { padding-block: clamp(90px, 12vw, 160px); display: grid; gap: 34px; }
.statement { font-size: clamp(38px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -0.025em; max-width: 15ch; }
.statement em { color: var(--brass); }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin-left: auto; color: #33474B; font-weight: 300; font-size: 18px; }
@media (max-width: 800px) { .intro-cols { grid-template-columns: 1fr; gap: 20px; } }

/* Section head */
.section-head { display: grid; gap: 14px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; }
.section-head--row { grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 28px; }
@media (max-width: 800px) { .section-head--row { grid-template-columns: 1fr; } }

/* Material textures: SVG noise + gradients, no photography yet */
.tex-travertine { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.08' numOctaves='4' seed='3'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .36  0 0 0 0 .28  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
  linear-gradient(160deg, #E6DCCB, #D3C3A8 60%, #C7B494); background-size: 420px, cover; }
.tex-marble { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='m'><feTurbulence type='turbulence' baseFrequency='0.006 0.014' numOctaves='5' seed='11'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .38  0 0 0 0 .40  0 0 0 -1.6 1.25'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>"),
  linear-gradient(135deg, #F6F5F1, #E7E8E4); background-size: 520px, cover; }
.tex-linen { background:
  repeating-linear-gradient(0deg, rgba(120,110,95,.07) 0 1px, transparent 1px 3px),
  repeating-linear-gradient(90deg, rgba(120,110,95,.06) 0 1px, transparent 1px 4px),
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .46  0 0 0 0 .4  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>"),
  linear-gradient(180deg, #EFE9DF, #E3DACB); }
.tex-seaglass { background:
  radial-gradient(60% 50% at 30% 30%, rgba(234,242,239,.55), transparent 70%),
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='3' seed='8'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .35  0 0 0 0 .33  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>"),
  linear-gradient(150deg, #A9C7BF, #7FA79D 55%, #5E8A81); background-size: cover, 380px, cover; }
.tex-rattan { background:
  repeating-linear-gradient(45deg, rgba(90,62,30,.22) 0 2px, transparent 2px 9px),
  repeating-linear-gradient(-45deg, rgba(90,62,30,.18) 0 2px, transparent 2px 9px),
  linear-gradient(160deg, #D9B98A, #B98F5A); }
.tex-dusk { background:
  radial-gradient(80% 60% at 50% 110%, rgba(212,181,126,.85), transparent 60%),
  linear-gradient(180deg, #24434C 0%, #4D6E73 45%, #C9A77A 100%); }

/* Pillars */
.pillars { padding-bottom: clamp(90px, 11vw, 150px); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { position: relative; min-height: 340px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate; border-radius: 2px; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(244,246,243,.9) 100%); transition: opacity .6s var(--ease); }
.pillar.tex-dusk, .pillar.tex-seaglass { color: var(--salt); }
.pillar.tex-dusk::before, .pillar.tex-seaglass::before { background: linear-gradient(180deg, transparent 30%, rgba(11,29,34,.75) 100%); }
.pillar-n { position: absolute; top: 24px; left: 28px; font: 500 11px/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.pillar h3 { font-size: 34px; line-height: 1.05; }
.pillar p { font-size: 15px; font-weight: 300; max-width: 30ch; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .pillar { transition: transform .8s var(--ease); }
  .pillar:hover { transform: translateY(-6px); }
}
@media (max-width: 960px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillar-grid { grid-template-columns: 1fr; } .pillar { min-height: 260px; } }

/* Stories */
.stories { background: var(--ink); color: var(--salt); padding-block: clamp(90px, 11vw, 150px); }
.stories-note { color: rgba(234,242,239,.65); font-weight: 300; }
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 36px 28px; }
.story { display: grid; gap: 12px; align-content: start; min-width: 0; }
.story--lead { grid-row: span 2; }
.story-art { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 2px; }
.story--lead .story-art { aspect-ratio: 4 / 5; }
.story-status { position: absolute; top: 14px; left: 14px; font: 500 10px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase;
  background: rgba(11,29,34,.78); color: var(--foam); padding: 8px 10px; border-radius: 999px; }
.story-kicker { font: 500 11px/1.3 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); }
.story h3 { font-size: 24px; line-height: 1.2; }
.story--lead h3 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.story p:not(.story-kicker) { color: rgba(234,242,239,.7); font-weight: 300; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; } .story--lead { grid-column: span 2; grid-row: auto; } .story--lead .story-art { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .story-grid { grid-template-columns: 1fr; } .story--lead { grid-column: auto; } }

/* Standard */
.standard { padding-block: clamp(90px, 12vw, 160px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.standard-quote { display: grid; gap: 26px; position: sticky; top: 120px; }
.standard-sub { color: #33474B; font-weight: 300; font-size: 18px; max-width: 46ch; }
.principles { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 30px 0; border-top: 1px solid var(--mist); }
.principles li:last-child { border-bottom: 1px solid var(--mist); }
.principles li::before { content: counter(p, upper-roman) "."; grid-row: span 2; font: italic 400 26px/1 var(--f-display); color: var(--brass); }
.principles h3 { font-size: 26px; line-height: 1.15; }
.principles p { color: var(--stone); font-weight: 300; }
@media (max-width: 900px) { .standard { grid-template-columns: 1fr; } .standard-quote { position: static; } }

/* The Clean Edit */
.edit { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--salt); padding-block: clamp(80px, 10vw, 130px); position: relative; overflow: hidden; }
.edit::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,181,126,.18), transparent 65%); pointer-events: none; }
.edit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.edit-copy { display: grid; gap: 18px; }
.edit-copy h2 { font-size: clamp(48px, 6vw, 88px); font-style: italic; line-height: 1; }
.edit-copy p:last-child { color: rgba(234,242,239,.78); font-weight: 300; max-width: 44ch; }
.edit-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.edit-form input { min-width: 0; height: 56px; border-radius: 999px; border: 1px solid rgba(234,242,239,.3); background: rgba(234,242,239,.06);
  color: var(--salt); padding: 0 24px; font: 400 16px var(--f-body); }
.edit-form input::placeholder { color: rgba(234,242,239,.5); }
.edit-form input:focus { outline: none; border-color: var(--brass-2); }
.edit-fine { grid-column: 1 / -1; font-size: 13px; color: rgba(234,242,239,.55); }
@media (max-width: 860px) { .edit-inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .edit-form { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--ink); color: rgba(234,242,239,.6); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(234,242,239,.08); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: end; }
.wordmark--foot { color: var(--salt); font-size: 28px; }
.footer-note { margin-top: 8px; font-size: 14px; }
.footer-legal { font-size: 12.5px; max-width: 560px; line-height: 1.6; }

/* Scroll reveal: content stays visible without JS; JS only adds the gentle motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
