/* ============================================================
   KWARTLER MANUS, LLC — homepage
   Palette sampled from client logo: #09A8E0 cyan + white
   ============================================================ */

:root {
  --ink: #0a1a26;
  --ink-2: #123245;
  --ink-3: #1b4159;
  --cyan: #09a8e0;
  --cyan-dk: #0682b2;
  --cyan-lt: #5fc8ee;
  --mist: #eef7fc;
  --mist-2: #ddeef7;
  --paper: #ffffff;
  --body: #56676f;
  --line: #dce7ed;
  --gold: #c9a227;

  --f-disp: "Sora", system-ui, sans-serif;
  --f-body: "Karla", system-ui, sans-serif;

  --pad: 45px;
  --nav: 16px;
  --tel: 24px;
  --cta: 20px;

  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 148px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.75 var(--f-body);
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- layout ---------- */

.container {
  width: 95%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--f-disp);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(2.05rem, 3.2vw, 3.15rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.65rem);
  font-weight: 700;
}

h3 {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--f-disp);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow::after {
  content: "";
  flex: 0 0 46px;
  height: 2px;
  background: var(--cyan);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::before {
  content: "";
  flex: 0 0 46px;
  height: 2px;
  background: var(--cyan);
}

.eyebrow--light {
  color: var(--cyan-lt);
}

.eyebrow--light::after,
.eyebrow--light::before {
  background: var(--cyan-lt);
}

.subtitle {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  color: var(--cyan-dk);
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-disp);
  font-size: var(--cta);
  font-weight: 600;
  padding: 17px 38px;
  border-radius: 999px;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  line-height: 1.35;
  transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn--primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(9, 168, 224, 0.75);
}

.btn--primary:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.btn--sm {
  font-size: 15px;
  padding: 13px 28px;
}

/* ---------- utility bar ---------- */

.utility {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding-block: 8px;
}

.utility a:hover {
  color: #fff;
}

.utility__left,
.utility__right {
  display: flex;
  align-items: center;
}

.utility__left {
  gap: 10px;
}

.utility__right {
  gap: 26px;
}

.utility svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: var(--cyan);
}

/* ---------- header ---------- */

.header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__overlay {
  display: none;
}

.header__overlay[hidden] {
  display: none !important;
}

.header__inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 34px;
  min-height: 104px;
  padding-block: 14px;
  position: relative;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 125px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  display: block;
  font-family: var(--f-disp);
  font-size: clamp(13px, 1.12vw, var(--nav));
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.005em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transition: right 0.3s;
}

.header__nav-link:hover,
.header__nav-link--current {
  color: #fff;
}

.header__nav-link:hover::after,
.header__nav-link--current::after {
  right: 0;
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: 6px;
}

.header__phone {
  font-family: var(--f-disp);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.header__phone:hover {
  color: var(--cyan-lt);
}

.header__cta .btn {
  flex-shrink: 0;
  font-size: clamp(12px, 1.05vw, 15px);
  padding: clamp(10px, 0.9vw, 13px) clamp(16px, 1.6vw, 28px);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    100deg,
    rgba(10, 26, 38, 0.96) 0%,
    rgba(10, 26, 38, 0.9) 40%,
    rgba(10, 26, 38, 0.5) 66%,
    rgba(10, 26, 38, 0.28) 100%
  );
}

.hero__wedge {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 56%;
  z-index: -1;
  background: linear-gradient(
    215deg,
    rgba(9, 168, 224, 0.34) 0%,
    rgba(9, 168, 224, 0.06) 52%,
    transparent 78%
  );
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 52%);
  max-width: 640px;
  padding: clamp(16px, 3vw, 40px) clamp(8px, 2vw, 24px) 0 0;
}

.hero__title {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  color: var(--cyan-lt);
  margin-top: 16px;
  font-weight: 500;
}

.hero__rule {
  width: 64px;
  height: 3px;
  background: var(--cyan);
  margin: 24px 0 22px;
}

.hero__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-disp);
  font-size: var(--tel);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero__tel svg {
  width: 22px;
  height: 22px;
  fill: var(--cyan);
}

.hero__tel:hover {
  color: var(--cyan-lt);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
  margin-top: 24px;
}

.hero__note {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 20px;
  letter-spacing: 0.01em;
}

.hero__note b {
  color: #fff;
  font-weight: 600;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.hero__image {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* ---------- accolades ---------- */

.accolades {
  background: var(--mist);
  border-bottom: 1px solid var(--mist-2);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.6vw, 80px);
  padding-block: 34px;
  flex-wrap: wrap;
}

.accolades__label {
  font-family: var(--f-disp);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 150px;
  line-height: 1.55;
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
}

.accolades__list {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.8vw, 64px);
  flex-wrap: wrap;
  justify-content: center;
}

.accolades__item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: opacity 0.25s, transform 0.25s;
}

.accolades__item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.accolades__item img {
  display: block;
  height: var(--accolades-h, 64px);
  width: auto;
  max-width: none;
}

.accolades__item--forum {
  --accolades-h: 86px;
}

.accolades__item--ntl {
  --accolades-h: 66px;
}

.accolades__item--super {
  --accolades-h: 40px;
}

.accolades__item--aaj {
  --accolades-h: 54px;
}

/* ---------- section frame ---------- */

.section {
  padding-block: clamp(72px, 7vw, 112px);
}

.section__head {
  max-width: 760px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head p {
  margin-top: 20px;
  font-size: 17.5px;
}

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

/* ---------- about / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: center;
}

.split__figure {
  position: relative;
}

.split__figure img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 34px 70px -34px rgba(10, 26, 38, 0.5);
}

.split__figure::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 126px;
  height: 126px;
  z-index: -1;
  background-image: radial-gradient(var(--cyan) 1.6px, transparent 1.6px);
  background-size: 11px 11px;
  opacity: 0.5;
}

.split__badge {
  position: absolute;
  right: -22px;
  top: 34px;
  background: var(--ink);
  color: #fff;
  padding: 22px 26px;
  border-radius: 3px;
  border-left: 4px solid var(--cyan);
  box-shadow: 0 22px 46px -20px rgba(10, 26, 38, 0.6);
}

.split__badge b {
  display: block;
  font-family: var(--f-disp);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan-lt);
}

.split__badge span {
  font-family: var(--f-disp);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.split__body {
  max-width: 720px;
}

.split__body h2 {
  margin-bottom: 14px;
}

.split__body .subtitle {
  margin-bottom: 26px;
}

.pullquote {
  margin: 32px 0 30px;
  padding: 24px 28px;
  background: var(--mist);
  border-left: 4px solid var(--cyan);
  font-family: var(--f-body);
  font-size: 17px;
  color: var(--ink);
  border-radius: 0 3px 3px 0;
}

.pullquote a {
  color: var(--cyan-dk);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.pullquote a:hover {
  color: var(--ink);
}

/* ---------- practice areas ---------- */

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 52px;
}

.practice-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s, box-shadow 0.32s, border-color 0.32s;
}

.practice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 56px -26px rgba(10, 26, 38, 0.42);
  border-color: transparent;
}

.practice-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.practice-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.practice-card:hover .practice-card__image img {
  transform: scale(1.07);
}

.practice-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 38, 0.72), transparent 62%);
}

.practice-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.practice-card__body h3 {
  color: var(--ink);
  min-height: 2.56em;
}

.practice-card__body p {
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0;
}

.practice-card__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-dk);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__more svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.3s;
}

.practice-card:hover .practice-card__more svg {
  transform: translateX(5px);
}

.practice__all {
  margin-top: 46px;
  text-align: center;
}

/* ---------- case results ---------- */

.results {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  overflow: hidden;
  isolation: isolate;
}

.results__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 26, 38, 0.93), rgba(10, 26, 38, 0.97));
}

.results h2,
.results h3 {
  color: #fff;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.14);
}

.result {
  background: var(--ink);
  padding: 38px 30px 34px;
  transition: background 0.3s;
}

.result:hover {
  background: var(--ink-2);
}

.result__amount {
  font-family: var(--f-disp);
  font-size: clamp(1.85rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--cyan-lt);
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.result__desc {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  min-height: 3.2em;
}

.result__link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-disp);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 5px;
  transition: color 0.25s, border-color 0.25s;
}

.result__link:hover {
  color: var(--cyan-lt);
  border-color: var(--cyan-lt);
}

.results__note {
  margin-top: 42px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.46);
  max-width: 820px;
}

/* ---------- values ---------- */

.values {
  position: relative;
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  isolation: isolate;
}

.values__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.values__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    rgba(10, 26, 38, 0.97) 0%,
    rgba(10, 26, 38, 0.9) 55%,
    rgba(18, 50, 69, 0.82) 100%
  );
}

.values h2 {
  color: #fff;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin-top: 56px;
}

.value {
  padding-top: 26px;
  border-top: 2px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.3s;
}

.value:hover {
  border-color: var(--cyan);
}

.value__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
}

.value__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.value p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ---------- testimonial ---------- */

.testimonial {
  background: var(--mist);
  text-align: center;
}

.testimonial__inner {
  max-width: 920px;
  margin-inline: auto;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 30px;
}

.testimonial__stars svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.testimonial__quote {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(1.18rem, 1.68vw, 1.62rem);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.014em;
  position: relative;
  margin: 0;
}

.testimonial__lead {
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
}

.testimonial__body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.8;
  color: var(--body);
  display: block;
  margin-top: 0;
}

.testimonial cite {
  display: block;
  margin-top: 34px;
  font-family: var(--f-disp);
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-dk);
}

.testimonial cite span {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--body);
  text-transform: none;
  font-size: 0.85rem;
}

/* ---------- contact ---------- */

.contact {
  background: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 5vw, 80px);
}

.contact__figure {
  margin: 30px 0 0;
}

.contact__figure img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 62px -30px rgba(10, 26, 38, 0.45);
}

.contact__info {
  margin-top: 30px;
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 5px;
  fill: var(--cyan);
}

.contact-item b {
  display: block;
  font-family: var(--f-disp);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 5px;
}

.contact-item span {
  font-size: 16px;
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--cyan-dk);
}

/* ---------- form ---------- */

.form {
  background: var(--mist);
  border-top: 4px solid var(--cyan);
  padding: clamp(30px, 3.4vw, 46px);
  border-radius: 3px;
}

.form h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.form > p {
  font-size: 15.5px;
  margin-bottom: 26px;
}

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__field label {
  font-family: var(--f-disp);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.form__field input,
.form__field select {
  height: 40px;
  padding: 0 14px;
}

.form__field textarea {
  height: 120px;
  padding: 11px 14px;
  resize: vertical;
  min-width: 0;
  width: 100%;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #9baab2;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(9, 168, 224, 0.16);
  outline: none;
}

.form__field select {
  appearance: none;
  background-image: url("../assets/images/icon-select.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
}

.form .btn {
  width: 100%;
  margin-top: 26px;
}

.form small {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #7c8c94;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 15.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 4vw, 70px);
  padding-block: clamp(56px, 5.5vw, 82px);
}

.footer__brand img {
  width: 272px;
  height: auto;
  max-width: none;
  margin-bottom: 26px;
}

.footer__brand p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
}

.footer h4 {
  font-family: var(--f-disp);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.footer ul a:hover {
  color: var(--cyan-lt);
}

.footer__tel {
  font-family: var(--f-disp);
  font-size: 1.42rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 8px;
}

.footer__tel:hover {
  color: var(--cyan-lt);
}

.footer address {
  font-style: normal;
  line-height: 1.8;
  margin-top: 22px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.44);
}

.footer__bottom a:hover {
  color: #fff;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1400px) {
  .header__inner {
    gap: 22px;
  }

  .header__nav,
  .header__nav-list {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .header__nav,
  .header__nav-list {
    gap: 16px;
  }

  .hero__visual {
    width: 48%;
  }
}

@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 26, 38, 0.58);
  }

  .header__overlay[hidden] {
    display: none;
  }

  .header__inner {
    position: relative;
    z-index: 2;
  }

  .header__toggle {
    display: flex;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 2;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-link {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 16px;
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
  }

  .header__nav-extras .header__phone {
    font-size: 18px;
  }

  .header__nav-extras .btn {
    width: 100%;
    white-space: normal;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --pad: 32px;
  }

  .practice__grid,
  .results__grid,
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-card__body h3 {
    min-height: 0;
  }

  .values__grid {
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 16px;
    padding: 14px 28px;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .utility__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero__content {
    width: min(100%, 58%);
  }

  .hero__visual {
    width: 46%;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .split__badge {
    right: 16px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .accolades__label {
    max-width: none;
    text-align: center;
    border-left: 0;
    border-top: 3px solid var(--cyan);
    padding: 14px 0 0;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 32px) 0;
  }

  .hero__inner {
    align-items: flex-start;
    height: auto;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: clamp(8px, 2vw, 20px) 0 0;
  }

  .hero__veil {
    background: linear-gradient(
      180deg,
      rgba(10, 26, 38, 0.95),
      rgba(10, 26, 38, 0.86) 55%,
      rgba(10, 26, 38, 0.94)
    );
  }

  .hero__wedge {
    width: 100%;
    clip-path: none;
    background: linear-gradient(200deg, transparent 40%, rgba(9, 168, 224, 0.24));
  }

  .hero__visual {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 16px;
    justify-content: center;
  }

  .hero__image {
    height: auto;
    width: 100%;
    max-width: 560px;
    max-height: 70vh;
    object-fit: contain;
    object-position: bottom center;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 20px;
    --tel: 22px;
    --cta: 17px;
  }

  .container {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .practice__grid,
  .results__grid,
  .values__grid,
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .results__grid {
    gap: 1px;
  }

  .result {
    padding: 30px 24px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }

  .split__badge {
    right: 10px;
    top: 16px;
    padding: 16px 18px;
  }

  .accolades__item img {
    height: calc(var(--accolades-h, 64px) * 0.78);
  }
}

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

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