:root {
  --navy: #0e0f10;
  --navy-2: #14181b;
  --ice: #f1f2ef;
  --ink: #0e0f10;
  --mut: #5c6164;
  --accent-text: #b8420f;
  --line: #d6d8d2;
  --accent: #e8541e;
  --accent-deep: #0e0f10;
  --maple: #e8541e;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html, body { margin: 0; padding: 0; }
body { font-family: "Inter", Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16.5px; }
h1, h2, h3, .wordmark { font-family: "Barlow", "Inter", Arial, sans-serif; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; }
.hwrap { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-weight: 700; letter-spacing: 2.5px; font-size: 15px; color: #fff; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
nav.main a { color: #c9ccc7; text-decoration: none; font-size: 13.5px; letter-spacing: 1px; margin-left: 22px; text-transform: uppercase; border-bottom: 2px solid transparent; padding-bottom: 3px; }
nav.main a[lang] { margin-left: 34px; opacity: .85; }
nav.main a:hover, nav.main a.on { color: #fff; border-bottom-color: var(--accent); }

/* hero */
.hero { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; }
.hero svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero .hcontent { position: relative; max-width: 1240px; margin: 0 auto; padding: 96px 24px 80px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.12; margin: 0 0 18px; max-width: 26ch; }
.hero p.sub { font-size: clamp(16px, 2vw, 20px); color: #c9ccc7; max-width: 62ch; margin: 0 0 32px; }
.btnrow { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; text-decoration: none; font-weight: 600; font-size: 14.5px; letter-spacing: .5px; border-radius: 3px; }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.dark { background: var(--accent-deep); color: #fff; }
.btn.dark:hover { background: #2a2e31; filter: none; }
.btn.ghost { border: 1.5px solid #82878a; color: #f1f2ef; }
.btn:hover { filter: brightness(1.1); }

/* photo placeholder */
.photoslot { border: 2px dashed #b9bdbe; background: repeating-linear-gradient(45deg, #f4f5f2, #f4f5f2 14px, #ebece7 14px, #ebece7 28px); color: var(--mut); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }

/* sections */
section.band { padding: 72px 24px; }
section.band.alt { background: var(--ice); }
section.band.navy { background: var(--navy); color: #fff; }
.wrap { max-width: 1240px; margin: 0 auto; }
.kicker { font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-text); font-weight: 700; margin: 0 0 10px; }
.navy .kicker { color: var(--accent); }
section h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 18px; line-height: 1.2; }
section p.lede { font-size: 18px; max-width: 76ch; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1240px) { .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .cards > .card:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 640px) { .cards.c4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent-deep); padding: 26px 24px; }
.card h3, .card h4 { margin: 0 0 10px; font-size: 15px; letter-spacing: 2px; font-family: Barlow, Arial; }
.card p { margin: 0; color: var(--mut); font-size: 15.5px; }

/* teaser split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 8px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split .art { background: var(--navy-2); padding: 30px; border-radius: 4px; }
.split .art svg { width: 100%; height: auto; display: block; }

/* CTA */
.ctaband { text-align: center; }
.ctaband p { max-width: 54ch; margin: 0 auto 26px; color: #c9ccc7; font-size: 18px; }

/* footer */
footer { background: #0b0c0d; color: #82878a; padding: 40px 24px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: #e4e6e0; text-decoration: none; }
.maple { color: var(--maple); }

/* ===== vessels page ===== */
.pagehead { background: var(--navy); color: #fff; padding: 64px 24px 56px; }
.pagehead h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; line-height: 1.15; }
.pagehead p { color: #c9ccc7; max-width: 76ch; font-size: 17.5px; margin: 0; }

.badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2px; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; }
.badge.live { background: #e8541e; color: var(--ink); }
.badge.design { background: #3a4045; color: #c9ccc7; }

.specgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 34px; }
.spec { border-left: 3px solid var(--accent-deep); padding: 2px 0 2px 18px; }
.spec h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-deep); }
.spec p { margin: 0; color: var(--ink); font-size: 15.5px; }

.photorow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 700px) { .photorow { grid-template-columns: 1fr; } }
.photorow .photoslot { height: 150px; }

.hintcards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
@media (max-width: 700px) { .hintcards { grid-template-columns: 1fr; } }
.hint { border: 2px dashed #b9bdbe; padding: 30px 26px; color: var(--mut); background: #fbfbf9; }
.hint h3 { margin: 0 0 8px; color: var(--ink); letter-spacing: 1px; }
.hint p { margin: 12px 0 0; font-size: 15.5px; }

/* ===== about / contact ===== */
.prose { max-width: 76ch; }
.prose p { font-size: 16.5px; margin: 0 0 16px; }
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; margin-top: 10px; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } }
.founder .photoslot { height: 280px; }
.addr { background: var(--ice); border: 1px solid var(--line); padding: 26px 28px; }
.addr p { margin: 0 0 8px; font-size: 15.5px; }

.brand img { display: block; }

/* accessibility + mobile */
.skip { position: absolute; left: -9999px; background: var(--accent); color: #fff; padding: 10px 18px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }
@media (max-width: 720px) {
  header { position: static; }
  .hwrap { flex-direction: column; gap: 10px; padding: 12px 16px; }
  .brand img { height: 44px; }
  nav.main { display: flex; flex-wrap: wrap; justify-content: center; }
  nav.main a { margin-left: 12px; font-size: 12.5px; }
}
@media (max-width: 640px) {
  .heroshade { background: linear-gradient(180deg, rgba(14,15,16,.88), rgba(14,15,16,.7)); }
  table.specs tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  table.specs td { display: block; width: auto; border-bottom: none; padding: 2px 0; }
  table.specs td:first-child { width: auto; padding: 4px 0 0; }
}
/* build log */
.logentry { border-left: 3px solid var(--line); padding: 4px 0 4px 20px; margin-bottom: 34px; max-width: 68ch; }
.logentry .date { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.logentry h3 { margin: 6px 0 8px; font-size: 19px; }
.logentry p { margin: 0; font-size: 15.5px; color: var(--ink); }
/* datasheet link */
.dslink { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--accent-text); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* founder / about photos */
.founder img.fphoto { width: 100%; display: block; border-radius: 4px; }
img.wphoto { width: 100%; max-width: 760px; display: block; border-radius: 4px; margin-top: 10px; }

/* placeholder-free launch layout: single-column feature rows until screenshots exist */
.feat { grid-template-columns: 1fr; }
.feat > div { max-width: 76ch; }
/* contact: address card alone */
.split > .addr { max-width: 480px; }

/* founder's Baffin photography as setting */
.heroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroshade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,15,16,.93) 15%, rgba(14,15,16,.62) 55%, rgba(14,15,16,.35) 100%); }
.pband { position: relative; overflow: hidden; }
.pband .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pband .bshade { position: absolute; inset: 0; background: rgba(14,15,16,.78); }
.pband .wrap { position: relative; z-index: 1; }

/* unified spec layout */
.artwide { max-width: 820px; margin: 44px auto 0; }
.specttl { font-family: Barlow, Arial; font-size: 21px; margin: 40px 0 4px; line-height: 1.3; }
.speccols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
@media (max-width: 800px) { .speccols { grid-template-columns: 1fr; } }

/* audit round: focus visibility + consolidated spec-table styles */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
table.specs { border-collapse: collapse; width: 100%; margin-top: 10px; }
table.specs td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
table.specs td:first-child { font-weight: 600; width: 220px; color: var(--accent-deep); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding-top: 12px; }
.specnote { font-size: 13.5px; color: var(--mut); margin-top: 14px; }
.sovline { border-left: 3px solid var(--maple); padding: 10px 16px; margin-top: 26px; background: #fdf3ee; font-size: 15.5px; }
.dims text { font-family: Inter, Arial; font-size: 12px; fill: #b9bdbe; }
.dims line, .dims path { stroke: #82878a; stroke-width: 1; }
