:root {
  --ink: #172333;
  --muted: #647181;
  --blue: #315c8d;
  --blue-deep: #183d66;
  --blue-soft: #d9e6f1;
  --cream: #f8f3e9;
  --paper: #fffaf1;
  --line: rgba(49, 92, 141, 0.18);
  --accent: #b48668;
  --shadow: 0 22px 50px rgba(23, 35, 51, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(49, 92, 141, 0.11), transparent 34rem),
    linear-gradient(180deg, var(--cream), #fffaf4 54%, #eef5f8);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(14px);
}

.brand {
  text-decoration: none;
}

.brand-script {
  display: block;
  color: var(--blue-deep);
  font-family: Parisienne, "Brush Script MT", cursive;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  text-wrap: balance;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--line);
  background: rgba(255, 250, 241, 0.78);
  outline: none;
}

.nav-link.is-active {
  background: var(--blue-deep);
  color: #fff;
}

.deco-link {
  border-color: rgba(180, 134, 104, 0.36);
  background: rgba(180, 134, 104, 0.16);
  color: #7f5946;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.55);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: calc(100svh - 5.8rem);
  padding: clamp(2rem, 5vw, 4.5rem) 0 2.5rem;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  font-weight: 600;
  line-height: 0.78;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--accent);
  font-family: Parisienne, "Brush Script MT", cursive;
  font-size: 0.88em;
  font-weight: 400;
  margin-top: 0.15em;
}

.appointment-line {
  display: inline-block;
  margin: clamp(1.3rem, 3vw, 2rem) 0 0;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  color: var(--blue-deep);
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
  font-weight: 800;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border: 1px solid var(--blue-deep);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 61, 102, 0.22);
}

.button.secondary {
  background: rgba(255, 250, 241, 0.78);
  color: var(--blue-deep);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.frontage {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 430px);
}

.frontage::before {
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--line);
  content: "";
}

.frontage img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: 41% 62%;
  border: 10px solid var(--paper);
  box-shadow: var(--shadow);
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: clamp(1.1rem, 3vw, 2.5rem);
  margin: 0 0 clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(0.4rem, 2vw, 1rem);
}

.detail-block {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.detail-label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-block strong,
.detail-block a {
  color: var(--blue-deep);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.detail-block a:hover,
.detail-block a:focus-visible {
  color: var(--accent);
  outline: none;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.site-footer a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  outline: none;
}

.esei-link {
  display: inline;
  font-size: 1em;
  line-height: inherit;
}

.esei-link span {
  color: inherit;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0;
}

.legal-page {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-content {
  width: min(80vw, 1120px);
}

.legal-content h1 {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  font-size: clamp(1.9rem, 4.8vw, 3.6rem);
}

.legal-content h2 {
  margin: 2rem 0 0.65rem;
  color: var(--blue-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.legal-content p {
  margin: 0 0 1rem;
  color: #3c4b5c;
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-content a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .frontage {
    width: min(100%, 390px);
    justify-self: start;
  }

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

@media (max-width: 520px) {
  .brand-script {
    font-size: 2.25rem;
  }

  .nav-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 4.8rem);
  }

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

  .frontage::before {
    inset: 0.7rem -0.7rem -0.7rem 0.7rem;
  }

  .frontage img {
    border-width: 7px;
  }
}
