/* carly-rae.com · Breeze: sky white, wind-teal hairlines, sand dots, Lemon + Sofia Sans */

:root {
  --sky: #F7FBFD;
  --ink: #24333B;
  --body: #3D4C55;
  --muted: #5A6C76;
  --teal: #4C8FA8;
  --teal-ink: #23617A;
  --teal-deep: #2E6B84;
  --teal-deeper: #1C5165;
  --sand: #D9C9A8;
  --line: #DCE9EF;
  --panel: #EFF6F9;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--body);
  font-family: 'Sofia Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--teal-ink); }

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 251, 253, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 26px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-size: 1.42rem;
  line-height: 1;
  color: var(--teal-ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 1px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--teal-ink);
  border-bottom-color: var(--teal);
}

.main-nav a[aria-current="page"] {
  color: var(--teal-ink);
  border-bottom-color: var(--teal);
}

/* the CTA button must not inherit the nav link colour */
.btn {
  display: inline-block;
  background: var(--teal-deep);
  color: #F7FBFD;
  font-family: 'Sofia Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background: var(--teal-deeper);
  color: #FFFFFF;
}

.main-nav a.btn {
  color: #F7FBFD;
  border-bottom: 0;
  padding: 9px 18px;
  font-size: 0.9rem;
  margin-left: 4px;
}

.main-nav a.btn:hover {
  color: #FFFFFF;
  background: var(--teal-deeper);
}

/* ------------------------------------------------------------------ hero */
.hero { padding: 62px 0 44px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.86fr);
  gap: 54px;
  align-items: center;
}

.hero-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-ink);
}

.hero-title {
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1.04;
  font-weight: 400;
  color: var(--ink);
  margin: 12px 0 0;
}

.wind-arcs {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  margin: 8px 0 14px;
}

.hero-tagline {
  margin: 0 0 12px;
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-intro { margin: 0 0 26px; max-width: 58ch; }

.hero-photo { margin: 0; position: relative; }

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 30px -20px -20px 30px;
  background: var(--panel);
  border-radius: 34px;
}

.photo-frame { position: relative; }

.photo-frame img { border-radius: 30px; }

.corner-arc {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 120px;
  height: 80px;
  z-index: 2;
}

/* -------------------------------------------------------------- sections */
.section {
  padding: 54px 0 8px;
  border-top: 1px solid var(--line);
}

.section-last { padding-bottom: 26px; }

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-size: 0.9rem;
  color: var(--teal-ink);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.section h2,
.page-top h1,
.story h2 {
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
}

.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.18;
  margin: 14px 0 0;
}

.section-sub {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--muted);
}

/* -------------------------------------------------------------- partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.partner-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------- quick profile */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 46px;
  margin: 26px 0 0;
}

.fact {
  display: grid;
  grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-ink);
}

.fact dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--body);
}

/* ----------------------------------------------------------------- about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: 46px;
  margin-top: 24px;
  align-items: start;
}

.about-cols p { margin: 0; }

.about-cols p + p { margin-top: 14px; }

.about-photo { margin: 0; }

.about-photo img { border-radius: 24px; }

/* ---------------------------------------------------------------- career */
.career-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  margin-top: 26px;
  align-items: start;
}

.career-text p { margin: 0; }

.career-text p + p { margin-top: 14px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 2px 0 0 24px;
  border-left: 1px solid var(--line);
}

.steps li {
  position: relative;
  padding: 0 0 15px;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: "";
  position: absolute;
  left: -27.5px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
}

.step-when {
  display: block;
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--teal-ink);
}

.step-what { display: block; font-size: 0.95rem; }

/* --------------------------------------------------------------- gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
  align-items: start;
}

.gallery figure { margin: 0; }

.g-a { grid-column: 1 / span 6; }

.g-b { grid-column: 7 / span 3; margin-top: 46px; }

.g-c { grid-column: 10 / span 3; margin-top: 84px; }

.gallery img { border-radius: 20px; }

.g-b img,
.g-c img { border-radius: 16px; }

/* ---------------------------------------------------------------- social */
.social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.social-pill {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.social-pill:hover { border-color: var(--teal-ink); color: var(--teal-ink); }

.social-name { font-weight: 600; font-size: 0.95rem; }

.social-handle {
  font-size: 0.9rem;
  color: var(--muted);
}

.social-pill:hover .social-handle { color: var(--teal-ink); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: 58px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
}

.footer-arc-wrap { line-height: 0; }

.footer-arcs { display: block; width: 260px; max-width: 100%; height: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px 26px;
  align-items: start;
  padding-top: 16px;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.brand-name {
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-size: 1.06rem;
  color: var(--ink);
}

.brand-line {
  font-size: 0.9rem;
  color: var(--muted);
}

.language-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

.language-nav a {
  font-size: 0.92rem;
  color: var(--teal-ink);
  text-decoration: none;
}

.language-nav a:hover { text-decoration: underline; }

.language-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-legal {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: right;
}

/* --------------------------------------------------------- subpage shells */
.page-top { padding: 54px 0 6px; }

.page-crumb {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.page-top h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.1rem);
  line-height: 1.1;
  margin: 12px 0 0;
}

.lead {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--body);
}

.reading {
  max-width: 780px;
  padding: 24px 0 6px;
}

.story + .story { margin-top: 36px; }

.story h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.62rem);
  line-height: 1.24;
  margin: 0;
}

.story p { margin: 12px 0 0; }

.note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.dot-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.dot-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  margin-top: 16px;
}

.credit-col h3 {
  margin: 0;
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--teal-ink);
}

.credit-col ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.credit-col li {
  padding: 7px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.stat b {
  display: block;
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--teal-ink);
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px 20px;
  margin-top: 12px;
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: 'Lemon', 'Sofia Sans', Georgia, serif;
  font-size: 1.05rem;
  color: var(--teal-ink);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.answer { padding: 0 0 16px; }

.answer p { margin: 0; }

.error-link { margin: 22px 0 0; }

.text-link { font-weight: 600; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .career-split { grid-template-columns: minmax(0, 1fr); gap: 34px; }

  .hero-photo { max-width: 440px; }

  .hero-photo::before { inset: 22px -10px -14px 22px; }

  .partner-grid { grid-template-columns: repeat(2, 250px); justify-content: start; }

  .fact-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-legal { text-align: left; }

  .g-a { grid-column: 1 / -1; }

  .g-b { grid-column: 1 / span 6; margin-top: 0; }

  .g-c { grid-column: 7 / span 6; margin-top: 22px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .shell { padding: 0 18px; }

  .header-inner { gap: 10px; }

  .main-nav { gap: 12px; }

  .main-nav a { font-size: 0.9rem; padding: 8px 2px; }

  .hero { padding: 40px 0 30px; }

  .hero-title { font-size: clamp(2.3rem, 12vw, 3rem); }

  .corner-arc { display: none; }

  .hero-photo::before { inset: 16px -6px -12px 16px; border-radius: 24px; }

  .partner-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }

  .social-list { grid-template-columns: minmax(0, 1fr); }

  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .credit-grid { grid-template-columns: minmax(0, 1fr); }

  .page-top { padding: 36px 0 4px; }

  .section { padding: 40px 0 6px; }
}
