/* carolcoxweb.com · Bobbin. Lines and dots only; thread blue for lines, warm brown for dots. */
:root {
  --linen: #FAF8F3;
  --card: #FFFFFF;
  --ink: #26292E;
  --muted: #5C6167;
  --thread: #3F5E78;
  --brown: #8A6A4A;
  --hair: #E4DDD0;
  --hair-2: #D5CCBA;
  --shell: 1140px;
  --display: 'Passion One', 'Kadwa', system-ui, sans-serif;
  --body: 'Kadwa', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: var(--linen); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); line-height: 1.1; margin: 0 0 .7rem; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* eyebrow: number in thread blue, a warm brown dot, label in caps */
.eyebrow {
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .8rem;
}
.eyebrow .num { font-size: 1.05rem; letter-spacing: .06em; color: var(--thread); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brown); display: inline-block; }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.8rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; max-width: 74ch; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.site-header::after {
  content: ""; display: block; height: 1px; opacity: .45;
  background-image: repeating-linear-gradient(90deg, var(--thread) 0 7px, transparent 7px 15px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .78rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.22rem; letter-spacing: .06em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark::after { content: "·"; color: var(--brown); margin-left: .45rem; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: .92rem; padding: .1rem 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--thread); transition: width .2s ease; }
.main-nav a:hover { color: var(--thread); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--thread); }
.main-nav a[aria-current="page"]::after { width: 100%; }
/* CTA button inside the nav keeps the button colours (0-2-1 beats .main-nav a) */
.main-nav a.btn { color: var(--thread); border-color: var(--thread); background: var(--card); }
.main-nav a.btn::after { content: none; }
.main-nav a.btn:hover { color: #FFFFFF; background: var(--thread); border-color: var(--thread); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 400; font-size: 1rem; letter-spacing: .04em;
  line-height: 1; padding: .72rem 1.3rem; border-radius: 3px;
  border: 1px solid var(--thread); background: var(--card); color: var(--thread);
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--thread); color: #FFFFFF; box-shadow: 0 6px 18px rgba(63, 94, 120, .2); }
.btn-sm { padding: .44rem .9rem; font-size: .86rem; }
.btn-hero { padding: .88rem 1.55rem; font-size: 1.06rem; }
.btn-hero:hover { background: var(--thread); color: #FFFFFF; }

/* hero */
.hero { padding: 2.1rem 0 1.6rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: center; }
.hero-kicker { font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.hero-title-row { display: flex; align-items: center; gap: 1.4rem; margin: 0 0 .9rem; }
.bobbin { color: var(--thread); flex: 0 0 auto; width: 46px; height: 86px; }
.hero-title { font-size: clamp(2.9rem, 6vw, 4.4rem); line-height: .98; margin: 0; }
.tagline { font-family: var(--display); font-size: 1.24rem; line-height: 1.25; margin: 0 0 .8rem; max-width: 34ch; color: var(--ink); }
.hero-intro { color: var(--muted); max-width: 52ch; margin: 0 0 1.6rem; }
.hero-photo {
  position: relative; margin: 0; justify-self: end;
  border: 1px solid var(--hair); border-radius: 3px; background: var(--card);
  padding: 14px; box-shadow: 0 18px 46px rgba(38, 41, 46, .09);
}
.hero-photo img { display: block; width: 350px; height: 350px; }
.lead-thread { position: absolute; left: -76px; top: -52px; width: 118px; height: 74px; pointer-events: none; }

/* keyboard focus, kept in the line-and-dot language */
.btn:focus-visible, .main-nav a:focus-visible, .social-link:focus-visible, .language-nav a:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.2rem; }
.section-last { padding-bottom: 3.6rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 18px; }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  width: 250px; height: 150px; background: var(--card);
  border: 1px solid var(--hair); border-radius: 3px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover { border-color: var(--hair-2); box-shadow: 0 10px 24px rgba(38, 41, 46, .1); transform: translateY(-2px); }
.partner-card img { width: 140px; height: 84px; object-fit: contain; }

/* quick profile: fine-line two-column list */
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 0; }
.fact { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; padding: .58rem 0; border-bottom: 1px dotted var(--hair-2); }
.fact dt { color: var(--muted); font-size: .92rem; }
.fact dd { margin: 0; text-align: right; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 3rem; align-items: start; }
.about-cols { columns: 2; column-gap: 2.4rem; }
.about-cols p { margin: 0 0 1.05rem; break-inside: avoid; }
.about-side { display: flex; flex-direction: column; gap: 1.4rem; }
.about-photo { margin: 0; border: 1px solid var(--hair); border-radius: 3px; background: var(--card); padding: 10px; align-self: flex-start; }
.about-photo img { display: block; width: 150px; height: 150px; }
.about-quote { margin: 0; padding-left: 1.1rem; border-left: 1px solid var(--thread); }
.about-quote p { font-family: var(--display); font-size: 1.14rem; line-height: 1.3; margin: 0 0 .5rem; }
.about-quote cite { display: block; font-style: normal; color: var(--muted); font-size: .84rem; }

/* career: winding-node timeline */
.career-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 3rem; align-items: start; }
.career-text p { margin: 0 0 1rem; color: var(--ink); }
.spool-card { background: var(--card); border: 1px solid var(--hair); border-radius: 3px; padding: 1.6rem 1.9rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.05rem 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px;
  background-image: repeating-linear-gradient(180deg, var(--thread) 0 1px, transparent 1px 3.3px);
  border-left: 1px solid var(--thread); border-right: 1px solid var(--thread);
}
.timeline li::after { content: ""; position: absolute; left: 6px; top: 1.55em; bottom: -.2em; width: 1px; background-image: repeating-linear-gradient(180deg, var(--hair-2) 0 4px, transparent 4px 9px); }
.timeline li:last-child::after { content: none; }
.timeline .when { font-family: var(--display); color: var(--thread); }
.timeline .sep { color: var(--thread); }
.timeline .what { color: var(--ink); }

/* gallery: three staggered frames */
.gallery { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 26px; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--hair); border-radius: 3px; background: var(--card); padding: 10px; }
.gallery img { display: block; width: 100%; height: auto; }
.g-a { grid-area: 1 / 1 / 3 / 2; }
.g-a img { width: 600px; max-width: 100%; }
.g-b { grid-area: 1 / 2 / 2 / 3; margin-top: 96px; width: min(100%, 470px); margin-left: auto; }
.g-c { grid-area: 2 / 2 / 3 / 3; width: 215px; margin: 30px 24px 0 auto; }

/* social: fine-line capsules */
.social-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-link {
  display: inline-flex; align-items: baseline; gap: .6rem;
  border: 1px solid var(--hair-2); border-radius: 999px; background: var(--card);
  padding: .55rem 1.15rem; text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.social-link .platform { font-family: var(--display); font-size: 1rem; letter-spacing: .03em; color: var(--ink); }
.social-link .handle { color: var(--muted); font-size: .86rem; }
.social-link:hover { border-color: var(--thread); box-shadow: 0 6px 16px rgba(63, 94, 120, .14); }
.social-link:hover .platform { color: var(--thread); }

/* sub pages */
.page-top { padding: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--hair); margin-bottom: 2.3rem; }
.page-top h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1; margin: .25rem 0 .8rem; }
.page-top .lead { color: var(--muted); max-width: 66ch; margin: 0; }
.reading { max-width: 78ch; margin: 0 auto; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.3rem, 2.6vw, 1.62rem); margin: 0 0 .8rem; }
.story p { margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { padding: .5rem 0 .5rem 1.15rem; position: relative; border-bottom: 1px dotted var(--hair-2); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 5px; height: 5px; border-radius: 50%; background: var(--brown); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.2rem; }
.credit-col h3 { font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; color: var(--thread); margin: 0 0 .55rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { padding: .34rem 0; border-bottom: 1px dotted var(--hair-2); font-size: .95rem; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.stat { border: 1px solid var(--hair); border-top: 2px solid var(--thread); border-radius: 3px; background: var(--card); padding: .9rem 1.2rem; min-width: 158px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--thread); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--hair); padding: 1.05rem 0; }
.faq-list summary { font-family: var(--display); font-size: 1.1rem; line-height: 1.35; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--thread); }
.faq-list details[open] summary::after { content: "\00B7"; color: var(--brown); }
.faq-list .answer p { margin: .7rem 0 0; max-width: 74ch; }

/* footer: three columns, one line on desktop */
.site-footer { border-top: 1px solid var(--hair); background: #F5F2EA; padding: 1.7rem 0 1.9rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1.2rem 1.6rem; align-items: baseline; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.1rem; letter-spacing: .06em; }
.brand-line { color: var(--muted); font-size: .82rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--thread); }
.language-nav a[aria-current="page"] { color: var(--thread); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero-photo { justify-self: start; }
  .lead-thread { left: auto; right: -58px; top: -46px; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-cols { columns: 1; }
  .gallery { grid-template-columns: 1fr; gap: 20px; }
  .g-a, .g-b, .g-c { grid-area: auto; margin: 0; width: 100%; }
  .g-b { width: min(100%, 520px); margin-left: auto; }
  .g-c { width: min(100%, 215px); margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .55rem 1rem; padding-bottom: .8rem; }
  .main-nav { gap: .6rem .85rem; }
  .main-nav a { font-size: .87rem; }
  .main-nav a.btn { padding: .4rem .78rem; font-size: .8rem; }
  .hero { padding: 1.5rem 0 1.2rem; }
  .hero-title-row { gap: .9rem; }
  .bobbin { width: 34px; height: 64px; }
  .hero-photo { padding: 10px; }
  .hero-photo img { width: 100%; height: auto; }
  .lead-thread { left: auto; right: -8px; top: -32px; width: 86px; height: 54px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { width: auto; height: 122px; }
  .partner-card img { width: 106px; height: 64px; }
  .facts { grid-template-columns: 1fr; column-gap: 0; }
  .fact dd { text-align: right; }
  .credit-grid { grid-template-columns: 1fr; }
  .stat { min-width: 130px; }
  .section { padding: 2.3rem 0; }
  .timeline li { padding-left: 28px; }
}
