@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --page-bg: #f6f2ed;
  --header-bg: #f6f2ed;
  --surface: rgba(255, 252, 248, 0.84);
  --text: #171311;
  --muted: #70655d;
  --line: rgba(27, 20, 16, 0.1);
  --line-strong: rgba(27, 20, 16, 0.18);
  --accent: #b08a63;
  --shadow-image: 0 10px 24px rgba(24, 18, 14, 0.07);
  --shadow-image-strong: 0 16px 30px rgba(24, 18, 14, 0.09);
  --shadow-soft: 0 18px 40px rgba(24, 18, 14, 0.08);
  --header-h: 132px;
  --gallery-anchor-offset: calc(var(--header-h) + 2rem);
  --container: 1240px;
  --gallery-content: 880px;
  --gallery-side: 180px;
  --space-section: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.surprise-open,
body.gallery-lightbox-open {
  overflow: hidden;
}

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

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

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

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

button {
  background: none;
  border: 0;
}

h1,
h2,
h3,
.logo {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

p {
  margin: 0;
}

main {
  flex: 1;
  width: 100%;
  padding-top: calc(var(--header-h) + 2rem);
}

.page-home main {
  padding-top: var(--header-h);
}

.page-gallery main {
  padding-top: calc(var(--header-h) + 2.5rem);
}

section {
  scroll-margin-top: calc(var(--header-h) + 36px);
}

.chanel-style-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
  min-height: var(--header-h);
  padding: 1rem clamp(1rem, 3vw, 2.2rem) 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 18px rgba(24, 18, 14, 0.05);
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.chanel-style-header.header-hidden {
  transform: translateY(calc(-1 * var(--header-h) - 10px));
  opacity: 0;
}

.logo {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: 0.22em;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2002;
}

.nav {
  width: min(100%, 1140px);
  margin-top: 0.8rem;
  position: relative;
  z-index: 2001;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 1.8vw, 2.3rem);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(23, 19, 17, 0.76);
  transition: color 0.24s ease;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.nav-list li a:hover,
.nav-list li a[aria-current="page"] {
  color: var(--text);
}

.nav-list li a:hover::after,
.nav-list li a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero,
.welcome,
.gallery-preview,
.testimonials,
.services,
.cta,
.elegant-section,
.contact,
.price-section {
  padding-inline: clamp(1rem, 3vw, 2.2rem);
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-section);
  padding-top: calc(var(--header-h) + 1.4rem);
  padding-bottom: 4rem;
  text-align: center;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(21, 15, 11, 0.18) 0%, rgba(21, 15, 11, 0.38) 42%, rgba(21, 15, 11, 0.58) 100%),
    url("../img/main/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 190px;
  background: linear-gradient(180deg, rgba(246, 242, 237, 0) 0%, rgba(246, 242, 237, 1) 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero p {
  max-width: 42rem;
  margin-top: 1.3rem;
  font-size: clamp(0.92rem, 1.35vw, 1.12rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 252, 248, 0.92);
}

.hero-home {
  align-items: start;
  padding-top: calc(var(--header-h) - 6.95rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  text-align: left;
}

.hero-home-inner {
  width: min(100%, 1240px);
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}

.hero-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 252, 248, 0.92);
}

.hero-home h1 {
  max-width: 9ch;
}

.hero-copy {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.85;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(255, 252, 248, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 2.2rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 252, 248, 0.22);
}

.hero-proof li {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 252, 248, 0.88);
}

.welcome,
.gallery-preview,
.testimonials,
.services,
.cta,
.home-manifesto,
.home-signature,
.home-testimonial,
.home-collections,
.elegant-section,
.contact {
  padding-bottom: var(--space-section);
}

.welcome-inner,
.testimonial-grid,
.services ul,
.gallery-preview,
.about-inner,
.contact form {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.welcome-inner {
  width: min(100%, 860px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.welcome-inner p,
.about-text p,
.gallery-intro,
.testimonial-grid blockquote p,
.contact form label,
.contact form input,
.contact form textarea {
  color: var(--muted);
}

.welcome-inner p,
.about-text p,
.gallery-intro {
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.92;
}

.welcome-inner p + p,
.about-text p + p {
  margin-top: 1rem;
}

.signature {
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.26rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

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

.home-manifesto,
.home-signature,
.home-testimonial,
.home-collections {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.home-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.88fr);
  gap: clamp(1.6rem, 4vw, 4.5rem);
  align-items: center;
}

.home-manifesto-copy h2,
.home-signature-head h2,
.home-collections-head h2,
.cta-home h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: 0.14em;
}

.home-manifesto-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.home-manifesto-copy p:not(.section-kicker) {
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.95;
  color: var(--muted);
}

.home-manifesto-copy p + p {
  margin-top: 1rem;
}

.home-manifesto-copy .text-link {
  margin-top: 1.5rem;
}

.home-manifesto-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow-image-strong);
}

.home-signature {
  display: grid;
  gap: 2.2rem;
}

.home-signature-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.home-signature-head h2 {
  margin-bottom: 0.8rem;
}

.home-montage {
  display: grid;
  gap: 1rem;
}

.home-montage-frames {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
  min-height: clamp(420px, 52vw, 720px);
}

.home-montage-main,
.home-montage-stack {
  margin: 0;
  height: 100%;
}

.home-montage-main img,
.home-montage-stack img {
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow-image);
}

.home-montage-main img {
  object-fit: cover;
}

.home-montage-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.home-montage-stack img {
  object-fit: cover;
}

.home-montage-copy {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.home-montage-copy p {
  max-width: 48ch;
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.9;
  color: var(--muted);
}

.home-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.home-testimonial-featured blockquote {
  margin: 0;
  display: grid;
  gap: 1.1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.home-testimonial-featured blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: var(--text);
}

.home-testimonial-featured footer {
  display: inline-flex;
  align-items: center;
  align-self: start;
  width: fit-content;
  margin-top: 0;
  padding: 0;
  border: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}

.home-testimonial-notes {
  display: grid;
  gap: 0.8rem;
  align-self: center;
  width: min(100%, 340px);
  justify-self: end;
  align-content: start;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.home-testimonial-notes p {
  position: relative;
  margin: 0;
  min-height: 84px;
  padding: 1rem 0 1rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.home-testimonial-notes p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: rgba(176, 138, 99, 0.55);
}

.home-collections {
  display: grid;
  gap: 2rem;
}

.home-collections-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.home-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collection-card {
  min-height: 220px;
  padding: 1.5rem 1.1rem;
  display: grid;
  align-content: space-between;
  gap: 1.25rem;
  border-right: 1px solid var(--line);
  transition: background 0.24s ease, transform 0.24s ease;
}

.collection-card:last-child {
  border-right: 0;
}

.collection-card:hover {
  background: rgba(255, 255, 255, 0.36);
  transform: translateY(-2px);
}

.collection-card span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.collection-card strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: 0.06em;
  color: var(--text);
}

.gallery-preview {
  margin-bottom: var(--space-section);
  text-align: center;
}

.section-kicker {
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-preview h2 {
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  letter-spacing: 0.15em;
}

.section-intro {
  width: min(100%, 58ch);
  margin: 1rem auto 0;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.92;
  color: var(--muted);
}

.grid-gallery {
  width: min(100%, var(--container));
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.7vw, 1.3rem);
}

.grid-gallery img,
.image-grid img,
.about-image img {
  width: 100%;
  box-shadow: var(--shadow-image);
}

.grid-gallery img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center center;
}

.image-grid img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center center;
}

.grid-gallery img,
.image-grid img {
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.grid-gallery img:hover,
.image-grid img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-image-strong);
}

.testimonials h2,
.services h2,
.cta h2,
.gallery-title,
.about-text h1 {
  text-align: center;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  letter-spacing: 0.14em;
}

.testimonials h2,
.services h2,
.cta h2 {
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-grid blockquote {
  margin: 0;
  min-height: 100%;
  padding: 1.55rem 0 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.testimonial-grid blockquote p {
  font-size: 0.98rem;
  line-height: 1.85;
  font-style: italic;
}

.testimonial-grid blockquote footer {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
}

.services ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.24s ease, background 0.24s ease;
}

.services li:last-child {
  border-right: 0;
}

.services li:hover {
  background: rgba(255, 255, 255, 0.36);
}

.cta {
  text-align: center;
}

.btn,
.cta .btn,
.btn-primary,
.contact form button,
.popup-message button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.92rem 1.5rem;
  border: 0;
  background: rgba(255, 252, 248, 0.46);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 28px rgba(24, 18, 14, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.cta .btn:hover,
.btn:hover,
.btn-primary:hover,
.contact form button:hover,
.popup-message button:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 248, 0.68);
  box-shadow: 0 18px 30px rgba(24, 18, 14, 0.12);
}

.cta .btn:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.contact form button:focus-visible,
.popup-message button:focus-visible,
.surprise-close:focus-visible,
.nav-toggle:focus-visible,
.nav-list a:focus-visible,
.gallery-header-nav a:focus-visible,
.gallery-nav a:focus-visible,
.fab-to-top:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(176, 138, 99, 0.34);
  outline-offset: 3px;
}

.btn-secondary {
  background: rgba(255, 252, 248, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 252, 248, 0.62);
}

.btn-surprise {
  background: rgba(255, 252, 248, 0.24);
}

.btn-surprise:hover {
  background: rgba(255, 252, 248, 0.52);
}

.page-about main {
  padding-top: calc(var(--header-h) + 1.7rem);
}

.about-intro {
  padding-top: 0.45rem;
}

.about-story,
.about-summary-inner,
.about-essay-grid,
.about-values,
.about-cta {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(1.8rem, 4vw, 4.6rem);
  align-items: center;
}

.about-story-copy h1,
.about-essay-note h2,
.about-values-head h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: 0.14em;
}

.about-story-copy h1 {
  max-width: 10.5ch;
  margin-bottom: 1.3rem;
  line-height: 1.02;
}

.about-story-lead {
  max-width: 31ch;
  font-size: clamp(1.04rem, 1.22vw, 1.18rem);
  line-height: 1.9;
  color: var(--muted);
}

.about-story-notes {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 340px);
  margin-top: 1.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.about-story-notes p {
  position: relative;
  margin: 0;
  min-height: 72px;
  padding: 0.9rem 0 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.about-story-notes p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  bottom: 0.95rem;
  width: 1px;
  background: rgba(176, 138, 99, 0.55);
}

.about-story-visual {
  margin: 0;
}

.about-story-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-image-strong);
}

.about-details-grid {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.72fr);
  gap: clamp(1.6rem, 4vw, 4.2rem);
  align-items: start;
}

.about-details-copy {
  max-width: 58ch;
}

.about-details-copy h2 {
  max-width: 12.5ch;
  margin-bottom: 1.2rem;
  font-size: clamp(1.95rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0.14em;
}

.about-details-copy p:not(.section-kicker) {
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.92;
  color: var(--muted);
}

.about-details-copy p + p {
  margin-top: 1rem;
}

.about-details-copy .text-link {
  margin-top: 1.25rem;
}

.about-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-fact {
  min-height: 0;
  padding: 1.2rem 0;
  display: grid;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.about-fact:last-child {
  border-bottom: 0;
}

.about-fact span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-fact h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: 0.06em;
  color: var(--text);
}

.about-fact p {
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.82;
  color: var(--muted);
}

.about-essay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.74fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}

.about-essay-copy {
  max-width: 62ch;
}

.about-essay-copy p,
.about-essay-note p:last-of-type,
.about-value p {
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.92;
  color: var(--muted);
}

.about-essay-copy p + p {
  margin-top: 1rem;
}

.about-essay-note {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.about-essay-note h2 {
  max-width: 11.5ch;
  line-height: 1.04;
}

.about-essay-note .text-link {
  margin-top: 0.6rem;
}

.about-values {
  display: grid;
  gap: 2rem;
}

.about-values-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-values-head h2 {
  max-width: 13ch;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-value {
  min-height: 240px;
  padding: 1.5rem 1.15rem;
  display: grid;
  align-content: start;
  gap: 1rem;
  border-right: 1px solid var(--line);
}

.about-value:last-child {
  border-right: 0;
}

.about-value span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-value h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: 0.06em;
  color: var(--text);
}

.about-cta {
  justify-items: center;
  text-align: center;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}

.about-text {
  max-width: 64ch;
}

.about-text h1 {
  margin-bottom: 1.5rem;
  text-align: left;
}

.about-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.contact form {
  max-width: 760px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.contact form h1 {
  margin-bottom: 1.8rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.contact form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact form input,
.contact form textarea,
input,
textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 249, 0.96);
  color: var(--text);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.contact form input,
.contact form textarea {
  margin-bottom: 1.4rem;
}

input:focus,
textarea:focus {
  border-color: rgba(176, 138, 99, 0.62);
  box-shadow: 0 0 0 4px rgba(176, 138, 99, 0.12);
  outline: 0;
}

.contact form button {
  width: 100%;
}

.contact form button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(18, 13, 10, 0.52);
  backdrop-filter: blur(10px);
}

.popup-message {
  width: min(100%, 460px);
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.98);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.popup-message p {
  margin-bottom: 1.15rem;
  color: var(--text);
}

.page-contact main {
  padding-top: calc(var(--header-h) + 1.55rem);
}

.page-contact .contact {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.page-contact .contact-intro {
  width: min(100%, 760px);
  margin: 0 auto 2.5rem;
  display: grid;
  justify-items: center;
  text-align: center;
}

.page-contact .contact-intro h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.1rem);
  letter-spacing: 0.14em;
}

.page-contact .contact-intro-copy {
  width: min(100%, 58ch);
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.92;
  color: var(--muted);
}

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(1.8rem, 4vw, 4.4rem);
  align-items: start;
}

.page-contact .contact-form {
  max-width: none;
  width: 100%;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.68);
  box-shadow: var(--shadow-soft);
}

.page-contact .contact-field + .contact-field {
  margin-top: 0.15rem;
}

.page-contact .contact-form label {
  display: block;
  margin-bottom: 0.5rem;
}

.page-contact .contact-form input,
.page-contact .contact-form textarea {
  margin-bottom: 0;
  background: rgba(255, 253, 249, 0.9);
}

.page-contact .contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.page-contact .contact-form-note {
  margin: 1.3rem 0 1.4rem;
  max-width: 52ch;
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--muted);
}

.page-contact .contact-form button {
  width: 100%;
}

.page-contact .contact-side {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-contact .contact-side-block {
  padding: 1.3rem 0;
  display: grid;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.page-contact .contact-side-block:last-child {
  border-bottom: 0;
}

.page-contact .contact-side-block span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-contact .contact-side-block h2 {
  font-size: clamp(1.28rem, 1.7vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: 0.08em;
}

.page-contact .contact-side-block p {
  max-width: 30ch;
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--muted);
}

.page-contact .popup-message {
  width: min(100%, 480px);
  padding: 1.95rem;
  background: rgba(255, 252, 248, 0.98);
}

.surprise-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2100;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  padding: clamp(1rem, 2.4vw, 2rem);
  background: rgba(18, 13, 10, 0.48);
  backdrop-filter: blur(12px);
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0s linear 0.42s;
}

.surprise-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.surprise-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.surprise-close {
  justify-self: end;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  background: rgba(109, 98, 90, 0.86);
  box-shadow: none;
  color: rgba(255, 250, 245, 0.94);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.24s ease;
}

.surprise-close:hover {
  background: rgba(121, 109, 100, 0.9);
}

.surprise-stage {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: min(78vh, 920px);
  overflow: hidden;
  background: #d9d1c8;
  box-shadow: 0 32px 60px rgba(12, 9, 7, 0.22);
}

.surprise-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 13, 10, 0.06) 0%, rgba(16, 13, 10, 0.14) 100%),
    linear-gradient(90deg, rgba(12, 10, 8, 0.06) 0%, rgba(12, 10, 8, 0) 42%);
  pointer-events: none;
}

.surprise-stage img {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  animation: surprise-pan 12s ease forwards;
}

.surprise-caption {
  position: absolute;
  left: clamp(1rem, 3vw, 2.4rem);
  bottom: clamp(1rem, 3vw, 2.2rem);
  z-index: 2;
  width: min(100%, 36rem);
  padding: 1.2rem 1.3rem 1.1rem;
  background: rgba(246, 242, 237, 0.38);
  color: #fffaf5;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 42px rgba(12, 10, 8, 0.16);
}

.surprise-kicker {
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 250, 245, 0.74);
}

.surprise-caption h2 {
  margin-bottom: 0.7rem;
  max-width: 12ch;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffaf5;
}

.surprise-caption p:last-child {
  max-width: 28ch;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255, 250, 245, 0.88);
}

.gallery-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-shot:focus-visible {
  outline: 3px solid rgba(176, 138, 99, 0.34);
  outline-offset: 4px;
}

.gallery-lightbox-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2120;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  padding: clamp(1rem, 2.4vw, 2rem);
  background: rgba(18, 13, 10, 0.52);
  backdrop-filter: blur(14px);
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0s linear 0.42s;
}

.gallery-lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.gallery-lightbox-shell {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  width: clamp(3rem, 3.8vw, 3.35rem);
  height: clamp(3rem, 3.8vw, 3.35rem);
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  color: rgba(255, 250, 245, 0.9);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1;
  cursor: pointer;
  transition: background 0.24s ease, opacity 0.24s ease, color 0.24s ease;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  font-size: clamp(1.55rem, 1.9vw, 1.85rem);
  font-weight: 400;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  width: clamp(3rem, 3.8vw, 3.4rem);
  height: clamp(4.15rem, 5vw, 4.8rem);
  transform: translateY(-50%);
  z-index: 3;
}

.gallery-lightbox-prev {
  left: clamp(0.8rem, 1.8vw, 1.25rem);
}

.gallery-lightbox-next {
  right: clamp(0.8rem, 1.8vw, 1.25rem);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: rgba(255, 250, 245, 0.08);
  color: rgba(255, 250, 245, 0.98);
}

.gallery-lightbox-close:disabled,
.gallery-lightbox-nav:disabled {
  opacity: 0.42;
  cursor: default;
}

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, calc(100vw - clamp(1.25rem, 3vw, 3.5rem)));
  margin: 0;
  height: min(calc(100vh - clamp(1.25rem, 3vw, 3.5rem)), 95vh);
  touch-action: pan-y;
}

.gallery-lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  box-shadow: 0 24px 54px rgba(10, 8, 6, 0.22);
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  transition: opacity 0.34s ease, transform 0.42s ease, filter 0.42s ease;
}

.gallery-lightbox-stage img.is-transitioning {
  opacity: 0.08;
  transform: scale(0.992);
  filter: blur(8px);
}

@keyframes surprise-pan {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1.08);
  }
}

.gallery-title {
  margin-bottom: 0.55rem;
  font-size: clamp(1.95rem, 4.8vw, 3.7rem);
}

.gallery-intro {
  width: min(100%, 58ch);
  margin: 0 auto 2.8rem;
  text-align: center;
}

.gallery-loading {
  margin: 0;
  padding: 2.4rem 0;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-wrapper {
  width: min(calc(100% - 2rem), calc(var(--gallery-side) + var(--gallery-content) + var(--gallery-side) + 4rem));
  margin-inline: auto;
  margin-bottom: var(--space-section);
  display: grid;
  grid-template-columns: var(--gallery-side) minmax(0, var(--gallery-content)) var(--gallery-side);
  gap: clamp(1.2rem, 2vw, 2.3rem);
  justify-content: center;
}

.gallery-wrapper::after {
  content: "";
  display: block;
  grid-column: 3;
}

.gallery-header-nav {
  display: none;
  width: 100%;
  scrollbar-width: none;
}

.gallery-header-nav::-webkit-scrollbar {
  display: none;
}

.gallery-header-nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}

.gallery-nav {
  grid-column: 1;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
  padding: 0;
  z-index: 40;
  scrollbar-width: none;
}

.gallery-nav.gallery-nav-fixed {
  position: fixed;
  top: var(--gallery-nav-top);
  left: var(--gallery-nav-left);
  width: var(--gallery-nav-width);
  align-self: auto;
}

.gallery-nav ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-nav::-webkit-scrollbar {
  display: none;
}

.gallery-header-nav a,
.gallery-nav a {
  display: inline-block;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 19, 17, 0.58);
  transition: color 0.24s ease;
}

.gallery-header-nav a:hover,
.gallery-nav a:hover {
  color: var(--text);
}

.gallery-header-nav a.active,
.gallery-header-nav a[aria-current="true"],
.gallery-nav a.active,
.gallery-nav a[aria-current="true"] {
  color: var(--text);
}

.gallery-header-nav a.active::after,
.gallery-header-nav a[aria-current="true"]::after,
.gallery-nav a.active::after,
.gallery-nav a[aria-current="true"]::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.45rem;
  background: var(--accent);
}

.gallery-content {
  grid-column: 2;
  width: 100%;
  max-width: var(--gallery-content);
  margin: 0 auto;
}

.gallery-category {
  scroll-margin-top: var(--gallery-anchor-offset);
}

.gallery-category + .gallery-category {
  margin-top: 3.2rem;
}

.gallery-category h2 {
  margin-bottom: 1.25rem;
  text-align: left;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

.fab-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1250;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
}

.fab-to-top:hover {
  transform: translateY(-2px);
  background: #000;
}

.fab-to-top svg {
  display: block;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.fab-to-top[hidden] {
  display: none;
}

body > footer {
  margin-top: auto;
  padding: 2.8rem clamp(1rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: center;
}

.footer-meta {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.35rem;
}

.footer-links a {
  position: relative;
  padding-bottom: 0.2rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(176, 138, 99, 0.55);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

body > footer p {
  margin: 0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-main {
  width: min(calc(100% - 2rem), 960px);
  margin: 0 auto;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.legal-hero,
.legal-section {
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.legal-hero {
  text-align: center;
}

.legal-hero h1,
.legal-section h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  letter-spacing: 0.12em;
}

.legal-hero p {
  width: min(100%, 60ch);
  margin: 1rem auto 0;
  font-size: clamp(0.98rem, 1.12vw, 1.06rem);
  line-height: 1.9;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  gap: 1.25rem;
}

.legal-card {
  padding: 1.35rem 0 1.45rem;
  border-top: 1px solid var(--line);
}

.legal-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-card h2 {
  margin-bottom: 0.9rem;
}

.legal-card p,
.legal-card li {
  max-width: 70ch;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted);
}

.legal-card p + p,
.legal-card ul,
.legal-card ol {
  margin-top: 0.9rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.legal-note {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.legal-placeholder {
  color: var(--text);
  font-weight: 600;
}

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

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.18);
}

::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.18);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 17, 17, 0.3);
}

@media (max-width: 1240px) {
  :root {
    --gallery-anchor-offset: calc(var(--header-h) + 4.6rem);
  }

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

  .gallery-wrapper {
    width: min(calc(100% - 2rem), calc(var(--gallery-content) + 4rem));
    grid-template-columns: 1fr;
  }

  .gallery-wrapper::after {
    display: none;
  }

  .gallery-nav,
  .gallery-content {
    grid-column: auto;
  }

  .gallery-nav {
    top: var(--header-h);
    overflow-x: auto;
    padding: 0.75rem 0 0.7rem;
    background: var(--page-bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .gallery-nav ul {
    display: flex;
    width: max-content;
    gap: 1.6rem;
    padding-right: 1rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 86px;
    --gallery-anchor-offset: calc(var(--header-h) + 4.2rem);
  }

  main {
    padding-top: calc(var(--header-h) + 1.2rem);
  }

  .page-home main {
    padding-top: var(--header-h);
  }

  .page-gallery main {
    padding-top: calc(var(--header-h) + 1.5rem);
  }

  .chanel-style-header {
    min-height: var(--header-h);
    padding: 0.95rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.55rem;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0.3rem;
    border: 0;
    color: var(--text);
    cursor: pointer;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.35rem);
    border-top: 0;
    background: var(--header-bg);
    box-shadow: 0 10px 18px rgba(24, 18, 14, 0);
    transition:
      max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.32s ease,
      visibility 0s linear 0.42s;
  }

  .nav.open {
    max-height: 340px;
    padding: 0.5rem 1rem 0.95rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 12px 20px rgba(24, 18, 14, 0.06);
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.95rem;
  }

  .nav-list li a {
    font-size: 0.76rem;
  }

  .hero {
    min-height: 76vh;
    padding-top: calc(var(--header-h) + 1rem);
  }

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

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

  .services ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
  }

  .services li:nth-child(2n) {
    border-right: 0;
  }

  .services li {
    border-bottom: 1px solid var(--line);
  }

  .about-story,
  .about-essay-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-side-block p {
    max-width: 38ch;
  }

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

  .about-details-copy h2 {
    max-width: 13ch;
  }

  .about-story-copy,
  .about-essay-copy,
  .about-essay-note {
    max-width: 100%;
  }

  .about-story-copy h1,
  .about-essay-note h2 {
    max-width: 12ch;
  }

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

  .about-value:nth-child(2n) {
    border-right: 0;
  }

  .about-value:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

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

  .about-text h1 {
    text-align: center;
  }

  .hero-home {
    align-items: start;
    padding-top: calc(var(--header-h) - 6.95rem);
    text-align: center;
  }

  .hero-home-inner {
    justify-items: center;
  }

  .hero-home h1 {
    max-width: 10ch;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .home-manifesto,
  .home-testimonial {
    grid-template-columns: 1fr;
  }

  .home-signature-head,
  .home-collections-head,
  .cta-home {
    justify-items: center;
    text-align: center;
  }

  .home-montage {
    grid-template-columns: 1fr;
  }

  .home-montage-frames {
    min-height: clamp(360px, 58vw, 560px);
  }

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

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

  .surprise-caption {
    width: min(100%, 28rem);
  }
}

@media (max-width: 760px) {
  :root {
    --gallery-anchor-offset: calc(var(--header-h) + 1.3rem);
    --space-section: clamp(3.2rem, 10vw, 4.8rem);
  }

  .page-gallery .chanel-style-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    align-content: start;
    padding-bottom: 0.95rem;
    row-gap: 0.55rem;
  }

  .page-gallery .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .page-gallery .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .page-gallery .nav {
    top: 100%;
  }

  .page-gallery .gallery-header-nav {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    overflow-x: auto;
    overflow-y: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .page-gallery .gallery-header-nav ul {
    gap: 1.2rem;
    width: max-content;
    min-width: 100%;
    margin: 0 auto;
    padding: 0 0.45rem;
    justify-content: center;
    scroll-snap-type: x proximity;
  }

  .page-gallery .gallery-header-nav li {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .page-gallery .gallery-header-nav a {
    font-size: 0.67rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .page-gallery .nav.open ~ .gallery-header-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .page-gallery main {
    padding-top: calc(var(--header-h) + 1rem);
  }

  .page-gallery .gallery-title {
    margin-bottom: 0.45rem;
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .page-gallery .gallery-intro {
    width: min(100%, 34ch);
    margin-bottom: 2rem;
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .page-gallery .gallery-wrapper {
    width: min(calc(100% - 1.25rem), 38rem);
  }

  .page-gallery .gallery-nav {
    display: none;
  }

  .page-gallery .gallery-content {
    max-width: 100%;
  }

  .page-gallery .gallery-category + .gallery-category {
    margin-top: 2.8rem;
  }

  .page-gallery .gallery-category h2 {
    margin-bottom: 0.95rem;
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .page-gallery .image-grid {
    gap: 0.78rem;
  }

  .page-about .about-story,
  .page-about .about-details-grid,
  .page-about .about-essay-grid,
  .page-about .about-values,
  .page-about .about-cta {
    width: min(calc(100% - 1.5rem), 33rem);
  }

  .page-contact .contact {
    width: min(calc(100% - 1.5rem), 33rem);
  }

  .page-contact .contact-intro,
  .page-contact .contact-form,
  .page-contact .contact-side {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

  .page-contact .contact-intro h1,
  .page-contact .contact-intro-copy,
  .page-contact .contact-side-block p {
    margin-inline: auto;
    text-align: center;
  }

  .page-contact .contact-intro h1 {
    max-width: none;
    font-size: clamp(1.68rem, 8.6vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: 0.1em;
  }

  .page-contact .contact-side-block {
    justify-items: center;
    text-align: center;
  }

  .page-about .about-story-copy,
  .page-about .about-details-copy,
  .page-about .about-essay-copy,
  .page-about .about-essay-note,
  .page-about .about-values-head {
    width: min(100%, 30rem);
    margin-inline: auto;
    text-align: center;
  }

  .page-about .about-story-copy h1,
  .page-about .about-story-lead,
  .page-about .about-details-copy h2,
  .page-about .about-details-copy p:not(.section-kicker),
  .page-about .about-essay-note h2,
  .page-about .about-essay-note p:last-of-type,
  .page-about .about-values-head h2 {
    margin-inline: auto;
    text-align: center;
  }

  .page-about .about-story-copy h1,
  .page-about .about-details-copy h2,
  .page-about .about-essay-note h2,
  .page-about .about-values-head h2 {
    max-width: none;
    font-size: clamp(1.68rem, 8.6vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: 0.1em;
  }

  .page-about .about-story-notes {
    margin-inline: auto;
  }

  .page-about .about-story-notes p {
    justify-content: center;
    padding-inline: 1.2rem;
  }

  .page-about .about-story-notes p::before {
    left: 50%;
    top: 0;
    bottom: auto;
    width: 2.2rem;
    height: 1px;
    transform: translateX(-50%);
  }

  .page-about .about-story-visual,
  .page-about .about-facts,
  .page-about .about-values-grid {
    width: 100%;
    margin-inline: auto;
  }

  .page-about .about-fact {
    justify-items: center;
    text-align: center;
  }

  .page-about .about-fact p {
    margin-inline: auto;
  }

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

  .page-about .about-value,
  .page-about .about-value:last-child {
    min-height: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    justify-items: center;
    text-align: center;
  }

  .page-about .about-value:last-child {
    border-bottom: 0;
  }

  .hero-home-inner,
  .home-manifesto,
  .home-signature,
  .home-testimonial,
  .home-collections,
  .elegant-section,
  .contact,
  .price-section {
    width: min(calc(100% - 1.35rem), var(--container));
  }

  .home-montage-frames {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 0.75rem;
    aspect-ratio: 1 / 1.02;
    min-height: 0;
  }

  .home-manifesto-copy h2,
  .home-signature-head h2,
  .home-collections-head h2,
  .cta-home h2 {
    max-width: 12ch;
  }

  .home-manifesto-copy,
  .home-collections-head,
  .home-testimonial-featured,
  .home-testimonial-notes {
    text-align: center;
  }

  .home-testimonial-featured footer {
    justify-content: center;
    align-self: center;
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .page-home .hero-home-inner,
  .page-home .home-manifesto,
  .page-home .home-signature,
  .page-home .home-testimonial,
  .page-home .home-collections,
  .page-home .cta-home {
    width: min(calc(100% - 1.5rem), 33rem);
    margin-inline: auto;
  }

  .page-home .home-manifesto-copy,
  .page-home .home-signature-head,
  .page-home .home-montage-copy,
  .page-home .home-testimonial-featured,
  .page-home .home-testimonial-notes,
  .page-home .home-collections-head,
  .page-home .cta-home {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

  .page-home .home-manifesto-visual,
  .page-home .home-montage-frames,
  .page-home .home-collections-grid {
    width: 100%;
    margin-inline: auto;
  }

  .home-manifesto-copy .text-link,
  .home-montage-copy {
    justify-content: center;
  }

  .page-home .home-manifesto-copy h2,
  .page-home .home-manifesto-copy p:not(.section-kicker),
  .page-home .home-manifesto-copy .text-link,
  .page-home .home-collections-head .section-kicker,
  .page-home .home-collections-head h2 {
    margin-inline: auto;
    text-align: center;
  }

  .page-home .home-manifesto-copy h2 {
    max-width: none;
    font-size: clamp(1.68rem, 8.6vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: 0.1em;
  }

  .page-home .home-collections-head h2 {
    max-width: none;
    font-size: clamp(1.68rem, 8.6vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: 0.1em;
  }

  .page-home .collection-card {
    justify-items: center;
    text-align: center;
  }

  .home-testimonial-notes p {
    min-height: 0;
    justify-content: center;
    padding-inline: 1.2rem;
  }

  .home-testimonial-notes p::before {
    left: 50%;
    top: 0;
    bottom: auto;
    width: 2.2rem;
    height: 1px;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  :root {
    --space-section: 3.4rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero p {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .grid-gallery,
  .image-grid,
  .testimonial-grid,
  .services ul {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: 82vh;
    padding-top: calc(var(--header-h) - 6.95rem);
    padding-bottom: 2.9rem;
  }

  .hero-home h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    justify-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
  }

  .page-about main {
    padding-top: calc(var(--header-h) + 1.35rem);
  }

  .page-contact main {
    padding-top: calc(var(--header-h) + 1.25rem);
  }

  .page-contact .contact-intro {
    margin-bottom: 2rem;
  }

  .page-contact .contact-form {
    padding: 1.45rem;
  }

  .page-contact .contact-form textarea {
    min-height: 160px;
  }

  .page-about .about-story-visual img {
    aspect-ratio: 0.92;
  }

  .home-montage-frames {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    min-height: 0;
    aspect-ratio: 1 / 1.06;
  }

  .home-montage-main {
    grid-column: span 2;
  }

  .home-montage-stack {
    gap: 0.55rem;
  }

  .home-montage-copy p {
    text-align: center;
  }

  .home-manifesto-copy h2,
  .home-signature-head h2,
  .home-collections-head h2,
  .cta-home h2,
  .home-testimonial-featured blockquote p {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .home-montage-copy {
    padding-top: 1rem;
  }

  .welcome-inner p,
  .about-text p,
  .gallery-intro,
  .price-note,
  .price-description,
  .price-collection-head p:last-child,
  .contact form label,
  .contact form input,
  .contact form textarea {
    font-size: 0.95rem;
    line-height: 1.82;
  }

  .home-collections-grid {
    grid-template-columns: 1fr;
  }

  .surprise-shell {
    width: 100%;
    max-width: 32rem;
    gap: 0.7rem;
  }

  .gallery-lightbox-shell {
    width: 100%;
    max-width: none;
  }

  .surprise-close {
    width: 100%;
    justify-self: stretch;
  }

  .surprise-stage,
  .surprise-stage img {
    height: min(76vh, 760px);
    min-height: 0;
  }

  .gallery-lightbox-stage {
    width: min(100%, calc(100vw - 1rem));
    height: min(calc(100vh - 1rem), calc(100svh - 1rem));
  }

  .gallery-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
  }

  .surprise-caption {
    left: 0.85rem;
    right: 0.85rem;
    width: auto;
    bottom: 0.85rem;
    padding: 1rem;
  }

  .surprise-caption h2 {
    font-size: clamp(1.75rem, 10vw, 2.65rem);
    max-width: none;
  }

  .gallery-lightbox-close,
  .gallery-lightbox-nav {
    width: 2.8rem;
    height: 2.8rem;
  }

  .gallery-lightbox-nav {
    width: 2.8rem;
    height: 3.9rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .gallery-lightbox-prev {
    left: 0.35rem;
  }

  .gallery-lightbox-next {
    right: 0.35rem;
  }

  .gallery-lightbox-close {
    top: 0;
    right: 0;
  }

  .surprise-caption p:last-child {
    max-width: none;
    font-size: 0.9rem;
  }

  .page-home .hero-home-inner,
  .page-home .home-manifesto,
  .page-home .home-signature,
  .page-home .home-testimonial,
  .page-home .home-collections,
  .page-home .cta-home {
    width: min(calc(100% - 1.15rem), 30rem);
  }

  .page-home .home-manifesto-copy,
  .page-home .home-signature-head,
  .page-home .home-montage-copy,
  .page-home .home-testimonial-featured,
  .page-home .home-testimonial-notes,
  .page-home .home-collections-head,
  .page-home .cta-home {
    width: 100%;
  }

  .collection-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .collection-card:last-child {
    border-bottom: 0;
  }

  .gallery-preview h2,
  .testimonials h2,
  .services h2,
  .cta h2,
  .gallery-title,
  .about-text h1 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .gallery-nav {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .page-gallery .gallery-header-nav {
    width: 100%;
  }

  .services ul {
    border-bottom: 1px solid var(--line);
  }

  .services li,
  .services li:nth-child(2n) {
    border-right: 0;
  }

  .fab-to-top {
    width: 48px;
    height: 48px;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .fab-to-top svg {
    width: 24px;
    height: 24px;
  }

  .page-gallery .image-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .legal-main {
    width: min(calc(100% - 1.4rem), 33rem);
    padding-top: calc(var(--header-h) + 1.4rem);
  }

  .legal-hero,
  .legal-section {
    text-align: center;
  }

  .legal-card p,
  .legal-card li {
    margin-inline: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
