/* cubbithompsonweb.com · Cashmere (deep ground, yarn curls, pom-pom marks) */
:root {
  --bg: #1a1816;
  --bg-deep: #141211;
  --panel: #232020;
  --panel-2: #2b2725;
  --cream: #e8e0d4;
  --cream-soft: #cfc4b8;
  --purple: #a08aa8;
  --purple-soft: #c9b6d2;
  --purple-deep: #7d6786;
  --ink-dark: #1a1816;
  --line: #3a3431;
  --line-soft: #2c2825;
  --shell: 1160px;
  --font-display: 'Luxurious Roman', Georgia, 'Times New Roman', serif;
  --font-body: 'Bentham', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--font-body); font-size: 18.5px; line-height: 1.75; }
img { max-width: 100%; height: auto; }
a { color: var(--purple-soft); text-decoration: none; }
a:hover { color: var(--cream); text-decoration: underline; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.yarn-rule { height: 3px; background: linear-gradient(90deg, var(--purple-deep), var(--purple) 45%, var(--purple-deep)); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(26, 24, 22, 0.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.wordmark { font-family: var(--font-display); font-size: 24px; color: var(--cream); letter-spacing: 0.02em; }
.wordmark:hover { color: var(--purple-soft); text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.main-nav a { color: var(--cream); font-size: 16px; padding: 6px 1px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--purple-soft); border-bottom-color: var(--purple); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--purple-soft); border-bottom-color: var(--purple); }

/* buttons: explicit pairs so the nav link rules cannot flatten them */
.btn { display: inline-block; background: var(--purple); color: var(--ink-dark); border: 1px solid var(--purple); border-radius: 999px; padding: 12px 26px; font-family: var(--font-body); font-size: 17px; line-height: 1.25; letter-spacing: 0.02em; }
.btn:hover { background: var(--purple-soft); border-color: var(--purple-soft); color: var(--ink-dark); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 15.5px; }
.main-nav a.btn { color: var(--ink-dark); background: var(--purple); border-color: var(--purple); border-bottom: 2px solid var(--purple); }
.main-nav a.btn:hover { color: var(--ink-dark); background: var(--purple-soft); border-color: var(--purple-soft); border-bottom-color: var(--purple-soft); text-decoration: none; }

/* hero: centred portrait, pom-pom marks at the sides */
.hero { padding: 46px 0 34px; }
.hero-shell { text-align: center; }
.hero-copy { max-width: 720px; margin: 0 auto; }
.hero-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--purple); }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 6vw, 68px); line-height: 1.04; margin: 0 0 14px; color: var(--cream); }
.hero-tagline { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; color: var(--purple-soft); }
.hero-intro { margin: 0 auto 24px; max-width: 62ch; color: var(--cream-soft); }
.hero-cta-row { margin: 0 0 30px; }
.hero-stage { display: flex; align-items: center; justify-content: center; gap: 30px; }
.hero-photo { margin: 0; width: min(360px, 68vw); }
.hero-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.pom { display: inline-block; line-height: 0; }
.pom svg { width: 100%; height: auto; display: block; }
.pom-core { fill: var(--purple); }
.pom-fuzz line { stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; }
.hero-stage .pom { width: 120px; opacity: 0.85; }
.hero-stage .pom-l svg { transform: rotate(-14deg); }
.hero-stage .pom-r svg { transform: rotate(18deg) scaleX(-1); }
.section-head .pom { width: 34px; margin-right: 10px; vertical-align: middle; }

/* sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.eyebrow { margin: 0 0 8px; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--purple); }
.section h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(27px, 3vw, 37px); margin: 0 0 10px; color: var(--cream); }
.section-sub { margin: 0 0 28px; color: var(--cream-soft); max-width: 64ch; }

/* partner cards */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; justify-content: center; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.partner-card:hover { border-color: var(--purple); }
.partner-card img { width: auto; max-width: 190px; max-height: 92px; height: auto; object-fit: contain; }

/* quick profile: two-column archive */
.archive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 44px; }
.arch-col { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px 14px; }
.arch-col h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 14px; color: var(--purple-soft); }
.fact { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: none; }
.fact dt { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); }
.fact dd { margin: 0; text-align: right; color: var(--cream); }

/* about: three pom-pom cards */
.pom-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pom-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 22px; }
.pom-card .pom { width: 40px; margin-bottom: 12px; }
.pom-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.3; margin: 0 0 10px; color: var(--cream); }
.pom-card p { margin: 0; color: var(--cream-soft); }

/* timeline: a curling yarn thread */
.yarn { list-style: none; margin: 0; padding: 4px 0 4px 46px; position: relative; }
.yarn::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 14px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='26' viewBox='0 0 14 26'><path d='M7 0 C 1 6.5, 13 13, 7 19.5 C 5.5 21.5, 8.5 24, 7 26' fill='none' stroke='%23a08aa8' stroke-width='1.6'/></svg>") repeat-y; }
.yarn li { position: relative; padding: 0 0 18px; }
.yarn li:last-child { padding-bottom: 2px; }
.yarn li::before { content: ""; position: absolute; left: -42px; top: 7px; width: 15px; height: 15px; border: 2.2px solid var(--purple); border-radius: 50%; border-top-color: transparent; transform: rotate(38deg); background: var(--bg); }
.yarn .when { display: block; font-family: var(--font-display); font-size: 16.5px; letter-spacing: 0.03em; color: var(--purple-soft); margin-bottom: 2px; }
.yarn .when::after { content: ":"; color: var(--cream-soft); }
.lang-fr .yarn .when::after { content: " :"; }
.yarn .what { color: var(--cream); }

/* gallery: 2 x 2 grid plus a wide band */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-1 img, .g-2 img, .g-3 img { object-position: 50% 42%; }
.g-4 img { object-position: 50% 8%; }
.g-band { grid-column: 1 / -1; }
.gallery .g-band { aspect-ratio: 2 / 1; }
.g-band img { object-position: 50% 0%; }

/* social */
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.social-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.social-row:hover { background: var(--panel-2); color: var(--cream); text-decoration: none; }
.social-row .platform { font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
.social-row .handle { color: var(--cream-soft); }
.social-row:hover .platform { color: var(--purple-soft); }

/* subpages */
.page-top { padding: 50px 0 10px; }
.page-top h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(35px, 4.6vw, 54px); margin: 0 0 12px; color: var(--cream); }
.lead { font-size: 20px; color: var(--cream-soft); max-width: 62ch; margin: 0; }
.page-yarn { display: block; width: 100%; max-width: 640px; height: auto; margin: 24px 0 0; }
.yarn-line { fill: none; stroke: var(--purple); stroke-width: 1.8; }
.yarn-dot { fill: var(--purple); }
.reading { max-width: 820px; padding: 10px 0 56px; }
.story { padding: 26px 0 14px; border-top: 1px solid var(--line-soft); }
.story:first-child { border-top: none; }
.story h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(23px, 2.6vw, 31px); margin: 0 0 12px; color: var(--cream); }
.story p { margin: 0 0 16px; }
.award-list { list-style: none; margin: 6px 0 0; padding: 0; }
.award-list li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px dashed var(--line); color: var(--cream); }
.award-list li:last-child { border-bottom: none; }
.award-list li::before { content: ""; position: absolute; left: 6px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); }
.plain-list { list-style: none; margin: 6px 0 0; padding: 0; }
.plain-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px dashed var(--line); color: var(--cream); }
.plain-list li:last-child { border-bottom: none; }
.plain-list li::before { content: ""; position: absolute; left: 7px; top: 16px; width: 11px; height: 11px; border: 2px solid var(--purple); border-radius: 50%; border-top-color: transparent; transform: rotate(38deg); }
.qa { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.qa:first-child { border-top: none; }
.qa-q { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 8px; color: var(--purple-soft); }
.qa-a { margin: 0; color: var(--cream); }
.quote { margin: 26px 0 0; padding: 26px 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.quote p { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--cream); }
.quote .quote-src { margin: 10px 0 0; font-family: var(--font-body); font-size: 14.5px; color: var(--cream-soft); }

/* footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 32px 0; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.35fr 0.9fr; gap: 22px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--font-display); font-size: 20px; color: var(--purple-soft); }
.brand-line { font-size: 15px; color: var(--cream-soft); }
.language-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; }
.language-nav a { font-size: 15.5px; color: var(--cream-soft); }
.language-nav a[aria-current="page"] { color: var(--purple-soft); text-decoration: underline; }
.footer-legal { margin: 0; text-align: right; font-size: 15px; color: var(--cream-soft); }

/* 404 */
.notfound { padding: 72px 0 84px; max-width: 660px; }
.notfound h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 58px); margin: 0 0 14px; color: var(--cream); }
.notfound p { color: var(--cream-soft); margin: 0 0 26px; }

@media (max-width: 1020px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 130px; }
  .partner-card img { max-width: 150px; max-height: 72px; }
  .archive { grid-template-columns: 1fr; }
  .pom-cards { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .hero-stage .pom { width: 84px; }
}
@media (max-width: 760px) {
  body { font-size: 17.5px; }
  .shell { padding: 0 18px; }
  .header-inner { min-height: auto; padding-top: 10px; padding-bottom: 10px; }
  .main-nav { gap: 2px 12px; }
  .section { padding: 42px 0; }
  .hero-stage .pom { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-band { aspect-ratio: 2 / 1; }
}
@media (max-width: 560px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { height: 112px; padding: 10px; }
  .partner-card img { max-width: 124px; max-height: 62px; }
  .hero-title { font-size: 40px; }
}
