/* YOU. by Baily — site styles. Phone first, then wider screens. */
:root {
  --blue: #586FD8;
  --cherry: #AD0824;
  --sky: #C3D3E4;
  --pink: #D7A1C8;
  --blush: #F7ECF4;
  --ink: #2A2A2A;
  --copy: #4A4A55;
  --line: #ECECF2;
  --soft-border: #B9C3EE;
  --white: #FFFFFF;
  --serif: 'Gloock', Georgia, serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: none; gap: 34px; }
.nav a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); border-color: var(--cherry); }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; padding: 0 2px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 16px 20px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .18em; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--blue); }

/* ---------- shared bits ---------- */
.kick { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--cherry); text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s, background .15s, color .15s; }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--cherry); color: var(--white); }
.btn-solid:hover { background: #930620; }
.btn-ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }
.btn-block { display: flex; width: 100%; }
.stack { display: flex; flex-direction: column; gap: 10px; }
section { padding: 52px 0; }
.lead { font-size: 17px; line-height: 1.7; color: var(--copy); }
.body-copy { font-size: 16px; line-height: 1.75; color: var(--copy); }
.body-copy p + p { margin-top: 14px; }

/* ---------- home hero ---------- */
.hero { background: var(--blush); padding: 28px 0 44px; }
.hero-grid { display: grid; gap: 26px; }
.hero-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; background: #eadde6; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero h1 { font-size: 46px; line-height: 1; color: var(--cherry); }
.hero h1 .who { display: block; color: var(--blue); margin-top: 4px; }
.hero h1 .you { display: inline-block; height: .74em; width: auto; vertical-align: -0.02em; margin-left: .04em; }
.hero .lead { margin: 18px 0 24px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.stat { background: var(--white); border-radius: 20px; padding: 16px 12px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; color: var(--blue); }
.stat span { display: block; margin-top: 7px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #7a7a86; }

/* ---------- about ---------- */
.about h2 { font-size: 38px; line-height: 1.04; margin: 10px 0 16px; }
.about h2 .r { color: var(--cherry); display: block; }
.about h2 .b { color: var(--blue); display: block; }
.about .btn { margin-top: 26px; }

/* ---------- pick your service (home) ---------- */
.pick { text-align: center; padding-top: 12px; }
.pick h2 { font-size: 38px; line-height: 1.04; color: var(--blue); margin: 10px 0 24px; }
.pills { display: grid; gap: 12px; }
.pill { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: transform .15s, filter .15s; }
.pill:hover { transform: translateY(-2px); filter: brightness(1.03); }
.pill-blue { background: var(--blue); color: var(--white); }
.pill-pink { background: var(--pink); color: var(--ink); }
.pill-sky { background: var(--sky); color: var(--ink); }

/* ---------- CTA card ---------- */
.cta-card { margin: 0 auto; border-radius: 28px; padding: 34px 22px; text-align: center; background: var(--white); border: 2px solid var(--soft-border); }
.cta-card h2 { font-size: 32px; line-height: 1.1; color: var(--blue); }
.cta-card p { margin: 10px auto 22px; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--copy); }
.cta-card .btn { width: 100%; max-width: 320px; }

/* ---------- footer ---------- */
.site-foot { padding: 28px 0 40px; text-align: center; }
.foot-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.foot-nav a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--copy); }
.foot-nav a:hover { color: var(--blue); }
.copyright { font-size: 12px; letter-spacing: .14em; color: #9a9aa4; }

/* ---------- services page ---------- */
.page-hero { background: var(--blush); padding: 46px 0 40px; text-align: center; }
.page-hero h1 { font-size: 42px; line-height: 1.05; color: var(--blue); }
.page-hero h1 .r { color: var(--cherry); }
.page-hero .lead { max-width: 520px; margin: 14px auto 0; }

.switch-head { text-align: center; }
.switch-head h2 { font-size: 34px; color: var(--blue); line-height: 1.05; }
.switch-head p { margin-top: 8px; font-size: 15px; color: var(--copy); }

.tabs { display: grid; gap: 10px; margin: 24px 0 8px; }
.tab { min-height: 50px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--blue); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--soft-border); }
.tab[aria-selected="true"] { color: var(--white); }
.tab[data-key="full"][aria-selected="true"] { background: var(--blue); border-color: var(--blue); }
.tab[data-key="content"][aria-selected="true"] { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.tab[data-key="consulting"][aria-selected="true"] { background: var(--sky); border-color: var(--sky); color: var(--ink); }

.panel { padding: 22px 2px 0; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 32px; line-height: 1.08; color: var(--ink); }
.panel .tag { margin: 6px 0 18px; font-size: 16px; font-style: italic; font-weight: 300; color: var(--cherry); }
.panel .body-copy p { color: var(--copy); }
.rows { margin-top: 18px; }
.row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.dot { flex: none; width: 12px; height: 12px; border-radius: 99px; margin-top: 7px; }
.row b { display: block; font-size: 16px; color: var(--ink); }
.row span { display: block; font-size: 15px; line-height: 1.6; color: var(--copy); }
.note { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--blush); font-size: 15px; line-height: 1.6; color: var(--ink); font-style: italic; }
.panel .btn { margin-top: 26px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1.5px solid var(--line); border-radius: 22px; text-decoration: none; transition: border-color .2s, transform .15s; }
.contact-card:hover { border-color: var(--soft-border); transform: translateY(-2px); }
.contact-card .ic { flex: none; width: 46px; height: 46px; border-radius: 99px; display: flex; align-items: center; justify-content: center; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: 16px; }
.contact-card span { display: block; font-size: 14px; color: var(--copy); }

/* ---------- bigger screens ---------- */
@media (min-width: 760px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .site-head .wrap { height: 84px; padding: 0 40px; }
  .logo img { height: 40px; }
  .wrap { padding: 0 40px; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .hero-grid .hero-photo { order: 2; aspect-ratio: 1 / 1.06; border-radius: 32px; }
  .hero h1 { font-size: 66px; }
  .hero .lead { max-width: 460px; }
  .hero .stack { flex-direction: row; }
  .hero .stack .btn { width: auto; }
  .stats { max-width: 460px; }
  .about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .about h2 { font-size: 48px; }
  .pick h2 { font-size: 48px; }
  .pills { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pill { min-height: 96px; border-radius: 28px; }
  .cta-card { background: var(--blue); border-color: var(--blue); padding: 52px 48px; border-radius: 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; text-align: left; }
  .cta-card h2 { color: var(--pink); font-size: 44px; }
  .cta-card p { color: var(--white); margin: 8px 0 0; }
  .cta-card .btn { width: auto; flex: none; }
  .page-hero { padding: 72px 0 60px; }
  .page-hero h1 { font-size: 60px; }
  .tabs { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 28px auto 8px; }
  .panel { max-width: 760px; margin: 0 auto; padding: 34px 44px 40px; border: 1px solid var(--line); border-radius: 32px; margin-top: 20px; }
  .panel h3 { font-size: 40px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
}

/* tighter gap above the closing CTA card */
.cta-sec { padding-top: 8px; }
@media (min-width: 760px) { .cta-sec { padding-top: 16px; } }

/* ---------- branded service panels ---------- */
.panel { padding: 0; margin-top: 18px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.panel-head { padding: 26px 22px 24px; }
.panel-head .kick { color: inherit; opacity: .85; }
.panel h3 { font-size: 32px; line-height: 1.06; margin-top: 8px; color: inherit; }
.panel .tag { margin: 8px 0 0; font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 18px; line-height: 1.3; color: inherit; opacity: .9; }
.panel-body { padding: 22px 22px 28px; }
.panel-body .body-copy p { color: var(--copy); }
#panel-full { border-color: var(--blue); }
#panel-full .panel-head { background: var(--blue); color: var(--white); }
#panel-content { border-color: var(--pink); }
#panel-content .panel-head { background: var(--pink); color: var(--ink); }
#panel-content .panel-head h3 { color: var(--cherry); }
#panel-consulting { border-color: var(--sky); }
#panel-consulting .panel-head { background: var(--sky); color: var(--ink); }
#panel-consulting .panel-head h3 { color: var(--blue); }
.rows { margin-top: 20px; }
.row b { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.row span { font-size: 15.5px; }
.note { background: var(--blush); color: var(--cherry); font-family: var(--serif); font-style: normal; font-size: 17px; line-height: 1.45; }
.panel-body .btn { margin-top: 24px; }
@media (min-width: 760px) {
  .panel { max-width: 760px; margin: 22px auto 0; padding: 0; border-radius: 32px; }
  .panel-head { padding: 36px 44px 32px; }
  .panel h3 { font-size: 42px; }
  .panel-body { padding: 30px 44px 40px; }
}
.panel .tag { font-family: var(--sans); font-style: italic; font-weight: 300; font-size: 17px; }
.fine { max-width: 420px; margin: 26px auto 0; text-align: center; font-size: 14px; line-height: 1.6; font-style: italic; font-weight: 300; color: var(--cherry); }
/* panel title colours */
#panel-full .panel-head h3 { color: var(--pink); }
#panel-content .panel-head h3 { color: var(--blue); }
#panel-consulting .panel-head h3 { color: var(--cherry); }
.hero .lead { margin-bottom: 0; }
