/* carolinasweetweb.com · Honeycomb
   Light honey palette, hexagon line work, gold used for lines and dots only. */

:root {
  --honey: #FDFAF2;
  --card: #FFFDF7;
  --foot: #F7F2E4;
  --ink: #2E2A20;
  --muted: #6E6858;
  --wire: #D9CFB4;
  --gold: #C08A2E;
  --gold-deep: #7A5A14;
  --gold-soft: #E3C98D;
  --gold-pale: #F0E4C4;
  --line: #E8E0CB;
  --line-soft: #F2ECDC;
  --btn-hover: #E0B968;
  --shell: 1140px;
  --display: 'Fugaz One', 'Trocchi', Georgia, serif;
  --body: 'Trocchi', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { background: var(--honey); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--honey);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.16; margin: 0 0 .6rem; }
h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .5rem; }
.eyebrow {
  font-family: var(--display); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .55rem;
}
.eyebrow .num { color: var(--gold); }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .92rem; margin: 1.1rem 0 0; }

/* ---------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 250, 242, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0, var(--gold-soft) 46%, var(--gold-pale) 100%);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.1rem; padding: .72rem 24px; flex-wrap: wrap;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-size: 1.12rem; text-decoration: none;
  color: var(--ink); white-space: nowrap;
}
.wordmark svg { display: block; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-size: .93rem; line-height: 1.2;
  padding: .2rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #7A5A14; border-bottom-color: var(--gold-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* CTA button: explicit colour rules so .main-nav a cannot repaint it */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #FDF6E6;
  font-family: var(--display); font-size: .95rem; letter-spacing: .01em;
  border: 1px solid var(--ink); border-radius: 4px;
  padding: .78rem 1.35rem; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover, .btn:focus-visible { background: var(--btn-hover); color: #2E2A20; border-color: var(--btn-hover); }
.main-nav a.btn { color: #FDF6E6; background: var(--ink); border-color: var(--ink); border-radius: 4px; padding: .42rem 1rem; font-size: .85rem; border-bottom-width: 1px; }
.main-nav a.btn:hover, .main-nav a.btn:focus-visible { color: #2E2A20; background: var(--btn-hover); border-color: var(--btn-hover); }

/* ------------------------------------------------------------------ hero --- */
.hero { padding: 2.5rem 0 1.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 2.5rem; align-items: center; }
.hero-kicker {
  font-family: var(--display); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .9rem;
}
.hero-lockup { display: flex; align-items: center; gap: 1.5rem; margin: 0 0 1rem; }
.comb { flex: 0 0 auto; display: block; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: .93; margin: 0; }
.hero-title span { display: block; }
.hero-rule { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 1rem; }
.hero-rule .bar { display: block; height: 2px; background: var(--gold-soft); flex: 1 1 auto; max-width: 190px; }
.hero-rule .pip { display: block; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.hero-tagline { font-size: 1.14rem; line-height: 1.5; margin: 0 0 .85rem; max-width: 34ch; }
.hero-intro { color: var(--muted); max-width: 46ch; margin: 0 0 1.7rem; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img {
  width: 100%; height: 100%; min-height: 500px; max-height: 620px;
  object-fit: cover; object-position: center 16%;
  border: 1px solid var(--line); border-radius: 3px;
}
.corner-hex { position: absolute; top: -18px; right: -18px; display: block; line-height: 0; }

/* -------------------------------------------------------------- sections --- */
.section { padding: 3.1rem 0; }
.section-tight { padding-top: 1.5rem; }
.section-last { padding-bottom: 3.6rem; }
.comb-rule {
  height: 15px; margin: 0 auto; max-width: var(--shell);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='15' viewBox='0 0 52 15'%3E%3Cpath d='M13 1 L24 1 L29.5 7.5 L24 14 L13 14 L7.5 7.5 Z' fill='none' stroke='%23E3C98D' stroke-width='1'/%3E%3Cpath d='M39 1 L50 1 L55.5 7.5 L50 14 L39 14 L33.5 7.5 Z' fill='none' stroke='%23E3C98D' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: left top;
}

/* -------------------------------------------------------------- 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; border: 1px solid var(--line); border-radius: 3px;
  background: var(--card); text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.partner-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.partner-card img { width: auto; height: auto; max-width: 196px; max-height: 74px; object-fit: contain; }

/* --------------------------------------------------------- quick profile --- */
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fact {
  display: grid; grid-template-columns: 26px 1fr; gap: .2rem .7rem;
  align-items: center; border: 1px solid var(--line); border-radius: 3px;
  background: var(--card); padding: .85rem .95rem;
}
.fact svg { grid-row: span 2; display: block; }
.fact-k {
  font-family: var(--display); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.fact-v { font-size: .98rem; line-height: 1.45; }

/* ----------------------------------------------------------------- about --- */
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 2.4rem; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: center 12%; border: 1px solid var(--line); border-radius: 3px; }
.about-cols { columns: 2; column-gap: 2.1rem; }
.about-cols p { margin: 0 0 1.05rem; break-inside: avoid; }
.about-cols p:first-child { margin-top: 0; }
.about-note {
  margin: 1.2rem 0 0; padding: .9rem 1.05rem; border-left: 3px solid var(--gold-soft);
  background: var(--card); color: var(--muted); font-size: .94rem;
}

/* ---------------------------------------------------------------- career --- */
.career-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2.4rem; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-pale));
}
.timeline li { position: relative; padding: 0 0 1.15rem 2.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .node { position: absolute; left: 0; top: .3rem; display: block; }
.timeline .when { display: block; font-family: var(--display); font-size: .8rem; color: var(--gold-deep); letter-spacing: .02em; }
.timeline .what { display: block; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; }
.dot-list li::before {
  content: ""; position: absolute; left: .1rem; top: .62em; width: 8px; height: 8px;
  background: var(--gold); border-radius: 1px; transform: rotate(45deg);
}
.studio-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.6rem; }
.studio-list li { border-bottom: 1px solid var(--line-soft); padding: .32rem 0; font-size: .96rem; }
.studio-list b { font-family: var(--display); font-weight: 400; color: var(--gold-deep); }

/* --------------------------------------------------------------- gallery --- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
.gallery .g-a { grid-column: 1 / 5; }
.gallery .g-a img { aspect-ratio: 1024 / 1360; object-position: center 12%; }
.gallery .g-b { grid-column: 5 / 9; margin-top: 64px; }
.gallery .g-b img { aspect-ratio: 1024 / 780; object-position: center 22%; }
.gallery .g-c { grid-column: 9 / 13; margin-top: 22px; }
.gallery .g-c img { aspect-ratio: 1024 / 1360; object-position: center 20%; }

/* ------------------------------------------------------------------- sub --- */
.page-top { padding: 2.4rem 0 .6rem; }
.page-top h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1; margin: 0 0 .8rem; }
.page-top .lead { color: var(--muted); max-width: 68ch; margin: 0; }
.reading { max-width: 76ch; padding-bottom: 1rem; }
.story { padding: 1.7rem 0; border-top: 1px solid var(--line-soft); }
.story:first-child { border-top: 0; }
.story p { margin: 0 0 1rem; }
.story p:last-child { margin-bottom: 0; }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.2rem; margin-top: 1rem; }
.credit-col h3 { color: var(--gold-deep); }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { border-bottom: 1px solid var(--line-soft); padding: .38rem 0; font-size: .97rem; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 1rem; }
.stat { border: 1px solid var(--line); border-radius: 3px; background: var(--card); padding: .95rem 1rem; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--gold-deep); line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: .25rem; }
.faq-list { margin-top: .4rem; }
.faq-list details { border-bottom: 1px solid var(--line-soft); padding: .3rem 0; }
.faq-list summary {
  cursor: pointer; font-family: var(--display); font-size: 1.02rem; padding: .75rem 1.7rem .75rem 0;
  position: relative; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.25rem; width: 9px; height: 9px;
  background: var(--gold); border-radius: 1px; transform: rotate(45deg);
}
.faq-list details[open] summary { color: var(--gold-deep); }
.faq-list .answer { padding: 0 0 .9rem; color: var(--ink); }
.faq-list .answer p { margin: 0 0 .7rem; }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- footer --- */
.site-footer { background: var(--foot); border-top: 1px solid var(--line); margin-top: 1.6rem; }
body.page404 { display: flex; flex-direction: column; min-height: 100vh; }
body.page404 main { flex: 1 1 auto; }
body.page404 .site-footer { margin-top: 2.4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 1.1rem;
  align-items: center; padding-top: 1.7rem; padding-bottom: 1.7rem;
}
.footer-brand .brand-name { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: .2rem; }
.footer-brand .brand-line { display: block; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.language-nav { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.language-nav a {
  color: var(--ink); text-decoration: none; font-size: .8rem; line-height: 1;
  border: 1px solid var(--line); border-radius: 999px; padding: .34rem .6rem;
  background: var(--honey); white-space: nowrap;
}
.language-nav a:hover { border-color: var(--gold-soft); color: #7A5A14; }
.language-nav a[aria-current="page"] { border-color: var(--gold); color: #7A5A14; }
.footer-legal { margin: 0; color: var(--muted); font-size: .82rem; text-align: right; text-wrap: balance; }

/* ------------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-photo img { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .about-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-photo img { min-height: 0; max-height: 460px; object-position: center 8%; }
  .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .g-a, .gallery .g-b, .gallery .g-c { grid-column: auto; margin-top: 0; }
  .gallery .g-a img, .gallery .g-b img, .gallery .g-c img { aspect-ratio: 4 / 5; object-position: center 14%; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-legal { text-align: left; }
  .language-nav { justify-content: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner { padding: .6rem 20px; gap: .5rem; }
  .shell { padding: 0 20px; }
  .main-nav { gap: .7rem 1rem; width: 100%; }
  .hero { padding-top: 1.7rem; }
  .hero-lockup { gap: 1rem; }
  .comb { width: 88px; height: auto; }
  .hero-title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { width: 100%; height: 132px; }
  .partner-card img { max-width: 78%; max-height: 62px; }
  .fact-grid { grid-template-columns: 1fr; }
  .about-cols { columns: 1; }
  .studio-list { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-a img, .g-b img, .g-c img { aspect-ratio: 4 / 5; }
  .footer-grid { padding-top: 1.4rem; padding-bottom: 1.5rem; }
}
