/* ─── Routine — v3 stylesheet (white, bold, colour-tiled) ───────────────────
   Candidate redesign in the monday.com register. Lives alongside styles.css.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --white:   #ffffff;
  --off:     #f7f7fb;
  --ink:     #1b1a25;
  --ink-2:   #4a4960;
  --ink-3:   #7b7a90;
  --rule:    #e6e6ef;
  --gold:    #d4a93c;
  --gold-2:  #b88d24;
  --gold-soft: #fff6dd;
  /* module hues (pastel tile / strong accent) */
  --c-prod:  #ffe9e3; --a-prod:  #ff6a3d;
  --c-post:  #e5f6f0; --a-post:  #12a76f;
  --c-dist:  #e8ecff; --a-dist:  #5b5fef;
  --c-thea:  #fff1e0; --a-thea:  #f5a623;
  --c-rights:#f3e8ff; --a-rights:#8b4ff0;
  --c-mkt:   #ffe5f1; --a-mkt:   #ec3f8b;
  --c-arch:  #e3f3fb; --a-arch:  #1a9bd7;
  --c-live:  #eefbe6; --a-live:  #5cb81f;
  --c-fin:   #eaf4ff; --a-fin:   #2d7ff9;
  --c-port:  #fff7d6; --a-port:  #d4a93c;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 16px; --r-lg: 28px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); line-height: 1.5; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* icons */
.ic { width: 26px; height: 26px; display: block; color: var(--ink); }
.ic .dot { fill: currentColor; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; padding: 16px 28px; border-radius: 999px;
  background: var(--gold); color: var(--ink); text-decoration: none; border: 2px solid var(--gold);
  transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(212,169,60,.7); }
.btn:disabled { opacity: .6; transform: none; box-shadow: none; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { box-shadow: 0 12px 28px -10px rgba(27,26,37,.6); }
.btn.ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn svg { width: 16px; height: 16px; }
.textlink { font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--gold); }
.textlink:hover { color: var(--gold-2); }

/* ─── Nav ──────────────────────────────────────────────────────────────── */
nav.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: var(--max); margin: 0 auto; padding: 0 28px; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); }
.wordmark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-left: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a, .nav-dd-btn { font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-links a:hover, .nav-dd-btn:hover { color: var(--ink); }
.nav-dd { position: relative; }
.nav-dd-btn .caret { font-size: 10px; margin-left: 4px; opacity: .6; }
.nav-mega { position: absolute; top: 100%; left: -24px; padding-top: 18px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .15s; }
.nav-dd:hover .nav-mega, .nav-dd:focus-within .nav-mega { opacity: 1; visibility: visible; transform: none; }
.nav-mega-panel { display: grid; grid-template-columns: repeat(3, 180px); gap: 28px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 24px 28px; box-shadow: 0 24px 60px -20px rgba(27,26,37,.25); }
.nav-mega-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.nav-mega-col a { display: block; padding: 5px 0; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-mega-col a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 12px 20px; font-size: 15px; }
.nav-hamburger { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile { display: none; border-top: 1px solid var(--rule); padding: 12px 28px 28px; background: #fff; }
.nav-mobile a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.nav-mobile .nav-group-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 4px; }
nav.mobile-open .nav-mobile { display: block; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { max-width: 15ch; margin: 0 auto 22px; }
.hero h1 .hl { background: linear-gradient(120deg, var(--gold) 0%, #f3c96b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 56ch; margin: 0 auto 30px; }
.dept-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0 auto 34px; max-width: 900px; }
.dept { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.dept i { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 14px; }
.hero-fine { font-size: 14px; color: var(--ink-3); }
.hero-stage { position: relative; margin-top: 56px; }
.hero-stage::before {
  content: ''; position: absolute; inset: 40px -10% -40px; z-index: 0; border-radius: 40px;
  background: linear-gradient(135deg, #ffe9e3 0%, #e8ecff 35%, #e5f6f0 70%, #fff1e0 100%);
}
.shot { position: relative; z-index: 1; background: #0f1117; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(27,26,37,.45), 0 0 0 1px rgba(27,26,37,.08); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #171a23; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.shot-bar span { font-size: 12px; color: rgba(255,255,255,.35); margin-left: 8px; font-weight: 500; }
.shot img { width: 100%; height: auto; object-fit: cover; object-position: top left; }
.hero .shot img { max-height: 560px; }
.hero-float { position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -14px rgba(27,26,37,.35); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hero-float i { width: 10px; height: 10px; border-radius: 50%; }
.hf-1 { left: -36px; top: 28px; }
.hf-2 { right: -36px; top: 150px; }
.hf-3 { left: -24px; bottom: -14px; }

/* ─── Houses strip ─────────────────────────────────────────────────────── */
.houses { padding: 56px 0 24px; text-align: center; }
.houses p { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.houses-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; }
.house { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #b6b5c6; }

/* ─── Module tabs ──────────────────────────────────────────────────────── */
.tabs-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.tabs-head h2 { margin-bottom: 14px; }
.tabbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { font-family: inherit; font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; color: var(--ink-2); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel { display: none; border-radius: var(--r-lg); padding: 44px; }
.panel.active { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: center; }
.panel h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.panel p { color: var(--ink-2); margin-bottom: 20px; }
.panel ul { list-style: none; margin-bottom: 26px; }
.panel li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15.5px; color: var(--ink-2); }
.panel li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--acc); }
.panel li::after { content: ''; position: absolute; left: 5px; top: 10px; width: 6px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.panel .shot img { max-height: 440px; }
.panel.prod   { background: var(--c-prod);   --acc: var(--a-prod); }
.panel.dist   { background: var(--c-dist);   --acc: var(--a-dist); }
.panel.thea   { background: var(--c-thea);   --acc: var(--a-thea); }
.panel.rights { background: var(--c-rights); --acc: var(--a-rights); }
.panel.port   { background: var(--c-port);   --acc: var(--a-port); }

/* ─── Tiles ────────────────────────────────────────────────────────────── */
.tiles-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: block; text-decoration: none; color: var(--ink); border-radius: 22px; padding: 28px; min-height: 210px; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(27,26,37,.3); }
.tile .ic { width: 34px; height: 34px; margin-bottom: 18px; }
.tile h3 { font-size: 21px; margin-bottom: 8px; }
.tile p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.tile .who { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--acc); }
.tile.prod   { background: var(--c-prod);   --acc: var(--a-prod); }
.tile.post   { background: var(--c-post);   --acc: var(--a-post); }
.tile.dist   { background: var(--c-dist);   --acc: var(--a-dist); }
.tile.thea   { background: var(--c-thea);   --acc: var(--a-thea); }
.tile.rights { background: var(--c-rights); --acc: var(--a-rights); }
.tile.mkt    { background: var(--c-mkt);    --acc: var(--a-mkt); }
.tile.arch   { background: var(--c-arch);   --acc: var(--a-arch); }
.tile.live   { background: var(--c-live);   --acc: var(--a-live); }
.tile.fin    { background: var(--c-fin);    --acc: var(--a-fin); }
.tile.port   { background: var(--c-port);   --acc: var(--a-port); }
.tile.dev    { background: var(--off);      --acc: var(--ink-2); }
.tile .ic .dot { fill: var(--acc); }

/* ─── One record ───────────────────────────────────────────────────────── */
.record { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 72px 56px; }
.record h2 { max-width: 18ch; margin-bottom: 18px; }
.record .lede { color: rgba(255,255,255,.72); max-width: 56ch; }
.record-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.record-col { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px; }
.record-col .n { font-size: 13px; font-weight: 800; color: var(--gold); margin-bottom: 10px; }
.record-col h3 { font-size: 20px; margin-bottom: 8px; }
.record-col p { font-size: 15px; color: rgba(255,255,255,.68); }

/* ─── Team ─────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.team-grid h2 { margin-bottom: 26px; }
.team-copy p { font-size: 17.5px; color: var(--ink-2); line-height: 1.7; }
.team-copy p + p { margin-top: 18px; }
.team-copy p:first-child { font-size: 19px; color: var(--ink); }
.team-houses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-house { background: var(--off); border-radius: 18px; padding: 22px; }
.team-house .name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.team-house .role { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.team-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); }

/* ─── Pricing / answers ────────────────────────────────────────────────── */
.facts { background: var(--off); }
.facts .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.price-card { background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: 0 30px 60px -30px rgba(27,26,37,.25); }
.price-big { font-size: clamp(56px, 6vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 4px; }
.price-big sup { font-size: .42em; vertical-align: top; margin-top: .4em; display: inline-block; color: var(--gold-2); }
.price-big small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-left: 8px; }
.price-lines { list-style: none; margin: 22px 0 26px; }
.price-lines li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.price-lines li b { color: var(--ink); font-weight: 800; white-space: nowrap; }
.price-fine { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }
.answers dt { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; margin-top: 24px; margin-bottom: 6px; }
.answers dd { color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }

/* ─── Trust row ────────────────────────────────────────────────────────── */
.trust { padding: 40px 0 0; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.trust-item .ic { width: 22px; height: 22px; }
.trust-item .ic .dot { fill: var(--gold); }

/* ─── Contact ──────────────────────────────────────────────────────────── */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact .lede { margin-bottom: 24px; }
.contact-alt { font-size: 15px; color: var(--ink-2); }
form.lead { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 30px 60px -30px rgba(27,26,37,.2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form-group input, .form-group textarea { font-family: inherit; font-size: 16px; color: var(--ink); padding: 13px 15px; border: 2px solid var(--rule); border-radius: 12px; background: #fff; outline: none; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
form.lead .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form-fine { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 12px; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols p { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); line-height: 1.6; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .2s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #c62828; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .panel.active, .team-grid, .facts .wrap, .contact .wrap, .footer-grid { grid-template-columns: 1fr; }
  .tiles, .record-cols { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 32px; }
  .hero-float { display: none; }
  .panel { padding: 28px; }
  .record { padding: 48px 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tiles, .record-cols, .trust-row, .team-houses, .form-grid, .footer-cols { grid-template-columns: 1fr; }
  form.lead { padding: 22px; }
  .hero .shot img, .panel .shot img { max-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .tile { transition: none; } }
