:root {
  --paper: #fffdf6;
  --paper-soft: #f8f2e5;
  --ink: #17171b;
  --ink-soft: #51515b;
  --line: rgba(23, 23, 27, 0.14);
  --yellow: #f4b900;
  --yellow-light: #ffd42a;
  --red: #cd1f2a;
  --navy: #282743;
  --cyan: #18c9d7;
  --pink: #efabc4;
  --max-width: 1180px;
  --header-height: 78px;
  --radius: 26px;
  --shadow: 0 28px 80px rgba(52, 40, 7, 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: white;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.7rem, 8.5vw, 7.6rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  font-weight: 720;
}

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 124px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 246, 0.74);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 253, 246, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: end;
  color: var(--red);
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.16em;
  line-height: 1;
}

.brand-mark span:first-child {
  border-bottom: 4px solid currentColor;
  padding: 0 3px 1px 0;
}

.brand-mark span:last-child {
  padding-left: 1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.brand-copy > span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--red);
}

.primary-nav .nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background: var(--red);
  color: white;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 900px;
  padding: 190px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(135deg, var(--yellow-light), var(--yellow));
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to top, rgba(130, 84, 0, 0.13), transparent);
  content: "";
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
  transform: rotate(45deg);
}

.shape-a {
  top: -200px;
  right: -40px;
  width: 560px;
  height: 560px;
  border: 60px solid var(--navy);
  background: var(--paper);
}

.shape-b {
  top: -118px;
  right: 110px;
  width: 510px;
  height: 510px;
  border: 34px solid var(--pink);
}

.shape-c {
  top: -55px;
  right: 186px;
  width: 435px;
  height: 435px;
  border: 25px solid var(--cyan);
}

.shape-d {
  top: 120px;
  right: -110px;
  width: 130px;
  height: 500px;
  background: var(--red);
}

.shape-e {
  bottom: -210px;
  left: -250px;
  width: 440px;
  height: 440px;
  border: 54px solid rgba(23, 23, 27, 0.92);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin-bottom: 25px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ink);
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 38px;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--red);
  color: white;
}

.button-primary:hover {
  background: #aa1520;
}

.button-secondary {
  border-color: rgba(23, 23, 27, 0.36);
  background: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.36);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--red);
}

.button:focus-visible,
.primary-nav a:focus-visible,
.text-link:focus-visible,
.contact-email:focus-visible,
.site-footer a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(24, 201, 215, 0.9);
  outline-offset: 4px;
}

.advisor-card {
  position: relative;
  max-width: 340px;
  justify-self: end;
  padding: 34px;
  border: 1px solid rgba(23, 23, 27, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.advisor-monogram {
  margin-bottom: 66px;
  color: var(--red);
  font-size: 4.3rem;
  font-weight: 860;
  letter-spacing: -0.14em;
  line-height: 0.8;
}

.advisor-card p {
  margin-bottom: 8px;
  font-size: 1.72rem;
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.advisor-card > span {
  color: #40360f;
  font-size: 0.94rem;
}

.value-strip {
  position: relative;
  z-index: 3;
  background: var(--ink);
  color: white;
}

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

.value-grid p {
  margin: 0;
  padding: 24px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  font-weight: 680;
}

.value-grid p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.value-grid span {
  margin-right: 10px;
  color: var(--yellow-light);
  font-size: 0.7rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 310px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 180px;
  height: 180px;
  border: 28px solid var(--yellow);
  content: "";
  transform: rotate(45deg);
  transition: transform 260ms ease;
}

.service-card:hover::after {
  transform: rotate(55deg) scale(1.12);
}

.service-card-featured {
  background: var(--yellow);
}

.service-card-featured::after {
  border-color: var(--red);
}

.card-number {
  grid-column: 1 / -1;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3,
.service-card p {
  max-width: 520px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-card-featured p {
  color: #4a3a07;
}

.card-arrow {
  position: relative;
  z-index: 1;
  align-self: end;
  font-size: 1.35rem;
}

.approach {
  background: var(--navy);
  color: white;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 100px;
}

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

.approach-copy {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  align-self: start;
}

.approach-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--yellow-light);
  font-weight: 750;
  text-decoration: none;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list > li > span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.process-list p {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.about {
  background: var(--paper-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: 100px;
}

.about-statement h2 {
  max-width: 760px;
}

.about-copy {
  padding-top: 42px;
}

.about-lede {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.about-copy > p:not(.about-lede) {
  color: var(--ink-soft);
}

.check-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-top: 1px solid var(--line);
  font-weight: 670;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 14px;
  left: 4px;
  color: var(--red);
  content: "↗";
  font-weight: 900;
}

.contact {
  position: relative;
  padding: 124px 0;
  background: var(--yellow);
  overflow: hidden;
}

.contact-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-art span {
  position: absolute;
  display: block;
  right: -80px;
  transform: rotate(45deg);
}

.contact-art span:nth-child(1) {
  top: -170px;
  width: 430px;
  height: 430px;
  border: 48px solid var(--navy);
}

.contact-art span:nth-child(2) {
  top: -95px;
  right: 20px;
  width: 340px;
  height: 340px;
  border: 26px solid var(--pink);
}

.contact-art span:nth-child(3) {
  bottom: -200px;
  left: -160px;
  width: 380px;
  height: 380px;
  border: 46px solid var(--red);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.7fr);
  gap: 90px;
  align-items: start;
}

.contact-layout > div > p:not(.eyebrow) {
  max-width: 590px;
  font-size: 1.1rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 780;
  text-decoration: none;
}

.contact-email:hover {
  color: var(--red);
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 760;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

.contact-form input {
  height: 48px;
  padding: 0 13px;
}

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

.form-note,
.form-status {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.form-status {
  min-height: 1.2em;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand .brand-copy > span {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
}

.site-footer > div > a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-layout,
  .section-heading,
  .approach-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 70px;
  }

  .advisor-card {
    justify-self: start;
  }

  .shape-a {
    right: -240px;
  }

  .shape-b {
    right: -100px;
  }

  .shape-c {
    right: -20px;
  }

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

  .value-grid p:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .value-grid p:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .approach-copy {
    position: static;
  }

  .about-copy {
    padding-top: 0;
  }

  .contact-layout {
    gap: 60px;
  }

  .contact-form {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .section,
  .contact {
    padding: 90px 0;
  }

  .brand-copy > span {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0 9px 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 720;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before {
    position: absolute;
    top: -7px;
  }

  .menu-icon::after {
    position: absolute;
    top: 7px;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 20px;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }

  .primary-nav .nav-cta {
    margin-top: 22px;
    padding: 15px 20px;
    text-align: center;
  }

  .hero {
    min-height: 820px;
    padding: 148px 0 88px;
  }

  .hero-art {
    opacity: 0.74;
  }

  .shape-a {
    top: -310px;
    right: -360px;
  }

  .shape-b,
  .shape-c,
  .shape-d {
    display: none;
  }

  .advisor-card {
    max-width: 320px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .advisor-card {
    width: 100%;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-grid p {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-card {
    padding: 26px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-email {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.privacy-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.privacy-settings:hover,
.privacy-settings:focus-visible,
.footer-links a:hover {
  color: var(--yellow-light);
}

.privacy-settings:focus-visible,
.consent-button:focus-visible {
  outline: 3px solid rgba(24, 201, 215, 0.9);
  outline-offset: 4px;
}

.consent-banner {
  position: fixed;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  max-width: 760px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid rgba(23, 23, 27, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 246, 0.98);
  box-shadow: 0 24px 70px rgba(52, 40, 7, 0.24);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.consent-copy {
  max-width: 520px;
}

.consent-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.93rem;
}

.consent-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.consent-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}

.consent-reject {
  background: transparent;
  color: var(--ink);
}

.consent-accept {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.consent-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 640px) {
  .consent-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .consent-actions,
  .consent-button {
    width: 100%;
  }

  .consent-button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition-duration: 0.01ms;
  }
}
