/* Cuby Holdings LLC. Monochrome, after the crest. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/public-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/public-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/public-sans-latin-600-normal.woff2') format('woff2'); }

:root {
  --ink: #111214;
  --paper: #ffffff;
  --mist: #f3f4f5;
  --graphite: #5b6068;
  --hair: #e3e5e8;
  --night: #0c0c0d;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--hair); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.mark img { width: 26px; height: auto; }
.mark span { font: 500 1.28rem/1 var(--serif); letter-spacing: .02em; }
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); font-size: .93rem; }
.site-nav a { text-decoration: none; color: var(--graphite); padding: .4rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Hero */
.hero { min-height: calc(100svh - 68px); display: grid; place-items: center; padding: clamp(40px, 8vh, 96px) var(--gutter); text-align: center; }
.hero .lockup { width: clamp(210px, 28vw, 330px); height: auto; margin: 0 auto; overflow: visible; }
.hero-line { margin: clamp(28px, 5vh, 48px) auto 0; max-width: 30ch; font: italic 500 clamp(1.35rem, 2.4vw, 1.75rem)/1.35 var(--serif); color: var(--graphite); }
.hero-rule { width: 1px; height: 56px; margin: clamp(28px, 5vh, 44px) auto 0; background: var(--hair); }

/* Lockup animation: the crest is engraved, then filled; the name rises into place. */
.lockup .cl { stroke: var(--ink); stroke-width: 3.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.35s cubic-bezier(.65,0,.35,1) .15s both, linesOut .5s ease 1.45s both; }
.lockup .crest-fill { fill: #000; animation: fillIn .7s ease 1.05s both; }
.lockup .sheen { animation: sheen 1.1s cubic-bezier(.4,0,.2,1) 1.6s both; }
.lockup .lt { fill: #000; animation: rise .75s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(1.15s + var(--i) * 70ms); }
.lockup .lt2 { animation-delay: calc(1.45s + var(--i) * 45ms); }
.hero-line { animation: fadeUp .8s ease 2.05s both; }
.hero-rule { transform-origin: top; animation: grow .8s ease 2.35s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes linesOut { to { opacity: 0; } }
@keyframes fillIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheen { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(1500px); } }
@keyframes rise { from { transform: translateY(210px); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .lockup .cl { display: none; }
  .lockup .crest-fill, .lockup .lt, .lockup .sheen, .hero-line, .hero-rule { animation: none; }
  .lockup .sheen { display: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: clamp(72px, 12vh, 128px) 0; border-top: 1px solid var(--hair); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.section h2 { margin: 0; font: 500 clamp(2.1rem, 4vw, 3.1rem)/1.08 var(--serif); letter-spacing: -.005em; }
.prose p { margin: 0 0 1.15rem; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }
.facts { margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.facts div { padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: .82rem; color: var(--graphite); margin-bottom: .2rem; }
.facts dd { margin: 0; font-weight: 500; }

/* VESSELBORN */
.holding { background: var(--night); color: #e9e9ea; border-top: 0; }
.holding h2 { font: 400 clamp(1.6rem, 2.9vw, 2.45rem)/1.1 var(--serif); letter-spacing: .24em; }
.holding .prose p { color: #b9bbbf; }
.holding .note { margin-top: 1.4rem; font-size: .9rem; color: #8b8e94; }
.props { list-style: none; margin: clamp(48px, 8vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #2a2b2e; }
.props li { border-right: 1px solid #2a2b2e; }
.props li:last-child { border-right: 0; }
.props a { display: block; height: 100%; padding: 1.6rem 1.4rem 1.8rem 0; text-decoration: none; transition: background .25s; }
.props li + li a { padding-left: 1.4rem; }
.props a:hover { background: #151517; }
.props strong { display: block; font: 500 1.45rem/1.2 var(--serif); color: #fff; }
.props span { display: block; margin-top: .35rem; font-size: .92rem; color: #9a9da3; }
.props em { display: block; margin-top: 1.1rem; font-style: normal; font-size: .82rem; color: #cfd0d3; border-bottom: 1px solid #45474b; width: max-content; }
.props a:hover em { border-bottom-color: #cfd0d3; }

/* Leadership */
.person { font: 500 clamp(1.7rem, 3vw, 2.2rem)/1.15 var(--serif); margin: 0; }
.role { margin: .35rem 0 1.5rem; color: var(--graphite); font-size: .95rem; }

/* Contact */
.contact-mail { display: inline-block; font: 500 clamp(1.6rem, 3.6vw, 2.6rem)/1.15 var(--serif); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: .1rem; overflow-wrap: anywhere; }
.contact-mail:hover { border-bottom-width: 2px; }
.contact-meta { margin-top: 2rem !important; color: var(--graphite); }

/* Footer */
.site-foot { background: var(--mist); border-top: 1px solid var(--hair); font-size: .88rem; color: var(--graphite); }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2.25rem; padding-bottom: 2.75rem; }
.site-foot .mark img { width: 22px; }
.site-foot .mark span { font-size: 1.1rem; color: var(--ink); }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { flex-basis: 100%; margin: 0; font-size: .8rem; color: #7a7f87; }

/* Document pages (purpose, terms, privacy) */
.doc { padding: clamp(56px, 10vh, 112px) 0 clamp(72px, 12vh, 128px); }
.doc .wrap { max-width: 820px; }
.doc h1 { margin: 0 0 .5rem; font: 500 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--serif); }
.doc .updated { margin: 0 0 3rem; color: var(--graphite); font-size: .92rem; }
.doc h2 { margin: 2.6rem 0 .7rem; font: 600 1.45rem/1.25 var(--serif); }
.doc p, .doc li { max-width: 68ch; }
.doc p { margin: 0 0 1rem; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.doc li { margin-bottom: .6rem; }
.doc a { text-underline-offset: 3px; }
.doc .lede { font: italic 500 1.35rem/1.5 var(--serif); color: var(--graphite); margin-bottom: 2.5rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .props li:nth-child(2) { border-right: 0; }
  .props li:nth-child(n+3) { border-top: 1px solid #2a2b2e; }
  .props li:nth-child(3) a { padding-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav a:not(:last-child) { display: none; }
  .facts { grid-template-columns: 1fr; }
  .props { grid-template-columns: 1fr; }
  .props li { border-right: 0; border-top: 1px solid #2a2b2e; }
  .props li:first-child { border-top: 0; }
  .props li + li a { padding-left: 0; }
}

/* Buttons and the contact form */
.btn-dark { display: inline-block; margin-top: .4rem; padding: .85rem 1.6rem; background: var(--ink); color: #fff; text-decoration: none; font: 500 .95rem/1 var(--sans); letter-spacing: .02em; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; transition: background .2s, color .2s; }
.btn-dark:hover { background: #fff; color: var(--ink); }
.btn-dark[disabled] { opacity: .6; cursor: progress; }
.form { display: grid; gap: 1.35rem; margin-top: 2.5rem; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .45rem; }
.field .opt { color: var(--graphite); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #c9cdd3; border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,20,.08); }
.field [aria-invalid="true"] { border-color: #a3312b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--graphite); margin: 0; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.err { color: #a3312b; }
.sent { margin-top: 2.5rem; padding: 1.6rem 1.75rem; border: 1px solid var(--hair); background: var(--mist); max-width: 640px; }
.sent h2 { margin: 0 0 .4rem; font: 500 1.6rem/1.2 var(--serif); }
.sent p { margin: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.doc { min-height: calc(100svh - 68px - 150px); }
