/* 5Squares — old-brand rebuild. Palette and type taken from the live 5squares.com. */
:root {
  --teal: #239CA6;        /* brand teal: accents, large headings */
  --teal-ink: #1A7F88;    /* same teal, deepened so white text passes WCAG AA */
  --teal-deep: #17686F;   /* icon/link teal used on the live site */
  --ink: #0A2224;         /* footer / contact band */
  --ink-2: #0C3437;
  --text: #334748;        /* live body text colour */
  --muted: #5B6E6F;
  --line: #DCE3E3;
  --wash: #F3F6F6;
  --white: #fff;
  --display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --title: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); line-height: 1.2; font-weight: 400; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: var(--section) 0; }
.section--wash { background: var(--wash); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Type roles */
.t-display { font: 300 clamp(34px, 5.5vw, 58px)/1.1 var(--display); letter-spacing: -.01em; }
.t-title { font: 300 clamp(28px, 3.6vw, 40px)/1.2 var(--title); color: var(--ink); }
.t-sub { font: 600 clamp(19px, 2vw, 22px)/1.3 var(--display); color: var(--ink-2); }
.t-eyebrow { font: 400 13px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 30px;
  border: 2px solid var(--teal-ink); border-radius: var(--radius);
  background: var(--teal-ink); color: var(--white);
  font: 500 16px/1 var(--display); letter-spacing: .02em; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--teal-ink); }
.btn--ghost:hover { background: var(--teal-ink); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 20px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
@media (max-width: 1000px) { .site-header.open { max-height: 100vh; overflow-y: auto; } }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { flex: none; }
.logo img { width: 190px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary {
  display: block; padding: 10px 12px; border-radius: 6px;
  font: 400 15px/1.2 var(--display); color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: var(--teal-deep); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav details { position: relative; }
.nav summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.nav details ul {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 220px;
  list-style: none; margin: 0; padding: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(10,34,36,.12);
}
.nav details ul a { padding: 10px 12px; }
.nav details ul a:hover { background: var(--wash); }
.header-cta { display: flex; gap: 10px; flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1000px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 68px; }
  .logo img { width: 160px; }
  .menu-toggle { display: block; }
  .nav, .header-cta { display: none; width: 100%; }
  .site-header.open .nav, .site-header.open .header-cta { display: block; }
  .nav { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav summary { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--wash); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav details ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .site-header.open .header-cta { display: flex; padding: 16px 0 20px; }
  .header-cta .btn { flex: 1; }
}

/* Page hero bands */
.hero { position: relative; display: grid; place-items: center; text-align: center; color: var(--white); background: var(--ink-2) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,34,36,.35), rgba(10,34,36,.6)); z-index: -1; }
.hero h1 { color: var(--white); margin: 0; }
.hero--page { min-height: clamp(200px, 26vw, 300px); padding: 48px var(--gutter); }
.hero--home { min-height: clamp(420px, 62vh, 620px); padding: 72px var(--gutter); }
.hero--home::before { background: radial-gradient(ellipse at center, rgba(10,34,36,.72) 0%, rgba(10,34,36,.5) 55%, rgba(10,34,36,.35) 100%); }
.hero--home h1 { margin-bottom: 28px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.page-band { background: var(--wash); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0; text-align: center; }
.page-band h1, .page-band h2.t-display { margin: 0; }

/* Intro */
.intro h2 { margin-bottom: 20px; }
.intro p { max-width: 760px; margin: 0 auto; }

/* Steps */
.steps-band { position: relative; background: var(--wash) center/cover no-repeat; padding: var(--section) 0; }
.steps-card { background: rgba(255,255,255,.96); border-radius: 18px; padding: clamp(32px, 5vw, 56px); box-shadow: 0 20px 50px rgba(10,34,36,.12); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin: 0 0 40px; padding: 0; list-style: none; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { text-align: center; }
.step-num { display: block; font: 300 22px/1 var(--display); color: var(--teal-deep); margin-bottom: 14px; }
.step-icon { display: block; width: 76px; height: 64px; margin: 0 auto 18px; }
.step-icon img { width: 100%; height: 100%; object-fit: contain; }
.step h3, .step h4 { font: 600 20px/1.3 var(--display); color: var(--ink-2); margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--text); margin: 0 auto; max-width: 300px; }
@media (max-width: 860px) { .steps, .steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--4 { grid-template-columns: 1fr; } }

/* Testimonial feature */
.quote-band { background: var(--ink-2) center/cover no-repeat; padding: var(--section) 0; position: relative; isolation: isolate; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(10,34,36,.55); z-index: -1; }
.quote-card { background: var(--white); border-radius: 18px; padding: clamp(28px, 5vw, 56px); max-width: 820px; margin: 0 auto; }
.quote-mark { font: 600 64px/0.6 Georgia, serif; color: var(--teal); display: block; height: 32px; }
.quote-card .q-lead { font-size: 18px; }
.quote-card .q-pull { font: 600 clamp(19px, 2.2vw, 22px)/1.4 var(--display); color: var(--teal-deep); margin: 24px 0; padding-left: 18px; border-left: 3px solid var(--teal); }
.quote-card .q-body { white-space: pre-line; }
.quote-card .q-cite { font: 300 22px/1.2 var(--title); color: var(--ink); margin: 24px 0 0; }

/* Press */
.press { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.press .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px clamp(24px, 4vw, 48px); }
.press p { margin: 0; font: 400 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press ul { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px clamp(24px, 4vw, 48px); list-style: none; margin: 0; padding: 0; }
.press img { height: 24px; width: auto; filter: grayscale(1); opacity: .8; }
.press img.tall { height: 46px; }
.press img.fortune { height: 64px; }
@media (max-width: 560px) { .press ul { gap: 18px 28px; } .press img { height: 20px; } .press img.tall { height: 40px; } .press img.fortune { height: 56px; } }

/* Contact */
.contact { background: var(--ink); color: #D7E2E2; padding: var(--section) 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact h2 { font: 600 clamp(26px, 3vw, 32px)/1.2 var(--display); color: var(--white); }
.contact p { color: #D7E2E2; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font: 500 14px/1.3 var(--display); color: var(--white); margin-bottom: 6px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
  background: rgba(255,255,255,.08); color: var(--white); font: 400 16px/1.4 var(--body);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.62); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form .actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
@media (max-width: 820px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } .form .actions .btn { width: 100%; } }

/* Split media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split img { width: 100%; border-radius: 16px; object-fit: cover; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.feature-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list > div:first-child { border-top: 0; padding-top: 0; }
.feature-list strong { display: block; font: 600 18px/1.4 var(--display); color: var(--ink-2); margin-bottom: 4px; }
.feature-list p { margin: 0; }

/* Menu plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 40px); }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-margin-top: 96px; }
.plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 28px clamp(22px, 3vw, 32px) 32px; }
.plan h3 { font: 600 clamp(24px, 2.6vw, 28px)/1.2 var(--display); color: var(--teal-deep); margin-bottom: 18px; }
.plan dl { margin: 0 0 28px; flex: 1; }
.plan dt { font: 600 12px/1.4 var(--display); letter-spacing: .14em; color: var(--teal-deep); margin-top: 16px; }
.plan dt:first-child { margin-top: 0; }
.plan dd { margin: 2px 0 0; }
.plan .btn { align-self: flex-start; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq > img { border-radius: 16px; position: sticky; top: 100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 500 18px/1.4 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 26px/1 var(--display); color: var(--teal-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 32px 22px 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq > img { position: static; } }

/* Testimonials grid */
.reviews { columns: 2; column-gap: clamp(20px, 3vw, 32px); }
.review { break-inside: avoid; margin: 0 0 clamp(20px, 3vw, 32px); padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.review blockquote { margin: 0 0 16px; font-size: 17px; }
.review figcaption { font: 600 15px/1.3 var(--display); color: var(--teal-deep); }
@media (max-width: 760px) { .reviews { columns: 1; } }

/* Simple pages */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 5vw, 48px); }
.price { font: 300 clamp(26px, 3vw, 34px)/1.2 var(--display); color: var(--ink); margin-bottom: 24px; }
.banner-img { border-radius: 16px; width: 100%; margin-top: 40px; }
.menu-list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.menu-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.event-head h2.t-eyebrow { margin-bottom: 14px; }
.event-head h1 { font: 300 clamp(28px, 4vw, 42px)/1.2 var(--display); color: var(--ink); }

/* Legal */
.legal { font-size: 16px; }
.legal h2 { font: 600 20px/1.35 var(--display); color: var(--ink); margin: 40px 0 10px; }
.legal h3 { font: 600 17px/1.4 var(--display); color: var(--ink-2); margin: 24px 0 8px; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal .meta { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D6D6; padding: clamp(48px, 7vw, 72px) 0 28px; font-size: 15px; }
.contact + .site-footer { border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-title { font: 300 22px/1.2 var(--title); color: var(--white); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #C9D6D6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--teal-ink); }
.social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }
.footer-base p { margin: 0; }
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr; } }

/* Home testimonial slider */
.slider { max-width: 820px; margin: 0 auto; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slide blockquote { margin: 0; }
.slide blockquote p:last-child { margin-bottom: 0; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; color: var(--white); font: 400 28px/1 var(--display); cursor: pointer; }
.slider-btn:hover { background: var(--white); color: var(--ink); }
.dots { display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1px solid var(--white); background: transparent; cursor: pointer; }
.dot[aria-current="true"] { background: var(--white); }

/* Contact form status + honeypot */
.form .actions { align-items: center; gap: 16px; }
.form-status { margin: 0 auto 0 0; color: var(--white); font-size: 15px; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; }

/* Home hero: service H1 with the slogan as tagline */
.hero--home > div { max-width: 900px; }
.hero--home h1.t-display { font-size: clamp(30px, 4.6vw, 52px); font-weight: 400; line-height: 1.15; }
.hero-tag { margin: 0 0 14px; font: 300 clamp(18px, 2.2vw, 24px)/1.3 var(--display); letter-spacing: .02em; color: rgba(255,255,255,.92); }
