/* ============================================================
   XY UPGRADES — Clear sky theme
   ✏️ EDIT: Rebrand the whole site here. Change these variables
   and every page updates automatically.
   ============================================================ */
:root {
  /* Brand colors */
  --paper: #ffffff;        /* page background */
  --sky-tint: #f0f7ff;     /* soft section background */
  --sky-100: #e0f0fe;      /* light fills */
  --sky-300: #7dd3fc;      /* decorative light blue */
  --sky-600: #0284c7;      /* bright accents */
  --sky-700: #0369a1;      /* buttons + links (accessible on white) */
  --sky-800: #075985;      /* button hover */
  --navy: #0c4a6e;         /* headings */
  --ink: #33475c;          /* body text */
  --muted: #5b7186;        /* secondary text */
  --border: #d6e7f5;       /* card + line borders */

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(12, 74, 110, 0.08);
  --maxw: 1480px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s4);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 var(--s4);
}

a {
  color: var(--sky-700);
}

a:hover {
  color: var(--sky-800);
}

:focus-visible {
  outline: 3px solid var(--sky-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--maxw), 94%);
  margin-inline: auto;
}

.section {
  padding-block: var(--s8);
}

.section-tint {
  background: var(--sky-tint);
}

.section-head {
  max-width: 920px;
  margin-bottom: var(--s6);
}

.lead {
  font-size: 1.35rem;
  color: var(--muted);
}

/* Eyebrow label with the twin-dots mark */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-700);
  margin-bottom: var(--s3);
}

.twin-dots {
  display: inline-block;
  width: 22px;
  height: 14px;
  position: relative;
}

.twin-dots::before,
.twin-dots::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.twin-dots::before {
  left: 0;
  background: var(--sky-300);
}

.twin-dots::after {
  left: 8px;
  background: var(--sky-600);
  mix-blend-mode: multiply;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sky-700);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--sky-800);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--sky-700);
  border-color: var(--sky-300);
}

.btn-ghost:hover {
  background: var(--sky-tint);
  color: var(--sky-800);
}

.btn-big {
  font-size: 1.1rem;
  padding: 1rem 2.1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

/* Header spans nearly edge to edge: logo far left, menu far right */
.site-header .container {
  width: min(97%, calc(100% - 32px));
  max-width: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--sky-700);
}

/* Header lockup size.
   ✏️ EDIT: logo size — change 52px to resize */
.site-header .brand {
  font-size: 1.5rem;
}

.site-header .brand svg {
  width: 52px;
  height: 52px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:not(.btn):hover {
  color: var(--sky-700);
}

.site-nav a[aria-current="page"] {
  color: var(--sky-700);
  border-bottom-color: var(--sky-300);
}

/* Mobile nav */
@media (max-width: 767px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s4);
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav li:last-child {
    border-bottom: 0;
    padding-top: var(--s4);
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: var(--s3) 0;
  }

  .site-nav .btn {
    display: block;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--s8);
  background:
    radial-gradient(60% 80% at 85% 10%, var(--sky-100) 0%, rgba(224, 240, 254, 0) 70%),
    radial-gradient(50% 70% at 8% 90%, var(--sky-tint) 0%, rgba(240, 247, 255, 0) 70%),
    var(--paper);
}

.hero-inner {
  max-width: 1100px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 5rem);
}

.hero .lead {
  font-size: clamp(1.2rem, 2.7vw, 1.55rem);
  max-width: 860px;
}

/* Keeps a long hero headline on one line on desktop */
.hero .h1-oneline {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: var(--s6) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}

.check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: var(--s5);
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s6);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: var(--s3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sky-tint);
  color: var(--sky-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-link {
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Steps (How it works) ---------- */
.step {
  position: relative;
  padding: var(--s5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky-700);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: var(--s3);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: var(--s6);
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.founders {
  display: flex;
  gap: var(--s4);
}

.founder {
  flex: 1;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
}

.founder-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto var(--s3);
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder h3 {
  margin: 0 0 var(--s1);
  font-size: 1.05rem;
}

.founder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.founder .role {
  color: var(--sky-700);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s3);
}

.founder .bio {
  line-height: 1.55;
}

.founders-page .founder {
  padding: var(--s6);
}

.founders-page .founder-photo {
  width: 190px;
  height: 190px;
  font-size: 2.2rem;
  border: 4px solid var(--sky-100);
}

@media (max-width: 599px) {
  .founders {
    flex-direction: column;
  }
}

.mission {
  background: var(--sky-tint);
  border-left: 4px solid var(--sky-600);
  border-radius: var(--radius-sm);
  padding: var(--s4) var(--s5);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--s5);
}

/* About page story — wide and large, capped for comfortable reading */
.story-body {
  max-width: 1100px;
}

.story-body p {
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: var(--s5);
}

.terms-note {
  display: inline-block;
  background: var(--sky-100);
  color: var(--sky-800);
  font-weight: 700;
  font-size: 0.95rem;
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm);
}

/* ---------- Pricing ---------- */
.price-card {
  display: flex;
  flex-direction: column;
}

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: var(--s2) 0;
}

.price-tag small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--sky-100);
  color: var(--sky-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--s3);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--s4) 0 var(--s5);
  flex: 1;
}

.feature-list li {
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--sky-tint);
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list .check {
  margin-top: 3px;
}

/* Expandable price breakdown inside price cards */
.price-breakdown {
  margin: 0 0 var(--s3);
}

.price-breakdown summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky-700);
  border: 2px solid var(--sky-300);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.price-breakdown summary::-webkit-details-marker {
  display: none;
}

.price-breakdown summary::after {
  content: "+";
  font-weight: 800;
}

.price-breakdown[open] summary::after {
  content: "\2212";
}

.price-breakdown summary:hover {
  background: var(--sky-tint);
}

.price-breakdown p {
  color: var(--muted);
  font-size: 0.95rem;
  padding: var(--s3) var(--s1) 0;
  margin: 0;
}

.price-breakdown strong {
  color: var(--navy);
}

.price-breakdown ul {
  margin: var(--s2) 0 0;
  padding-left: var(--s5);
  color: var(--muted);
  font-size: 0.95rem;
}

.price-breakdown li {
  margin-bottom: var(--s1);
}

.honest-note {
  background: var(--sky-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
  margin-top: var(--s6);
}

.honest-note p:last-child {
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: var(--s4) 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sky-600);
  flex: none;
}

.faq[open] summary::after {
  content: "\2212";
}

.faq p {
  padding-bottom: var(--s4);
  margin: 0;
  color: var(--muted);
}

/* ---------- Portfolio ---------- */
.work-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.work-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-thumb.is-soon {
  background: repeating-linear-gradient(
    -45deg,
    var(--sky-tint),
    var(--sky-tint) 14px,
    #ffffff 14px,
    #ffffff 28px
  );
  color: var(--muted);
  font-size: 1rem;
}

.work-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-body p {
  color: var(--muted);
  flex: 1;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sky-700);
  background: var(--sky-tint);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: var(--s3);
}

/* ---------- Booking ---------- */
.book-grid {
  display: grid;
  gap: var(--s6);
}

@media (min-width: 900px) {
  .book-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.scheduler-frame {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 640px;
}

.scheduler-frame iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
}

.scheduler-fallback {
  padding: var(--s6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  gap: var(--s3);
}

.scheduler-fallback p {
  max-width: 40ch;
  color: var(--muted);
}

/* ---------- Thank-you page check ---------- */
.thanks-check {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--s5);
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--sky-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
}

/* ---------- Contact form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--s6);
}

.form-success {
  text-align: center;
  padding: var(--s5) var(--s2);
}

.form-success h3 {
  margin-bottom: var(--s3);
}

.form-success p {
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}

.contact-form .field {
  margin-bottom: var(--s4);
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s2);
  font-size: 1rem;
}

.contact-form .optional {
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9db4c7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky-600);
  box-shadow: 0 0 0 3px var(--sky-100);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  margin-top: var(--s2);
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: var(--s4) 0 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius);
  padding: var(--s7) var(--s6);
  text-align: center;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  color: var(--sky-100);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: #ffffff;
  color: var(--navy);
  margin-top: var(--s4);
}

.cta-band .btn-primary:hover {
  background: var(--sky-100);
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--sky-tint);
  padding-block: var(--s7) var(--s5);
  margin-top: var(--s8);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: var(--s6);
  margin-bottom: var(--s6);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: var(--s2);
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--s4);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  padding: 0;
  margin: var(--s2) 0 0;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--sky-700);
  text-decoration: underline;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: var(--s6);
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal ul {
  padding-left: var(--s5);
}

.legal .updated {
  color: var(--muted);
  font-style: italic;
  margin-bottom: var(--s6);
}

.legal .draft-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: var(--s4);
  color: #9a3412;
  font-size: 0.95rem;
  margin-bottom: var(--s6);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

html {
  scroll-behavior: smooth;
}
