:root {
  --ink: #132237;
  --ink-soft: #26384a;
  --ivory: #fbf7f3;
  --paper: #fffdfb;
  --blush: #efc9c3;
  --rose: #c77f75;
  --rose-deep: #a85e55;
  --gold: #a8742b;
  --gold-light: #d7b578;
  --line: rgba(168, 116, 43, 0.28);
  --shadow: 0 30px 70px rgba(55, 40, 34, 0.12);
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 48px));
  --header-height: 88px;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

::selection {
  color: var(--paper);
  background: var(--rose-deep);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ivory);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ivory);
  border-radius: 10px;
  background: var(--gold-light);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-anchor {
  scroll-margin-top: var(--header-height);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  border-radius: 4px;
  color: white;
  background: var(--ink);
  transition: transform 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--rose), var(--gold-light));
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(168, 116, 43, 0.16);
  background: rgba(251, 247, 243, 0.92);
  box-shadow: 0 8px 30px rgba(27, 37, 49, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}

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

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand__text small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > a:not(.nav__call) {
  position: relative;
  padding-block: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.main-nav > a:not(.nav__call)::after {
  position: absolute;
  right: 50%;
  bottom: 7px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: right 0.25s ease, left 0.25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  right: 0;
  left: 0;
}

.nav__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid var(--gold-light);
  background: rgba(255, 253, 251, 0.55);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav__call:hover {
  transform: translateY(-2px);
  color: white;
  background: var(--ink);
}

.nav__call svg {
  width: 16px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 54px) 0 92px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 42%, rgba(239, 201, 195, 0.4), transparent 29%),
    linear-gradient(135deg, #fffdfb 0%, #fbf7f3 45%, #f7eee9 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(168, 116, 43, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 116, 43, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent, black 40%, black 70%, transparent);
}

.hero__wash {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.hero__wash--one {
  top: -18vw;
  right: -14vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(168, 116, 43, 0.22);
}

.hero__wash--two {
  right: 1vw;
  bottom: -25vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(199, 127, 117, 0.28);
}

.hero__line {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 120px;
  background: linear-gradient(transparent, var(--gold-light), transparent);
}

.hero__line--left {
  top: 28%;
  left: 4%;
}

.hero__line--right {
  right: 4%;
  bottom: 21%;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--gold-light);
}

.hero .eyebrow {
  color: #000;
}

.hero h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(66px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.055em;
}

.hero h1 em {
  display: block;
  margin: 20px 0 0 clamp(28px, 7vw, 94px);
  color: var(--gold);
  font-weight: 400;
}

.hero__profession {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(420px, 88%);
  margin: 30px 0 0 clamp(28px, 7vw, 94px);
}

.hero__profession span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose));
}

.hero__profession span:last-child {
  background: linear-gradient(90deg, var(--rose), transparent);
}

.hero__profession p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.hero__motto {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.025em;
}

.hero__motto i {
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--rose);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

.button--primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(19, 34, 55, 0.17);
}

.button--primary:hover {
  background: var(--gold);
  box-shadow: 0 18px 36px rgba(168, 116, 43, 0.22);
}

.button--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
}

.button--ghost:hover {
  border-color: var(--gold);
  background: white;
}

.hero__address {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin-top: 26px;
  color: var(--ink-soft);
}

.hero__address .icon-circle {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--rose-deep);
  transition: color 0.25s ease, background 0.25s ease;
}

.hero__address:hover .icon-circle {
  color: white;
  background: var(--rose-deep);
}

.hero__address svg {
  width: 17px;
}

.hero__address > span:last-child {
  display: grid;
  gap: 4px;
}

.hero__address small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__address strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.hero__emblem {
  position: relative;
  z-index: 2;
  width: min(370px, 78%);
  padding: 32px;
  background: rgba(255, 253, 251, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.hero__emblem::before {
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(168, 116, 43, 0.28);
  content: "";
  pointer-events: none;
}

.hero__emblem img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__corner {
  position: absolute;
  z-index: 3;
  width: 35px;
  height: 35px;
  border-color: var(--gold);
  pointer-events: none;
}

.hero__corner--tl {
  top: 5px;
  left: 5px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero__corner--tr {
  top: 5px;
  right: 5px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.hero__corner--bl {
  bottom: 5px;
  left: 5px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.hero__corner--br {
  right: 5px;
  bottom: 5px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero__orbit {
  position: absolute;
  border: 1px solid rgba(168, 116, 43, 0.24);
  border-radius: 50%;
}

.hero__orbit--outer {
  width: 525px;
  height: 525px;
  animation: rotate-orbit 28s linear infinite;
}

.hero__orbit--outer::before,
.hero__orbit--outer::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gold-light);
}

.hero__orbit--outer::before {
  top: 47px;
  right: 80px;
}

.hero__orbit--outer::after {
  bottom: 75px;
  left: 52px;
}

.hero__orbit--inner {
  width: 445px;
  height: 445px;
  border-color: rgba(199, 127, 117, 0.28);
}

.hero__spark {
  position: absolute;
  color: var(--gold);
}

.hero__spark--one {
  top: 7%;
  right: 4%;
  font-size: 22px;
}

.hero__spark--two {
  bottom: 12%;
  left: 2%;
  color: var(--rose);
  font-size: 15px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero__scroll i {
  position: relative;
  width: 1px;
  height: 33px;
  overflow: hidden;
  background: rgba(168, 116, 43, 0.26);
}

.hero__scroll i::after {
  position: absolute;
  top: -100%;
  right: 0;
  left: 0;
  height: 50%;
  content: "";
  background: var(--gold);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.profile {
  position: relative;
  padding: 120px 0;
  background: var(--paper);
}

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

.profile::before {
  top: 0;
  left: 6%;
  width: 1px;
  height: 70px;
  background: linear-gradient(var(--gold-light), transparent);
}

.profile::after {
  right: -120px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(199, 127, 117, 0.18);
  border-radius: 50%;
}

.section-heading p {
  margin: 0 0 14px;
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 75px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-heading--center {
  text-align: center;
}

.section-heading__ornament {
  display: block;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 16px;
}

.section-heading__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 165px;
  height: 1px;
  margin: 26px auto 0;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
}

.section-heading__rule i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
}

.profile__panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 920px;
  margin: 64px auto 0;
  padding: 42px 50px;
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(239, 201, 195, 0.15), transparent 45%),
    #fff;
  box-shadow: 0 24px 58px rgba(53, 41, 37, 0.08);
}

.profile__identity {
  display: flex;
  align-items: center;
  gap: 22px;
}

.profile__identity small,
.profile__fact span {
  display: block;
  margin-bottom: 8px;
  color: var(--rose-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.profile__identity h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.profile__divider {
  display: grid;
  width: 1px;
  height: 120px;
  margin: 0 60px;
  place-items: center;
  background: var(--line);
}

.profile__divider span {
  padding: 8px 0;
  color: var(--gold);
  background: white;
  font-size: 11px;
}

.profile__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.profile__fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.principles {
  position: relative;
  padding: 130px 0 145px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 253, 251, 0.75), rgba(255, 253, 251, 0.75)),
    radial-gradient(circle at 15% 85%, var(--blush), transparent 27%),
    var(--ivory);
}

.principles__arc {
  position: absolute;
  top: -330px;
  right: -250px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(168, 116, 43, 0.18);
  border-radius: 50%;
}

.principles .section-heading {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.principles__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 62px;
}

.principle-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.76);
  box-shadow: 0 18px 42px rgba(53, 41, 37, 0.06);
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.principle-card::after {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(168, 116, 43, 0.2);
  border-radius: 50%;
  content: "";
  transition: transform 0.5s ease;
}

.principle-card:hover {
  transform: translateY(-8px);
  color: white;
  background: var(--ink);
  box-shadow: 0 26px 55px rgba(19, 34, 55, 0.16);
}

.principle-card:hover::after {
  transform: scale(1.35);
}

.principle-card__index {
  color: var(--rose-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.principle-card__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 43px 0 34px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.4s ease;
}

.principle-card:hover .principle-card__icon {
  background: rgba(255, 255, 255, 0.07);
}

.principle-card__icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.2;
}

.principle-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
}

.principle-card > i {
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 23px;
  background: var(--rose);
}

.contact {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 0 100%, rgba(199, 127, 117, 0.22), transparent 32%),
    var(--ink);
}

.contact::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, black, transparent);
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 10vw, 140px);
}

.eyebrow--light {
  color: var(--blush);
}

.contact__intro h2 {
  margin: 0;
  color: white;
  font-family: var(--serif);
  font-size: clamp(60px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.contact__intro h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.contact__motto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 14px;
}

.contact__motto i {
  width: 3px;
  height: 3px;
  transform: rotate(45deg);
  background: var(--rose);
}

.contact__list {
  display: grid;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 27px 4px;
  border-bottom: 1px solid rgba(215, 181, 120, 0.27);
  transition: padding 0.3s ease, background 0.3s ease;
}

.contact-card:first-child {
  border-top: 1px solid rgba(215, 181, 120, 0.27);
}

.contact-card:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(215, 181, 120, 0.55);
  border-radius: 50%;
  color: var(--gold-light);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__body {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.contact-card__body small {
  color: var(--blush);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-card__body strong {
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(19px, 2.3vw, 26px);
  font-weight: 400;
  line-height: 1.2;
}

.contact-card__arrow {
  color: var(--gold-light);
  font-size: 22px;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card__arrow {
  transform: translate(3px, -3px);
}

.contact__decor {
  position: absolute;
  color: rgba(215, 181, 120, 0.3);
}

.contact__decor--one {
  top: 14%;
  right: 4%;
  font-size: 34px;
}

.contact__decor--two {
  bottom: 10%;
  left: 3%;
  color: rgba(239, 201, 195, 0.28);
  font-size: 18px;
}

.site-footer {
  color: var(--ink);
  background: #f7eee9;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 50px;
  padding-top: 55px;
  padding-bottom: 55px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  justify-self: start;
}

.footer__brand img {
  width: 49px;
  height: 61px;
  object-fit: contain;
}

.footer__brand span {
  display: grid;
  gap: 5px;
}

.footer__brand strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.footer__brand small,
.footer__phone small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.footer__nav a:hover {
  color: var(--rose-deep);
}

.footer__phone {
  display: grid;
  gap: 7px;
  justify-self: end;
  text-align: right;
}

.footer__phone strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  color: rgba(19, 34, 55, 0.65);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom p:nth-child(2) {
  text-align: center;
}

.footer__bottom p:last-child {
  text-align: right;
}

.mobile-call {
  display: none;
}

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

@keyframes rotate-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(300%); }
}

@media (max-width: 1050px) {
  :root {
    --container: min(calc(100% - 40px), 920px);
  }

  .main-nav {
    gap: 23px;
  }

  .main-nav > a:not(.nav__call) {
    font-size: 11px;
  }

  .nav__call span {
    display: none;
  }

  .nav__call {
    padding: 12px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 30px;
  }

  .hero__visual {
    min-height: 510px;
  }

  .hero__orbit--outer {
    width: 450px;
    height: 450px;
  }

  .hero__orbit--inner {
    width: 390px;
    height: 390px;
  }

  .profile__divider {
    margin-inline: 38px;
  }

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

  .footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }
}

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

  .brand img {
    width: 40px;
    height: 50px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .menu-toggle {
    display: block;
  }

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

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

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    height: calc(100svh - var(--header-height));
    padding: 30px max(24px, calc((100% - 720px) / 2));
    transform: translateX(100%);
    background: rgba(251, 247, 243, 0.98);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    backdrop-filter: blur(18px);
  }

  .site-header.is-open .main-nav {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  .main-nav > a:not(.nav__call) {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
    letter-spacing: 0;
  }

  .main-nav > a:not(.nav__call)::after {
    display: none;
  }

  .nav__call {
    justify-content: center;
    width: 100%;
    margin-top: 28px;
    padding: 17px;
  }

  .nav__call span {
    display: inline;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero__copy {
    text-align: center;
  }

  .eyebrow,
  .hero__motto,
  .hero__actions,
  .hero__address {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(70px, 15vw, 102px);
  }

  .hero h1 em {
    margin-left: 12vw;
  }

  .hero__profession {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__address {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero__scroll {
    display: none;
  }

  .profile,
  .principles,
  .contact {
    padding: 100px 0;
  }

  .profile__panel {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 620px;
  }

  .profile__identity {
    justify-content: center;
  }

  .profile__divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .profile__divider span {
    padding: 0 10px;
  }

  .profile__facts {
    text-align: center;
  }

  .principles__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .principle-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    align-items: center;
    min-height: 190px;
    gap: 0 26px;
  }

  .principle-card__index {
    grid-column: 1 / -1;
  }

  .principle-card__icon {
    grid-row: 2 / 4;
    margin: 24px 0 0;
  }

  .principle-card h3 {
    align-self: end;
    margin-top: 24px;
  }

  .principle-card > i {
    align-self: start;
    margin-top: 16px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 32px);
  }

  .brand__text small {
    letter-spacing: 0.25em;
  }

  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(62px, 21vw, 88px);
  }

  .hero h1 em {
    margin-top: 18px;
    margin-left: 10vw;
  }

  .hero__profession {
    width: 100%;
    margin-top: 27px;
  }

  .hero__profession p {
    font-size: 11px;
    letter-spacing: 0.34em;
  }

  .hero__motto {
    gap: 7px;
    font-size: 14px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero__address {
    align-items: flex-start;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero__emblem {
    width: min(315px, 84%);
    padding: 25px;
  }

  .hero__orbit--outer {
    width: 365px;
    height: 365px;
  }

  .hero__orbit--inner {
    width: 330px;
    height: 330px;
  }

  .profile,
  .principles,
  .contact {
    padding: 78px 0;
  }

  .section-heading h2 {
    font-size: clamp(42px, 13vw, 57px);
  }

  .profile__panel {
    margin-top: 46px;
    padding: 34px 23px;
  }

  .profile__identity {
    gap: 16px;
  }

  .profile__identity h3 {
    font-size: 23px;
  }

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

  .principles .section-heading br {
    display: none;
  }

  .principle-card {
    min-height: 180px;
    padding: 25px;
  }

  .principle-card__icon {
    width: 65px;
    height: 65px;
  }

  .contact__intro h2 {
    font-size: clamp(58px, 19vw, 78px);
  }

  .contact-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
  }

  .contact-card__arrow {
    display: none;
  }

  .contact-card__icon {
    width: 46px;
    height: 46px;
  }

  .contact-card__body strong {
    font-size: 18px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 40px;
    text-align: center;
  }

  .footer__brand,
  .footer__phone {
    justify-self: center;
    text-align: center;
  }

  .footer__nav {
    grid-column: auto;
    grid-row: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 22px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 88px;
    text-align: center;
  }

  .footer__bottom p:nth-child(2),
  .footer__bottom p:last-child {
    text-align: center;
  }

  .mobile-call {
    position: fixed;
    z-index: 90;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    color: white;
    background: var(--ink);
    box-shadow: 0 14px 35px rgba(19, 34, 55, 0.28);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-call svg {
    width: 18px;
  }
}

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

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

}
