/* calicarterweb.com · Coastline */
:root {
  --bg: #FCFDFE;
  --panel: #FFFFFF;
  --ink: #26302F;
  --ink-soft: #3C4B49;
  --muted: #6E807E;
  --sea: #2F7E8A;
  --sand: #EFE3D2;
  --line: #E3E9E9;
  --shell: 1180px;
  --display: 'Faustina', Georgia, 'Times New Roman', serif;
  --body: 'Saira', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.16; margin: 0 0 .7rem; }
.eyebrow {
  font-family: var(--body); font-weight: 500; font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sea); margin: 0 0 .75rem;
}
.eyebrow .num { color: var(--ink); font-weight: 600; margin-right: .35rem; }
.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; }

/* the coastline: one sea line, one sand line, always parallel */
.coastline { position: relative; height: 9px; margin-bottom: 1.9rem; }
.coastline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sea);
}
.coastline::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--sand);
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(252, 253, 254, .94);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.4rem; padding: .85rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 500; font-size: 1.14rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: .6rem 1.2rem; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a:not(.btn) {
  color: var(--ink-soft); text-decoration: none; font-size: .8rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase; padding: .15rem 0; border-bottom: 1px solid transparent;
}
.main-nav a:not(.btn):hover { color: var(--sea); border-bottom-color: var(--sea); }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--sea); border-bottom-color: var(--sand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; background: var(--sea); color: #FFFFFF;
  font-family: var(--body); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: .62rem 1.15rem; text-decoration: none; white-space: nowrap;
  transition: background .18s ease, box-shadow .18s ease;
}
.btn:hover { background: #266A74; box-shadow: 0 6px 20px rgba(47, 126, 138, .22); }
.btn-lg { font-size: .84rem; padding: .78rem 1.5rem; margin-top: .4rem; }

/* hero */
.hero { padding: 3.1rem 0 1.1rem; }
.hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 3rem; align-items: center; }
.hero-kicker {
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sea); margin: 0 0 1.1rem;
}
.hero-title {
  font-family: var(--body); font-weight: 600; font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: .98;
  letter-spacing: .01em; text-transform: uppercase; margin: 0 0 1.1rem;
}
.hero-tagline { font-family: var(--display); font-size: 1.2rem; line-height: 1.45; margin: 0 0 1rem; color: var(--ink); }
.hero-intro { color: var(--muted); max-width: 46ch; margin: 0 0 1.6rem; }
.hero-photo { margin: 0; }
.hero-photo img {
  display: block; width: 100%; height: auto; border: 1px solid var(--sand); background: var(--panel);
}
.hero-media .coastline { margin: 16px 0 0; }

/* sections */
.section { padding: 2.3rem 0 2.9rem; }
.section-last { padding-bottom: 4.6rem; }
.section-partners { padding-top: 1.6rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 16px; }
.partner-card {
  display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
  border: 1px solid var(--sand); background: var(--panel);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover { border-color: var(--sea); box-shadow: 0 10px 26px rgba(47, 126, 138, .12); transform: translateY(-2px); }
.partner-card img { max-width: 190px; max-height: 68px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(6, auto); column-gap: 3rem; margin: 0; }
.fact-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .58rem 0; border-bottom: 1px solid var(--line); }
.fact-row dt {
  font-size: .7rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sea); margin: 0; flex: 0 0 auto;
}
.fact-row dd { margin: 0; font-size: .95rem; color: var(--ink-soft); text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--ink-soft); margin: 0 0 1.05rem; }
.about-text blockquote { margin: 1.6rem 0 0; padding-left: 1.2rem; border-left: 2px solid var(--sea); }
.about-text blockquote p { font-family: var(--display); font-size: 1.18rem; line-height: 1.45; color: var(--ink); margin: 0 0 .4rem; }
.about-text blockquote cite { font-style: normal; font-size: .82rem; color: var(--muted); }
.about-photo { margin: 0; position: relative; }
.about-photo::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 100%; height: 100%;
  background: var(--sand); z-index: 0;
}
.about-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border: 1px solid var(--sand); background: var(--panel); }

/* timeline: sand nodes on a sea line */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: .55rem; bottom: .5rem; width: 2px; background: var(--sea); }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -1.5rem; margin-left: -5px; top: .42em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--sand); border: 2px solid var(--sea);
}
.timeline .when { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sea); margin-bottom: .15rem; }
.timeline .what { display: block; color: var(--ink-soft); font-size: .97rem; }
.career-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: start; }
.career-text p { color: var(--ink-soft); margin: 0 0 1rem; }

/* gallery: three staggered frames */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--line); background: var(--panel); padding: 10px; }
.gallery img { display: block; width: 100%; height: auto; object-fit: cover; object-position: center 18%; }
.gallery .g-1 { margin-top: 0; }
.gallery .g-2 { margin-top: 46px; }
.gallery .g-3 { margin-top: 92px; }
.g-1 img { aspect-ratio: 3 / 4; }
.g-2 img { aspect-ratio: 4 / 5; }
.g-3 img { aspect-ratio: 3 / 4; }

/* social capsules */
.social-list { display: flex; flex-wrap: wrap; gap: 12px; }
.social-pill {
  display: inline-flex; align-items: baseline; gap: .6rem; border: 1px solid var(--sea); border-radius: 999px;
  padding: .6rem 1.15rem; text-decoration: none; transition: background .2s ease, border-color .2s ease;
}
.social-pill .platform { font-family: var(--display); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.social-pill .handle { font-size: .88rem; color: var(--muted); }
.social-pill:hover { background: #F1F6F6; border-color: #266A74; }

/* subpages */
.page-top { padding: 2.7rem 0 0; }
.page-top h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.06; margin: .15rem 0 .85rem; }
.page-top .lead { color: var(--muted); max-width: 62ch; margin: 0 0 1.7rem; }
.reading { max-width: 76ch; padding-bottom: 3.4rem; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 .8rem; }
.story p { color: var(--ink-soft); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--ink-soft); padding: .5rem 0 .5rem 1.15rem; position: relative; border-bottom: 1px solid var(--line); font-size: .96rem; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.2rem; }
.credit-col h3 { font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--sea); margin: 0 0 .55rem; font-family: var(--body); }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--ink-soft); font-size: .92rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: .6rem; }
.stat { border: 1px solid var(--sand); background: var(--panel); padding: .95rem 1.3rem; min-width: 168px; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--sea); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .84rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary {
  font-family: var(--display); font-weight: 500; font-size: 1.06rem; line-height: 1.35; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--sea); font-family: var(--body); }
.faq-list details[open] summary::after { content: "-"; }
.faq-list .answer p { color: var(--ink-soft); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 2px solid var(--sea); background: #FAFCFC; padding: 2rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem 2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 500; font-size: 1.02rem; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .35rem .95rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .85rem; }
.language-nav a:hover { color: var(--sea); }
.language-nav a[aria-current="page"] { color: var(--sea); font-weight: 500; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.4rem 0 5.4rem; }
.notfound h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin: .1rem 0 .9rem; }
.notfound .lead { color: var(--muted); max-width: 56ch; margin: 0 0 1.7rem; }

@media (max-width: 1040px) {
  .hero { padding-top: 2.2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 420px; }
  .about-photo::before { display: none; }
  .fact-grid { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-3 { margin-top: 0; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { width: 100%; height: auto; aspect-ratio: 250 / 150; }
  .partner-card img { max-width: 76%; max-height: 46%; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .main-nav { gap: .5rem .9rem; }
  .nav-links { gap: .5rem .85rem; }
  .main-nav a:not(.btn) { font-size: .74rem; }
  .btn { font-size: .74rem; padding: .55rem 1rem; }
  .btn-lg { font-size: .78rem; padding: .7rem 1.25rem; }
  .hero-title { font-size: clamp(2.1rem, 11vw, 2.9rem); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { width: auto; height: auto; aspect-ratio: 250 / 150; }
  .partner-card img { max-width: 78%; max-height: 46%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-2, .gallery .g-3 { margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .stat { min-width: 140px; }
  .fact-row { flex-direction: column; gap: .15rem; }
  .fact-row dd { text-align: left; }
  .section { padding: 1.9rem 0 2.3rem; }
  .timeline .what { font-size: .95rem; }
}
