:root {
  color-scheme: light;
  --ink: #284541;
  --muted: #4c625d;
  --surface: #fbfdf9;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #f1fae9; }

body {
  margin: 0;
  background: #f1fae9;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 10px);
  margin: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #f1fae9;
}

.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 5% 3%, #d8ffad 0%, transparent 38%),
    radial-gradient(ellipse at 98% 76%, #e2ffc0 0%, transparent 39%),
    radial-gradient(ellipse at 5% 100%, #d0f1df 0%, transparent 45%),
    #f7fff2;
}

.ambient__shape {
  position: absolute;
  display: block;
  width: min(72vw, 1100px);
  height: min(72vw, 1100px);
  border-radius: 50%;
  filter: blur(80px);
  opacity: .86;
  will-change: transform;
}

.ambient__shape--lime {
  top: -37%;
  left: -26%;
  background: radial-gradient(circle, #a9f255 0%, #c5fb8a 38%, transparent 72%);
  animation: drift-lime 25s ease-in-out infinite alternate;
}

.ambient__shape--mint {
  bottom: -55%;
  left: -18%;
  background: radial-gradient(circle, #9bd9c3 0%, #c4ead6 42%, transparent 72%);
  animation: drift-mint 31s ease-in-out infinite alternate;
}

.ambient__shape--sage {
  right: -34%;
  top: 12%;
  background: radial-gradient(circle, #c8f592 0%, #dff8c8 42%, transparent 72%);
  animation: drift-sage 29s ease-in-out infinite alternate;
}

@keyframes drift-lime {
  to { transform: translate3d(16%, 9%, 0) scale(1.12); }
}

@keyframes drift-mint {
  to { transform: translate3d(19%, -11%, 0) scale(1.08); }
}

@keyframes drift-sage {
  to { transform: translate3d(-12%, 12%, 0) scale(1.14); }
}

.content {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100svh - 10px);
  padding: clamp(24px, 4svh, 66px) 24px;
  text-align: center;
}

.content::before {
  position: absolute;
  z-index: 1;
  top: calc(50% + 70px);
  left: 50%;
  width: min(1080px, calc(100% - 16px));
  height: min(570px, 80svh);
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(247, 255, 242, .96) 0%, rgba(247, 255, 242, .88) 30%, rgba(247, 255, 242, .68) 55%, rgba(247, 255, 242, .22) 78%, transparent 100%);
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  width: 200px;
  height: auto;
  animation: arrive .9s cubic-bezier(.16, 1, .3, 1) both;
}

h1 {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 95px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .94;
  animation: arrive .95s .1s cubic-bezier(.16, 1, .3, 1) both;
}

h1 em {
  color: #356849;
  font-weight: 400;
}

.intro {
  position: relative;
  z-index: 2;
  margin: 35px 0 0;
  color: #304b45;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  animation: arrive .95s .2s cubic-bezier(.16, 1, .3, 1) both;
}

.intro::before {
  position: absolute;
  z-index: -1;
  inset: -70px -100px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(247, 255, 242, .84) 0%, rgba(247, 255, 242, .56) 42%, transparent 76%);
}

.visit {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: min(100svh, 920px);
  margin: 0;
  animation: arrive 1.1s .34s cubic-bezier(.16, 1, .3, 1) both;
}

.visit__media {
  position: relative;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 125% 125% at 50% 115%, #000 38%, rgba(0, 0, 0, .82) 58%, rgba(0, 0, 0, .38) 79%, transparent 100%);
  mask-image: radial-gradient(ellipse 125% 125% at 50% 115%, #000 38%, rgba(0, 0, 0, .82) 58%, rgba(0, 0, 0, .38) 79%, transparent 100%);
}

.visit__media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 255, 242, .88) 0%, rgba(241, 255, 231, .74) 45%, rgba(231, 253, 222, .32) 72%, rgba(221, 252, 214, .08) 100%),
    radial-gradient(ellipse at 3% 70%, rgba(168, 244, 100, .4), transparent 48%),
    radial-gradient(ellipse at 97% 88%, rgba(133, 214, 182, .42), transparent 48%);
}

.visit__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.contacts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(780px, calc(100% - 64px));
  margin: 43px auto 0;
  overflow: hidden;
  border: 1px solid rgba(40, 69, 65, .08);
  border-radius: 10px;
  background: rgba(255, 255, 252, .97);
  box-shadow: 0 14px 35px rgba(30, 65, 48, .055);
  animation: arrive 1s .28s cubic-bezier(.16, 1, .3, 1) both;
}

.location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px 24px 18px;
  text-align: left;
}

.location + .location { border-left: 1px solid #dbe5de; }

.location__heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.location__heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.location__heading span {
  color: var(--muted);
  font-size: 12.5px;
}

.location__address {
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.location__actions {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.location__map,
.location__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.location__map {
  border-color: #dbe9d7;
  background: #f2f8ef;
  color: var(--ink);
}

.location__phone {
  background: #315f4f;
  color: #fff;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.legal-links {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 22px;
  display: flex;
  gap: 2px;
  padding: 0 5px;
  border: 1px solid rgba(40, 69, 65, .12);
  border-radius: 7px;
  background: rgba(255, 255, 252, .9);
  box-shadow: 0 5px 20px rgba(30, 65, 48, .06);
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 7px;
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
}

.legal-links a:hover,
.legal-bottom a:hover,
.legal-back:hover { text-decoration: underline; }

.socials {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.socials__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(40, 69, 65, .14);
  border-radius: 50%;
  background: rgba(255, 255, 252, .9);
  box-shadow: 0 5px 20px rgba(30, 65, 48, .08);
  color: var(--ink);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.socials__link svg {
  width: 20px;
  height: 20px;
}

.socials__link:hover {
  background: #fff;
  transform: translateY(-2px);
}

.location__map:hover { background: #e6f2e1; }
.location__phone:hover { background: #244c3e; }

.location a:focus-visible,
.socials__link:focus-visible,
.legal-links a:focus-visible,
.legal-back:focus-visible,
.legal-bottom a:focus-visible {
  outline: 3px solid #4b8277;
  outline-offset: 3px;
}

.legal-page { overflow: visible; }

.legal-content {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 20px 60px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.legal-panel {
  padding: clamp(25px, 5vw, 52px);
  border: 1px solid rgba(40, 69, 65, .1);
  border-radius: 12px;
  background: rgba(255, 255, 252, .94);
  box-shadow: 0 16px 45px rgba(30, 65, 48, .05);
}

.legal-brand { display: block; width: 112px; height: auto; }

.legal-kicker {
  margin: 28px 0 7px;
  color: #356849;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.legal-title {
  max-width: none;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: -.06em;
  line-height: 1.03;
  animation: none;
}

.legal-lead {
  max-width: 62ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.legal-draft {
  margin: 28px 0 0;
  padding: 13px 15px;
  border: 1px solid #dce9d5;
  border-radius: 7px;
  background: #f2f8ee;
  font-size: 13px;
  line-height: 1.5;
}

.legal-section { margin-top: 35px; }

.legal-section h2 {
  margin: 0 0 13px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.legal-section h3 {
  margin: 22px 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.legal-section p {
  max-width: 68ch;
  margin: 0 0 12px;
  color: #3e5750;
  font-size: 14px;
  line-height: 1.65;
}

.legal-section ul {
  max-width: 68ch;
  margin: 0 0 16px;
  padding-left: 22px;
  color: #3e5750;
  font-size: 14px;
  line-height: 1.6;
}

.legal-section li + li { margin-top: 6px; }

.legal-section a { color: #245e4a; }

.legal-updated {
  margin: 35px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.legal-details { margin: 0; }

.legal-details div {
  display: grid;
  grid-template-columns: minmax(150px, .6fr) 1fr;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #e5ece6;
  font-size: 14px;
  line-height: 1.45;
}

.legal-details dt { color: var(--muted); }
.legal-details dd { margin: 0; font-weight: 600; }

.legal-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #dbe5de;
}

.legal-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

@keyframes arrive {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 700px) {
  .page {
    height: 100svh;
    min-height: 0;
    margin: 0;
    border-radius: 0;
  }
  .content {
    height: 100%;
    min-height: 0;
    padding: 16px 20px 64px;
  }
  .content::before { display: none; }
  .brand { width: clamp(110px, 34vw, 148px); }
  h1 {
    max-width: 570px;
    margin-top: clamp(16px, 3svh, 28px);
    font-size: clamp(2.05rem, 9.3vw, 3.5rem);
    letter-spacing: -.07em;
    line-height: .98;
  }
  .desktop-break { display: none; }
  .intro {
    max-width: 460px;
    margin-top: 18px;
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.45;
  }
  .intro::before { inset: -38px -28px; }
  .visit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    animation: none;
  }
  .visit__media {
    height: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .12) 28%, rgba(0, 0, 0, .52) 58%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .12) 28%, rgba(0, 0, 0, .52) 58%, #000 100%);
  }
  .visit__photo {
    object-position: center 55%;
  }
  .visit__media::after {
    background:
      linear-gradient(180deg, rgba(247, 255, 242, .78) 0%, rgba(239, 255, 231, .72) 55%, rgba(221, 252, 214, .28) 100%),
      radial-gradient(ellipse at 0% 48%, rgba(168, 244, 100, .42), transparent 55%),
      radial-gradient(ellipse at 100% 86%, rgba(133, 214, 182, .42), transparent 53%);
  }
  .contacts {
    width: min(100%, 600px);
    margin-top: 20px;
  }
  .location { padding: 12px 14px; }
  .location__heading h2 { font-size: 17px; }
  .location__address { margin: 5px 0 10px; font-size: 12px; }
  .location__map,
  .location__phone { min-height: 44px; font-size: clamp(12px, 3.6vw, 14px); }
  .socials { right: 12px; bottom: 12px; }
  .legal-links { left: 12px; bottom: 12px; }
  .location a:active,
  .socials__link:active { background: #edf7e9; }
  .location__phone:active { background: #244c3e; }
  .legal-page { height: auto; min-height: 100svh; }
  .legal-details div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 390px) {
  .legal-links a { padding-inline: 4px; font-size: 11px; }
}

@media (max-width: 450px) {
  .content { padding-inline: 17px; }
  .contacts {
    grid-template-columns: 1fr;
    width: min(100%, 350px);
    margin-top: 18px;
  }
  .location { padding: 9px 13px; }
  .location + .location {
    border-left: 0;
    border-top: 1px solid #dbe5de;
  }
  .location__heading h2 { font-size: 16px; }
  .location__address { margin: 3px 0 7px; line-height: 1.3; }
}

@media (max-width: 700px) and (max-height: 650px) {
  .content { padding-top: 10px; padding-bottom: 60px; }
  .brand { width: clamp(76px, 17svh, 104px); }
  h1 {
    margin-top: 12px;
    font-size: clamp(1.65rem, 7.3vw, 2.35rem);
  }
  .intro {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.3;
  }
  .contacts {
    margin-top: 13px;
  }
  .location { padding: 6px 11px; }
  .location__heading h2 { font-size: 15px; }
  .location__heading span { font-size: 10.5px; }
  .location__address { margin: 3px 0 5px; font-size: 11.5px; }
}

@media (max-width: 700px) and (max-height: 450px) {
  .content { padding-top: 6px; padding-bottom: 60px; }
  .brand { width: 70px; }
  h1 {
    margin-top: 8px;
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }
  .intro {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.2;
  }
  .contacts {
    margin-top: 8px;
  }
  .location { padding: 4px 10px; }
  .location__address { margin-bottom: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient__shape { animation: none; will-change: auto; }
  .brand, h1, .intro, .visit, .contacts { animation: none; }
  .socials__link { transition: none; }
}
