/* cocolovelockcom.com : violin build. Besley + Noto Sans Display.
   Deep walnut base #1c1410, cream #efe6d8, lacquer red #8a3a2a as an accent only.
   Text colours are chosen to clear WCAG 4.5:1 on their own backgrounds. */

:root {
  --ink: #1c1410;
  --ink-deep: #150f0c;
  --panel: #241a14;
  --panel-2: #2c1f18;
  --cream: #efe6d8;
  --cream-strong: #f7f0e4;
  --dim: #c9bda9;
  --meta: #a89b88;
  --lacquer: #8a3a2a;
  --rosin: #e3a189;
  --line: rgba(239, 230, 216, .16);
  --line-strong: rgba(239, 230, 216, .3);
  --display: 'Besley', 'Iowan Old Style', Georgia, serif;
  --body: 'Noto Sans Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, h4, p, figure, ul, ol, table, dl, dd, dt { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; margin-bottom: 18px; }
h3 { font-size: 1.2rem; }
p + p { margin-top: 15px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--rosin); outline-offset: 3px; }
::selection { background: var(--lacquer); color: var(--cream); }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 14px; top: 10px; z-index: 60; background: var(--cream); color: var(--ink); padding: 8px 14px; }

/* ------------------------------------------------------------ header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(28, 20, 16, .94);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 26px; flex-wrap: wrap; min-height: 74px; padding: 10px 0;
}
.wordmark {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: -.01em; text-decoration: none; color: var(--cream);
}
.wordmark svg { width: 20px; height: 30px; color: var(--rosin); }
.main-nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: .94rem; }
.main-nav a { color: var(--cream); text-decoration: none; padding: 6px 1px; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--rosin); border-bottom-color: var(--rosin); }
.main-nav a[aria-current="page"] { color: var(--rosin); border-bottom-color: var(--rosin); }

/* buttons: (0-1-1) nav rule above would win over .btn (0-1-0), so both states are set on .main-nav a.btn */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lacquer); color: var(--cream);
  border: 1px solid var(--lacquer);
  padding: 13px 26px; font-family: var(--body); font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn .mark { width: 9px; height: 9px; background: currentColor; border-radius: 50%; flex: none; }

.main-nav a.btn, .main-nav a.btn:visited {
  color: var(--cream); background: var(--lacquer); border: 1px solid var(--lacquer);
  border-bottom: 1px solid var(--lacquer); padding: 10px 18px; font-size: .9rem;
}
.main-nav a.btn:hover, .main-nav a.btn:focus-visible {
  color: var(--ink); background: var(--cream); border-color: var(--cream);
  border-bottom-color: var(--cream);
}

/* -------------------------------------------------------------- hero ---- */
.hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(540px, 72vh, 800px); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 7%; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(28,20,16,.97) 0%, rgba(28,20,16,.9) 30%, rgba(28,20,16,.56) 58%, rgba(28,20,16,.3) 78%, rgba(28,20,16,.16) 92%),
    linear-gradient(94deg, rgba(28,20,16,.96) 0%, rgba(28,20,16,.86) 32%, rgba(28,20,16,.66) 62%, rgba(28,20,16,.3) 100%);
}
.hero-fhole {
  position: absolute; z-index: 2; right: 6%; top: 46%; transform: translateY(-50%);
  width: 84px; color: rgba(239,230,216,.42); pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; padding: 0 0 66px; max-width: 560px; }
.hero-kicker {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rosin); margin-bottom: 12px;
}
.hero-title { margin: 0 0 16px; font-size: clamp(2.8rem, 6.4vw, 4.5rem); line-height: 1.02; }
.hero-lede { color: var(--cream); font-size: 1.06rem; max-width: 54ch; }
.hero-cta { margin-top: 26px; }
.hero-stats {
  list-style: none; margin: 32px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 26px;
}
.hero-stats .n { display: block; font-family: var(--display); font-size: 1.55rem; color: var(--cream-strong); }
.hero-stats .l { display: block; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }

/* ---------------------------------------------------------- sections ---- */
.section { padding: 78px 0; border-top: 1px solid var(--line); }
.section-tight { padding-top: 58px; }
.section-head { margin-bottom: 30px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rosin);
}
.eyebrow .num-fhole { display: inline-flex; align-items: center; justify-content: center; padding: 3px 9px; }
.eyebrow .num-fhole svg { width: 9px; height: 14px; }
.eyebrow .num {
  font-family: var(--display); font-size: .92rem; letter-spacing: .02em;
  color: var(--rosin); border: 1px solid rgba(227,161,137,.55); border-radius: 999px;
  padding: 1px 9px;
}
.section-sub { color: var(--dim); max-width: 64ch; margin-top: 6px; }
.bow-rule { width: 190px; height: 22px; color: rgba(227,161,137,.75); margin: 4px 0 22px; }
.bow-rule path { fill: none; stroke: currentColor; stroke-width: 2; }
.bow-rule rect, .bow-rule polygon { fill: currentColor; }

.band-cream { background: var(--cream); color: var(--ink); border-top: 0; }
.band-cream .eyebrow { color: var(--lacquer); }
.band-cream .eyebrow .num { color: var(--cream); background: var(--lacquer); border-color: var(--lacquer); }
.band-cream .section-sub { color: #6d5b4d; }
.band-cream h2 { color: var(--ink); }

/* ---------------------------------------------------------- partners ---- */
.partner-grid {
  display: grid; grid-template-columns: repeat(3, 250px);
  justify-content: center; gap: 22px 26px;
}
.partner-card {
  width: 250px; height: 150px; display: flex; align-items: center; justify-content: center;
  background: var(--cream); border: 1px solid rgba(28,20,16,.18); padding: 14px;
}
.partner-card img { height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.partner-card:hover { border-color: var(--rosin); }

/* ------------------------------------------------------------ facts ----- */
.facts { border-top: 1px solid rgba(28,20,16,.22); margin-top: 6px; }
.facts .row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px;
  padding: 13px 0; border-bottom: 1px solid rgba(28,20,16,.16);
}
.facts dt { color: #6d5b4d; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.facts dd { font-weight: 600; color: var(--ink); }
.facts-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }

/* ------------------------------------------------------------ about ----- */
.about-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: start; }
.about-text p { color: var(--cream); }
.pull {
  background: var(--panel); border-left: 3px solid var(--lacquer); padding: 24px 24px 22px;
}
.pull svg { width: 30px; height: 46px; color: var(--rosin); margin-bottom: 12px; }
.pull p { font-family: var(--display); font-size: 1.16rem; line-height: 1.5; color: var(--cream-strong); }
.pull .src { display: block; margin-top: 12px; font-family: var(--body); font-size: .84rem; color: var(--meta); }

/* --------------------------------------------------------- lacquer ------ */
.lacquer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 10px; }
.lacquer { background: var(--panel); border-top: 3px solid var(--lacquer); padding: 26px 24px 28px; }
.lacquer .stat { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--rosin); }
.lacquer h3 { margin: 8px 0 10px; }
.lacquer p { color: var(--dim); font-size: .95rem; }
.career-text { max-width: 70ch; margin-top: 26px; }
.career-text p { color: var(--dim); }

/* ---------------------------------------------------------- gallery ----- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--panel-2); aspect-ratio: 1 / 1; }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.gallery img.top { object-position: 50% 16%; }

/* ----------------------------------------------------------- social ----- */
.social-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.social-list a {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  padding: 15px 1px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.social-list .platform { font-weight: 600; color: var(--cream); }
.social-list .handle { color: var(--dim); font-size: .92rem; }
.social-list a:hover .platform, .social-list a:hover .handle { color: var(--rosin); }

/* ------------------------------------------------------- sub-pages ------ */
.page-top { background: var(--panel); border-bottom: 1px solid var(--line); padding: 62px 0 54px; position: relative; overflow: hidden; }
.page-top .eyebrow { margin-bottom: 10px; }
.page-top h1 { margin-bottom: 14px; }
.page-top .lead { color: var(--dim); max-width: 66ch; font-size: 1.04rem; }
.page-top .watermark { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 68px; color: rgba(227,161,137,.2); }
.reading { padding: 58px 0 78px; }
.reading .story { max-width: 74ch; margin-bottom: 40px; }
.reading .story h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 14px; }
.reading .story p { color: var(--cream); }
.reading .story p + p { margin-top: 15px; }
.note { color: var(--meta); font-size: .92rem; max-width: 74ch; }
.note-gap { margin-top: 16px; }
.mt-lg { margin-top: 26px; }
.on-dark { color: var(--dim); }
.panel-block { background: var(--panel); padding: 30px 30px 26px; margin-bottom: 40px; }
.panel-block h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

/* timeline: the bow line runs down the left, milestones hang off it */
.timeline-wrap { position: relative; padding-left: 46px; max-width: 80ch; }
.bow-spine { position: absolute; left: 4px; top: 2px; bottom: 10px; width: 38px; pointer-events: none; }
.bow-spine svg { width: 100%; height: 100%; display: block; }
.bow-spine path { fill: none; stroke: rgba(227,161,137,.5); stroke-width: 2; vector-effect: non-scaling-stroke; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -27px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--lacquer);
  box-shadow: 0 0 0 3px rgba(227,161,137,.24);
}
.timeline .when { font-family: var(--display); color: var(--rosin); font-weight: 600; }
.timeline .what { color: var(--cream); }
.timeline li p { max-width: 74ch; }

/* tables */
.table { width: 100%; border-collapse: collapse; }
.table caption { text-align: left; color: var(--meta); font-size: .88rem; padding-bottom: 12px; }
.table th, .table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--rosin); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.table td { color: var(--cream); }
.table td.n { font-family: var(--display); color: var(--cream-strong); white-space: nowrap; }
.table .soft { color: var(--dim); }
.bar { display: block; height: 6px; background: var(--lacquer); opacity: .85; min-width: 6px; }

/* FAQ */
.faq-list { max-width: 78ch; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin-bottom: 8px; color: var(--cream-strong); }
.faq-item p { color: var(--dim); }

/* lists inside reading blocks */
.plain { padding-left: 20px; }
.plain li { color: var(--dim); margin-bottom: 8px; }
.plain li strong { color: var(--cream); }

/* ----------------------------------------------------------- footer ----- */
.site-footer { background: var(--ink-deep); border-top: 1px solid var(--line); padding: 46px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; align-items: start; }
.brand-name { font-family: var(--display); font-size: 1.14rem; }
.brand-line { display: block; color: var(--dim); font-size: .88rem; margin-top: 7px; }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.language-nav a { color: var(--dim); text-decoration: none; font-size: .9rem; }
.language-nav a:hover { color: var(--rosin); }
.language-nav a[aria-current="page"] { color: var(--cream-strong); font-weight: 600; }
.footer-legal { color: var(--dim); font-size: .88rem; text-align: right; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .lacquer-cards { grid-template-columns: 1fr; }
  .facts-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure.tall { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 11; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-legal { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 8px 14px; }
  .wordmark { font-size: 1.1rem; }
  .main-nav { gap: 6px 16px; font-size: .88rem; }
  .main-nav a.btn { padding: 8px 13px; font-size: .84rem; }
  /* the mobile hero is taller so the copy sits in the lower band and the face stays clear */
  .hero { min-height: clamp(700px, 96vh, 900px); }
  .hero-media img { object-position: 50% 2%; }
  .hero-veil { background:
    linear-gradient(0deg, rgba(28,20,16,.97) 0%, rgba(28,20,16,.94) 30%, rgba(28,20,16,.9) 55%, rgba(28,20,16,.86) 72%, rgba(28,20,16,.62) 86%, rgba(28,20,16,.3) 100%),
    linear-gradient(94deg, rgba(28,20,16,.8) 0%, rgba(28,20,16,.55) 55%, rgba(28,20,16,.34) 100%); }
  .hero-fhole { display: none; }
  .hero-inner { padding: 0 0 42px; }
  .hero-lede { font-size: 1rem; }
  .hero-stats { gap: 14px 20px; margin-top: 26px; padding-top: 20px; }
  .hero-stats .n { font-size: 1.32rem; }
  .hero-stats .l { font-size: .8rem; }
  .section { padding: 56px 0; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 250px)); gap: 12px; justify-content: center; }
  .partner-card { width: 100%; height: 118px; padding: 10px; }
  .partner-card img { height: 62px; }
  .gallery { gap: 10px; }
  .page-top { padding: 44px 0 40px; }
  .reading { padding: 42px 0 60px; }
  .panel-block { padding: 24px 20px 20px; }
  .timeline-wrap { padding-left: 34px; }
  .bow-spine { left: 0; width: 30px; }
  .timeline li::before { left: -21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .partner-card:hover { transform: none; }
}
