/* FLEX METHOD - booking pages
   Studio sweep theme, matched to flexmethod-is-hiring.netlify.app:
   soft grey backdrop like a lit photography sweep, white cards, one orange. */
:root {
  --sweep-hi: #f4f4f4;
  --sweep-mid: #dcdcdd;
  --sweep-lo: #b9babc;
  --ink: #17181a;
  --muted: #5d6167;
  --line: #d3d4d6;
  --orange: #eb6834;
  --orange-dk: #c9501f;
  --card: #ffffff;
  --card2: #fff8f4;
  --radius: 16px;
  --shadow-card: 0 2px 20px rgba(0,0,0,.06);
  --shadow-lift: 0 8px 30px rgba(0,0,0,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background:
    radial-gradient(120% 80% at 18% 6%, var(--sweep-hi) 0%, transparent 55%),
    radial-gradient(140% 100% at 80% 100%, var(--sweep-lo) 0%, transparent 60%),
    var(--sweep-mid);
  background-attachment: fixed;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--orange); }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
h1 {
  font-weight: 800; color: var(--ink); letter-spacing: -.025em;
  font-size: clamp(32px, 5vw, 54px); line-height: 1.08; margin-bottom: 16px;
}
h2 {
  font-weight: 800; color: var(--ink); letter-spacing: -.025em;
  font-size: clamp(25px, 3.6vw, 38px); line-height: 1.12; margin-bottom: 14px;
}
h3 { font-weight: 700; color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
.sub { font-size: 18.5px; color: var(--muted); max-width: 600px; }
.coral { color: var(--orange); }
.dim { color: var(--muted); }
section { padding: 56px 0; }
section.tight { padding: 34px 0; }
.sechead { max-width: 660px; margin-bottom: 26px; }

/* buttons */
.btn {
  display: inline-block; background: var(--orange); color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: .2px;
  text-decoration: none;
  padding: 17px 34px; border: none; border-radius: 100px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(235,104,52,.32);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
  width: 100%; text-align: center;
}
.btn:hover { background: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(235,104,52,.42); }
.btn.inline { width: auto; }
.micro { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0 44px; align-items: start;
  padding: 44px 0 20px;
  grid-template-areas: "lead cal" "rest cal";
}
.hlead { grid-area: lead; }
.hrest { grid-area: rest; }
.calcard { grid-area: cal; }
.hero-points { margin-top: 26px; }
.who { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.avatar {
  flex: 0 0 62px; height: 62px; border-radius: 50%; overflow: hidden;
  background: var(--orange); color: #fff; font-weight: 800;
  font-size: 26px; display: flex; align-items: center; justify-content: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who .nm { font-weight: 700; font-size: 17px; color: var(--ink); }
.who .rl { font-size: 13.5px; color: var(--muted); }

.hero-points { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point .n {
  flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--orange);
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.point p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.point b { color: var(--ink); }

/* calendar */
.calcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; position: sticky; top: 18px; box-shadow: var(--shadow-lift);
}
.calcard h3 { margin-bottom: 4px; }
.calcard .lead-in { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
#cal-inline { min-width: 300px; height: 740px; border-radius: 10px; overflow: hidden; background: #fff; }

/* notice */
.notice {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: 12px; padding: 20px 22px; margin: 28px 0; box-shadow: var(--shadow-card);
}
.notice h3 { margin-bottom: 8px; }
.notice p { font-size: 15.5px; margin-bottom: 10px; color: var(--muted); }
.notice p:last-child { margin-bottom: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-card); }
.step .n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 800; font-size: 15px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* proof */
.band { background: rgba(255,255,255,.6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(4px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat .v { font-weight: 800; letter-spacing: -.025em; font-size: clamp(30px, 4vw, 44px); color: var(--orange); line-height: 1; }
.stat .l { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.tf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tf { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.tf img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; display: block; }
.tf .tf-body { padding: 13px 15px 17px; }
.tf .nm, .wide .nm { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--orange); text-transform: uppercase; margin-bottom: 5px; }
.tf p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.wide { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.wide img { width: 100%; display: block; }
.wide .tf-body { padding: 14px 16px 18px; }

.ig-grid { columns: 3; column-gap: 16px; }
.ig-grid img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  margin-bottom: 16px; display: block; break-inside: avoid; background: #fff;
  box-shadow: var(--shadow-card);
}

.quotes { columns: 2; column-gap: 18px; }
.q {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 18px; break-inside: avoid; box-shadow: var(--shadow-card);
}
.q p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.q p + p { margin-top: 10px; }
.q .h { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-top: 14px; }
.q.hot { border-color: var(--orange); }

/* duo */
.duo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.duo img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.18); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--orange); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { font-size: 15.5px; margin-top: 12px; max-width: 760px; color: var(--muted); }

/* video */
.videoframe {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: #eceded;
}
.videoframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ctacard {
  background: var(--card); border: 1.5px solid var(--orange); border-radius: var(--radius);
  padding: 30px; text-align: center; margin: 10px 0; box-shadow: var(--shadow-lift);
}
.ctacard p { max-width: 620px; margin: 0 auto 20px; color: var(--muted); }

.stickycta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); transition: transform .25s ease, opacity .25s ease;
}
.stickycta.hide { transform: translateY(110%); opacity: 0; }

footer { border-top: 1px solid var(--line); padding: 32px 0 90px; }
footer p { font-size: 12px; color: var(--muted); max-width: 760px; }

.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 30px;
          grid-template-areas: "lead" "cal" "rest"; }
  .calcard { position: static; }
  .hero-points { margin-top: 0; }
  .tf-grid { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stickycta { display: block; }
  .steps { grid-template-columns: 1fr; }
  .ig-grid { columns: 2; }
  .quotes { columns: 1; }
  .tf-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 520px) {
  .ig-grid { columns: 1; }
  body { font-size: 16px; }
  #cal-inline { height: 1020px; }
}

/* pre-frame */
.sig { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; color: var(--orange); margin-top: 14px !important; }
.shifts { display: flex; flex-direction: column; gap: 18px; }
.shift {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; position: relative; box-shadow: var(--shadow-card);
}
.shift .k {
  font-weight: 800; font-size: 15px; color: #fff;
  background: var(--orange); width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.shift h3 { font-size: 19px; line-height: 1.25; margin-bottom: 12px; font-weight: 700; }
.shift p { font-size: 16px; max-width: 760px; color: var(--muted); }
.shift p + p { margin-top: 12px; }

/* timeline */
.tl { display: flex; flex-direction: column; }
.tlr { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.tlr:last-child { border-bottom: 1px solid var(--line); }
.tlr .w { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.tlr p { font-size: 16px; color: var(--muted); }
.tlr.hot .w { color: var(--ink); }
.tlr.hot p { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .tlr { grid-template-columns: 1fr; gap: 8px; }
  .shift { padding: 22px 20px; }
}

/* full stories: masonry columns so photo-only cards pack tight */
.story-grid { columns: 3; column-gap: 18px; }
@media (max-width: 980px) { .story-grid { columns: 2; } }
.story { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: 18px; break-inside: avoid; }
.story img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.story-body { padding: 18px 20px 20px; }
.story .nm { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--orange); text-transform: uppercase; margin-bottom: 8px; }
.story p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 640px) { .story-grid { columns: 1; } }

/* video testimonials */
.vcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.vcard .videoframe { border: 0; border-radius: 0; }
.vbody { padding: 14px 16px 16px; }
.vbody .nm { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--orange); text-transform: uppercase; margin-bottom: 4px; }
.vbody p { font-size: 14px; color: var(--muted); }
.vcard.big { margin-bottom: 18px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }

/* pillars */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .pillar-grid { grid-template-columns: 1fr; } }

/* on the fence screenshots */
.fence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.fence-grid img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; background: #fff; box-shadow: var(--shadow-card); }
@media (max-width: 640px) { .fence-grid { grid-template-columns: 1fr; } }
