/* cocovandiweb.com · mandolin theme: warm sandalwood ground, carved brown, olive inlay */

:root {
  --sand: #f6efe2;
  --sand-2: #efe4d0;
  --cream: #fdfaf3;
  --ink: #3a2a1c;
  --ink-2: #5a4632;
  --olive: #6a7a3a;
  --olive-2: #55632a;
  --line: #ddcfb4;
  --ring: #c9b98f;
  --display: 'Oleo Script', 'Brush Script MT', cursive;
  --body: 'Reem Kufi', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--olive-2); }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  background: var(--sand);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 3px 0 0 rgba(106, 122, 58, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.wordmark {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .01em;
}

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }

.main-nav a {
  color: #3a2a1c;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 5px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #4e5c28;
  background: rgba(106, 122, 58, 0.10);
}

.main-nav a[aria-current="page"] {
  color: #4e5c28;
  box-shadow: inset 0 -2px 0 0 #6a7a3a;
}

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.btn:hover, .btn:focus-visible { background: var(--olive-2); border-color: var(--olive-2); color: var(--cream); }

.main-nav a.btn {
  color: #fdfaf3;
  background: #3a2a1c;
  border: 1px solid #3a2a1c;
  font-size: 14px;
  padding: 11px 16px;
  margin-left: 6px;
}

.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: #fdfaf3;
  background: #55632a;
  border-color: #55632a;
}

.btn-cta { margin-top: 4px; }

/* ------------------------------------------------------------------ hero -- */
.hero { padding: 28px 0 6px; }

.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }

.hero-kicker {
  margin: 0 0 6px;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-2);
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}

.hero-tagline {
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 18px;
  color: var(--ink-2);
}

.medallion {
  position: relative;
  width: min(540px, 88vw);
  aspect-ratio: 1 / 1;
  margin: 16px auto 14px;
}

.medallion .ring { position: absolute; inset: 0; width: 100%; height: 100%; }

.medallion .hero-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 26%;
  overflow: hidden;
  border: 1px solid var(--ring);
  background: var(--sand-2);
  box-shadow: 0 10px 26px rgba(58, 42, 28, .16);
}

.medallion .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }

.hero-intro { max-width: 730px; margin: 0 auto 18px; font-size: 17px; }

/* -------------------------------------------------------------- sections -- */
.section { padding: 48px 0; border-top: 1px solid var(--line); }

.shell-narrow { max-width: 1048px; margin: 0 auto; padding: 0 24px; }

.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  margin: 6px 0 10px;
}

.eyebrow {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-2);
}

.eyebrow-num {
  color: var(--ink);
  border-bottom: 2px solid var(--olive);
  padding-bottom: 1px;
}

.section-sub { margin: 0 0 26px; color: var(--ink-2); max-width: 66ch; }

.stringrule { display: block; width: 100%; height: 28px; margin: 24px 0 6px; }

/* -------------------------------------------------------------- partners -- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 16px;
  justify-content: center;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.partner-card img { width: 250px; height: 150px; object-fit: contain; }

.partner-card:hover { border-color: var(--olive); }

/* ------------------------------------------------------------ quick profile */
.quad {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.quad .card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px 18px;
}

.quad .card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(106, 122, 58, .32);
  border-radius: 8px;
  pointer-events: none;
}

.quad .card-k { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-2); }
.quad .card-v { margin: 0 0 6px; font-size: 19px; font-weight: 600; line-height: 1.25; }
.quad .card-n { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ----------------------------------------------------------------- about -- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 36px; align-items: start; }
.about-text p { margin: 0 0 16px; }

.quote-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px 20px;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(106, 122, 58, .32);
  border-radius: 8px;
  pointer-events: none;
}

.quote { font-family: var(--display); font-size: 23px; line-height: 1.3; margin: 0 0 10px; }
.quote-src { margin: 0; font-size: 13px; color: var(--ink-2); }

/* ---------------------------------------------------------------- career -- */
.career-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: start; }
.career-text p { margin: 0 0 16px; }

/* string-grid timeline: rows are strings, the left ticks are frets */
.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0 11px 16px;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--olive);
  opacity: .6;
}

.timeline .when { font-size: 13.5px; font-weight: 600; color: var(--olive-2); }
.timeline .what { font-size: 15.5px; }
.timeline .what::before { content: "·"; color: var(--olive); margin-right: 8px; }
.timeline.sep-colon .what::before { content: ":"; margin-right: 6px; }

/* --------------------------------------------------------------- gallery -- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery .tile {
  position: relative;
  margin: 0;
  grid-column: span 2;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sand-2);
}

.gallery .tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.gallery .tile:nth-child(4) { grid-column: 2 / span 2; }
.gallery .tile:nth-child(5) { grid-column: 4 / span 2; }

.gallery .tile.plate { display: grid; place-items: center; background: var(--cream); }
.gallery .tile.plate::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  pointer-events: none;
}
.gallery .tile.plate img { position: relative; width: 100px; height: 100px; border: 1px solid var(--ink); }

/* ---------------------------------------------------------- stats / social */
.stat-strip {
  list-style: none;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
}

.stat-strip li { border-top: 2px solid var(--olive); padding-top: 12px; }
.stat-strip .s-v { display: block; font-family: var(--display); font-size: 27px; line-height: 1.1; }
.stat-strip .s-k { display: block; font-size: 13.5px; color: var(--ink-2); }

.section-social { border-bottom: 1px solid var(--line); }

.social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  border-top: 1px solid var(--line);
}

.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.social-row .platform { color: var(--ink); font-weight: 600; }
.social-row .handle { color: var(--olive-2); font-size: 15.5px; }
.social-row:hover .handle { text-decoration: underline; }

/* ------------------------------------------------------------------ subpages */
.page-top { padding: 50px 0 8px; }

.page-top h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  margin: 6px 0 10px;
}

.lead { max-width: 74ch; font-size: 18px; color: var(--ink-2); margin: 0; }

.sub-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: start; }

.story h2 { font-family: var(--display); font-size: 26px; margin: 0 0 10px; }
.story { margin-bottom: 34px; }
.story p { margin: 0 0 14px; max-width: 74ch; }

.sub-aside .aside-title { margin: 0; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-2); }
.sub-aside .carved { margin-top: 12px; }
.sub-aside .timeline { margin-top: 10px; }
.sub-aside .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.sub-aside .timeline .what { font-size: 15px; }
.sub-aside .timeline .what::before { content: none; }

.carved {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.carved li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.carved li:last-child { border-bottom: 0; }
.carved .k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-2); }
.carved .v { font-size: 15.5px; }

.table-wrap { overflow-x: auto; }

table.credits { width: 100%; border-collapse: collapse; font-size: 15.5px; }

.credits th, .credits td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits thead th { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-2); }
.credits tbody th { font-weight: 600; width: 30%; }
.credits td.yr { white-space: nowrap; color: var(--ink-2); }

.faq-wrap { max-width: 900px; }

.qa { border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
.qa h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.3; }
.qa p { margin: 0; color: var(--ink-2); max-width: 80ch; }

/* ---------------------------------------------------------------- footer -- */
.site-footer { background: var(--sand-2); border-top: 2px solid var(--ink); margin-top: 8px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, .9fr);
  gap: 16px 28px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--display); font-size: 21px; }
.brand-line { font-size: 13.5px; color: var(--ink-2); }

.language-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14.5px; }
.language-nav a { color: var(--ink); text-decoration: none; }
.language-nav a[aria-current="page"] { color: var(--olive-2); text-decoration: underline; }
.language-nav a:hover { color: var(--olive-2); }

.footer-legal { margin: 0; font-size: 13.5px; color: var(--ink-2); text-align: right; }

/* ------------------------------------------------------------ responsive -- */
@media (min-width: 1000px) {
  .site-header { position: sticky; top: 0; z-index: 20; }
}

@media (max-width: 1080px) {
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .career-grid, .sub-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 860px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: 100%; height: auto; aspect-ratio: 5 / 3; }
  .partner-card img { width: 100%; height: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .section { padding: 40px 0; }
  .hero { padding: 26px 0 4px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .timeline .what::before { content: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .tile, .gallery .tile:nth-child(4), .gallery .tile:nth-child(5) { grid-column: auto; }
  .social-list { grid-template-columns: minmax(0, 1fr); }
  .carved li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .main-nav a { font-size: 14px; padding: 7px 8px; }
  .main-nav a.btn { margin-left: 0; }
  .wordmark { font-size: 24px; }
}
