/* cademaddoxweb.com · Bespoke: tailoring workroom palette, stitch rules */
:root {
  --paper: #FBFBFC;
  --ground: #F3F4F6;
  --ink: #232A31;
  --slate: #5B6B7C;
  --slate-soft: #8B98A5;
  --teal: #1F4E4A;
  --line: #E3E6E9;
  --line-strong: #CBD2D8;
  --shell: 1180px;
  --display: 'Literata', 'Iowan Old Style', Georgia, serif;
  --body: 'Gantari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.012em; margin: 0; }
p { margin: 0; }

/* ---------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-family: var(--display); font-size: 1.32rem; font-weight: 600;
  letter-spacing: 0.012em; color: var(--ink);
}
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.main-nav a:not(.btn) {
  font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate); padding: 4px 0; border-bottom: 1px solid transparent;
}
.main-nav a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--slate-soft); }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.btn {
  display: inline-block; background: var(--slate); color: #fff;
  font-family: var(--body); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.03em; padding: 13px 24px; border-radius: 2px;
  border: 1px solid var(--slate); transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sm { font-size: 0.78rem; padding: 9px 15px; letter-spacing: 0.1em; text-transform: uppercase; }
.main-nav .btn-sm { color: #fff; border-bottom: 1px solid var(--slate); }
.main-nav .btn-sm:hover { border-bottom-color: var(--ink); }

/* ----------------------------------------------------------------- stitch */
.stitch { border-top: 1px dashed var(--line-strong); height: 0; }
.stitch-hero { margin: 0 26px; }
.stitch-short { width: 74px; border-top-color: var(--slate-soft); margin: 14px 0 0; }
.page-top .stitch-short { margin-bottom: 20px; }

/* ------------------------------------------------------------------- hero */
.hero { padding: 46px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 48px; align-items: center; }
.hero-kicker {
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4rem); line-height: 1.04; font-weight: 700; }
.hero-tagline {
  font-family: var(--display); font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.5;
  color: var(--slate); margin-top: 18px; max-width: 30ch;
}
.hero-intro { margin-top: 20px; max-width: 56ch; color: #33404B; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.tag {
  display: inline-block; background: var(--teal); color: #EAF1F0;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 13px;
}
.hero-photo { position: relative; margin: 0; }
.hero-photo img {
  position: relative; z-index: 1; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: center 24%;
  border-radius: 4px; border: 1px solid var(--line);
}
.chalk {
  position: absolute; inset: -12px; border: 1px solid var(--line-strong); border-radius: 6px; z-index: 0;
}

/* --------------------------------------------------------------- sections */
.section { padding: 52px 0; border-top: 1px solid var(--line); }
.section-tight { padding-top: 40px; }
.section-last { padding-bottom: 74px; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow .num { font-weight: 700; color: var(--ink); letter-spacing: 0.1em; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-top: 14px; font-weight: 600; }
.section-sub { color: var(--slate); margin-top: 16px; max-width: 62ch; font-size: 0.98rem; }

/* --------------------------------------------------------------- partners */
.partner-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 250px));
  gap: 14px; margin-top: 26px; justify-content: start;
}
.partner-card {
  display: flex; align-items: center; justify-content: center;
  width: 250px; height: 150px; background: #fff; border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .18s ease, transform .18s ease;
}
.partner-card:hover { border-color: var(--slate); transform: translateY(-2px); }
.partner-card img { height: 64px; width: auto; max-width: 200px; max-height: 64px; object-fit: contain; }

/* ------------------------------------------------------------ spec sheet */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 54px; margin-top: 26px; }
.spec-col { border-top: 1px solid var(--line-strong); }
.spec-row {
  display: grid; grid-template-columns: minmax(140px, 0.5fr) 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.spec-k { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.spec-v { font-weight: 600; font-size: 0.98rem; }

/* ------------------------------------------------------------------ about */
.about-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 46px; margin-top: 28px; }
.about-text { columns: 2; column-gap: 40px; }
.about-text p { break-inside: avoid; margin-bottom: 16px; }
.about-aside { margin: 0; }
.about-aside img {
  width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line);
}
.aside-quote {
  font-family: var(--display); font-size: 1.05rem; line-height: 1.5; margin-top: 16px; color: var(--ink);
}
.aside-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-top: 8px; }

/* ----------------------------------------------------------------- career */
.career-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 46px; margin-top: 30px; }
.career-text p { margin-bottom: 16px; color: #33404B; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px dashed var(--slate-soft); }
.timeline li { position: relative; padding: 0 0 22px 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -27px; top: 8px; width: 9px; height: 9px;
  background: var(--paper); border: 1px solid var(--slate);
}
.timeline .when {
  display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 4px;
}
.timeline .what { display: block; font-size: 0.96rem; }

/* ---------------------------------------------------------------- gallery */
.gallery {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px;
  margin-top: 28px; align-items: start;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); }
.g-a { grid-column: 1; grid-row: 1; }
.g-b { grid-column: 1; grid-row: 2; }
.g-c { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }
.g-c img { height: 100%; object-fit: cover; object-position: center 28%; }

/* ----------------------------------------------------------------- social */
.social-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.social-pill {
  display: inline-flex; align-items: baseline; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 2px; padding: 10px 16px;
  background: #fff; transition: border-color .18s ease;
}
.social-pill:hover { border-color: var(--slate); }
.social-pill .platform {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate);
}
.social-pill .handle { font-weight: 600; font-size: 0.94rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line-strong); background: var(--ground); }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 24px; align-items: center;
  padding: 34px 26px;
}
.footer-brand { display: flex; flex-direction: column; gap: 5px; }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.06rem; font-weight: 600; }
.footer-brand .brand-line { font-size: 0.85rem; color: var(--slate); }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.language-nav a {
  font-size: 0.82rem; color: var(--slate); padding-bottom: 1px; border-bottom: 1px solid transparent;
}
.language-nav a:hover { color: var(--ink); border-bottom-color: var(--slate-soft); }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.footer-legal { font-size: 0.82rem; color: var(--slate); text-align: right; }

/* -------------------------------------------------------------- subpages */
.page-top { padding: 46px 0 8px; }
.reading-head { max-width: 760px; margin: 0 auto; }
.page-top h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; margin-top: 16px; font-weight: 700; }
.page-top .lead {
  font-family: var(--display); font-size: clamp(1.06rem, 1.7vw, 1.24rem); line-height: 1.55;
  color: var(--slate); max-width: 62ch; margin-top: 4px;
}
.reading { max-width: 760px; margin: 0 auto; padding: 22px 0 70px; }
.story { padding: 26px 0; border-bottom: 1px solid var(--line); }
.story:last-child { border-bottom: 0; }
.story h2 { font-size: clamp(1.24rem, 2.3vw, 1.6rem); margin-bottom: 16px; }
.story h2::after {
  content: ""; display: block; width: 62px; border-top: 1px dashed var(--slate-soft); margin-top: 12px;
}
.story p { margin-bottom: 14px; color: #33404B; }
.story p:last-child { margin-bottom: 0; }
.dot-list { margin: 0; padding-left: 0; list-style: none; }
.dot-list li { position: relative; padding-left: 18px; margin-bottom: 9px; color: #33404B; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 1px; background: var(--slate);
}
.dot-list.awards li { color: var(--ink); }
.note { font-size: 0.88rem; color: var(--slate); margin-top: 16px; }
.pull {
  margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-strong);
}
.pull p { font-family: var(--display); font-size: clamp(1.1rem, 2.1vw, 1.42rem); line-height: 1.5; }
.pull cite { display: block; font-style: normal; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-top: 12px; }
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 6px; }
.credit-col h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.credit-col ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.credit-col li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: #33404B; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 6px; }
.stat { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.stat span { font-size: 0.82rem; color: var(--slate); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative;
  font-weight: 600; font-size: 1.02rem; color: var(--ink); transition: color .16s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px; font-weight: 400;
  color: var(--ink); font-size: 1.4rem; line-height: 1.2;
}
.faq-list summary:hover { color: var(--slate); }
.faq-list details[open] summary::after { content: "·"; }
.faq-list .answer { padding: 0 0 20px; }
.faq-list .answer p { color: #33404B; max-width: 68ch; }
.notfound { padding: 80px 0 110px; }
.notfound h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-top: 14px; }
.notfound .lead { color: var(--slate); margin-top: 12px; max-width: 52ch; }
.notfound .btn { margin-top: 26px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo img { max-width: 560px; }
  .chalk { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-text { columns: 1; }
  .about-aside { max-width: 420px; }
  .career-split { grid-template-columns: 1fr; gap: 30px; }
  .spec { grid-template-columns: 1fr; gap: 0; }
  .spec-col + .spec-col { border-top: 0; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .main-nav { gap: 8px 13px; }
  .main-nav a:not(.btn) { font-size: 0.76rem; letter-spacing: 0.04em; }
  .main-nav .btn-sm { font-size: 0.72rem; padding: 9px 14px; letter-spacing: 0.08em; }
  .hero { padding: 30px 0 26px; }
  .stitch-hero { margin: 0 18px; }
  .section { padding: 36px 0; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: 100%; height: 122px; }
  .partner-card img { height: 52px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .g-a, .g-b, .g-c { grid-column: 1; grid-row: auto; margin-top: 0; }
  .g-c img { height: auto; max-width: 300px; }
  .reading { padding: 22px 0 50px; }
  .credit-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { padding: 26px 18px; }
}
