:root {
  --cream: #f7f4ec;
  --cream-deep: #efeadd;
  --olive: #3e4f34;
  --olive-deep: #31402a;
  --sage: #79866b;
  --panel: #5e6b4c;
  --ink: #262a23;
  --muted: #5c6156;
  --line: rgba(38, 42, 35, 0.28);
  --header: 104px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
  --shadow: 0 10px 30px rgba(38, 42, 35, 0.06);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: #d7e0cc;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 108px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 5.1vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.display--light {
  color: #fff;
}

.lede {
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.lede--light {
  color: rgba(255, 255, 255, 0.82);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--fill {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.btn--fill:hover {
  background: #2c3b25;
  border-color: #2c3b25;
}

.btn--line {
  background: transparent;
  border-color: rgba(38, 42, 35, 0.72);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--olive-deep);
}

.arrow {
  width: 18px;
  height: 8px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'%3E%3Cpath fill='black' d='M0 3.2h14.2L11.4.6 12.4 0 18 4l-5.6 4-1-.6 2.8-2.6H0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  height: 84px;
  width: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #f7f4ec;
}

.header.is-scrolled {
  box-shadow: 0 1px 0 rgba(38, 42, 35, 0.08);
}

.header__inner {
  position: relative;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a:not(.btn) {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a:not(.btn).is-active::after,
.nav a:not(.btn):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--ink);
}

.nav__book,
.menu-toggle {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  justify-self: end;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - var(--header)));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 72px 0 96px;
  text-shadow: 0 2px 18px rgba(20, 28, 16, 0.45);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.4rem, 7.3vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.hero__text {
  max-width: 34ch;
  margin: 26px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.7;
}

.seal {
  position: absolute;
  right: max(32px, calc((100% - 1180px) / 2));
  bottom: 42px;
  width: 138px;
  height: 138px;
  z-index: 2;
}

.seal text {
  fill: #fff;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3.4px;
}

.about {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
  background: #f7f4ec;
}

.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 0.92fr) minmax(240px, 0.82fr);
  gap: 36px 28px;
  align-items: center;
}

.about__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about__eyebrow::after {
  content: "";
  width: 78px;
  height: 1px;
  background: #c9c3b6;
}

.about__copy .lede {
  margin-top: 22px;
}

.about__copy .btn {
  margin-top: 28px;
}

.about__visual {
  position: relative;
  width: min(100%, 400px);
  margin: 0 auto;
  padding: 14px 0 0 14px;
}

.about__halo {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border: 1.25px solid #c6a56a;
  border-radius: 50% 50% 0 0 / 39% 39% 0 0;
  background: #f1eadf;
  pointer-events: none;
}

.about__visual .arch {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 3.85;
  border-radius: 50% 50% 0 0 / 39% 39% 0 0;
  box-shadow: 0 22px 40px rgba(62, 74, 48, 0.16);
}

.about__visual .media {
  border-radius: 50% 50% 0 0 / 39% 39% 0 0;
}

.about__aside {
  margin-top: 8%;
  margin-left: 64px;
}

.script {
  display: block;
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 2.4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: right;
  color: var(--olive);
}

.script::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 12px 0 0 auto;
  background: var(--olive);
  opacity: 0.4;
}

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

.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--olive);
  color: #f7f4ec;
  box-shadow: 0 8px 18px rgba(62, 79, 52, 0.12);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.features li:hover {
  background: #2c3b25;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(44, 59, 37, 0.16);
}

.features__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 244, 236, 0.14);
  color: #f7f4ec;
}

.features__icon svg {
  width: 22px;
  height: 22px;
}

.features li > span:nth-child(2) {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  color: #f7f4ec;
}

.features__go {
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-top: 1.5px solid #f7f4ec;
  border-right: 1.5px solid #f7f4ec;
  transform: rotate(45deg);
}

.villa {
  padding-top: 80px;
  border-top: 1px solid rgba(38, 42, 35, 0.12);
}

.villa__head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.villa__intro {
  display: grid;
  justify-items: start;
  gap: 22px;
  padding-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
}

.card p {
  margin-top: 4px;
  color: var(--muted);
}

.media {
  overflow: hidden;
  border-radius: 18px;
  background: #e7e1d4;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card .media {
  aspect-ratio: 4 / 3.05;
}

.card:hover img,
.gallery__item:hover img,
.mosaic .media:hover img {
  transform: scale(1.045);
}

.experience {
  background: var(--olive-deep);
  color: #fff;
  padding: 88px 0;
}

.experience__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
}

.experience__copy .lede {
  margin: 22px 0 28px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 14px;
  height: 390px;
}

.mosaic .media {
  height: 100%;
  border-radius: 16px;
}

.gallery__head {
  margin-bottom: 36px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 36px 22px;
}

.gallery__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  overflow: visible;
  line-height: 1.3;
}

.gallery__item .media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  flex: none;
}

.gallery__item .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery__caption {
  display: block;
  flex: none;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  overflow: visible;
}

.cta {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 18% 100%, rgba(166, 181, 150, 0.28), transparent 42%),
    var(--cream);
}

.cta__leaves {
  position: absolute;
  left: -20px;
  bottom: -30px;
  width: min(460px, 42vw);
  height: auto;
  pointer-events: none;
}

.cta__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
}

.cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}

.cta__content {
  position: relative;
  z-index: 1;
  padding: 92px 0;
}

.cta__content .display {
  margin-bottom: 28px;
}

.section.contact {
  background: #f7f4ec;
  padding-bottom: 48px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 56px;
  align-items: start;
}

.contact__intro {
  padding-right: 8px;
}

.contact__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact__eyebrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #c9c3b6;
}

.contact__place {
  margin-top: 14px;
  color: #3c4038;
  font-size: 1.05rem;
}

.contact__note {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--muted);
}

.contact__reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 32px;
  margin-top: 32px;
}

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

.contact__phone {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.contact__hint {
  margin: 2px 0 0;
  color: #8b9084;
  font-size: 0.82rem;
}

.contact__mail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 32px;
  border-left: 1px solid rgba(38, 42, 35, 0.12);
}

.contact__mail[hidden] {
  display: none;
}

.contact__mail-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e7eee0;
  color: #5e6c4d;
}

.contact__mail-icon svg {
  width: 22px;
  height: 22px;
}

.contact__mail a {
  color: var(--ink);
  font-weight: 500;
}

.contact__mail p {
  margin: 2px 0 0;
  color: #8b9084;
  font-size: 0.82rem;
}

.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(38, 42, 35, 0.12);
  border-radius: 14px;
  background: #fffcf8;
  font-size: 16px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #9aa093;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: transparent;
}

.field__date {
  position: relative;
  display: block;
}

.field__date svg {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: #6d7268;
  transform: translateY(-50%);
  pointer-events: none;
}

.field__date input {
  position: relative;
  padding-left: 42px;
  color-scheme: light;
}

.field__date em {
  position: absolute;
  left: 42px;
  top: 50%;
  color: #9aa093;
  font-style: normal;
  transform: translateY(-50%);
  pointer-events: none;
}

.field__date input:focus + em,
.field__date input:not(.is-empty) + em {
  opacity: 0;
}

.field__date input.is-empty::-webkit-datetime-edit {
  color: transparent;
}

.field__date input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .btn {
  width: 100%;
  margin-top: 4px;
}

.form .btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form__bot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: #8a4b3a;
}

.form__status {
  min-height: 1.4em;
  color: var(--olive);
  font-size: 0.95rem;
}

.form__status.is-error {
  color: #8a4b3a;
}

.footer {
  padding: 28px 0 18px;
  border-top: 1px solid rgba(38, 42, 35, 0.12);
  color: var(--muted);
}

.footer__main {
  display: grid;
  grid-template-columns: auto 1.1fr 0.9fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding-bottom: 28px;
}

.footer__main > * + * {
  padding-left: 28px;
  border-left: 1px solid rgba(38, 42, 35, 0.1);
}

.footer .brand {
  align-self: center;
}

.footer__blurb,
.footer__find {
  justify-content: center;
}

.footer__blurb {
  display: flex;
  flex-direction: column;
}

.footer__find {
  display: flex;
  flex-direction: column;
}

.footer__links {
  align-content: center;
}

.footer .brand img {
  height: 92px;
}

.footer__blurb p {
  max-width: 16ch;
  color: #4e5348;
  line-height: 1.45;
}

.footer__social {
  display: none;
  gap: 10px;
  margin-top: 16px;
}

.footer__social.is-on {
  display: flex;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(38, 42, 35, 0.16);
  border-radius: 50%;
  color: #3e4f34;
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__label {
  margin: 0 0 14px;
  color: #6d7268;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #3c4038;
}

.footer__links a span {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #a3ad96;
  border-right: 1.5px solid #a3ad96;
  transform: rotate(45deg);
}

.footer__pin {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #3c4038;
}

.footer__pin svg {
  width: 18px;
  height: 18px;
  color: #3e4f34;
}

.footer__directions[hidden],
.footer__social a[hidden],
.contact__mail[hidden] {
  display: none !important;
}

.footer__directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(38, 42, 35, 0.14);
  border-radius: 999px;
  background: #fffcf8;
  color: #3c4038;
  font-size: 0.92rem;
}

.footer__directions svg {
  width: 16px;
  height: 16px;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(38, 42, 35, 0.1);
  font-size: 0.82rem;
}

.footer__credit {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #8b9084;
}

.footer__heart {
  color: #c56b5c;
}

.lightbox {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(18, 22, 16, 0.84);
}

.lightbox__frame {
  margin: 0;
}

.lightbox__frame img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 16px;
  background: #1c241b;
}

.lightbox__frame figcaption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(247, 244, 236, 0.94);
  cursor: pointer;
}

.lightbox__close {
  top: -8px;
  right: -8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.lightbox__close span,
.lightbox__close span::before {
  position: absolute;
  left: 12px;
  top: 20px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  content: "";
}

.lightbox__close span {
  transform: rotate(40deg);
}

.lightbox__close span::before {
  left: 0;
  top: 0;
  transform: rotate(90deg);
}

.lightbox__nav {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: -18px;
}

.lightbox__next {
  right: -18px;
}

.lightbox__nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
}

.lightbox__prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.lightbox__next::before {
  transform: translateX(-2px) rotate(45deg);
}

.media.is-missing {
  display: grid;
  place-items: center;
}

.media.is-missing img {
  display: none;
}

.media.is-missing::after {
  content: "Photo missing — update js/villaImages.js";
  padding: 16px;
  color: var(--olive);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 1100px) {
  .header__inner {
    width: min(1240px, calc(100% - 28px));
  }

  .header__book {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header) + 10px);
    left: 16px;
    right: 16px;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 22px 22px 26px;
    background: var(--cream);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn).is-active::after,
  .nav a:not(.btn):hover::after {
    bottom: -4px;
  }

  .nav__book {
    display: inline-flex;
    margin-top: 6px;
  }

  .about__grid,
  .villa__head,
  .experience__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact__intro {
    padding-right: 0;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer__links {
    padding-left: 0;
    border-left: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(38, 42, 35, 0.1);
  }

  .footer__find {
    padding-top: 22px;
    border-top: 1px solid rgba(38, 42, 35, 0.1);
  }

  .about__aside {
    margin-top: 0;
    margin-left: 0;
    max-width: 460px;
  }

  .script {
    text-align: left;
    font-size: clamp(1.85rem, 7vw, 2.25rem);
  }

  .script::after {
    margin-left: 0;
  }

  .about__visual {
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .cards,
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .mosaic .media:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .mosaic .media {
    aspect-ratio: 1;
    height: auto;
  }

  .seal {
    width: 108px;
    height: 108px;
    right: 18px;
    bottom: 18px;
  }

}

@media (max-width: 700px) {
  .container {
    width: min(1180px, calc(100% - 40px));
  }

  .section {
    padding: 72px 0;
  }

  :root {
    --header: 86px;
  }

  .brand img {
    height: 64px;
  }

  .hero {
    min-height: 620px;
    align-items: flex-end;
  }

  .hero__shade {
    display: none;
  }

  .hero__text {
    max-width: 32ch;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 16vw, 4.6rem);
  }

  .about__visual {
    width: min(100%, 300px);
    padding: 12px 0 0 12px;
  }

  .about__halo {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
  }

  .script {
    font-size: clamp(1.85rem, 7vw, 2.25rem);
  }

  .hero__content {
    padding: 56px 0 88px;
  }

  .cards,
  .gallery__grid,
  .form__row,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic .media:first-child,
  .mosaic .media {
    aspect-ratio: 4 / 3;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__main > * + * {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(38, 42, 35, 0.1);
  }

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

  .contact__mail {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(38, 42, 35, 0.12);
  }

  .cta {
    min-height: 0;
  }

  .cta__photo {
    position: relative;
    width: 100%;
    height: 210px;
  }

  .cta__photo img {
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
  }

  .cta__content {
    padding: 28px 0 72px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .seal {
    display: none;
  }
}

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

  .media img,
  .btn,
  .menu-toggle span,
  .features li {
    transition: none;
  }
}
