@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Archivo:wght@400;500;600;700&display=swap");

:root {
  --cp-navy: #202b45;
  --cp-ink: #1c2438;
  --cp-bronze: #a06b34;
  --cp-bronze-dark: #8a5c2c;
  --cp-paper: #f4efe6;
  --cp-surface: #faf7f1;
  --cp-white: #fffdf9;
  --cp-line: #ddd4c4;
  --cp-muted: #6f7480;
  --cp-text: #262f40;
  --cp-sage: #687261;
  --cp-wine: #6f3742;
  --cp-shadow: 0 24px 80px rgba(28, 36, 56, 0.18);
  --cp-display: "Playfair Display", Georgia, serif;
  --cp-sans: "Archivo", system-ui, sans-serif;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cp-paper);
  color: var(--cp-text);
  font-family: var(--cp-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: contain;
}

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

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

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(32, 43, 69, 0.96);
  border-bottom: 1px solid rgba(201, 148, 88, 0.22);
  backdrop-filter: blur(18px);
  transition: box-shadow 280ms ease, background 280ms ease;
}

.nav.is-scrolled {
  background: rgba(28, 36, 56, 0.98);
  box-shadow: 0 16px 44px -28px rgba(8, 11, 22, 0.92);
}

.nav-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav .brand-wordmark {
  min-width: 232px;
  align-items: flex-start;
  gap: 7px;
  padding: 4px 0;
  color: var(--cp-white);
}

.nav .brand-wordmark__bottom {
  display: none;
}

.nav .brand-wordmark__top {
  order: 2;
  display: block;
  font-size: 8px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: rgba(244, 239, 230, 0.56);
}

.nav .brand-wordmark__name {
  order: 1;
  gap: 9px;
  font-size: 22px;
  letter-spacing: 0.11em;
  text-indent: 0.11em;
  color: var(--cp-white);
}

.nav .brand-wordmark__rule {
  display: none;
}

.nav .brand-wordmark__amp {
  color: #c99458;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 188px;
  color: var(--cp-navy);
}

.brand-wordmark__top,
.brand-wordmark__bottom {
  font-family: var(--cp-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7a6a52;
  text-indent: 0.28em;
}

.brand-wordmark__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cp-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-indent: 0.12em;
}

.brand-wordmark__amp {
  color: var(--cp-bronze);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-indent: 0;
}

.brand-wordmark__rule {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 138px;
}

.brand-wordmark__rule span {
  flex: 1;
  height: 1px;
  background: var(--cp-bronze);
}

.brand-wordmark__rule i {
  width: 6px;
  height: 6px;
  background: var(--cp-bronze);
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 239, 230, 0.78);
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.nav-link--menu {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cp-white);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--cp-bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(360px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(201, 148, 88, 0.24);
  border-radius: 8px;
  background: var(--cp-surface);
  box-shadow: 0 24px 70px -34px rgba(8, 11, 22, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 10px;
  height: 10px;
  background: var(--cp-surface);
  border-left: 1px solid rgba(201, 148, 88, 0.24);
  border-top: 1px solid rgba(201, 148, 88, 0.24);
  transform: translateX(-50%) rotate(45deg);
}

.nav-item:focus-within .nav-menu,
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border-radius: var(--radius);
  color: var(--cp-ink);
  transition: background 160ms ease, color 160ms ease;
}

.nav-menu a:hover {
  background: var(--cp-white);
  color: var(--cp-bronze-dark);
}

.nav-menu span {
  font-weight: 700;
  line-height: 1.25;
}

.nav-menu small {
  color: var(--cp-muted);
  font-size: 12px;
  line-height: 1.35;
}

.nav-cta {
  min-height: 44px;
  padding-inline: 21px;
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.7);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 148, 88, 0.45);
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.06);
  color: var(--cp-white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--cp-white);
  background: var(--cp-navy);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #172039;
}

.button--bronze {
  background: var(--cp-bronze);
}

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

.button--outline {
  background: transparent;
  border-color: rgba(244, 239, 230, 0.56);
  color: var(--cp-white);
}

.button--outline:hover {
  background: rgba(244, 239, 230, 0.1);
}

.button--paper {
  background: var(--cp-surface);
  color: var(--cp-navy);
  border-color: var(--cp-line);
}

.button--paper:hover {
  background: var(--cp-white);
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #141c30;
  color: var(--cp-white);
  pointer-events: auto;
  transition: opacity 900ms ease;
}

.splash::before,
.splash::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.splash::before {
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, #263452 0, #141c30 72%);
  opacity: 1;
}

.splash::after {
  display: none;
}

.splash__curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.splash__curtain .splash__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(226, 177, 112, 0.9);
  border-radius: 50%;
  box-shadow:
    0 0 12px 2px rgba(248, 211, 160, 0.82),
    0 0 48px 10px rgba(201, 148, 88, 0.52),
    0 0 100px 20px rgba(160, 107, 52, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%);
}

.splash__ring--inner {
  --ring-size: min(52vw, 560px);
  animation: splashInnerRing 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash__ring--outer {
  --ring-size: min(116vw, 1180px);
  border-color: rgba(244, 239, 230, 0.62);
  box-shadow:
    0 0 10px 2px rgba(244, 239, 230, 0.58),
    0 0 38px 9px rgba(226, 177, 112, 0.3),
    0 0 86px 18px rgba(160, 107, 52, 0.18);
  animation: splashOuterRing 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash__line {
  position: absolute;
  top: 50%;
  width: 50vw;
  height: 1px;
  opacity: 0;
  background: rgba(226, 177, 112, 0.48);
  box-shadow: 0 0 10px rgba(226, 177, 112, 0.22);
}

.splash__line--left {
  right: 50%;
  transform-origin: right;
  animation: splashLineLeft 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash__line--right {
  left: 50%;
  transform-origin: left;
  animation: splashLineRight 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash.is-exiting {
  pointer-events: none;
  opacity: 0;
}

.splash.is-exiting .splash__inner {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(14px);
}

.splash.is-exiting::before {
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 700ms ease, transform 1200ms ease;
}

.splash.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.splash__inner {
  position: relative;
  z-index: 3;
  width: min(520px, calc(100% - 44px));
  text-align: center;
  transition: opacity 850ms ease, transform 850ms ease, filter 850ms ease;
}

.splash .brand-wordmark {
  min-width: 300px;
  color: var(--cp-white);
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.76);
  filter: blur(10px);
  animation: splashLogoSequence 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash .brand-wordmark__name {
  gap: 13px;
  font-size: 38px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.splash .brand-wordmark__top,
.splash .brand-wordmark__bottom {
  font-size: 10px;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.splash .brand-wordmark__top,
.splash .brand-wordmark__bottom {
  color: rgba(244, 239, 230, 0.68);
}

.splash .brand-wordmark__rule {
  width: 205px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 580px;
  height: 78svh;
  max-height: 720px;
  color: var(--cp-white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("hero-law-office.png") center / cover no-repeat;
  transform: scale(1.035);
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 24, 39, 0.94), rgba(18, 24, 39, 0.72) 44%, rgba(18, 24, 39, 0.16)),
    linear-gradient(0deg, rgba(18, 24, 39, 0.22), rgba(18, 24, 39, 0.16));
}

.hero__content {
  max-width: 720px;
  padding: 48px 0;
}

body.is-locked .hero__content {
  opacity: 0;
  transform: translateY(26px);
}

body.is-locked .nav {
  opacity: 0;
  transform: translateY(-14px);
}

body.splash-complete .nav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease 260ms, transform 650ms ease 260ms;
}

body.splash-complete .hero::before {
  transform: scale(1);
}

body.splash-complete .hero__content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease 180ms, transform 700ms ease 180ms;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cp-bronze);
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split h2,
.service-panel h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--cp-display);
  font-weight: 600;
  line-height: 1.06;
  color: inherit;
}

.hero h1 {
  max-width: 700px;
  font-size: 60px;
}

.hero__lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(244, 239, 230, 0.82);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
}

.proof-item {
  padding-left: 16px;
  border-left: 1px solid rgba(160, 107, 52, 0.72);
}

.proof-item strong {
  display: block;
  font-family: var(--cp-display);
  font-size: 26px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: rgba(244, 239, 230, 0.66);
  font-size: 13px;
  font-weight: 600;
}

.section {
  padding: 92px 0;
  border-top: 1px solid rgba(221, 212, 196, 0.7);
}

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

.section--surface {
  background: var(--cp-surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 38px;
}

.section-heading h2,
.split h2,
.service-panel h2,
.contact-panel h2 {
  font-size: 40px;
  color: var(--cp-ink);
}

.section--navy .section-heading h2 {
  color: var(--cp-white);
}

.section--navy .split h2 {
  color: var(--cp-white);
}

.section-heading p,
.split p,
.service-panel p,
.contact-panel p {
  margin: 0;
  color: var(--cp-muted);
}

.section--navy .section-heading p {
  color: rgba(244, 239, 230, 0.74);
}

.section--navy .split p {
  color: rgba(244, 239, 230, 0.8);
}

.section--navy .eyebrow {
  color: rgba(226, 177, 112, 0.92);
}

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

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

.feature,
.service-card,
.team-card,
.office-card,
.contact-form,
.notice {
  border: 1px solid var(--cp-line);
  border-radius: var(--radius);
  background: var(--cp-white);
}

.feature {
  min-height: 230px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--cp-shadow);
  border-color: rgba(160, 107, 52, 0.45);
}

.feature__number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(160, 107, 52, 0.45);
  border-radius: 50%;
  color: var(--cp-bronze);
  font-weight: 700;
}

.feature h3,
.service-card h3,
.team-card h3,
.office-card h3,
.notice h3 {
  margin: 22px 0 10px;
  font-family: var(--cp-display);
  font-size: 25px;
  line-height: 1.16;
  color: var(--cp-ink);
}

.feature p,
.service-card p,
.team-card p,
.office-card p,
.notice p {
  margin: 0;
  color: var(--cp-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.split__text {
  display: grid;
  gap: 22px;
}

.split__panel {
  padding: 34px;
  border-left: 2px solid var(--cp-bronze);
  background: rgba(255, 253, 249, 0.06);
}

.section--navy .split__panel {
  background: rgba(244, 239, 230, 0.05);
}

.quote {
  margin: 0;
  font-family: var(--cp-display);
  font-size: 31px;
  line-height: 1.2;
  color: var(--cp-white);
}

.quote-credit {
  margin-top: 18px;
  color: rgba(244, 239, 230, 0.76);
  font-weight: 600;
}

.service-list {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
}

.service-tabs {
  display: grid;
  gap: 10px;
  align-self: start;
}

.service-tab,
.filter-button,
.accordion-button {
  width: 100%;
  border: 1px solid var(--cp-line);
  border-radius: var(--radius);
  background: var(--cp-white);
  color: var(--cp-ink);
  text-align: left;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.service-tab {
  padding: 16px 18px;
}

.service-tab:hover,
.service-tab.is-active {
  border-color: var(--cp-bronze);
  background: var(--cp-navy);
  color: var(--cp-white);
}

.service-panel {
  min-height: 412px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--cp-white);
  border: 1px solid var(--cp-line);
  box-shadow: var(--cp-shadow);
}

.service-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(160, 107, 52, 0.35);
  border-radius: 999px;
  color: var(--cp-bronze-dark);
  background: rgba(160, 107, 52, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  padding: 92px 0 70px;
  background:
    linear-gradient(120deg, rgba(32, 43, 69, 0.96), rgba(32, 43, 69, 0.88)),
    url("hero-law-office.png") center / cover no-repeat;
  color: var(--cp-white);
}

.page-hero h1 {
  max-width: 730px;
  font-size: 54px;
}

.page-hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 18px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(244, 239, 230, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb span {
  width: 28px;
  height: 1px;
  background: var(--cp-bronze);
}

.service-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  width: auto;
  padding: 10px 15px;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--cp-navy);
  color: var(--cp-white);
  border-color: var(--cp-navy);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 28px;
  scroll-margin-top: 112px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card[hidden] {
  display: none;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cp-shadow);
  border-color: rgba(160, 107, 52, 0.45);
}

.service-card__tag {
  color: var(--cp-bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-card__link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--cp-bronze-dark);
  font-weight: 700;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--cp-line);
  border-radius: var(--radius);
  background: var(--cp-white);
  overflow: hidden;
}

.accordion-button {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
}

.accordion-button::after {
  content: "+";
  color: var(--cp-bronze);
  font-size: 20px;
  line-height: 1;
}

.accordion-button[aria-expanded="true"]::after {
  content: "-";
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.accordion-content.is-open {
  grid-template-rows: 1fr;
}

.accordion-content > div {
  overflow: hidden;
}

.accordion-content p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--cp-muted);
}

.team-card,
.office-card,
.notice {
  padding: 28px;
}

.team-card__role {
  color: var(--cp-bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 22px;
  border-left: 1px solid var(--cp-line);
  padding-left: 26px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -32px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cp-bronze);
  box-shadow: 0 0 0 6px rgba(160, 107, 52, 0.12);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-family: var(--cp-display);
  color: var(--cp-ink);
  font-size: 24px;
}

.timeline-item p {
  margin: 0;
  color: var(--cp-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: stretch;
}

.contact-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 720px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--cp-line);
  border-radius: var(--radius);
  background: var(--cp-white);
  color: var(--cp-text);
  padding: 12px 13px;
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(160, 107, 52, 0.18);
  border-color: var(--cp-bronze);
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--cp-wine);
  font-weight: 700;
}

.contact-form > .button {
  margin-top: auto;
  align-self: flex-start;
}

.contact-side {
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr) auto;
  gap: 16px;
}

.contact-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--cp-bronze-dark);
  font-weight: 700;
  border-bottom: 1px solid rgba(160, 107, 52, 0.38);
}

.office-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.office-card dt {
  color: var(--cp-bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.office-card dd {
  margin: 4px 0 0;
  color: var(--cp-text);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-detail .contact-link {
  margin-top: 12px;
}

.contact-detail__logo {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 11px;
  object-fit: contain;
}

.contact-lines {
  display: grid;
  gap: 8px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--cp-text);
  font-weight: 600;
}

.contact-line:hover {
  color: var(--cp-bronze-dark);
}

.contact-icon,
.button-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--cp-bronze);
}

.contact-icon--whatsapp {
  color: #3f7657;
}

.contact-icon svg,
.button-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.office-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.office-card__actions .button {
  min-height: 44px;
  padding-inline: 15px;
}

.office-card__actions .button-icon {
  margin-right: 7px;
}

.map-panel {
  min-height: 250px;
  border: 1px solid var(--cp-line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  min-height: 174px;
  border-color: rgba(63, 118, 87, 0.45);
  background: linear-gradient(135deg, #fffdf9, #f3f6ef);
}

.notice--expectations {
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 0;
}

.notice--expectations .contact-link {
  width: fit-content;
  margin-top: 10px;
}

.notice__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(63, 118, 87, 0.35);
  border-radius: 50%;
  background: rgba(63, 118, 87, 0.08);
}

.notice__mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.notice .eyebrow {
  margin: 0 0 8px;
  color: #3f7657;
}

.notice h3 {
  margin: 0 0 9px;
}

.cta-band {
  padding: 54px 0;
  background: var(--cp-ink);
  color: var(--cp-white);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--cp-display);
  font-size: 36px;
  line-height: 1.1;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(244, 239, 230, 0.72);
}

.footer {
  padding: 52px 0 28px;
  background: #151d31;
  color: rgba(244, 239, 230, 0.76);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) repeat(3, minmax(140px, 1fr));
  gap: 34px;
}

.footer .brand-wordmark {
  color: var(--cp-white);
  align-items: flex-start;
  gap: 7px;
}

.footer .brand-wordmark__name {
  order: 1;
  font-size: 22px;
  letter-spacing: 0.11em;
  text-indent: 0.11em;
}

.footer .brand-wordmark__bottom {
  display: none;
}

.footer .brand-wordmark__top {
  order: 2;
  color: rgba(244, 239, 230, 0.56);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.footer .brand-wordmark__rule {
  display: none;
}

.footer .brand-wordmark__amp {
  color: #c99458;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--cp-white);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  color: rgba(244, 239, 230, 0.68);
}

.footer a:hover {
  color: var(--cp-white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
  font-size: 13px;
  color: rgba(244, 239, 230, 0.52);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--cp-ink);
  color: var(--cp-white);
  box-shadow: var(--cp-shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes crestIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lineGrow {
  to {
    width: 180px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes splashInnerRing {
  0% {
    opacity: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    filter: blur(3px);
  }
  28% {
    opacity: 0;
  }
  40% {
    width: var(--ring-size);
    height: var(--ring-size);
    border-radius: 50%;
    opacity: 0.88;
    filter: blur(0);
  }
  80% {
    width: var(--ring-size);
    height: var(--ring-size);
    border-radius: 50%;
    opacity: 0.72;
    filter: blur(0);
  }
  100% {
    opacity: 0;
    box-shadow: none;
  }
}

@keyframes splashOuterRing {
  0% {
    opacity: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    filter: blur(3px);
  }
  40% {
    opacity: 0;
  }
  52% {
    width: var(--ring-size);
    height: var(--ring-size);
    border-radius: 50%;
    opacity: 0.86;
    filter: blur(0);
  }
  68% {
    width: var(--ring-size);
    height: var(--ring-size);
    border-radius: 50%;
    opacity: 0.86;
    filter: blur(0);
  }
  82% {
    width: min(86vw, 980px);
    height: 1px;
    border-radius: 0;
    opacity: 0.26;
    box-shadow: 0 0 8px rgba(226, 177, 112, 0.18);
  }
  100% {
    opacity: 0;
    width: min(86vw, 980px);
    height: 1px;
    border-radius: 0;
    box-shadow: none;
  }
}

@keyframes splashLineLeft {
  0%,
  76% {
    opacity: 0;
    transform: scaleX(0);
  }
  82% {
    opacity: 0.26;
    transform: scaleX(0.08);
  }
  92% {
    opacity: 0.38;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.3;
    transform: scaleX(1);
  }
}

@keyframes splashLineRight {
  0%,
  76% {
    opacity: 0;
    transform: scaleX(0);
  }
  82% {
    opacity: 0.26;
    transform: scaleX(0.08);
  }
  92% {
    opacity: 0.38;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.3;
    transform: scaleX(1);
  }
}

@keyframes splashLogoSequence {
  0%,
  9% {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(8px);
  }
  30% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  70% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  86% {
    opacity: 0.18;
    transform: scale(1.025);
    filter: blur(6px);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(12px);
  }
}

@media (max-width: 920px) {
  .nav-inner {
    height: 74px;
  }

  .nav .brand-wordmark {
    min-width: 220px;
    align-items: flex-start;
    padding: 0;
    gap: 5px;
  }

  .nav .brand-wordmark__top {
    display: block;
    font-size: 7px;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
  }

  .nav .brand-wordmark__bottom,
  .nav .brand-wordmark__rule {
    display: none;
  }

  .nav .brand-wordmark__name {
    font-size: 19px;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 16px 20px 22px;
    background: #1c2438;
    border-bottom: 1px solid rgba(201, 148, 88, 0.25);
    box-shadow: 0 22px 60px -34px rgba(8, 11, 22, 0.95);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 13px 0;
    color: rgba(244, 239, 230, 0.86);
  }

  .nav-link--menu {
    text-align: left;
  }

  .nav-link::after {
    bottom: 7px;
    right: auto;
    width: 42px;
  }

  .nav-item {
    display: grid;
  }

  .nav-menu {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid rgba(201, 148, 88, 0.42);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .nav-item.is-open .nav-menu,
  .nav-item:focus-within .nav-menu {
    max-height: 420px;
    padding: 7px 0 12px 14px;
    transform: none;
  }

  .nav-menu::before {
    display: none;
  }

  .nav-menu a {
    padding: 10px 0;
    color: rgba(244, 239, 230, 0.84);
  }

  .nav-menu a:hover {
    background: transparent;
    color: var(--cp-white);
  }

  .nav-menu small {
    color: rgba(244, 239, 230, 0.48);
  }

  .nav .button {
    margin-top: 10px;
    width: 100%;
  }

  .hero {
    height: auto;
    min-height: 600px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 43px;
  }

  .section-heading,
  .split,
  .service-list,
  .contact-layout,
  .cta-band__inner,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    height: auto;
    min-height: 600px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero__lead,
  .page-hero p {
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .split h2,
  .service-panel h2,
  .contact-panel h2,
  .cta-band h2 {
    font-size: 32px;
  }

  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .contact-form {
    padding: 26px;
  }

  .contact-form {
    min-height: 0;
  }

  .contact-side {
    grid-template-rows: auto auto auto;
  }

  .office-card__actions .button {
    flex: 1 1 100%;
  }

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

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-height: 640px) {
  .hero {
    min-height: 430px;
  }
}

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

  .splash::before {
    animation-duration: 1500ms !important;
  }

  .splash::after {
    animation-duration: 1850ms !important;
  }

  .splash.is-exiting::after {
    animation-duration: 1350ms !important;
  }

  .splash__inner {
    transition-duration: 700ms !important;
  }

  .splash.is-exiting::before {
    transition-duration: 700ms, 1200ms !important;
  }

  .splash__ring--inner {
    animation: splashInnerRing 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  }

  .splash__ring--outer {
    animation: splashOuterRing 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  }

  .splash .brand-wordmark {
    animation: splashLogoSequence 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  }

  .splash__line--left {
    display: block;
    animation: splashLineLeft 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  }

  .splash__line--right {
    display: block;
    animation: splashLineRight 5400ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  }

  .splash,
  .splash__inner {
    transition-duration: 900ms !important;
  }

  body.splash-complete .nav {
    transition-duration: 650ms !important;
    transition-delay: 260ms !important;
  }

  body.splash-complete .hero__content {
    transition-duration: 700ms !important;
    transition-delay: 180ms !important;
  }

  .hero::before {
    transition-duration: 1200ms !important;
  }

  body.splash-complete .nav,
  body.splash-complete .hero__content {
    transition-duration: 650ms, 650ms !important;
  }
}
