:root {
  --paper: #f5f0e8;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #3d2e26;
  --text-muted: #7a6a5c;
  --brown-dark: #2a1f19;
  --accent: #c4926a;
  --accent-hover: #b07f58;
  --accent-light: #e8d4c4;
  --border: #e5ddd2;
  --shadow: 0 12px 40px rgba(42, 31, 25, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --container: min(1240px, calc(100% - 48px));
  --header-h: 88px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-script: "Brittany Signature", cursive;
  --text-display: clamp(2rem, 4.8vw, 3.5rem);
  --text-h2: clamp(1.92rem, 3.6vw, 2.64rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-sign: clamp(2.75rem, 5.5vw, 3.75rem);
  --text-body: 1rem;
  --text-body-lg: clamp(0.95rem, 1.6vw, 1.05rem);
  --text-md: 1.05rem;
  --text-md-process: 1.0625rem;
  --text-sm: 0.875rem;
  --text-perk: 0.9rem;
  --text-xs: 0.72rem;
  --about-col-h: clamp(440px, 38vw, 520px);
  --about-format-icon: 4.5rem;
  --about-perk-icon: var(--about-format-icon);
  --process-icon-size: clamp(5.5rem, 7vw, 7rem);
  --layout-max: 1240px;
  --media-text-gap: clamp(36px, 5.5vw, 72px);
  --media-text-gap-sm: clamp(24px, 3.5vw, 40px);
  --overlay-inset-x: clamp(40px, 6.5vw, 88px);
  --overlay-inset-y: clamp(48px, 8vh, 112px);
  --overlay-stack: clamp(20px, 3vh, 36px);
  --copy-measure-hero: min(34rem, 92%);
  --hero-copy-buffer: clamp(24px, 5vw, 72px);
  --hero-copy-offset: clamp(36px, 7vh, 80px);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-head h2 {
  font-size: var(--text-h2);
  margin-bottom: 10px;
}

.section-head__sub,
.formats__head .section-head__sub {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 40px);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}

.link-btn:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--sm {
  padding: 12px 22px;
}

.btn--block {
  width: 100%;
}

.logo__script,
.about-text__sign,
.footer__brand .logo__script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer__brand .logo__script {
  display: block;
  padding-bottom: 10px;
}

.footer__brand .logo__tag {
  margin-top: 12px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__script {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  line-height: 1;
  padding-bottom: 6px;
}

.logo__tag {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  font-weight: 500;
  margin-top: 10px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-solid {
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.site-header.is-solid .logo__script,
.site-header.is-solid .logo__tag,
.site-header.is-solid .nav a {
  color: var(--text);
}

.site-header.is-solid .burger span {
  background: var(--text);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.site-header .logo__script,
.site-header .logo__tag {
  color: var(--white);
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent-light);
}

.site-header.is-solid .nav a:hover {
  color: var(--accent);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-inline: max(var(--overlay-inset-x), calc((100vw - min(1240px, calc(100vw - 48px))) / 2));
  padding-bottom: clamp(48px, 9vh, 96px);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  background: #1e1410;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(30, 20, 15, 0.42) 0%,
      rgba(30, 20, 15, 0.08) 38%,
      rgba(30, 20, 15, 0.18) 100%
    ),
    linear-gradient(
      90deg,
      rgba(30, 20, 15, 0.97) 0%,
      rgba(30, 20, 15, 0.94) 32%,
      rgba(30, 20, 15, 0.82) 46%,
      rgba(30, 20, 15, 0.48) 58%,
      rgba(30, 20, 15, 0.14) 70%,
      transparent 88%
    );
}

.hero .hero__content.container {
  width: 100%;
  max-width: var(--copy-measure-hero);
  margin-inline: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--header-h) + var(--hero-copy-offset));
  padding: 0 var(--hero-copy-buffer) 0 0;
}

.hero h1 {
  font-size: var(--text-display);
  margin-bottom: var(--overlay-stack);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 10.8em;
}

.hero__lead {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: clamp(32px, 4.5vh, 48px);
  max-width: 28rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Portfolio */
.portfolio {
  background: var(--cream);
}

.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  margin-bottom: 36px;
}

.portfolio__filter {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
}

.portfolio__filter.is-active {
  color: var(--text);
}

.portfolio__filter.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.portfolio__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}

.portfolio__item.is-hidden {
  display: none;
}

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

.portfolio__item:hover img {
  transform: scale(1.04);
}

/* About block */
.about-block {
  background: var(--paper);
  padding: clamp(56px, 7vw, 92px) 0;
}

.about-block__grid {
  width: min(1488px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 28%) minmax(0, 1fr);
  gap: var(--media-text-gap);
  align-items: start;
}

.formats {
  display: flex;
  flex-direction: column;
  height: var(--about-col-h);
  padding-right: var(--media-text-gap-sm);
}

.formats__head {
  margin-bottom: clamp(18px, 2.4vw, 26px);
  flex-shrink: 0;
}

.formats__head h2 {
  font-size: var(--text-h2);
  margin-bottom: 8px;
}

.formats__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  gap: clamp(14px, 1.8vh, 22px) clamp(16px, 2vw, 26px);
}

.format-card {
  display: flex;
  gap: 14px;
  align-items: center;
  --format-icon-size: var(--about-format-icon);
}

.format-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  margin-bottom: 4px;
  line-height: 1.25;
}

.format-card p {
  font-size: var(--text-sm);
  line-height: 1.42;
  color: var(--text-muted);
}

.format-card__icon {
  flex: 0 0 var(--format-icon-size);
  width: var(--format-icon-size);
  height: var(--format-icon-size);
}

.format-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: var(--about-col-h);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-text {
  display: flex;
  flex-direction: column;
  height: var(--about-col-h);
  padding-left: var(--media-text-gap-sm);
}

.about-text h2 {
  font-size: var(--text-h2);
  margin-bottom: 16px;
}

.about-text p:not(.about-text__sign) {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: 1.52;
}

.about-text__sign {
  font-size: var(--text-sign);
  line-height: 1;
  color: var(--accent);
  margin: clamp(14px, 2vw, 20px) 0 clamp(6px, 1vw, 10px) !important;
}

.about-perks {
  list-style: none;
  padding: clamp(14px, 2vw, 20px) 0 0;
  margin: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  font-size: var(--text-md);
  line-height: 1.35;
  color: var(--text-muted);
}

.about-perks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 1.2vw, 14px);
  min-width: 0;
  padding: 0 2px;
}

.about-perks__icon {
  flex: 0 0 auto;
  width: var(--about-perk-icon);
  height: var(--about-perk-icon);
}

.about-perks__label {
  width: 100%;
  max-width: 11rem;
}

.about-perks__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Why */
.why {
  position: relative;
  color: var(--white);
  padding: clamp(64px, 8vw, 96px) 0;
  overflow: hidden;
}

.why__bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  background: #2a1f19;
}

.why__bg img {
  width: 100%;
  max-width: var(--layout-max);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.why__overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 24, 18, 0.82);
}

.why__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.why__inner h2 {
  font-size: var(--text-h2);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.why__grid article {
  padding: 0 8px;
}

.why__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 22px;
  width: clamp(136px, 11vw, 168px);
  height: clamp(136px, 11vw, 168px);
}

.why__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(86%) sepia(14%) saturate(820%) hue-rotate(334deg) brightness(104%) contrast(96%) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
  opacity: 1;
}

.why__grid strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  margin-bottom: 8px;
}

.why__grid p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
}

/* Reviews */
.reviews {
  background: var(--cream);
}

.reviews__slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 220px;
}

.review-card__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-body);
}

.review-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 14px;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.reviews__nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s;
}

.reviews__nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.reviews__dot.is-active {
  background: var(--accent);
}

/* Process */
.process {
  background: var(--paper);
}

.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  position: relative;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: var(--accent-light);
  z-index: 0;
}

.process__steps li {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent-light);
  background: var(--paper);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--process-icon-size);
  height: var(--process-icon-size);
  max-width: 100%;
}

.process__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process__steps strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-md-process);
  margin-bottom: 0;
}

.process__steps p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Print */
.print {
  background: var(--cream);
}

.print__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--media-text-gap);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.print__content {
  padding-left: clamp(4px, 1.5vw, 16px);
}

.print__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.print__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.print__content h2 {
  font-size: var(--text-h2);
  margin-bottom: 14px;
}

.print__content p {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: var(--text-body);
}

.print__list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.print__list li {
  font-size: var(--text-sm);
  padding-left: 22px;
  position: relative;
}

.print__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Contact */
.contact {
  position: relative;
  color: var(--white);
  padding: clamp(88px, 14vw, 152px) 0 clamp(80px, 12vw, 128px);
}

.contact__bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  background: #1e1410;
}

.contact__bg img {
  width: 100%;
  max-width: var(--layout-max);
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  flex-shrink: 0;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 20, 15, 0.92) 0%,
    rgba(30, 20, 15, 0.82) 34%,
    rgba(30, 20, 15, 0.52) 52%,
    rgba(30, 20, 15, 0.22) 66%,
    rgba(30, 20, 15, 0.08) 78%,
    rgba(30, 20, 15, 0.45) 100%
  );
}

.contact .container.contact__grid {
  width: 100%;
  max-width: min(1240px, calc(100% - 48px));
  padding-inline: var(--overlay-inset-x);
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact__info {
  padding-right: clamp(32px, 5vw, 56px);
  max-width: min(28rem, 100%);
}

.contact__info h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--overlay-stack);
  line-height: 1.12;
}

.contact__info > p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: clamp(40px, 6vh, 64px);
  max-width: 26rem;
  font-size: var(--text-body);
  line-height: 1.65;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(40px, 6vh, 56px);
  display: grid;
  gap: clamp(22px, 3.5vh, 32px);
}

.contact__list li,
.contact__list a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
}

.contact__list small {
  display: block;
  opacity: 0.7;
  margin-top: 4px;
}

.contact__social {
  margin-top: clamp(8px, 2vh, 16px);
}

.contact__social span {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: clamp(18px, 2.5vh, 24px);
  opacity: 0.8;
}

.socials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 0;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  transition: background 0.2s, transform 0.15s;
}

.socials a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.socials a:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.contact-form {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--cream);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(196, 146, 106, 0.35);
  border-color: var(--accent);
}

.field--full {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox input {
  margin-top: 3px;
}

.contact-form .btn {
  margin-top: 8px;
}

.contact-form__note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--paper);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 0.8fr) 1.2fr;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer__nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__nav strong,
.footer__subscribe strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer__nav a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer__subscribe p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 10px 0 16px;
}

.subscribe-form {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}

.subscribe-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 12px 14px;
  background: var(--cream);
}

.subscribe-form button {
  width: 48px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
}

.footer__ig {
  display: grid;
  grid-template-columns: repeat(4, 72px);
  gap: 8px;
}

.footer__ig img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.footer__bar {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.footer__link {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__link:hover {
  color: var(--white);
}

/* Modal */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, 0.6);
}

.modal__dialog {
  position: relative;
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.modal__dialog--wide {
  width: min(1120px, calc(100vw - 40px));
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.modal__title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-right: 40px;
}

.modal-open {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-grid figcaption {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 8px 4px 0;
}

.reviews-modal-list {
  display: grid;
  gap: 16px;
}

.booking-modal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-modal-form .field--full,
.booking-modal-form .checkbox,
.booking-modal-form .btn {
  grid-column: 1 / -1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--brown-dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast[hidden] {
  display: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .formats {
    height: auto;
    padding-right: 0;
  }

  .about-text {
    height: auto;
    padding-left: 0;
  }

  .about-perks {
    margin-top: clamp(20px, 3vw, 28px);
  }

  .formats__grid {
    flex: none;
    grid-template-rows: none;
  }

  .about-photo {
    grid-column: 1 / -1;
    max-width: 432px;
    height: auto;
    margin-inline: auto;
  }

  .about-photo img {
    height: auto;
    min-height: 360px;
  }

  .why__grid,
  .process__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process__steps::before {
    display: none;
  }

  .reviews__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(245, 240, 232, 0.98);
    flex-direction: column;
    padding: 20px 24px 28px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: var(--text);
    padding: 8px 0;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero {
    --overlay-inset-x: clamp(32px, 8.5vw, 52px);
    --hero-copy-buffer: clamp(16px, 4vw, 32px);
    --hero-copy-offset: clamp(28px, 6vh, 52px);
    --overlay-stack: clamp(18px, 2.8vh, 28px);
  }

  .hero h1 {
    font-size: clamp(1.72rem, 6.4vw, 2.2rem);
    line-height: 1.3;
    max-width: 10.2em;
  }

  .hero__lead {
    margin-bottom: clamp(24px, 3.8vh, 36px);
    max-width: 22rem;
  }

  .hero__actions {
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 12px;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero__media img {
    object-position: 78% 42%;
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-block__grid {
    grid-template-columns: 1fr;
  }

  .why__grid,
  .process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews__track {
    grid-auto-columns: 100%;
  }

  .print__card,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .print__content {
    padding-left: 0;
  }

  .contact .container.contact__grid {
    padding-inline: clamp(28px, 6vw, var(--overlay-inset-x));
  }

  .contact__info {
    padding-right: 0;
    max-width: none;
  }

  .contact-form__grid,
  .booking-modal-form {
    grid-template-columns: 1fr;
  }

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

  .footer__bar-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(1240px, calc(100% - 28px));
  }

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

  .why__grid,
  .process__steps {
    grid-template-columns: 1fr;
  }

  .footer__ig {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__ig img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

@media (min-width: 901px) {
  :root {
    --shell-left: max(24px, calc((100vw - var(--layout-max)) / 2));
    --shell-width: min(var(--layout-max), calc(100vw - 48px));
    --hero-media-max: 1320px;
    --hero-media-bleed: 64px;
    --hero-media-width: min(
      calc(100vw - var(--shell-left) + var(--hero-media-bleed)),
      var(--hero-media-max)
    );
  }

  .hero {
    padding-inline: max(var(--shell-left), var(--overlay-inset-x));
    padding-bottom: clamp(56px, 9vh, 96px);
  }

  .hero__content {
    margin-top: calc(var(--header-h) + clamp(48px, 8vh, 96px));
  }

  .hero__media img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--hero-media-width);
    max-width: var(--hero-media-max);
    height: 100%;
  }

  .why__bg img,
  .contact__bg img {
    width: var(--shell-width);
    max-width: var(--shell-width);
  }
}

@media (min-width: 1600px) {
  .hero__media img {
    right: max(0px, calc((100vw - var(--shell-width)) / 2));
    width: min(var(--shell-width), var(--hero-media-max));
    max-width: var(--hero-media-max);
  }
}

@media (min-width: 1920px) {
  .hero__media img {
    object-position: 78% center;
  }

  .hero__content {
    max-width: min(560px, 100%);
  }
}
