/* atlasconsulting.agency, one stylesheet.
   Desktop 1080px and wider (reference 1440). Mobile 720px and below
   (reference 390). Between: one-column hero, four-column grids in two. */

@font-face { font-family: "Playfair Display"; src: url("/assets/playfair.2527712b89.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/playfair-italic.342c46fb09.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: Montserrat; src: url("/assets/montserrat.f4b20cd939.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --ink: #2A211E;
  --muted: #6B5B4E;
  --hairline: rgba(42, 33, 30, 0.12);
  --oxblood: #722F37;
  --oxblood-deep: #43181E;
  --gold: #B08D57;
  --gold-pale: #D8BC8F;
  --gold-text: #7D5F33;
  --dot: #D9D2CA;
  --field-rule: rgba(42, 33, 30, 0.35);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Montserrat, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --gutter: 130px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink); font-family: var(--sans);
}
main { display: flex; flex-direction: column; flex-grow: 1; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p, blockquote { margin: 0; }
em { font-style: italic; font-weight: 500; color: var(--oxblood); }
::selection { background: var(--oxblood); color: var(--white); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
.foot :focus-visible { outline-color: var(--gold-pale); }
[hidden] { display: none !important; }
.ico { display: inline-block; vertical-align: -3px; flex-shrink: 0; }

/* ---------- motion (as the reference) ---------- */
@keyframes at-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes at-draw { to { stroke-dashoffset: 0; } }
@keyframes at-pop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes at-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes at-fade { from { opacity: 0; } to { opacity: 1; } }
.rise { animation: at-rise 1s var(--ease) .1s both; }
.rise2 { animation: at-rise 1s var(--ease) .3s both; }
.rise3 { animation: at-rise 1s var(--ease) .5s both; }
.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: at-draw 1.4s cubic-bezier(.6, 0, .2, 1) var(--d, 0s) forwards; }
.pop { transform-box: fill-box; transform-origin: center; animation: at-pop .6s var(--ease) var(--d, 0s) both; }
.grow { transform-origin: left center; animation: at-grow 1.6s cubic-bezier(.6, 0, .2, 1) var(--d, .3s) both; }
.fade { animation: at-fade 1s ease var(--d, 0s) both; }
/* Below the hero, a block waits until it scrolls into view: site.js adds .in.
   Without JavaScript the <noscript> style in the head lets everything play. */
.rv:not(.in) .rise, .rv:not(.in) .rise2, .rv:not(.in) .rise3, .rv:not(.in) .draw,
.rv:not(.in) .pop, .rv:not(.in) .grow, .rv:not(.in) .fade { animation-play-state: paused; }

/* ---------- shared pieces ---------- */
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); }
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 26px; border: 0;
  background: var(--oxblood); color: var(--white); font-family: var(--sans);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: background-color .2s ease;
}
.btn:hover { background-color: var(--oxblood-deep); }
/* Underlined text link. The vertical padding is a 44px tap box; the
   negative margin and the shifted underline keep the drawn layout. */
.ul {
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px;
  background-repeat: no-repeat; background-position: 0 calc(100% - var(--tb, 0px));
  padding-bottom: calc(3px + var(--tb, 0px)); padding-top: var(--tb, 0px);
  margin: calc(0px - var(--tb, 0px)) 0; transition: color .2s;
}
.ul:hover { color: var(--oxblood); }
.link { transition: color .2s; }
.link:hover { color: var(--oxblood); }

.sec { padding: 120px var(--gutter); border-top: 1px solid var(--hairline); }
.sec > .wrap { display: flex; flex-direction: column; gap: 56px; }
.head { display: flex; flex-direction: column; gap: 18px; }
.head h2 { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1.12; max-width: 18em; }
.lede { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 36em; }

/* ---------- header ---------- */
.top {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 84px; padding: 0 var(--gutter); border-bottom: 1px solid var(--hairline); flex-shrink: 0; background: var(--white);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 0; margin: -6px 0; }
.brand img { width: 44px; height: 40px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.top-right { display: flex; align-items: center; gap: 36px; }
.nav { display: flex; gap: 30px; font-size: 13px; font-weight: 500; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 11.5px; }
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--hairline);
  background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.menu-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: var(--white);
  border-bottom: 1px solid var(--hairline); padding: 8px 22px 24px;
}
.menu-panel ul { list-style: none; margin: 0 0 20px; padding: 0; }
.menu-panel li { border-bottom: 1px solid var(--hairline); }
.menu-panel li a { display: flex; align-items: center; min-height: 56px; font-size: 15px; font-weight: 500; }
.menu-panel .btn { width: 100%; justify-content: space-between; }

/* ---------- hero ---------- */
.hero { padding: 96px var(--gutter) 112px; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 76px; line-height: 1.04; max-width: 11em; }
.hero-lede { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 30em; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 8px; }
.ctas .ul { --tb: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.art { display: flex; justify-content: center; }
.hero-art, .cycle-art { max-width: 100%; height: auto; }

/* ---------- how we work ---------- */
.line { position: relative; height: 1px; background: var(--hairline); }
.line .grow { position: absolute; inset: 0; background: var(--oxblood); --d: .4s; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -52px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 8px; border-left: 1px solid var(--hairline); }
.step:first-child { padding-left: 0; border-left: 0; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--oxblood); }
.step h3 { margin-top: 6px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.step p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 22em; }
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-top: 36px; border-top: 1px solid var(--hairline); }
.origin-title { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.35; color: var(--oxblood); }

/* ---------- your time ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.month { display: flex; flex-direction: column; gap: 28px; }
.tl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; }
.tl-line { position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--hairline); }
.tl-line .grow { position: absolute; inset: 0; background: var(--gold); --d: .8s; }
.tl-item { position: relative; display: flex; flex-direction: column; gap: 8px; }
.tl-dot { position: absolute; top: -28px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--oxblood); }
.tl-dot--on { background: var(--oxblood); }
.tl-when { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--oxblood); }
.tl-what { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---------- clients ---------- */
.kyra { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.said { display: flex; flex-direction: column; gap: 22px; }
.q { font-family: var(--serif); font-size: 26px; line-height: 1.45; }
.q--sm { font-size: 23px; line-height: 1.5; }
.qm { color: var(--gold); }
.who-name { font-size: 15px; font-weight: 700; }
.who-role { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stats { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 1px solid var(--ink); }
.bar { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.bar-row b { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ink); }
.bar-track { height: 4px; background: var(--hairline); }
.bar-fill { height: 100%; background: var(--oxblood); }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.fig-n { font-family: var(--serif); font-size: 30px; color: var(--oxblood); }
.fig-l { font-size: 13px; color: var(--muted); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.card { display: flex; flex-direction: column; gap: 22px; padding-top: 28px; border-top: 1px solid var(--ink); }
.card--video { justify-content: space-between; }
.facts { font-size: 13.5px; }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.fact span { color: var(--muted); }
.fact b { font-weight: 600; text-align: right; }
.video-block { display: flex; flex-direction: column; gap: 16px; }
.video { display: flex; align-items: center; justify-content: center; height: 200px; background: var(--oxblood-deep); }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.video:hover .play { transform: scale(1.06); }
.video-text { font-family: var(--serif); font-size: 23px; line-height: 1.5; }

/* ---------- questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  font-family: var(--serif); font-size: 22px; font-weight: 500; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { flex-shrink: 0; transition: transform .35s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 38em; }
.faq p .ul { --tb: 12px; color: var(--oxblood); }

/* ---------- quote ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 72px; align-items: start; }
.quote-intro { display: flex; flex-direction: column; gap: 22px; }
.write { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.write .ul { --tb: 12px; align-self: flex-start; color: var(--oxblood); font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--field-rule);
  border-radius: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 16px;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--oxblood); box-shadow: 0 1px 0 var(--oxblood); }
.form .btn { align-self: flex-start; height: 56px; padding: 0 28px; }
.form .btn:disabled { opacity: .7; cursor: default; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; line-height: 1.7; color: var(--oxblood); }
.form-done { font-family: var(--serif); font-size: 30px; line-height: 1.35; color: var(--oxblood); padding-top: 6px; }
.form-done:focus { outline: 0; }

/* ---------- footer ---------- */
.foot { background: var(--oxblood-deep); color: var(--white); padding: 80px var(--gutter) 32px; flex-shrink: 0; }
.foot > .wrap { display: flex; flex-direction: column; gap: 48px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.foot-cols { display: contents; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 24em; }
.foot-mark { display: flex; align-items: center; gap: 14px; }
.disc { width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.disc img { width: 37px; height: 34px; }
.foot .wordmark { font-size: 14px; }
.foot-brand p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.foot-brand .ul { --tb: 13px; align-self: flex-start; font-size: 14px; color: var(--gold-pale); }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-h { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-pale); font-weight: 600; margin-bottom: 4px; }
.foot-col a { font-size: 14px; color: rgba(255, 255, 255, .85); align-self: flex-start; padding: 13px 0; margin: -13px 0; min-width: 44px; transition: color .2s; }
.foot a:hover { color: var(--gold-pale); }
.foot-base { padding-top: 24px; border-top: 1px solid rgba(216, 188, 143, .25); font-size: 12.5px; color: rgba(255, 255, 255, .62); }

/* ---------- small pages (404, form answers) ---------- */
.note { padding: 120px var(--gutter); flex-grow: 1; }
.note .wrap { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.note h1 { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1.12; max-width: 18em; }
.note h1 a { color: var(--oxblood); }
.note .ul { --tb: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- between the two references ---------- */
@media (max-width: 1079px) {
  :root { --gutter: 48px; }
  .hero { padding: 72px var(--gutter) 96px; }
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero h1 { font-size: 64px; }
  .hero-art { width: 420px; }
  .sec { padding: 96px var(--gutter); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .split, .kyra, .faq-grid, .quote-grid, .origin { gap: 40px; }
  .pair { gap: 40px; }
  .foot { padding: 72px var(--gutter) 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  /* the first month as a vertical line, as on mobile */
  .tl { display: flex; flex-direction: column; gap: 26px; padding: 0 0 0 28px; }
  .tl-line { top: 6px; bottom: 6px; left: 6px; right: auto; width: 1px; height: auto; }
  .tl-line .grow { display: none; }
  .tl-item { gap: 6px; }
  .tl-dot { top: 6px; left: -28px; animation: none; }
}
@media (max-width: 900px) {
  .nav, .top-right > .btn { display: none; }
  .menu-btn { display: flex; }
  .menu-panel { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ---------- mobile reference (390) ---------- */
@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .top { height: 68px; }
  .brand img { width: 35px; height: 32px; }
  .top .wordmark { font-size: 10.5px; }
  .hero { padding: 48px var(--gutter) 64px; }
  .hero > .wrap { gap: 40px; }
  .hero h1 { font-size: 44px; }
  .hero-lede { font-size: 17px; }
  .hero .btn { width: 100%; justify-content: space-between; }
  .hero-art { width: 320px; }
  /* The ring's labels need 452 of 360 viewBox units; the drawing may use the gutters. */
  .split .art { margin: 0 -18px; }
  .cycle-art { width: min(414px, calc(100vw - 8px)); }
  .sec { padding: 72px var(--gutter); }
  .sec > .wrap { gap: 40px; }
  .head h2 { font-size: 32px; }
  .lede { font-size: 16px; }
  .line { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: -36px; }
  .step, .step:first-child, .step:nth-child(odd) { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--hairline); }
  .step-n { font-size: 36px; }
  .origin { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
  .origin-title { font-size: 24px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tl-when { font-size: 19px; }
  .kyra { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .q { font-size: 21px; }
  .q--sm { font-size: 18px; }
  .stats, .card { padding-top: 20px; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .video { height: 180px; }
  .video-text { font-size: 18px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq summary { font-size: 19px; }
  .faq p { font-size: 15px; }
  .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; justify-content: space-between; align-self: stretch; }
  .foot { padding: 64px var(--gutter) 32px; }
  .foot-grid { gap: 48px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .disc { width: 52px; height: 52px; }
  .disc img { width: 33px; height: 30px; }
  .note { padding: 72px var(--gutter); }
  .note h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
}
