/* Choonz design language, adapted to wotshop. Local visual experiment only. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --teal-deep: #184c66;
  --teal-dark: #016177;
  --teal: #008b93;
  --cyan: #00ffe2;
  --cyan-soft: #72ffe9;
  --white: #ffffff;
  --offwhite: #f7faf9;
  --purple: #cf48f7;
  --text: #01576b;
  --font: "Montserrat", Arial, sans-serif;
  --container-max: 1320px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section-space: clamp(3.75rem, 7vw, 6.5rem);
  --focus: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--font); font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .3em; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 2.7vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.3rem; font-weight: 800; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
main:focus { outline: none; }
.container { width: min(var(--container-max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.dark-surface, .site-header { --focus: var(--cyan); color: var(--white); background: var(--teal-deep); }
.section-space { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 1rem; font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dark-surface .eyebrow { color: var(--cyan); }
.brand-name { text-transform: lowercase; }
.skip-link { position: fixed; z-index: 50; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--cyan); color: var(--teal-deep); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* Shared masthead: original rainbow logo, reference navigation and controls. */
.site-header { position: relative; z-index: 10; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 8.25rem; padding-block: 1rem; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 217.8px; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); }
.site-nav > a:not(.button) { position: relative; padding-block: .65rem; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: .2rem; left: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after, .site-nav > a[aria-current]::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 3.25rem; max-width: 100%; padding: .9375rem 1.75rem; border: 1px solid var(--cyan); border-radius: 0; color: var(--teal-deep); background: var(--cyan); text-decoration: none; font-size: 1rem; font-weight: 700; line-height: 1.4; transition: background-color .2s ease, border-color .2s ease; }
.button > span { flex-shrink: 0; font-size: 1.3em; line-height: 1; }
.button:hover { border-color: var(--cyan-soft); background: var(--cyan-soft); }
.button-outline { color: var(--cyan); background: transparent; }
.button-outline:hover, .button-outline[aria-current] { color: var(--teal-deep); background: var(--cyan); border-color: var(--cyan); }
.nav-login { min-height: 3rem; padding: .7rem 1.25rem; font-size: .9375rem; }
.menu-toggle { display: none; align-items: center; gap: .75rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--cyan); color: var(--cyan); background: transparent; font-size: .875rem; font-weight: 700; }
.menu-symbol { position: relative; display: block; width: 1rem; height: .65rem; border-block: 2px solid currentColor; }
.menu-toggle[aria-expanded="true"] .menu-symbol { height: 2px; border-bottom: 0; }

/* Layered photo and fine-line waves, with opaque text backing for contrast. */
.hero { position: relative; isolation: isolate; }
.hero-inner { display: flex; align-items: center; min-height: 35rem; padding-block: 3.5rem 5rem; }
.hero-copy { position: relative; z-index: 2; max-width: 42rem; }
.hero-copy .eyebrow, .login-copy .eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: lowercase; }
.hero h1 { max-width: 15ch; margin-bottom: 1.5rem; font-size: clamp(1.7496rem, 3.38985vw, 3.189375rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--cyan); }
.hero-intro { max-width: 31rem; margin-bottom: 2rem; font-weight: 500; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 35%; overflow: hidden; background: var(--teal-deep); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; mix-blend-mode: luminosity; opacity: .78; filter: saturate(.45) contrast(1.08); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #184c66 0%, rgba(24,76,102,.96) 16%, rgba(24,76,102,.55) 42%, rgba(24,76,102,.1) 78%), linear-gradient(180deg, #184c66 0%, transparent 30%), radial-gradient(ellipse at 100% 100%, rgba(207,72,247,.65), transparent 60%); }
.wave-layer { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.wave-layer::before { content: ""; position: absolute; inset: 0; background: url("../images/swirls.svg") 52% 65% / 240rem auto no-repeat; opacity: .28; }

/* Open columns, generous white space, circular reference feature icons. */
.services { position: relative; }
.section-heading { text-align: center; }
.section-heading .eyebrow { color: var(--text); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 6.25rem); margin-top: 3.75rem; }
.service-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature-icon { display: grid; place-items: center; width: 6.875rem; height: 6.875rem; margin-bottom: 1.75rem; border-radius: 50%; background: linear-gradient(135deg, #04ead0 0%, #016177 80%); }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.feature-icon-phone img { width: 45%; height: 45%; }
.feature-icon-listen img { width: 70%; height: 70%; }
.service-number { margin-bottom: .875rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.service-item h3 { display: flex; align-items: center; justify-content: center; min-height: 2.9rem; margin-bottom: 1rem; }
.service-item p { max-width: 29ch; font-weight: 500; }

.contact-section { position: relative; isolation: isolate; background: linear-gradient(115deg, #016177 10%, #184c66 100%); }
.contact-section .wave-layer::before { background-position: 60% 10%; opacity: .18; }
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 5rem; }
.contact-inner h2 { margin-bottom: 1.25rem; }
.contact-inner h2 span { color: var(--cyan); }
.contact-inner p { max-width: 34rem; }
.client-access { position: relative; border-left: 2px solid var(--cyan); padding-left: 2rem; }
.client-access::before { content: ""; position: absolute; top: 10%; bottom: 10%; left: -.625rem; border-left: 2px solid var(--cyan); }
.client-access h3 { margin-bottom: .75rem; }
.client-access .button { margin-top: 1.5rem; }
.site-footer { padding-block: 1.5rem; font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: 2rem; row-gap: 1rem; }
.mockup-label { color: #cddde5; font-size: .75rem; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer a + a::before { content: "|"; margin-inline: 1rem; color: #cddde5; }
.site-footer a:hover { text-decoration: underline; }

/* Interior-page language + the reference's white, square form controls. */
.login-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--teal-deep); }
.login-main { position: relative; isolation: isolate; display: grid; align-items: center; flex: 1; padding-block: 3rem 5rem; background: radial-gradient(ellipse at 0 100%, rgba(0,139,147,.65), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(207,72,247,.18), transparent 45%), var(--teal-deep); }
.login-main .wave-layer::before { background-position: 50% 100%; opacity: .2; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.back-link { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; margin-bottom: 2.5rem; text-decoration: none; font-size: .875rem; font-weight: 600; }
.back-link:hover { color: var(--cyan); text-decoration: underline; }
.login-copy h1 { font-size: clamp(3rem, 5vw, 4.375rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.05; }
.login-copy h1 span { display: block; color: var(--cyan); }
.login-intro { max-width: 25rem; margin-top: 1.5rem; font-size: 1.125rem; font-weight: 500; }
.login-panel { --focus: var(--text); width: 100%; max-width: 32rem; justify-self: end; padding: clamp(1.5rem, 3vw, 3rem); color: var(--text); background: var(--white); }
.login-panel .eyebrow { color: var(--text); font-size: .75rem; }
.login-panel h2 { font-size: clamp(1.5rem, 2vw, 1.8rem); }
.prototype-notice { margin-block: 1.5rem 1.75rem; border-left: 3px solid var(--teal); padding: .75rem 1rem; background: var(--offwhite); font-size: .875rem; line-height: 1.5; }
.prototype-notice strong { font-weight: 700; }
.form-field + .form-field { margin-top: 1.5rem; }
.form-field label { display: block; margin-bottom: .55rem; font-size: .9375rem; font-weight: 600; line-height: 1.2; }
.form-field input { width: 100%; min-width: 0; min-height: 3.5rem; padding: .85rem 1rem; border: 1px solid var(--text); border-radius: 0; box-shadow: none; color: var(--text); background: var(--white); }
.form-field input::placeholder { color: #536b75; opacity: 1; }
.form-field input:focus { outline: 2px solid var(--text); outline-offset: 2px; }
.sign-in { width: 100%; justify-content: space-between; margin-top: 1.75rem; }
.sign-in:disabled { cursor: not-allowed; opacity: .65; }
.form-status:empty { display: none; }
.form-status, .no-script { margin-top: 1.25rem; padding: .75rem 1rem; border-left: 3px solid var(--teal); background: #e9fffb; font-size: .875rem; font-weight: 600; }
.login-help { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid #d4e1e5; font-size: .875rem; }
.login-help a { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; font-weight: 700; }

@media (max-width: 1023px) {
  .hero-inner { min-height: 32rem; }
  .hero-copy { max-width: 36rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .login-layout { grid-template-columns: 1fr; max-width: 42rem; gap: 2.5rem; }
  .login-panel { max-width: none; justify-self: stretch; }
  .login-copy h1 span { display: inline; }
  .login-intro { max-width: 32rem; }
  .back-link { margin-bottom: 1.5rem; }
}

@media (max-width: 767px) {
  :root { --gutter: 1rem; }
  .header-inner { min-height: 6.75rem; flex-wrap: wrap; gap: .75rem 1rem; }
  .brand img { width: 169.4px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .site-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.25rem; padding-block: .75rem 1rem; }
  .site-nav > a:not(.button) { font-size: .875rem; }
  .site-nav.menu-enhanced { display: none; }
  .site-nav.menu-enhanced.is-open { display: grid; grid-template-columns: 1fr; justify-items: start; padding-top: 1rem; border-top: 1px solid #407387; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: 0; min-height: 0; padding-block: 2rem 3rem; }
  .hero h1 { max-width: 17ch; font-size: clamp(1.64025rem, 5.6862vw, 2.4786rem); }
  .hero-intro { max-width: 30rem; }
  .hero-art { position: relative; z-index: 0; inset: auto; order: 1; width: 100%; height: clamp(11rem, 42vw, 20rem); }
  .hero-art img { object-position: 50% 50%; }
  .hero-art::after { background: linear-gradient(180deg, #184c66 0%, rgba(24,76,102,.15) 45%), radial-gradient(ellipse at 100% 100%, rgba(207,72,247,.5), transparent 65%); }
  .hero .wave-layer::before { background-size: 170rem auto; background-position: 45% 30%; opacity: .18; }
  .service-grid { grid-template-columns: 1fr; gap: 3rem; margin-top: 2.75rem; }
  .service-item p { max-width: 35ch; }
  .service-item h3 { min-height: 0; }
  .feature-icon { margin-bottom: 1.25rem; }
  .desktop-break { display: none; }
  .client-access { padding-left: 1.25rem; margin-left: .625rem; }
  .footer-inner { flex-direction: column; align-items: start; gap: .5rem; }
  .login-main { padding-block: 1rem 3rem; }
  .login-copy h1 { font-size: clamp(2.5rem, 9vw, 3.75rem); }
  .login-intro { font-size: 1rem; }
  .login-panel { padding: 1.5rem; }
}

@media (min-width: 375px) and (max-width: 767px) {
  :root { --gutter: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
