@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #134980;
  --paper: #f7f5f0;
  --pale: #e9eef0;
  --ink: #172c3d;
  --muted: #61707a;
  --line: #d9dedf;
  --rail: 56px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  cursor:
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48cmVjdCB4PScyJyB5PScyJyB3aWR0aD0nMjgnIGhlaWdodD0nMjgnIHJ4PSc3JyBmaWxsPScjMTM0OTgwJy8+PHBhdGggZD0nTTkgN2gxMGw1IDV2MTNIOXonIGZpbGw9J3doaXRlJy8+PHBhdGggZD0nTTE5IDd2NWg1JyBmaWxsPSdub25lJyBzdHJva2U9JyMxMzQ5ODAnIHN0cm9rZS13aWR0aD0nMS41Jy8+PHBhdGggZD0nTTEyIDE2aDhNMTIgMjBoOCcgc3Ryb2tlPScjMTM0OTgwJyBzdHJva2Utd2lkdGg9JzEuNScgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJy8+PHRleHQgeD0nMTEnIHk9JzI1JyBmaWxsPScjMTM0OTgwJyBmb250LWZhbWlseT0nQXJpYWwsc2Fucy1zZXJpZicgZm9udC1zaXplPSc4JyBmb250LXdlaWdodD0nNzAwJz5FVVI8L3RleHQ+PC9zdmc+")
      5 4,
    pointer;
}

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

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

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

h1,
h2,
.statement-title,
.number,
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--blue);
}

h1 {
  font-size: clamp(60px, 5.98vw, 86px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-weight: 400;
  font-size: 25px;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid #aa743e;
  outline-offset: 5px;
}

::selection {
  background: #cbdceb;
  color: var(--blue);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background: white;
  padding: 12px 20px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.section-shell {
  max-width: 1440px;
  padding-left: 88px;
  padding-right: 88px;
  margin-inline: auto;
}

.section-pad {
  padding-top: 92px;
  padding-bottom: 92px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--blue);
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition:
    transform 0.22s var(--ease),
    background-color 0.22s,
    color 0.22s,
    box-shadow 0.22s;
  touch-action: manipulation;
}

.button-light {
  background: var(--paper);
  color: var(--blue);
}

.button:focus-visible {
  background: var(--pale);
  color: var(--blue);
}

@media (hover: hover) {
  .button:hover {
    background: #e9eef0;
    color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 9px 20px #1349801a;
  }

  .text-link:hover,
  .desktop-nav a:not(.button):hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 7px;
  }
}

.button:active,
.button.is-pressed {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 1px 3px #13498024;
  background: #e9eef0;
  color: var(--blue);
  transition-duration: 0.08s;
}

.desktop-header {
  height: 102px;
  position: relative;
  max-width: 1440px;
  margin: auto;
}

.nav-art {
  position: absolute;
  inset: 0;
  height: 94px;
  overflow: hidden;
  pointer-events: none;
}

.nav-art img {
  position: absolute;
  width: 1440px;
  max-width: none;
  left: 50%;
  transform: translateX(-50%);
}

.desktop-nav {
  position: relative;
  max-width: 1200px;
  height: 94px;
  padding: 0 28px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  font-size: 15px;
}

.nav-left,
.nav-right {
  display: grid;
  align-items: center;
  width: 100%;
}

.nav-left {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-left: 24px;
}

.nav-right {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-right: 24px;
}

.nav-left > a,
.nav-right > a:not(.nav-cta) {
  text-align: center;
}

.nav-right > a:first-child {
  white-space: nowrap;
}

.nav-cta {
  justify-self: end;
  border-radius: 10px;
  font-size: 15px;
  padding: 14px 20px;
}

.brand {
  display: block;
}

.mobile-header,
.mobile-rail {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 622fr);
  align-items: center;
  gap: 42px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(44px, 4.3vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.018em;
}

.intro {
  font-size: 21px;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.text-link {
  font-size: 16px;
  color: var(--blue);
  padding-block: 12px;
}

.small-copy {
  font-size: 16px;
}

.hero-art {
  min-width: 0;
  aspect-ratio: 622/560;
  overflow: hidden;
}

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

.principles {
  background: #eaf0f4;
}

.principles .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}

.principles p {
  font-size: 16px;
  color: var(--blue);
}

.services > .eyebrow,
.process > .eyebrow {
  margin-bottom: 35px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 76px;
  align-items: start;
  margin-bottom: 36px;
}

.section-intro p {
  max-width: 430px;
}

.service-grid {
  border-top: 1px solid var(--line);
  padding-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.service-grid article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.number {
  font-size: 35px;
  line-height: 1.1;
  display: block;
}

.service-grid article > p {
  font-size: 19px;
}

.service-grid article > .service-detail {
  font-size: 16px;
  color: var(--blue);
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.service-list li::marker {
  color: var(--blue);
}

.about {
  background: var(--pale);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 544fr) minmax(0, 624fr);
  gap: 96px;
  align-items: center;
}

.about-image {
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  background: #dce5e9;
}

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

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.about h2 {
  font-size: 46px;
}

.about-copy p {
  font-size: 17px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.steps li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.steps .number {
  font-size: 44px;
  margin-bottom: 18px;
}

.steps h3 {
  font-size: 21px;
  margin-bottom: 16px;
}

.steps p {
  font-size: 18px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}

.faq-heading p {
  max-width: 430px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 64px 24px 0;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 3px;
  transform: translateY(-50%);
  transition:
    background-color 0.2s,
    color 0.2s;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--blue);
  color: white;
}

.faq-list details p {
  width: 100%;
  max-width: none;
  padding: 0 70px 25px 0;
  font-size: 17px;
  animation: faq-answer 0.3s var(--ease) both;
}

@keyframes faq-answer {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.contact {
  background: var(--blue);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 100px;
  align-items: center;
  padding-block: 84px;
}

.contact h2 {
  font-size: 64px;
  color: white;
  margin: 25px 0;
}

.contact p {
  color: #d4e1ec;
}

.contact .eyebrow {
  color: #cddeed;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

address {
  font-style: normal;
  font-size: 19px;
  line-height: 1.7;
}

address a {
  display: block;
  overflow-wrap: anywhere;
}

address a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

address p {
  margin-top: 18px;
}

footer.section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 32px;
  padding-bottom: 48px;
}

footer p,
footer nav {
  font-size: 15px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.footer-credit {
  color: var(--muted);
  font-size: 11px;
}

.footer-credit:hover {
  color: var(--blue);
  text-decoration: underline;
}

footer nav {
  display: flex;
  gap: 24px;
}

.footer-brand {
  font-size: 30px;
  white-space: nowrap;
}

.whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  width: 60px;
  height: 60px;
  padding: 14px;
  border: 2px solid var(--paper);
  background: #16864a;
  color: white;
  box-shadow: 0 5px 22px #172c3d24;
}

.whatsapp svg {
  flex-shrink: 0;
}

.whatsapp:hover {
  color: var(--blue);
}

.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}

.is-revealed {
  animation: section-reveal 0.65s var(--ease) both;
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu {
  padding: 32px;
  border: 0;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(480px, 100%);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  background: var(--blue);
  color: var(--paper);
  overflow: auto;
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: menu-enter 0.4s var(--ease);
}

.mobile-menu::backdrop {
  background: #172c3d80;
  backdrop-filter: blur(3px);
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.1em;
  gap: 12px;
}

.menu-close {
  background: transparent;
  color: inherit;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.mobile-menu nav a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  line-height: 1.2;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff30;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu nav span {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #c2d6e9;
}

.mobile-menu nav i {
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-size: 26px;
  margin-left: auto;
}

.menu-bottom {
  margin-top: auto;
  padding-top: 45px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.menu-bottom p {
  color: #d4e1ec;
}

.menu-bottom small {
  font-size: 14px;
  color: #c2d6e9;
}

.mobile-menu a:hover {
  color: #c2d6e9;
}

.menu-close:active,
.menu-toggle:active {
  transform: scale(0.92);
}

@keyframes menu-enter {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .section-shell {
    padding-inline: 48px;
  }

  .desktop-nav {
    max-width: calc(100% - 70px);
  }

  .nav-art {
    background: var(--pale);
    border-radius: 0 0 24px 24px;
    margin-inline: 30px;
  }

  .nav-art img {
    display: none;
  }

  .hero {
    gap: 30px;
  }

  .about-grid {
    gap: 48px;
  }

  .section-intro {
    gap: 40px;
  }

  .contact-grid {
    gap: 45px;
  }

  h2 {
    font-size: 52px;
  }

  .about h2 {
    font-size: 43px;
  }

  .contact h2 {
    font-size: 54px;
  }
}

@media (max-width: 900px) {
  body {
    padding-right: var(--rail);
    font-size: 18px;
  }

  main,
  .mobile-header,
  footer.section-shell {
    width: 100%;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
  }

  .mobile-header img {
    width: 72px;
    height: 72px;
    object-fit: contain;
  }

  .mobile-rail {
    position: fixed;
    inset: 0 0 0 auto;
    width: var(--rail);
    background: var(--blue);
    color: var(--paper);
    z-index: 40;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: max(16px, env(safe-area-inset-top));
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: none;
    color: inherit;
    border: 0;
    transition: transform 0.15s;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .rail-contact {
    position: absolute;
    top: 50%;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 15px 10px;
    display: flex;
    gap: 12px;
  }

  .section-shell {
    padding-inline: 30px;
  }

  .section-pad {
    padding-block: 64px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .hero-copy {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
  }

  .hero-art {
    order: 2;
  }

  .hero h1 {
    order: 3;
  }

  .hero h1 {
    font-size: clamp(40px, 7.2vw, 56px);
    max-width: 620px;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .intro {
    order: 4;
    font-size: 19px;
    max-width: 620px;
  }

  .hero-art {
    width: 100%;
    max-width: 622px;
    margin: auto;
  }

  .hero-actions {
    order: 5;
    gap: 12px 20px;
  }

  .hero .small-copy {
    font-size: 16px;
  }

  h2 {
    font-size: 46px;
  }

  .about h2 {
    font-size: 42px;
  }

  .principles .section-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    padding-block: 25px;
  }

  .principles p {
    font-size: 15px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-intro p {
    max-width: 600px;
  }

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

  .service-grid article {
    gap: 16px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .service-grid article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .service-grid article > p {
    font-size: 18px;
  }

  .service-grid .number {
    font-size: 35px;
  }

  h3 {
    font-size: 25px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-copy {
    gap: 22px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .steps p {
    font-size: 18px;
  }

  .faq-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact h2 {
    font-size: 48px;
  }

  .contact-details {
    gap: 24px;
  }

  footer.section-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 32px 90px;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }

  .whatsapp {
    right: calc(var(--rail) + 12px);
    width: 50px;
    height: 50px;
    padding: 10px;
    right: 3px;
    bottom: max(18px, env(safe-area-inset-bottom));
    border-width: 2px;
  }

  .whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .section-shell {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    font-size: 16px;
    padding: 14px 18px;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .principles .section-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principles p {
    font-size: 16px;
  }

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

  .steps li {
    padding-top: 18px;
  }

  .steps .number {
    margin-bottom: 12px;
  }

  .steps h3 {
    margin-bottom: 12px;
  }

  h2,
  .about h2 {
    font-size: 40px;
  }

  .contact h2 {
    font-size: 43px;
  }

  address {
    font-size: 17px;
  }

  .mobile-menu {
    padding: 24px;
  }

  .mobile-menu nav a {
    font-size: 42px;
  }

  .mobile-menu nav {
    margin-top: 30px;
  }

  .mobile-menu .menu-bottom {
    font-size: 16px;
  }

  .whatsapp {
    padding: 10px;
  }

  .service-grid h3 {
    font-size: 23px;
    overflow-wrap: break-word;
  }

  .faq-list summary {
    padding-block: 20px;
    padding-right: 54px;
    font-size: 19px;
  }

  .faq-list details p {
    padding-right: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

  .button:hover,
  .button:active {
    transform: none;
  }
}

@media print {
  .desktop-header,
  .mobile-header,
  .mobile-rail,
  .whatsapp,
  .mobile-menu {
    display: none !important;
  }

  body {
    padding: 0;
  }

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

  .section-pad {
    padding-block: 30px;
  }

  a {
    color: inherit;
  }

  .section-shell {
    padding-inline: 20px;
  }

  section {
    break-inside: avoid;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions .button {
    gap: 6px;
    padding-inline: 12px;
    font-size: 15px;
    white-space: nowrap;
  }

  .contact h2 {
    font-size: 38px;
  }

  .section-shell {
    padding-inline: 18px;
  }
}

h1,
h2,
.statement-title {
  overflow-wrap: break-word;
}

.whatsapp {
  width: auto;
  height: auto;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid #13498026;
  background: var(--pale);
  color: var(--blue);
  box-shadow: 0 8px 24px #172c3d1f;
  white-space: nowrap;
}

.whatsapp svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.whatsapp span {
  line-height: 1;
}

@media (hover: hover) {
  .whatsapp:hover {
    background: var(--blue);
    color: white;
  }
}

@media (max-width: 900px) {
  footer.section-shell {
    padding-bottom: 110px;
  }

  .whatsapp {
    right: 12px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    min-height: 50px;
    padding: 12px 16px;
    border-width: 1px;
  }

  .whatsapp svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

@media (max-width: 480px) {
  .whatsapp {
    padding: 12px 16px;
  }
}

.whatsapp-hint {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 44;
  width: max-content;
  max-width: min(280px, calc(100vw - 48px));
  padding: 12px 16px;
  border: 1px solid #13498024;
  border-radius: 14px;
  background: var(--paper);
  color: var(--blue);
  box-shadow: 0 8px 24px #172c3d1f;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}

.whatsapp-hint::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #13498024;
  border-bottom: 1px solid #13498024;
  background: var(--paper);
  transform: rotate(45deg);
}

.whatsapp-hint.is-visible {
  animation: hint-in 0.35s var(--ease) both;
}

.whatsapp-hint.is-leaving {
  animation: hint-out 0.25s ease both;
}

@keyframes hint-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hint-out {
  to {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (max-width: 900px) {
  .whatsapp {
    right: calc(var(--rail) + 12px);
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    background: var(--paper);
    color: var(--blue);
    box-shadow: 0 8px 24px #172c3d2b;
  }

  .whatsapp span {
    display: none;
  }

  .whatsapp svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .whatsapp-hint {
    right: calc(var(--rail) + 12px);
    bottom: 80px;
    max-width: min(245px, calc(100vw - 80px));
  }

  .whatsapp-hint::after {
    right: 20px;
  }
}

[data-reveal].reveal-pending {
  opacity: 1;
  transform: none;
}

[data-reveal].is-revealed {
  animation: none;
}

.reveal-item {
  will-change: opacity, transform;
}

[data-reveal].reveal-pending .reveal-item {
  opacity: 0;
  transform: translateY(34px);
}

[data-reveal].reveal-pending .hero-art img,
[data-reveal].reveal-pending .about-image img {
  transform: scale(1.07);
}

[data-reveal].is-revealed .reveal-item {
  animation: content-reveal 0.9s var(--ease) both;
  animation-delay: calc(var(--reveal-order, 0) * 70ms);
}

[data-reveal].is-revealed .hero-art img,
[data-reveal].is-revealed .about-image img {
  animation: image-reveal 1.2s var(--ease) both;
}

@keyframes content-reveal {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-reveal {
  from {
    transform: scale(1.07);
  }

  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  [data-reveal].is-revealed {
    animation: none;
  }

  [data-reveal] .reveal-item,
  [data-reveal] .hero-art img,
  [data-reveal] .about-image img {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.whatsapp {
  background: var(--blue);
  color: white;
}

@media (max-width: 900px) {
  .whatsapp {
    border-color: var(--blue);
    background: var(--paper);
    color: var(--blue);
  }
}

@media (hover: hover) {
  .whatsapp:hover {
    background: var(--pale);
    color: var(--blue);
  }
}

.legal-dialog {
  width: min(850px, calc(100% - 40px));
  max-width: 850px;
  height: min(734px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px #172c3d40;
  overflow: hidden;
}

.legal-dialog::backdrop {
  background: #172c3d66;
  backdrop-filter: blur(3px);
}

.legal-dialog[open] {
  animation: legal-dialog-in 0.3s var(--ease);
}

.legal-dialog-card {
  position: relative;
  min-height: 100%;
  height: 100%;
  padding: 86px 112px 48px;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.legal-dialog-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border: 1px solid #13498055;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.legal-dialog-close:hover {
  background: var(--blue);
  color: white;
}

.legal-dialog-close:active {
  transform: scale(0.94);
}

.legal-dialog-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.legal-dialog .eyebrow {
  margin-bottom: 12px;
}

.legal-dialog h2 {
  font-size: 72px;
  margin-bottom: 8px;
}

.legal-dialog address {
  margin: 6px 0;
}

.legal-dialog-content > p {
  max-width: 620px;
}

.legal-dialog-home {
  margin-top: auto;
  align-self: flex-start;
}

.legal-page {
  min-height: 100vh;
  background: #dcdad6;
  padding: 40px;
}

.legal-page .legal-dialog-card {
  width: min(850px, 100%);
  min-height: calc(100vh - 80px);
  height: auto;
  margin: auto;
  background: var(--paper);
  box-shadow: 0 20px 60px #172c3d24;
}

@keyframes legal-dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  .legal-dialog {
    width: calc(100% - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .legal-dialog-card {
    padding: 82px 28px 30px;
  }

  .legal-dialog h2 {
    font-size: 52px;
  }

  .legal-dialog-close {
    top: 18px;
    right: 18px;
  }

  .legal-page {
    padding: 12px;
  }

  .legal-page .legal-dialog-card {
    min-height: calc(100vh - 24px);
  }
}

body.dialog-open {
  overflow: hidden;
}

.scroll-ruler {
  --scroll-progress: 0%;
  position: fixed;
  z-index: 38;
  top: 0;
  right: 14px;
  width: 88px;
  height: 100vh;
  height: 100dvh;
  color: var(--blue);
  pointer-events: none;
  transition: color 0.3s var(--ease);
}

.scroll-ruler.is-inverted {
  color: var(--paper);
}

.scroll-ruler-caption {
  position: absolute;
  top: 14px;
  right: 8px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-ruler-track {
  position: absolute;
  inset: 0 0 0 34px;
  pointer-events: auto;
  cursor: url("assets/bookkeeping-cursor.svg") 5 4, pointer;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 11px,
    color-mix(in srgb, currentColor 48%, transparent) 11px 12px,
    transparent 12px 23px
  );
}

.scroll-ruler-track::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 57px,
    color-mix(in srgb, currentColor 72%, transparent) 57px 59px,
    transparent 59px 115px
  );
}

.scroll-ruler-scale {
  position: absolute;
  right: 22px;
  color: currentColor;
  opacity: 0.62;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  transform: translateY(-50%);
}

.scroll-ruler-scale--0 {
  top: 0;
  transform: none;
}

.scroll-ruler-scale--1 {
  top: 20%;
}

.scroll-ruler-scale--2 {
  top: 40%;
}

.scroll-ruler-scale--3 {
  top: 60%;
}

.scroll-ruler-scale--4 {
  top: 80%;
}

.scroll-ruler-scale--5 {
  top: 100%;
  transform: translateY(-100%);
}

.scroll-ruler-marker {
  position: absolute;
  top: clamp(8px, var(--scroll-progress), calc(100% - 8px));
  right: 0;
  width: 54px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  transform: translateY(-50%);
  transition: top 80ms linear;
}

.scroll-ruler-hover {
  position: absolute;
  top: var(--ruler-hover, 50%);
  right: -2px;
  width: 70px;
  height: 44px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: color-mix(in srgb, var(--pale) 82%, transparent);
  opacity: 0;
  transform: translateY(-50%) translateX(8px) scale(0.84);
  transform-origin: right center;
  transition:
    opacity 150ms ease,
    transform 220ms var(--ease);
  pointer-events: none;
}

.scroll-ruler-hover::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 48px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.scroll-ruler-track:hover .scroll-ruler-hover,
.scroll-ruler-track:focus-visible .scroll-ruler-hover,
.scroll-ruler-track.is-pointing .scroll-ruler-hover {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

.scroll-ruler-track:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (min-width: 901px) {
  .desktop-header,
  main,
  footer {
    transform: scale(1);
    transform-origin: right center;
    transition: transform 420ms var(--ease);
  }

  body.ruler-preview .desktop-header,
  body.ruler-preview main,
  body.ruler-preview footer {
    transform: scale(0.985);
  }
}

.scroll-ruler-progress {
  position: absolute;
  top: clamp(8px, var(--scroll-progress), calc(100% - 8px));
  right: 4px;
  width: max-content;
  padding: 3px 4px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--blue);
  font-size: 8px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(7px);
  transition: top 80ms linear;
}

.scroll-ruler.is-inverted .scroll-ruler-progress {
  background: color-mix(in srgb, var(--blue) 90%, transparent);
  color: var(--paper);
}

.scroll-ruler-section {
  position: absolute;
  top: 50%;
  right: 4px;
  color: currentColor;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity 140ms ease,
    transform 240ms var(--ease);
}

.scroll-ruler-section.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 900px) {
  .scroll-ruler {
    display: none;
  }
}

.legal-copy {
  gap: 0;
}

.legal-copy h1 {
  margin-bottom: 28px;
}

.legal-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.15;
  color: var(--blue);
  margin: 36px 0 12px;
}

.legal-copy h3 {
  font-size: 23px;
  color: var(--blue);
  margin: 24px 0 8px;
}

.legal-copy h4 {
  font-size: 19px;
  color: var(--ink);
  margin: 20px 0 6px;
}

.legal-copy p + p {
  margin-top: 14px;
}

.legal-copy address {
  margin: 0;
}

.legal-copy .legal-dialog-home {
  margin-top: 44px;
}

.legal-dialog .legal-copy h1 {
  font-size: 72px;
  line-height: 1.05;
}

.legal-dialog .legal-copy h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .legal-dialog .legal-copy h1 {
    font-size: 48px;
  }

  .legal-copy h2,
  .legal-dialog .legal-copy h2 {
    font-size: 30px;
  }

  .legal-copy h3 {
    font-size: 21px;
  }
}

.button:not(.nav-cta):not(.whatsapp) {
  border: 1px solid var(--blue);
  border-radius: 2px;
  background: var(--paper);
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 5px 5px 0 var(--blue);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s,
    color 0.2s;
}

.button-light:not(.nav-cta):not(.whatsapp) {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--blue);
  box-shadow: 5px 5px 0 #8fb1ce;
}

.button:not(.nav-cta):not(.whatsapp):focus-visible {
  background: var(--blue);
  color: white;
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--blue);
}

.button-light:not(.nav-cta):not(.whatsapp):focus-visible {
  border-color: var(--pale);
  background: var(--pale);
  color: var(--blue);
  box-shadow: 0 0 0 #8fb1ce;
}

@media (hover: hover) {
  .button:not(.nav-cta):not(.whatsapp):hover {
    background: var(--blue);
    color: white;
    transform: translate(5px, 5px);
    box-shadow: 0 0 0 var(--blue);
  }

  .button-light:not(.nav-cta):not(.whatsapp):hover {
    border-color: var(--pale);
    background: var(--pale);
    color: var(--blue);
    box-shadow: 0 0 0 #8fb1ce;
  }
}

.button:not(.nav-cta):not(.whatsapp):active,
.button:not(.nav-cta):not(.whatsapp).is-pressed {
  background: #0e3965;
  color: white;
  transform: translate(5px, 5px) scale(0.98);
  box-shadow: 0 0 0 var(--blue);
}

.button-light:not(.nav-cta):not(.whatsapp):active,
.button-light:not(.nav-cta):not(.whatsapp).is-pressed {
  background: #cbdceb;
  color: var(--blue);
}

.menu-close,
.legal-dialog-close {
  width: 42px;
  height: 34px;
  border-radius: 3px;
  font-size: 22px;
  line-height: 1;
}

.menu-close {
  display: grid;
  place-items: center;
  padding: 0;
}

.menu-close:hover {
  background: var(--paper);
  color: var(--blue);
}
