/* gclcatamarans.com — editorial homepage. Typography-led, dark sea palette, no illustration. */
:root {
  --ink: #0a1420; --ink-2: #16222f; --sea: #0d2233; --sea-2: #123447; --horizon: #1f5d6b;
  --bone: #f3efe7; --bone-2: #e7e1d5; --sand: #d8cfbd; --gold: #b99a5b; --gold-2: #d9c08a;
  --text: #0e1a26; --text-2: #5b6670; --text-3: #8d959c; --on-dark: #f3efe7; --on-dark-2: rgba(243,239,231,.68); --on-dark-3: rgba(243,239,231,.42);
  --rule: rgba(14,26,38,.14); --rule-dark: rgba(243,239,231,.14);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; line-height: 1.02; margin: 0; }
p { margin: 0; }
em { font-style: italic; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.label { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--text-3); }
.dark .label { color: var(--on-dark-3); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.dark .rule { background: var(--rule-dark); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .contours path { animation: none !important; } }

/* grain */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10,20,32,.72); backdrop-filter: blur(14px); border-color: var(--rule-dark); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { text-decoration: none; color: var(--on-dark); display: flex; align-items: baseline; gap: 14px; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .01em; }
.brand span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-3); display: none; }
@media (min-width: 720px) { .brand span { display: inline; } }
.nav-links { display: none; gap: 34px; }
.nav-links a { text-decoration: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); transition: color .3s; }
.nav-links a:hover { color: var(--on-dark); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-cta { text-decoration: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

/* hero */
.hero { position: relative; min-height: 100svh; color: var(--on-dark); background: linear-gradient(180deg, #06101a 0%, #0a1b2b 42%, #0f2f41 72%, #1b5566 100%); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero .horizon { position: absolute; left: 0; right: 0; top: 72%; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,192,138,.55) 30%, rgba(217,192,138,.55) 70%, transparent); }
.hero .glow { position: absolute; left: 50%; top: 72%; width: 140vw; height: 50vh; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(185,154,91,.22), transparent 70%); pointer-events: none; }
.contours { position: absolute; left: 0; right: 0; top: 70%; height: 32%; width: 100%; opacity: .5; }
.contours path { fill: none; stroke: rgba(243,239,231,.22); stroke-width: 1; animation: drift 26s linear infinite; }
.contours path:nth-child(2n) { animation-duration: 34s; stroke-opacity: .7; } .contours path:nth-child(3n) { animation-duration: 42s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-200px); } }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 40px; }
.hero .label { color: var(--gold-2); }
.hero h1 { font-size: clamp(64px, 13vw, 184px); margin-top: 22px; line-height: .92; letter-spacing: -0.02em; }
.hero h1 em { font-weight: 400; color: var(--gold-2); }
.hero .sub { margin-top: 30px; max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-2); line-height: 1.55; }
.hero-actions { display: flex; gap: 34px; margin-top: 36px; align-items: center; flex-wrap: wrap; }
.link { text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(243,239,231,.35); transition: border-color .3s, gap .3s; }
.link:hover { border-color: var(--gold-2); gap: 18px; }
.link .arrow { width: 22px; height: 1px; background: currentColor; position: relative; }
.link .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link.quiet { color: var(--on-dark-2); border-color: transparent; }
.link.quiet:hover { color: var(--on-dark); }
.hero-facts { position: relative; z-index: 2; border-top: 1px solid var(--rule-dark); margin-top: 72px; }
.hero-facts .wrap { display: grid; grid-template-columns: repeat(2, 1fr); padding-top: 0; padding-bottom: 0; }
@media (min-width: 900px) { .hero-facts .wrap { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 22px 24px 24px 0; border-right: 1px solid var(--rule-dark); }
.fact:last-child { border-right: 0; } .fact + .fact { padding-left: 24px; }
@media (max-width: 899px) { .fact:nth-child(2) { border-right: 0; } .fact:nth-child(3) { padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--rule-dark); } }
.fact .label { margin-bottom: 8px; }
.fact b { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1; color: var(--on-dark); letter-spacing: -0.01em; }
.fact small { display: block; font-size: 12px; color: var(--on-dark-3); margin-top: 6px; letter-spacing: .02em; }

/* chapters */
.chapter { padding: clamp(88px, 12vw, 160px) 0; }
.chapter-head { display: grid; grid-template-columns: 1fr; gap: 14px 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .chapter-head { grid-template-columns: 1fr 2fr; } }
.chapter-no { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; color: var(--text-3); display: flex; align-items: center; gap: 14px; }
.chapter-no::after { content: ""; flex: 1; height: 1px; background: var(--rule); max-width: 120px; }
.dark .chapter-no { color: var(--on-dark-3); } .dark .chapter-no::after { background: var(--rule-dark); }
.chapter h2 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.015em; text-wrap: balance; }
.chapter h2 em { color: var(--horizon); }
.dark .chapter h2 em { color: var(--gold-2); }
.statement { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--text); max-width: 26em; text-wrap: pretty; }
.dark .statement { color: var(--on-dark); }
.body-col { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 36em; }
.dark .body-col { color: var(--on-dark-2); }
.body-col p + p { margin-top: 18px; }
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } .two .sticky { position: sticky; top: 110px; } }

/* spec list */
.specs { border-top: 1px solid var(--rule); }
.specs div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); padding-top: 6px; }
.specs dd { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--text); }
.specs dd small { display: block; font-family: var(--sans); font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.5; }
.uses { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); margin-top: 48px; }
@media (min-width: 720px) { .uses { grid-template-columns: repeat(3, 1fr); } .uses div + div { border-left: 1px solid var(--rule); padding-left: 28px; } }
.uses div { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--rule); }
.uses b { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 8px; }
.uses p { font-size: 15px; color: var(--text-2); }

/* frames: photo slots that look designed before the photos arrive */
.frame { position: relative; overflow: hidden; background: linear-gradient(160deg, #0d2233 0%, #163a4b 55%, #22586a 100%); aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 16 / 9; }
.frame.sq { aspect-ratio: 1; }
.frame .lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.frame .lines path { fill: none; stroke: rgba(243,239,231,.18); stroke-width: 1; }
.frame .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--on-dark-2); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.frame .cap em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--on-dark); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* build log: editorial list */
.build { background: var(--ink); color: var(--on-dark); }
.log { border-top: 1px solid var(--rule-dark); }
.log article { display: grid; grid-template-columns: 1fr; gap: 14px 40px; padding: 30px 0; border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 900px) { .log article { grid-template-columns: 180px 1fr 260px; align-items: start; } }
.log time { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); padding-top: 10px; }
.log h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.1; }
.log p { margin-top: 10px; color: var(--on-dark-2); font-size: 16px; max-width: 34em; }
.log .frame { aspect-ratio: 4 / 3; }
.log .status { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 10px; }
.build .follow { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-top: 44px; }
.build .follow p { color: var(--on-dark-2); font-size: 15px; max-width: 34em; }

/* builders */
.builders .quote { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -0.01em; max-width: 22em; text-wrap: pretty; }
.builders .quote em { color: var(--horizon); }
.credits { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); margin-top: 56px; }
@media (min-width: 720px) { .credits { grid-template-columns: repeat(3, 1fr); } .credits div + div { border-left: 1px solid var(--rule); padding-left: 28px; } }
.credits div { padding: 24px 28px 26px 0; border-bottom: 1px solid var(--rule); }
.credits .label { margin-bottom: 10px; }
.credits p { font-family: var(--serif); font-size: 22px; line-height: 1.3; }

/* series */
.series { background: var(--bone-2); }
.series .num { font-family: var(--serif); font-size: clamp(120px, 22vw, 300px); line-height: .8; letter-spacing: -0.04em; color: var(--sea); opacity: .08; position: absolute; right: -2vw; top: -6vw; user-select: none; pointer-events: none; }
.series .wrap { position: relative; }

/* inquire */
.inquire { background: var(--ink); color: var(--on-dark); }
.inquire-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .inquire-grid { grid-template-columns: 1fr 1.15fr; gap: 96px; } }
.contact { border-top: 1px solid var(--rule-dark); margin-top: 40px; }
.contact div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); font-size: 16px; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(243,239,231,.3); }
.contact a:hover { border-color: var(--gold-2); }
form { display: grid; gap: 28px; }
.row2 { display: grid; gap: 28px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(243,239,231,.28); color: var(--on-dark); font: inherit; font-size: 18px; padding: 10px 0 12px; border-radius: 0; transition: border-color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,239,231,.32); }
.field select option { color: var(--text); }
.field textarea { min-height: 96px; resize: vertical; }
.form-foot { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.submit { background: var(--bone); color: var(--ink); border: 0; font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 18px 30px; cursor: pointer; transition: background .3s; }
.submit:hover { background: #fff; }
.form-foot span { font-size: 13px; color: var(--on-dark-3); }
.form-foot span a { color: var(--on-dark-2); }
.thanks { display: none; border: 1px solid var(--rule-dark); padding: 32px; }
.thanks h3 { font-size: 34px; margin-bottom: 10px; }
.thanks p { color: var(--on-dark-2); }
form.sent { display: none; } form.sent + .thanks { display: block; }

/* footer */
footer { background: var(--ink); color: var(--on-dark-3); padding: 36px 0 44px; border-top: 1px solid var(--rule-dark); font-size: 12px; letter-spacing: .06em; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
footer a { color: var(--on-dark-3); text-decoration: none; }
footer a:hover { color: var(--on-dark); }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- photography ---------- */
.hero .photo { position: absolute; inset: 0; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; display: block; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,26,.55) 0%, rgba(6,16,26,.15) 35%, rgba(6,16,26,.55) 62%, rgba(6,16,26,.96) 100%); }
.hero .sub { color: rgba(243,239,231,.8); }
.frame.photo .lines { display: none; }
.frame.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,16,26,.72) 100%); pointer-events: none; }
.frame .cap { z-index: 2; }
.band { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.band .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,32,.25) 0%, rgba(10,20,32,.35) 45%, rgba(10,20,32,.92) 100%); }
.band .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 72px; }
.band h2 { font-size: clamp(40px, 5.6vw, 76px); margin: 14px 0 26px; letter-spacing: -0.015em; }
.band h2 em { color: var(--gold-2); }
.band .quote { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; max-width: 24em; color: var(--on-dark); text-wrap: pretty; }
.band .quote em { color: var(--gold-2); }
.builders .credits { margin-top: 0; }
.builders .credits div { padding-top: 32px; }
@media (prefers-reduced-motion: reduce) { .hero .photo img { animation: none; transform: none; } }

/* ---------- tightening ---------- */
.brand, .nav-links a, .nav-cta { white-space: nowrap; }
.brand b { font-size: 18px; }
@media (max-width: 1180px) { .brand span { display: none; } .nav-links { gap: 26px; } }
@media (min-width: 900px) and (max-width: 1040px) { .nav-links a { font-size: 11px; letter-spacing: .14em; } }
.hero .shade { background: linear-gradient(180deg, rgba(6,16,26,.5) 0%, rgba(6,16,26,.12) 32%, rgba(6,16,26,.5) 60%, rgba(6,16,26,.96) 100%), linear-gradient(90deg, rgba(6,16,26,.55) 0%, rgba(6,16,26,.15) 55%, transparent 100%); }
.series .num { top: 18%; right: -3vw; font-size: clamp(120px, 20vw, 260px); opacity: .07; }
.band .chapter-no { color: var(--gold-2); } .band .chapter-no::after { background: rgba(217,192,138,.4); }
.band img { object-position: center 28%; }
.chapter-head .chapter-no { padding-bottom: 10px; }
@media (max-width: 899px) { .hero h1 { font-size: clamp(64px, 20vw, 120px); } .hero .wrap { padding-top: 120px; } .band { min-height: 70vh; } .log article .frame { aspect-ratio: 16 / 10; } }
body { overflow-x: clip; }
.series { overflow: hidden; }
@media (max-width: 600px) { .frame .cap { flex-direction: column; align-items: flex-start; gap: 4px; } .frame .cap em { font-size: 16px; } .specs div { grid-template-columns: 1fr; gap: 6px; } .specs dd { font-size: 22px; } }

.fact b, .log time, .specs dd, h1, h2, h3 { font-variant-numeric: lining-nums; }
.frame.opener { aspect-ratio: 21 / 9; margin-bottom: 40px; }
@media (max-width: 720px) { .frame.opener { aspect-ratio: 4 / 3; } }
.series .body-col { margin-top: 24px; }
.series .two > div:last-child { align-self: center; }
