@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
    --ink: #14181C;
    --stone: #E9E8E4;
    --stone-2: #DAD9D3;
    --paper: #F6F5F2;
    --yellow: #FFE014;
    --muted: #4B5157;
    --line: #14181C;
    --hair: rgba(20, 24, 28, 0.14);
    --error: #A3200F;
    --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --gutter: 16px;
    --section: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body { margin: 0; background: var(--stone); color: var(--ink); font: 400 18px/1.55 var(--sans); }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.contact a:focus-visible, .contact button:focus-visible, .contact input:focus-visible, .contact textarea:focus-visible { outline-color: var(--yellow); }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--stone); border-bottom: 1px solid var(--hair); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .bar { min-height: 64px; }
.home { display: block; line-height: 0; }
.logo { height: 32px; width: auto; display: block; color: var(--ink); }
nav { display: flex; align-items: center; gap: 24px; font-weight: 500; font-size: 16px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
@media (max-width: 760px) { nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--yellow); color: var(--ink); font: 500 18px/1 var(--sans); padding: 16px 24px; border: 1px solid var(--ink); border-radius: 8px; text-decoration: none; cursor: pointer; transition: background-color 150ms cubic-bezier(0.22, 1, 0.36, 1), transform 150ms cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover { background: #FFE94D; text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn.small { font-size: 16px; padding: 8px 16px; }
.link { font-weight: 500; }

/* Hero */
.hero { padding-block: var(--section); display: grid; gap: 48px; }
.hero-visual svg { display: block; width: 100%; height: auto; }
.hero-visual .n { font: 400 16px var(--mono); fill: var(--ink); }
.hero-visual .t { font: 500 20px var(--sans); fill: var(--ink); }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; min-height: calc(100vh - 64px); } }
.tag, .label, .meta { font: 400 13px/20px var(--mono); }
.tag { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.flag { width: 12px; height: 12px; background: var(--yellow); border: 1px solid var(--ink); flex: none; }
h1 { font: 600 40px/1.05 var(--sans); letter-spacing: -0.02em; max-width: 14ch; text-wrap: balance; }
.hl { background: var(--yellow); padding: 0 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: 20px; line-height: 1.5; max-width: 36rem; color: var(--muted); text-wrap: pretty; margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* Rule between the hero and the page */
.waterline { border-top: 1px solid var(--hair); }

/* Sections */
.section { padding-block: var(--section); }
.section-head { margin-bottom: 32px; }
.label { color: var(--muted); margin-bottom: 12px; }
h2 { font: 600 32px/1.1 var(--sans); letter-spacing: 0; text-wrap: balance; }
h3 { font: 600 20px/1.3 var(--sans); letter-spacing: 0; }
.big { font: 500 24px/1.35 var(--sans); letter-spacing: 0; max-width: 26ch; text-wrap: pretty; }
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.cols p + p { margin-top: 16px; }
.cols p, .plain li, .prose p { text-wrap: pretty; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 24px; } .big { max-width: 30ch; } }

/* Services as berths */
.berths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.berths li { padding: 24px; border-right: 1px solid var(--line); }
.berths li:last-child { border-right: 0; }
.berths p { margin-top: 12px; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.berth { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font: 400 16px/1 var(--mono); margin-bottom: 48px; }
@media (max-width: 1020px) { .berths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .berths li:nth-child(2n) { border-right: 0; } .berths li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .berths { grid-template-columns: 1fr; } .berths li { border-right: 0; border-bottom: 1px solid var(--line); } .berths li:last-child { border-bottom: 0; } .berth { margin-bottom: 16px; } }

/* Process as a draft-mark ladder */
.draft { max-width: 760px; }
.draft li { display: grid; grid-template-columns: 40px 1fr; gap: 24px; align-items: start; padding-block: 20px; border-top: 1px solid var(--hair); }
.draft li:last-child { border-bottom: 1px solid var(--hair); }
.mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font: 400 16px/1 var(--mono); }
.draft p { margin-top: 4px; color: var(--muted); max-width: 52ch; text-wrap: pretty; }

/* Pricing band */
.band { background: var(--paper); border-block: 1px solid var(--hair); }
.band h2::before { content: ""; display: block; width: 48px; height: 12px; background: var(--yellow); border: 1px solid var(--line); margin-bottom: 24px; }
.plain li { padding-block: 16px; border-top: 1px solid var(--hair); }
.plain li:last-child { border-bottom: 1px solid var(--hair); }

/* About */
.say { font: 400 13px/20px var(--mono); margin-top: 24px !important; }
.say strong { background: var(--yellow); padding: 2px 8px; border-radius: 4px; }
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.founders li { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--hair); border-radius: 12px; background: var(--paper); }
.founders img { width: 96px; height: 96px; object-fit: cover; flex: none; border-radius: 8px; }
.role { font: 400 13px/20px var(--mono); margin: 4px 0 8px; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact .label, .contact .meta { color: #B9BEC3; }
.contact .meta { margin-top: 32px !important; }
.contact a { color: var(--yellow); }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
label { font-weight: 500; font-size: 16px; }
.opt { font: 400 13px var(--mono); color: #B9BEC3; margin-left: 8px; }
input, textarea { font: 400 18px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #fff; border-radius: 8px; padding: 12px 16px; width: 100%; }
textarea { resize: vertical; min-height: 144px; }
.input-validation-error { border-color: #FF9A8A; }
.contact .error { color: #FFB4A8; font-size: 16px; }
.contact .error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .btn { justify-self: start; border-color: var(--yellow); }
.sent { border: 1px solid var(--yellow); border-radius: 12px; padding: 32px; }
.sent p { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #B9BEC3; border-top: 1px solid #343A40; font-size: 16px; }
.site-footer .bar { min-height: 72px; flex-wrap: wrap; padding-block: 16px; }

/* Plain pages */
.prose { max-width: 760px; }
.prose p + p { margin-top: 16px; }
.h-page { line-height: 1.05; max-width: none; margin-bottom: 24px; }

/* Spacing steps up with the viewport: 4px scale only */
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 96px; } .section-head { margin-bottom: 48px; }
    h1 { font-size: 64px; letter-spacing: -0.03em; } h2 { font-size: 48px; letter-spacing: -0.02em; } }
