:root {
  --chrome-paper-dark: oklch(13.8% 0.014 275);
  --chrome-paper-dark-2: oklch(17.2% 0.015 275);
  --chrome-paper-light: oklch(98.5% 0.006 275);
  --chrome-ink-dark: oklch(94.5% 0.006 275);
  --chrome-ink-light: oklch(18% 0.01 275);
  --chrome-rule-dark: oklch(92% 0.006 275 / 0.08);
  --chrome-rule-light: oklch(18% 0.01 275 / 0.08);
  --chrome-font-serif: 'Libre Baskerville', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --chrome-font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --chrome-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --chrome-focus: oklch(76% 0.15 268);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  min-width: 0;
  padding: 1rem 5rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 300ms var(--chrome-ease-out), border-color 300ms var(--chrome-ease-out), backdrop-filter 300ms var(--chrome-ease-out);
}

.nav.nav-glass {
  background: oklch(13.8% 0.014 275 / 0.25);
  border-bottom-color: var(--chrome-rule-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  color: var(--chrome-ink-dark);
  font-family: var(--chrome-font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: color 300ms var(--chrome-ease-out);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.6rem;
  color: oklch(98.5% 0.006 275 / 0.94);
  font-family: var(--chrome-font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 200ms var(--chrome-ease-out), color 200ms var(--chrome-ease-out), opacity 200ms var(--chrome-ease-out);
}

.nav-links a:hover {
  color: var(--chrome-ink-dark);
}

.nav .nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.28rem;
  padding: 0.52rem 1rem;
  color: var(--chrome-ink-light);
  background: oklch(98.5% 0.006 275 / 0.96);
  border: 1px solid oklch(98.5% 0.006 275 / 0.86);
  border-radius: 6px;
  box-shadow: 0 5px 14px oklch(4% 0.012 275 / 0.12);
  font-family: var(--chrome-font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 200ms var(--chrome-ease-out), color 200ms var(--chrome-ease-out), opacity 200ms var(--chrome-ease-out), transform 120ms var(--chrome-ease-out), box-shadow 200ms var(--chrome-ease-out);
}

.nav .nav-cta:hover {
  opacity: 1;
  box-shadow: 0 8px 20px oklch(4% 0.012 275 / 0.16);
  transform: translateY(-1px);
}

.nav .nav-cta:active {
  transform: translateY(0);
}

.nav.nav-light {
  background: oklch(98.5% 0.006 275 / 0.96);
  border-bottom-color: var(--chrome-rule-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav.nav-light .nav-logo {
  color: var(--chrome-ink-light);
}

.nav.nav-light .nav-links a {
  color: oklch(18% 0.01 275 / 0.62);
}

.nav.nav-light .nav-links a:hover {
  color: var(--chrome-ink-light);
}

.nav.nav-light .nav-cta {
  color: var(--chrome-paper-light);
  background: var(--chrome-ink-light);
  border-color: var(--chrome-ink-light);
}

.nav.nav-light .nav-cta:hover {
  opacity: 0.85;
}

.nav.nav-dark-scrolled {
  background: oklch(13.8% 0.014 275 / 0.95);
  border-bottom-color: var(--chrome-rule-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.54rem;
  padding: 0.68rem 1.18rem;
  color: var(--chrome-paper-dark);
  background: oklch(98.5% 0.006 275 / 0.98);
  border: 1px solid oklch(98.5% 0.006 275 / 0.82);
  border-radius: 6px;
  box-shadow: 0 0 0 oklch(4% 0.01 275 / 0);
  font-family: var(--chrome-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 200ms var(--chrome-ease-out), opacity 200ms var(--chrome-ease-out), background-color 200ms var(--chrome-ease-out), color 200ms var(--chrome-ease-out), box-shadow 200ms var(--chrome-ease-out);
}

.cta-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-cta:hover {
  opacity: 1;
  box-shadow: 0 8px 20px oklch(4% 0.01 275 / 0.14);
  transform: translateY(-1px);
}

.btn-cta:active {
  transform: translateY(0);
}

.nav-logo:focus-visible,
.nav-links a:focus-visible,
.nav .nav-cta:focus-visible,
.btn-cta:focus-visible {
  outline: 2px solid var(--chrome-focus);
  outline-offset: 3px;
}

.brand-footer {
  --footer-line: oklch(92% 0.006 275 / 0.16);
  --footer-cream: oklch(100% 0 0);
  position: relative;
  min-height: auto;
  padding: clamp(4.25rem, 6vw, 5.875rem) 0 1.75rem;
  overflow: hidden;
  color: var(--chrome-ink-dark);
  background:
    radial-gradient(circle at 72% 14%, oklch(24% 0.018 65 / 0.35), transparent 32%),
    linear-gradient(180deg, var(--chrome-paper-dark-2), var(--chrome-paper-dark));
}

.brand-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, oklch(100% 0 0 / 0.026) 1px, transparent 1px),
    linear-gradient(180deg, oklch(100% 0 0 / 0.018) 1px, transparent 1px);
  background-size: 104px 104px;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 18%, black 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 18%, black 78%, transparent);
}

.brand-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - clamp(72px, 8vw, 180px)));
  margin: 0 auto;
}

.brand-footer-hero {
  display: grid;
  grid-template-columns: minmax(660px, 1fr) minmax(440px, 0.42fr);
  align-items: center;
  gap: clamp(3.5rem, 6.5vw, 8rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.875rem);
}

.brand-footer-field {
  position: relative;
  min-height: 150px;
  overflow: visible;
}

.brand-footer-word {
  display: block;
  color: oklch(84% 0.006 82 / 0.22);
  font-family: var(--chrome-font-serif);
  font-size: clamp(5.25rem, 10.5vw, 9.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  white-space: nowrap;
}

.brand-footer-cta {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: start;
  justify-self: end;
  justify-items: start;
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
  width: min(100%, 35rem);
  padding-top: clamp(0.55rem, 1.2vw, 1rem);
  color: var(--chrome-ink-dark);
}

.brand-footer-cta h2 {
  max-width: 35rem;
  margin: 0;
  color: var(--chrome-ink-dark);
  font-size: clamp(1.27rem, 1.79vw, 1.86rem);
  font-weight: 400;
  line-height: 1.1025;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.btn-cta--footer {
  justify-self: start;
  width: auto;
  min-width: 0;
  min-height: 2.54rem;
  padding-inline: 1.18rem;
  color: var(--chrome-ink-light);
  background: var(--footer-cream);
  border-color: oklch(100% 0 0 / 0.76);
  box-shadow: 0 10px 26px oklch(0% 0 0 / 0.2);
}

.btn-cta--footer:hover {
  box-shadow: 0 14px 32px oklch(0% 0 0 / 0.24);
}

.brand-footer-rule {
  height: 1px;
  background: var(--footer-line);
}

.brand-footer-lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 5.75rem);
  padding: 2rem 0 2.35rem;
}

.brand-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 170px));
  gap: clamp(3rem, 7vw, 6rem);
  max-width: 520px;
}

.brand-footer-link-group h3 {
  margin: 0 0 1rem;
  color: oklch(80% 0.04 68);
  font-family: var(--chrome-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-footer-link-group a,
.brand-footer-link-group span {
  display: block;
  width: max-content;
  color: oklch(82% 0.006 275 / 0.72);
  font-family: var(--chrome-font-sans);
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
}

.brand-footer-link-group a {
  transition: color 200ms var(--chrome-ease-out);
}

.brand-footer-link-group a:hover {
  color: var(--chrome-ink-dark);
}

.brand-footer-link-group a + a,
.brand-footer-link-group span + span,
.brand-footer-link-group a + span,
.brand-footer-link-group span + a {
  margin-top: 0.75rem;
}

.brand-footer-base {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  padding-top: 1.5rem;
  color: oklch(76% 0.006 275 / 0.52);
  border-top: 1px solid var(--footer-line);
  font-family: var(--chrome-font-sans);
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .brand-footer-inner {
    width: min(1180px, calc(100vw - clamp(72px, 12vw, 240px)));
  }

  .brand-footer-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.875rem;
    padding-bottom: 3.625rem;
  }

  .brand-footer-field {
    min-height: auto;
  }

  .brand-footer-word {
    font-size: clamp(5rem, 16vw, 10rem);
    line-height: 0.9;
  }

  .brand-footer-cta {
    justify-self: start;
    max-width: 34rem;
  }
}

@media (max-width: 820px) {
  .brand-footer {
    min-height: auto;
    padding: 4.75rem 0 2rem;
  }

  .brand-footer-hero {
    padding-bottom: 3rem;
  }

  .brand-footer-word {
    font-size: clamp(4.15rem, 19vw, 8rem);
    white-space: normal;
  }

  .brand-footer-cta h2 {
    font-size: clamp(1.19rem, 4.17vw, 1.64rem);
  }

  .brand-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    gap: 0.85rem;
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0.42rem 0.45rem;
    font-size: 0.82rem;
  }

  .nav .nav-cta {
    min-height: 2.24rem;
    padding: 0.48rem 0.86rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  .nav {
    gap: 0.3rem;
    padding: 0.72rem 0.75rem;
  }

  .nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 5.4rem;
    overflow: hidden;
    font-size: 1rem;
    white-space: nowrap;
  }

  .nav-links {
    flex: 0 0 auto;
    gap: 0.08rem;
    margin-left: auto;
  }

  .nav-links a {
    min-height: 2rem;
    padding: 0.32rem 0.25rem;
    font-size: 0.75rem;
  }

  .nav .nav-cta {
    flex: 0 0 auto;
    min-height: 2.15rem;
    padding: 0.42rem 0.58rem;
    font-size: 0.75rem;
    line-height: 1.1;
  }
}

@media (max-width: 480px) {
  .brand-footer {
    padding: 4rem 0 1.75rem;
  }

  .brand-footer-inner {
    width: min(1180px, calc(100vw - 2rem));
  }

  .brand-footer-word {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .brand-footer-cta h2 {
    font-size: clamp(1.08rem, 4.76vw, 1.34rem);
  }

  .btn-cta--footer {
    width: auto;
    min-width: 0;
  }

  .brand-footer-links {
    gap: 1.5rem;
  }

  .brand-footer-link-group h3 {
    font-size: 0.72rem;
  }

  .brand-footer-link-group a,
  .brand-footer-link-group span {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-logo,
  .nav-links a,
  .nav .nav-cta,
  .btn-cta,
  .brand-footer-link-group a {
    transition: none;
  }
}
