/* Tiny Lion — site styles */

:root {
  --cream: #FFF8EB;
  --ink: #1E2428;
  --gold: #EEB94F;
  --blue-gray: #78909D;
  --orange: #C96E3D;
  --slate: #3A4C56;
  --slate-light: #4E6470;
  --sand: #E9E1D2;
  --line-soft: rgba(30, 36, 40, 0.35);
  --font: 'Brandon Grotesque', 'Jost', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

button, input, textarea { font: inherit; }

section[id], div[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 10; background: var(--ink); color: var(--cream); padding: 12px 18px; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.site-header--plain { border-bottom: 0; }
.site-header__logo img { height: 28px; width: auto; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.main-nav .btn-outline { font-size: inherit; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--gold); }
.hero__lion { position: absolute; right: -110px; bottom: -100px; width: 760px; max-width: 70%; }
.hero .hero__lion { right: 0; bottom: 0; width: 36vw; max-width: none; transform: translate(14.47%, 14.26%); }
@media (min-width: 1400px) { .hero .hero__lion { right: -110px; bottom: -100px; width: min(52.8vw, 760px); transform: none; } }
.hero .wrap { position: relative; }

.hero__intro { padding: 112px 0 72px; max-width: 880px; }
.hero__title {
  margin: 0;
  font-size: clamp(44px, 9.4vw, 148px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero__lede { margin: 40px 0 0; max-width: 520px; font-size: 21px; line-height: 1.5; }

.hero__modes {
  position: relative;
  margin: 0;
  padding: 22px 0 44px;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  /*border-top: 1px solid var(--line-soft);*/
  font-size: 16px;
}
.hero__modes dd { margin: 6px 0 0; }

/* ---------- Intro ---------- */

.intro { max-width: 1360px; margin: 0 auto; padding: 120px var(--gutter) 112px; }
.intro__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.intro__title {
  flex: 1.2 1 520px;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.intro__text { flex: 1 1 380px; margin: 0; font-size: 19px; }
.intro__text strong { font-weight: 500; }

.types {
  margin: 72px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.35;
}
.types__sep { color: var(--orange); }

/* ---------- Stages ---------- */

.stages { background: var(--ink); color: var(--cream); padding: 104px 0 112px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 72px;
}
.stages .section-title { max-width: 820px; }
.stages__lede { margin: 0; max-width: 420px; font-size: 18px; line-height: 1.55; color: var(--sand); }

.stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stage { border-top: 2px solid var(--gold); padding: 28px 24px 0 0; }
.stage::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: -36px 0 22px;
  border-radius: 50%;
  background: var(--gold);
}
.stage__num { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.2em; color: var(--gold); }
.stage__title { margin: 8px 0 10px; font-size: 22px; line-height: 1.2; font-weight: 500; }
.stage__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--sand); }

/* ---------- Concierge or surgical ---------- */

.ways { background: var(--cream); padding: 120px 0 112px; }
.ways .section-title { margin-bottom: 16px; }

.ways__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 48px;
}
.ways__lede { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.55; color: var(--slate); }

.legend { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 500; }
.legend__item { display: flex; align-items: center; gap: 8px; }
.legend__swatch { width: 16px; height: 16px; background: var(--blue-gray); }
.legend__swatch--ours { background: var(--gold); }

.way-list { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.way { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding: 40px 0; }
.way + .way { border-top: 1px solid var(--blue-gray); }

.way__copy { flex: 0 1 380px; }
.way__label { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }
.way__title { margin: 0 0 8px; font-size: 30px; line-height: 1.1; font-weight: 400; }
.way__text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--slate); }

.way__diagram { flex: 1 1 560px; }
.way__caption { margin: 10px 0 0; font-size: 15px; color: var(--slate); }

.stagebar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  height: 64px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.stagebar > span { display: flex; align-items: center; justify-content: center; padding: 0 4px; background: var(--blue-gray); }

.teambar { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.teambar > span { height: 29px; display: flex; align-items: center; padding: 0 14px; background: var(--blue-gray); }

.stagebar > .is-ours, .teambar > .is-ours { background: var(--gold); }

.ways__cta { margin: 40px 0 0; font-size: 19px; }
.ways__cta a { border-bottom: 1.5px solid var(--ink); font-weight: 500; }

/* ---------- Selected work ---------- */

.work { padding: 112px 0; line-height: 1.55; }

.work__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}
.work__title { margin: 0; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; font-weight: 400; letter-spacing: -0.01em; }
.work__note { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }

.feature { position: relative; margin: 0; }
.feature img { width: 100%; height: 680px; object-fit: cover; }
.feature figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 540px;
  padding: 32px 40px;
  background: var(--gold);
}
.feature__title { margin: 0; font-size: 34px; line-height: 1.1; }
.feature__text { margin: 10px 0 0; font-size: 17px; }

.gallery { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.gallery figure { flex: 1 1 300px; margin: 0; }
.gallery img { width: 100%; height: 340px; object-fit: cover; }
.gallery figcaption { margin-top: 12px; }
.caption-title { display: block; font-weight: 500; }
.caption-sub { font-size: 14px; }

.experience { margin-top: 88px; padding: 56px clamp(24px, 4vw, 56px) 60px; background: var(--ink); color: var(--cream); }
.experience__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.experience__title { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; font-weight: 400; }
.experience__text { margin: 0; max-width: 460px; font-size: 16px; color: var(--sand); }
.experience .gallery { margin-top: 0; }
.experience .gallery figure { flex-basis: calc((100% - 60px) / 4); }
.experience .gallery img { height: 280px; }
.experience .gallery figcaption { margin-top: 14px; }
.experience .caption-sub { color: var(--sand); }

/* ---------- Contact ---------- */

.contact { padding: 0 0 64px; }
.contact__wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }

.contact__card {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 24px;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.55;
}
.contact__intro { flex: 1 1 340px; display: flex; flex-direction: column; }
.contact__title { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 400; letter-spacing: -0.015em; }
.contact__text { margin: 20px 0 0; color: var(--sand); }
.contact__where { margin: 16px 0 56px; font-size: 16px; color: var(--sand); }
.contact__lion { width: 220px; margin-top: auto; }
.contact__card a { color: var(--gold); border-bottom: 1px solid var(--gold); }

.form { flex: 1.4 1 480px; display: flex; flex-direction: column; gap: 20px; }
.form__row { display: flex; flex-wrap: wrap; gap: 16px; }
.form__row .field { flex: 1 1 220px; }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  border: 0;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
}
.field input { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; }

.btn-submit {
  align-self: flex-start;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.form__note { margin: 0; font-size: 14px; color: var(--sand); }

/* spam trap: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--blue-gray);
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-footer a {
  font-weight: 400;
  color: var(--slate-light);
  transition: color 0.2s ease;
}
.site-footer a:hover, .site-footer a:focus-visible { color: var(--ink); opacity: 1; }

/* ---------- Privacy policy ---------- */

.subhead { background: var(--gold); }
.subhead .btn-outline { line-height: 1.65; }

.legal { max-width: 760px; margin: 0 auto; padding: 96px var(--gutter) 120px; line-height: 1.65; }
.legal h1 { margin: 0; font-size: clamp(44px, 6vw, 80px); line-height: 1; font-weight: 400; letter-spacing: -0.025em; }
.legal .legal__date { margin: 20px 0 48px; font-size: 14px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.legal h2 { margin: 56px 0 14px; font-size: 28px; line-height: 1.2; font-weight: 400; }
.legal p, .legal ul { margin: 0 0 16px; }
.legal ul { padding-left: 22px; }
.legal strong { font-weight: 500; }
.legal a { border-bottom: 1px solid var(--ink); }

/* ---------- Thank-you and form error pages ---------- */

.notice { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; background: var(--gold); }
.notice .hero__lion { right: -110px; bottom: -100px; }
.notice .wrap { position: relative; width: 100%; }
.notice__main { padding: 112px 0 120px; max-width: 760px; }
.notice__title { margin: 0; font-size: clamp(44px, 7vw, 104px); line-height: 0.95; font-weight: 400; letter-spacing: -0.03em; }
.notice__text { margin: 32px 0 0; max-width: 520px; font-size: 21px; line-height: 1.5; }
.notice__text a { border-bottom: 1px solid var(--ink); }
.notice .btn-outline { margin-top: 40px; padding: 14px 22px; line-height: normal; }

/* ---------- Tablets and phones: stacked contact card ---------- */

@media (max-width: 1100px) {
  .hero .hero__lion { width: 48vw; }
  .hero__modes { grid-template-columns: 1fr; gap: 20px; max-width: 520px; }
  .contact__intro, .form { flex-basis: 100%; }
  .contact__intro { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 20px; }
  .contact__lion { grid-row: 1; grid-column: 1; width: 72px; margin: 0; }
  .contact__title { grid-row: 1; grid-column: 2; }
  .contact__text, .contact__where { grid-column: 1 / -1; }
  .contact__where { margin-bottom: 0; }

  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }

  .gallery figure { flex-basis: calc((100% - 40px) / 3); }
  .experience .gallery figure { flex-basis: calc((100% - 20px) / 2); }
  .gallery img, .experience .gallery img { height: 220px; }

  .experience__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .experience__text { max-width: 640px; }

}

/* ---------- Phones ---------- */

@media (max-width: 700px) {
  .hero .hero__lion { width: min(48vw, max(36vw, 100vw - 260px)); }
  .main-nav { gap: 18px 22px; font-size: 13px; }
  .stage-list { grid-template-columns: 1fr; row-gap: 0; }
  .stage { padding-bottom: 32px; }
  .gallery figure { flex-basis: 100%; }
  .experience .gallery figure { flex-basis: 280px; }
  .gallery img { height: 340px; }
  .experience .gallery img { height: 280px; }
  .stagebar { grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; }
  .stagebar > span { min-height: 44px; }
  .feature img { height: 360px; }
  .feature figcaption { position: static; max-width: none; padding: 24px; }
}