/* Charli Phoenix · charli-phoenix.com
   Bird of Paradise: warm paper, orange and blue-violet accents,
   brush display face over a sturdy sans. */

:root {
  --paper: #fbf7f0;
  --paper-2: #f4efe4;
  --white: #ffffff;
  --ink: #2b2622;
  --muted: #6b6257;
  --line: #e4dac9;
  --orange: #d95f2b;
  --orange-deep: #b8431a;
  --blue: #2e4a7a;
  --blue-deep: #1f3357;
  --display: 'Caveat Brush', 'Bradley Hand', cursive;
  --body: 'Palanquin Dark', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--blue); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 34px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--blue);
  color: var(--white); padding: .6rem 1rem; z-index: 40;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */

.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 38%, var(--blue) 62%, var(--blue) 100%);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding-top: .82rem;
  padding-bottom: .82rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
  white-space: nowrap;
}
.brand svg { width: 30px; height: 30px; flex: none; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.main-nav ul {
  display: flex; align-items: center; gap: 1.35rem;
  margin: 0; padding: 0; list-style: none; flex-wrap: wrap;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  position: relative;
  padding: .18rem 0;
}
.main-nav ul a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0;
  background: var(--orange);
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav ul a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a[aria-current="page"]::after { width: 100%; background: var(--blue); }

/* button colour is set explicitly after the .main-nav a rules:
   .main-nav a (0-2-1) would otherwise beat .btn (0-1-0) and hide the label. */
.main-nav a.btn {
  color: var(--white);
  background: var(--orange-deep);
  padding: .62rem 1.15rem;
  font-size: .9rem;
}
.main-nav a.btn:hover {
  color: var(--white);
  background: var(--blue);
  padding: .62rem 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange-deep);
  color: var(--white);
  border: 2px solid var(--orange-deep);
  border-radius: 999px;
  padding: .82rem 1.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover, .btn:focus { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-lg { padding: .95rem 2rem; font-size: 1.06rem; }

/* ---------- shared section furniture ---------- */

main { display: block; }
section { padding: 3.1rem 0; }
.sec-head { margin: 0 0 1.7rem; }
.sec-num {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--orange-deep);
  margin-bottom: .1rem;
}
.sec-num.cool { color: var(--blue); }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(2.9rem, 5.2vw, 4.15rem); line-height: 1.02; margin: 0 0 .7rem; letter-spacing: .004em; }
h2 { font-size: clamp(2rem, 3.3vw, 2.7rem); line-height: 1.06; margin: 0 0 .35rem; }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.06rem; margin: 1.6rem 0 .45rem; }
.sec-head .rule, .rule {
  display: block; width: 76px; height: 4px; margin: .55rem 0 .9rem;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 46%, var(--blue) 54%, var(--blue) 100%);
}
.rule.cool { background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 46%, var(--orange) 54%, var(--orange) 100%); }
.sec-intro { max-width: 62ch; color: var(--muted); margin: .5rem 0 0; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.1rem; }
.muted { color: var(--muted); }

/* ---------- hero ---------- */

.hero { padding: 3.4rem 0 2.6rem; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 3rem; align-items: center; }
.hero-photo { position: relative; margin: 0 0 0 -14px; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 32% 50%;
  border: 9px solid var(--white);
  border-radius: 3px;
  box-shadow: 0 20px 44px rgba(43, 38, 34, .16);
}
.hero-petal {
  position: absolute;
  top: -26px;
  right: -12px;
  width: clamp(84px, 11vw, 126px);
  height: auto;
  pointer-events: none;
}
.hero-text .eyebrow {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .55rem;
}
.hero-text h1 .thin { display: block; font-size: .62em; color: var(--orange-deep); }
.hero-text .lede { margin-bottom: 1.5rem; }

/* ---------- partners ---------- */

.partners { padding-top: 1.6rem; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 5px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.partner-card:nth-child(even) { border-top-color: var(--blue); }
.partner-card:hover { border-color: var(--blue); box-shadow: 0 10px 22px rgba(43, 38, 34, .1); }
.partner-card img { width: auto; height: auto; max-width: 100%; max-height: 78px; object-fit: contain; }

/* ---------- two-tone profile columns ---------- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.duo-col { padding: .35rem 0 .35rem 1.4rem; }
.duo-col.warm { border-left: 4px solid var(--orange); }
.duo-col.cool { border-left: 4px solid var(--blue); }
.duo-col h3 { margin: 0 0 .9rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts { margin: 0; }
.fact { display: flex; justify-content: space-between; gap: 1.1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; text-align: right; font-weight: 600; }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.about-copy p:last-child { margin-bottom: 0; }
.about-photo { margin: 0; }
.about-photo img {
  display: block; width: 100%; height: auto;
  border: 8px solid var(--white);
  border-radius: 3px;
  box-shadow: 0 16px 34px rgba(43, 38, 34, .14);
}
.about-photo .tag {
  display: block;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 50%, var(--orange) 50%, var(--orange) 100%);
}

/* ---------- career timeline (home) ---------- */

.tl-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  padding-top: 4px;
}
.tl-bar::before {
  content: "";
  position: absolute;
  top: 15px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
  opacity: .55;
}
.tl-node { position: relative; padding-top: 42px; }
.tl-node::before {
  content: "";
  position: absolute; top: 8px; left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--orange);
}
.tl-node.cool::before { border-color: var(--blue); }
.tl-node .yr {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--orange-deep);
  margin-bottom: .2rem;
}
.tl-node.cool .yr { color: var(--blue); }
.tl-node p { margin: 0; font-size: .92rem; color: var(--ink); }

/* ---------- gallery ---------- */

.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.gal-col { display: grid; gap: 2rem; align-content: start; }
.gal-col.offset { margin-top: 3.2rem; }
.gal figure { margin: 0; }
.gal .big img, .gal .wide img {
  display: block; width: 100%; height: auto;
  border: 7px solid var(--white);
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(43, 38, 34, .13);
}
.gal .mount {
  justify-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 12px;
}
.gal .mount.cool { border-left-color: var(--blue); }
.gal .mount img { display: block; height: auto; width: auto; }

/* ---------- social ---------- */

.social-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 2.4rem;
}
.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.social-list a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.social-list .plat { font-weight: 600; }
.social-list .handle { color: var(--muted); font-size: .92rem; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.1rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.4rem 2rem;
  align-items: center;
}
.footer-grid .fbrand {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0 0 .15rem;
}
.footer-grid .fnote { margin: 0; color: var(--muted); font-size: .92rem; max-width: 34ch; }
.lang-switch { display: flex; flex-wrap: wrap; gap: .4rem .95rem; justify-content: center; }
.lang-switch a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.lang-switch a:hover { color: var(--blue); text-decoration: underline; }
.lang-switch a[aria-current="true"] { color: var(--blue); font-weight: 600; }
.footer-right { text-align: right; color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- subpage furniture ---------- */

.page-head { padding: 3rem 0 1.4rem; }
.page-head .kicker {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 .5rem;
}
.page-head .sec-intro { max-width: 68ch; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.fact-table { width: 100%; border-collapse: collapse; margin: 0; }
.fact-table th, .fact-table td { text-align: left; padding: .62rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { width: 34%; color: var(--muted); font-weight: 600; }
.fact-table td { font-weight: 600; }

.tl { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--line); }
.tl li { position: relative; padding: 0 0 1.15rem .35rem; }
.tl li::before {
  content: ""; position: absolute; left: -1.99rem; top: .48rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--orange);
}
.tl li.cool::before { border-color: var(--blue); }
.tl .when { font-weight: 700; color: var(--blue); }
.tl p { margin: .1rem 0 0; }

.films { width: 100%; border-collapse: collapse; }
.films caption { text-align: left; color: var(--muted); padding: 0 0 .6rem; }
.films th, .films td { text-align: left; padding: .62rem .45rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.films th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.films td.t { font-weight: 600; }

.bullets { margin: 0; padding: 0 0 0 1.1rem; }
.bullets li { margin-bottom: .45rem; }

.note-box {
  border-left: 4px solid var(--blue);
  background: var(--white);
  padding: 1.1rem 1.3rem;
  border-radius: 0 4px 4px 0;
}
.note-box.warm { border-left-color: var(--orange); }
.note-box p:last-child { margin-bottom: 0; }

.faq-list { margin: 0; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: .3rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: .85rem 1.6rem .85rem 0;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: .15rem; top: .78rem;
  font-size: 1.35rem; line-height: 1; color: var(--orange-deep);
}
.faq-list details[open] summary::after { content: "\00b7"; color: var(--blue); }
.faq-list .a { padding: 0 2rem .9rem 0; max-width: 74ch; }
.faq-list .a p:last-child { margin-bottom: 0; }

.simple-list { margin: 0; padding: 0 0 0 1.1rem; }
.simple-list li { margin-bottom: .35rem; }
.simple-list .lbl { font-weight: 600; }

/* ---------- 404 ---------- */

.lost { padding: 4.5rem 0 5rem; max-width: 64ch; }
.lost .code { font-family: var(--display); font-size: 4.4rem; line-height: 1; color: var(--orange-deep); margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { gap: 2.2rem; }
}

@media (max-width: 860px) {
  .hero-grid, .about-grid, .duo, .gal { grid-template-columns: 1fr; }
  .hero-photo { margin-left: 0; }
  .hero-petal { right: -6px; top: -18px; }
  .about-photo { max-width: 460px; }
  .gal-col.offset { margin-top: 0; }
  .social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-bar { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .tl-bar::before { display: none; }
  .tl-node { padding-top: 30px; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; justify-items: start; }
  .footer-right { text-align: left; }
  .lang-switch { justify-content: flex-start; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-wrap { display: block; padding-top: .75rem; padding-bottom: .8rem; }
  .main-nav { margin-top: .65rem; gap: .55rem .9rem; justify-content: flex-start; }
  .main-nav ul { gap: .5rem .95rem; }
  .main-nav a { font-size: .86rem; }
  .main-nav a.btn { font-size: .84rem; padding: .5rem .95rem; margin-top: .3rem; }
  section { padding: 2.3rem 0; }
  .hero { padding: 2.1rem 0 1.8rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { height: 128px; }
  .partner-card img { max-height: 62px; }
  .social-list { grid-template-columns: 1fr; }
  .tl-bar { grid-template-columns: 1fr; }
  .fact dd { text-align: right; }
  .fact-table th { width: 40%; }
}

@media (max-width: 430px) {
  .brand { font-size: 1.42rem; }
  .gal .mount img { max-width: 100%; }
}
