/* bco-booking. Colours, type and marks are B&Co's brand book as used on benzimra.co
   and Rocio's "Clean version" (Figma rgyN4FjiF7PeC7lZlDpYqe, 3026:2729). */

@font-face { font-family: Alata; font-weight: 400; font-display: swap; src: url(/assets/fonts/alata-400-latin.woff2) format('woff2'); }
@font-face { font-family: Sora; font-weight: 300; font-display: swap; src: url(/assets/fonts/sora-300-latin.woff2) format('woff2'); }
@font-face { font-family: Sora; font-weight: 400; font-display: swap; src: url(/assets/fonts/sora-400-latin.woff2) format('woff2'); }
@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(/assets/fonts/sora-600-latin.woff2) format('woff2'); }
@font-face { font-family: "Pinyon Script"; font-weight: 400; font-display: swap; src: url(/assets/fonts/pinyon-script-400-latin.woff2) format('woff2'); }

:root {
  --navy: #002d64;
  --blue: #004fff;
  --blue-800: #003ba2;
  --ice: #d1e9f3;
  --gold: #bc8f68;
  --red: #de3914;
  --maroon: #4c0000;
  --cream: #fbf7f0;
  --ink: #120000;
  --rule: rgba(0, 45, 100, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  font: 400 16px/1.6 Sora, system-ui, sans-serif; letter-spacing: -.01em;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }

/* ---------- layout: navy brand panel beside the cream work panel ---------- */
.shell { flex: 1; display: grid; grid-template-columns: minmax(380px, 40%) 1fr; }
.brand {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: 52px 56px 64px; display: flex; flex-direction: column; gap: 56px;
}
.brand::before {            /* the large script B, as in the hero */
  content: ""; position: absolute; inset: 0; background: var(--blue-800); opacity: .75;
  -webkit-mask: url(/assets/hero-script.svg) 30% 50% / cover no-repeat; mask: url(/assets/hero-script.svg) 30% 50% / cover no-repeat;
}
.brand > * { position: relative; }
.brand-inner { position: sticky; top: 52px; display: flex; flex-direction: column; gap: 56px; }
.logo { width: 232px; height: 26px; }
.work { padding: 72px clamp(24px, 6vw, 96px) 96px; min-width: 0; }
.work-inner { max-width: 640px; }

/* ---------- headline: light capitals, tan line, script accent ---------- */
.headline { font: 300 clamp(40px, 4.4vw, 64px)/1.02 Sora, sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.headline-sub { display: block; margin-top: 18px; color: var(--gold); font-size: .62em; letter-spacing: -.02em; text-transform: none; }
.script { display: block; color: var(--gold); font: 400 1.7em/.9 "Pinyon Script", cursive; letter-spacing: 0; text-transform: none; padding-left: .35em; }
.rise { animation: rise .4s var(--ease) both; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- person card: whole photo, name bar, annotation circle ---------- */
.person { position: relative; width: min(300px, 78%); }
.person-photo { width: 100%; height: auto; }
.person-bar { background: var(--maroon); padding: 18px 22px 20px; }
.person-name { font: 400 26px/1.15 Alata, sans-serif; }
.person-role { margin-top: 4px; color: var(--red); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
/* Each person has a colour group, as on Meet leadership: maroon and red, or teal and green. */
.person.is-teal .person-bar { background: #005158; }
.person.is-teal .person-role { color: #00daa2; }
.orbit { position: absolute; width: 150px; height: 150px; left: calc(100% + 34px); bottom: 26px; pointer-events: none; display: grid; place-items: center; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit circle.ring { fill: none; stroke: var(--ice); stroke-opacity: .7; stroke-width: 1.5; stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 1.3s .5s var(--ease) forwards; }
.orbit .spin { transform-origin: 100px 100px; animation: spin 48s linear infinite; }
.orbit .dot { fill: var(--gold); }
.orbit .sq { fill: var(--navy); stroke: var(--ice); stroke-opacity: .7; stroke-width: 1.5; }
.orbit-keys, .orbit-date { grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.orbit-keys { width: 46px; height: 44px; background: var(--gold); -webkit-mask: url(/assets/mark-red.svg) 50% / contain no-repeat; mask: url(/assets/mark-red.svg) 50% / contain no-repeat; }
.orbit-date { display: flex; flex-direction: column; align-items: center; opacity: 0; transform: scale(.8); }
.orbit-num { color: var(--ice); font: 400 68px/1 "Pinyon Script", cursive; height: 58px; padding-right: 6px; }
.orbit-month { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-indent: .14em; text-transform: uppercase; line-height: 1; margin-top: 6px; }
.orbit.has-day .orbit-keys { opacity: 0; transform: scale(.8); }
.orbit.has-day .orbit-date { opacity: 1; transform: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- steps: number, point, capital title, thin rule ---------- */
.step { padding: 0 0 44px; }
.step + .step { padding-top: 36px; }
.step-head { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; margin-bottom: 26px; position: relative; }
.step-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); transform-origin: 50% 50%; animation: grow .6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
.step-num { color: var(--red); font: 400 40px/1 Alata, sans-serif; letter-spacing: -.02em; min-width: 54px; }
.point { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }
.step-title { color: var(--navy); font: 400 26px/1.15 Alata, sans-serif; letter-spacing: -.015em; text-transform: uppercase; }

/* ---------- buttons: always a labelled button; a pair is one size ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1.5px solid var(--navy); border-radius: 0;
  background: var(--navy); color: #fff; cursor: pointer; text-decoration: none;
  font: 600 13px/1 Sora, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--blue); border-color: var(--blue); } }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .day:focus-visible, .slot:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn.is-outline { background: transparent; color: var(--navy); }
@media (hover: hover) { .btn.is-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); } }
.btn.is-red { background: var(--red); border-color: var(--red); }
@media (hover: hover) { .btn.is-red:hover { background: var(--maroon); border-color: var(--maroon); } }
.btn.is-small { min-height: 38px; padding: 0 16px; font-size: 11px; }
.btn[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.pair { display: flex; flex-wrap: wrap; gap: 14px; }
.pair .btn { width: 220px; }
.btn .plus { position: relative; width: 12px; height: 12px; transition: transform .3s var(--ease); }
.btn .plus::before, .btn .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1.5px; background: currentColor; }
.btn .plus::after { transform: rotate(90deg); }
.btn:hover .plus { transform: rotate(45deg); }      /* Rocio: the + turns 45 degrees on hover */

/* ---------- day grid ---------- */
.month { color: var(--navy); font: 400 18px/1 Alata, sans-serif; letter-spacing: .02em; text-transform: uppercase; margin: 22px 0 12px; }
.month:first-child { margin-top: 0; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 448px; }
.dow { text-align: center; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px; }
.day { position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer; color: var(--navy); font: 400 17px/1 Sora, sans-serif; display: grid; place-items: center; padding: 0; }
.day::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1.2px solid var(--navy); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .35s var(--ease), background-color .2s, border-color .2s; }
.day:hover::before { opacity: .55; transform: none; }
.day[aria-pressed="true"] { color: #fff; }
.day[aria-pressed="true"]::before { opacity: 1; transform: none; background: var(--red); border-color: var(--red); }
.day span { position: relative; }
.day[disabled] { color: rgba(0, 45, 100, .25); cursor: default; }
.day[disabled]::before { display: none; }

/* ---------- time slots: rise in a wave ---------- */
.zone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 20px; font-size: 14px; color: var(--navy); }
.zone select { border: 0; border-bottom: 1px solid var(--navy); background: transparent; padding: 6px 2px; max-width: 100%; font-size: 14px; color: var(--navy); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.slot { min-height: 48px; border: 1.2px solid var(--rule); background: transparent; color: var(--navy); cursor: pointer; font: 400 16px/1 Sora, sans-serif; transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease); animation: wave .45s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
@media (hover: hover) { .slot:hover { border-color: var(--navy); transform: scale(1.04); } }
.slot[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@keyframes wave { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 60% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
.empty { color: var(--navy); opacity: .6; font-size: 14px; }

/* ---------- form ---------- */
.reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.reveal.is-open { grid-template-rows: 1fr; }
.reveal > div { overflow: hidden; }
.field { display: block; margin-bottom: 22px; }
.field-label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; background: transparent; padding: 10px 0; font-size: 17px; }
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(18, 0, 0, .38); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.guest-add { display: flex; gap: 12px; align-items: flex-end; }
.guest-add input { flex: 1; min-width: 0; }
.guest-list { list-style: none; margin: 14px 0 0; padding: 0; }
.guest-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; animation: rise-s .3s var(--ease) both; overflow-wrap: anywhere; }
@keyframes rise-s { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.note { margin-top: 10px; color: var(--red); font-size: 14px; }
.summary { margin: 30px 0 22px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--navy); font: 400 19px/1.35 Alata, sans-serif; }
.legal { margin-top: 18px; font-size: 12px; color: rgba(18, 0, 0, .55); }

/* ---------- details rows (one-link page, team page, confirmation) ---------- */
.rows { margin: 0 0 30px; border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row dt { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.row dd { margin: 0; color: var(--navy); font-size: 17px; overflow-wrap: anywhere; }
.row dd .btn { margin-top: 10px; }
.title { color: var(--navy); font: 400 clamp(30px, 3.2vw, 44px)/1.08 Alata, sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
.title + .script { font-size: clamp(56px, 6vw, 88px); line-height: 1.05; margin: 14px 0 30px; padding-left: 0; }
.panel { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--rule); animation: rise-s .4s var(--ease) both; }
.panel-title { color: var(--navy); font: 400 22px/1.2 Alata, sans-serif; text-transform: uppercase; margin-bottom: 22px; }

/* ---------- confirmation mark: the keys lock, a ring draws around them ---------- */
.seal { position: relative; width: 96px; height: 96px; margin-bottom: 30px; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; }
.seal circle { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw .5s .3s var(--ease) forwards; }
.seal-keys { width: 46px; height: 44px; background: var(--red); -webkit-mask: url(/assets/mark-red.svg) 50% / contain no-repeat; mask: url(/assets/mark-red.svg) 50% / contain no-repeat; animation: lock .3s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes lock { from { transform: rotate(-12deg) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- ticker (Rocio: rotating banner) ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; height: 48px; display: flex; align-items: center; }
.ticker-track { display: flex; flex: none; animation: ticker 28s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ticker-item i { width: 18px; height: 17px; background: #fff; -webkit-mask: url(/assets/mark-red.svg) 50% / contain no-repeat; mask: url(/assets/mark-red.svg) 50% / contain no-repeat; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- team page ---------- */
.topbar { background: var(--navy); color: #fff; padding: 22px clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar .who { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.topbar .btn { border-color: #fff; background: transparent; }
@media (hover: hover) { .topbar .btn:hover { background: #fff; color: var(--navy); } }
.team { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding: 64px clamp(24px, 6vw, 96px) 96px; align-items: start; }
.hours { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--rule); }
.hours li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; min-height: 58px; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--navy); }
.hours label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 16px; }
.hours input[type="checkbox"] { appearance: none; width: 18px; height: 18px; border: 1.2px solid var(--navy); margin: 0; display: grid; place-items: center; cursor: pointer; }
.hours input[type="checkbox"]::after { content: ""; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.hours input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.hours .range { display: flex; align-items: center; gap: 8px; font-size: 14px; transition: opacity .2s; }
.hours li.is-off .range { opacity: .25; pointer-events: none; }
.hours select { border: 0; border-bottom: 1px solid var(--navy); background: transparent; padding: 6px 2px; font-size: 15px; color: var(--navy); }
.linkline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--navy); font-size: 17px; }
.calls { border-top: 1px solid var(--rule); }
.call { border-bottom: 1px solid var(--rule); }
.call-head { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; }
.call-day { color: var(--gold); font: 400 46px/1 "Pinyon Script", cursive; text-align: center; }
.call-when { color: var(--navy); font: 400 18px/1.3 Alata, sans-serif; }
.call-who { font-size: 14px; color: rgba(18, 0, 0, .7); }
.call .rows { margin: 4px 0 24px; }
.signin { flex: 1; background: var(--navy); color: #fff; position: relative; overflow: hidden; display: grid; place-items: center; padding: 64px 24px; }
.signin::before { content: ""; position: absolute; inset: 0; background: var(--blue-800); opacity: .75; -webkit-mask: url(/assets/hero-script.svg) 50% / cover no-repeat; mask: url(/assets/hero-script.svg) 50% / cover no-repeat; }
.signin-box { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.signin .btn { background: #fff; color: var(--navy); border-color: #fff; }
@media (hover: hover) { .signin .btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; } }

/* ---------- blue-bar footer: benzimra.co's, but lower (5.5vw, not 8.75vw) so the screen keeps its room ---------- */
.section-footer { background: var(--navy); width: 100%; height: 5.5vw; flex: none; color: #fff; display: flex; justify-content: center; align-items: center; }
.footer-in { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 16.443vw; }
.footer-legal { letter-spacing: -.011em; white-space: pre-wrap; font-size: .9028vw; line-height: 1.5; position: relative; top: -.0694vw; }
.footer-legal a { color: inherit; text-decoration: none; white-space: nowrap; }
.footer-icons { display: flex; align-items: center; gap: 2.8472vw; position: relative; top: -.1389vw; }
.footer-icon { height: 1.1111vw; }
.footer-icon.is-mail { width: 1.5296vw; } .footer-icon.is-youtube { width: 1.5997vw; } .footer-icon.is-linkedin { width: 1.113vw; }
.shell + .ticker + .section-footer, .ticker + .section-footer { border-top: 0; }

/* Desktop: the window holds the whole screen, footer included; only the work panel scrolls. */
@media (min-width: 900px) {
  body { height: 100dvh; overflow: hidden; }
  .shell, #app { min-height: 0; }
  .work, .team { overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(0, 45, 100, .35) transparent; }
  .team { min-height: 0; }
  .brand { padding: 44px 56px 32px; }
  .brand-inner { position: static; gap: clamp(20px, 4dvh, 56px); }
  /* The photo is shown whole: its width follows the height left over in the window. */
  .person { width: min(300px, 78%, calc((100dvh - 5.5vw - 570px) / 1.3125)); }
}
/* Too short for the photo to be seen whole at a useful size: the name bar stays, the photo is left out. */
@media (min-width: 900px) and (max-height: 899px) { .person { width: min(300px, 78%); } .person-photo { display: none; } .orbit { display: none; } }
@media (max-width: 1239px) { .orbit { display: none; } }
@media (max-width: 899px) {
  .shell { grid-template-columns: 1fr; }
  .brand { padding: 32px 24px 40px; }
  .brand-inner { position: static; gap: 32px; }
  .person { display: grid; grid-template-columns: 96px 1fr; width: 100%; max-width: 360px; }
  .person-bar { display: flex; flex-direction: column; justify-content: center; padding: 12px 18px; }
  .person-name { font-size: 20px; }
  .work { padding: 44px 24px 64px; }
  .team { grid-template-columns: 1fr; gap: 56px; padding: 44px 24px 64px; }
  .field-row { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .pair .btn { width: 100%; }
  .call-head { grid-template-columns: 48px 1fr; }
  .call-head .btn { grid-column: 1 / -1; }
  .hours li { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .section-footer { border-top: 1px solid var(--gold); height: auto; }
  .footer-in { gap: 29px; flex-direction: column-reverse; padding: 41px 24px 34px; }
  .footer-legal { opacity: .5; text-align: center; font-size: 12px; line-height: normal; top: 0; }
  .footer-icons { gap: 0; opacity: .5; justify-content: space-between; width: 181px; top: 0; }
  .footer-icon.is-mail { width: 24.78px; height: 18px; } .footer-icon.is-youtube { width: 25.91px; height: 18px; } .footer-icon.is-linkedin { width: 18.02px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .orbit circle.ring, .seal circle { stroke-dashoffset: 0; }
}
