/* =============================================
   KONSTANTINOV — Luxury Furniture Website
   Inspired by Minotti aesthetic
   ============================================= */

:root {
  --color-bg: #0a0a0a;
  --color-bg-light: #f5f3f0;
  --color-bg-cream: #ebe8e3;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-text-inverse: #ffffff;
  --color-accent: #8b7355;
  --color-border: rgba(255, 255, 255, 0.15);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 80px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1400px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  /* Typography */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.625rem;
  --fs-3xl: 2.125rem;
  --fs-title: clamp(2.375rem, 5vw, 4.25rem);
  --fs-display: clamp(2.875rem, 5vw, 4.75rem);
  --fs-logo: clamp(1rem, 3.2vw, 1.5rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-md);
  color: var(--color-text);
  background-color: var(--color-bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../images/page-bg.png') center / cover no-repeat;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(245, 243, 240, 0.78);
  z-index: -1;
}

body.page-home {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

body.page-inner {
  padding-top: calc(var(--header-height) + var(--safe-top));
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.page-content {
  min-height: calc(100dvh - var(--header-height) - var(--safe-top));
}

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

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

address {
  font-style: normal;
}

/* =============================================
   Header
   ============================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: calc(var(--header-height) + var(--safe-top));
  padding-top: var(--safe-top);
  transition: background var(--transition), backdrop-filter var(--transition);
  overflow: visible;
}

body.menu-open .header--inner {
  background: rgba(245, 243, 240, 0.98);
  backdrop-filter: blur(10px);
}

body.menu-open .header:not(.header--inner) {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

.header--inner {
  background: rgba(245, 243, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header--inner .header__logo {
  color: var(--color-text);
}

.header--inner .header__burger span {
  background: var(--color-text);
}

.header--inner.header--scrolled {
  background: rgba(245, 243, 240, 0.98);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(24px + var(--safe-right)) 0 calc(24px + var(--safe-left));
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: var(--fs-logo);
  font-weight: 400;
  letter-spacing: clamp(0.12em, 2vw, 0.3em);
  color: var(--color-text-inverse);
  transition: opacity var(--transition);
  z-index: 1001;
}

.header__logo:hover {
  opacity: 0.7;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.header__menu a {
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  position: relative;
  padding: 4px 0;
}

.header__menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text-inverse);
  transition: width var(--transition);
}

.header__menu a:hover::after {
  width: 100%;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin: -12px;
  min-width: 48px;
  min-height: 48px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text-inverse);
  transition: var(--transition);
}

.header__burger--active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.header__burger--active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* =============================================
   Hero
   ============================================= */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

body.page-home .hero {
  height: 100vh;
  height: 100dvh;
}

.hero__background {
  position: absolute;
  inset: 0;
  background-color: #1a1510;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 calc(20px + var(--safe-left)) calc(80px + var(--safe-bottom)) calc(20px + var(--safe-right));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 40px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(4px);
}

.hero__cta:hover {
  background: var(--color-text-inverse);
  color: var(--color-bg);
  border-color: var(--color-text-inverse);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  color: var(--color-text-inverse);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* =============================================
   Sections — Common
   ============================================= */

.section {
  padding: 120px 40px;
}

.section__header {
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

.section__header--center {
  text-align: center;
}

.section__label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: var(--fs-title);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.15;
}

/* =============================================
   Buttons
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--color-text);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  font-weight: 400;
}

.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-text-inverse);
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-color: var(--color-text);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-text);
}

.heritage__closing {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.heritage__cta {
  margin-top: 32px;
}

.about-page__lead {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--color-text);
  line-height: 1.5;
  margin-top: 8px;
}

/* =============================================
   Collections (legacy styles)
   ============================================= */

.collections {
  background: var(--color-bg-light);
}

.collections__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.collection-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: block;
}

.collection-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover .collection-card__image {
  transform: scale(1.05);
}

.collection-card__image--living {
  background-color: #2a2420;
  background-image: linear-gradient(160deg, #3d3530 0%, #1a1614 100%);
}

.collection-card__image--bedroom {
  background-color: #252018;
  background-image: linear-gradient(160deg, #353028 0%, #151210 100%);
}

.collection-card__image--dining {
  background-color: #1e1a16;
  background-image: linear-gradient(160deg, #2e2820 0%, #12100e 100%);
}

.collection-card__image--office {
  background-color: #222018;
  background-image: linear-gradient(160deg, #322c24 0%, #141210 100%);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  color: var(--color-text-inverse);
}

.collection-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.collection-card__link {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.collection-card:hover .collection-card__link {
  opacity: 0.8;
  transform: translateY(0);
}

/* =============================================
   Featured
   ============================================= */

.featured {
  padding: 0;
}

.featured__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.featured__image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.featured__image--1 {
  background-color: #1a1614;
  background-image: linear-gradient(135deg, #2a2420 0%, #0f0d0a 100%);
}

.featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--color-bg);
  color: var(--color-text-inverse);
}

.featured__title {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.1;
  margin: 28px 0 44px;
}

.featured__content .section__label {
  color: rgba(255, 255, 255, 0.5);
}

.featured__content .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-text-inverse);
  align-self: flex-start;
}

.featured__content .btn--outline:hover {
  background: var(--color-text-inverse);
  color: var(--color-bg);
}

/* =============================================
   Projects
   ============================================= */

.projects {
  background: transparent;
}

.projects .section__title {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  letter-spacing: 0.04em;
}

.projects__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.projects__grid--gallery {
  display: block;
  columns: 3;
  column-gap: 8px;
}

.projects__grid--gallery .project-card {
  break-inside: avoid;
  overflow: hidden;
  margin: 0 0 8px;
  background: transparent;
}

.projects__grid--gallery .project-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  transition: transform 0.8s ease;
}

.projects__grid--gallery .project-card:hover img {
  transform: scale(1.02);
}

@media (max-width: 1023px) {
  .projects__grid--gallery {
    columns: 2;
  }
}

.project-card {
  display: block;
  overflow: hidden;
  margin: 0;
  background: #1a1614;
}

.project-card img {
  width: 100%;
  display: block;
  transition: transform 0.8s ease;
}

.projects__grid:not(.projects__grid--gallery) .project-card img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-card__image {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.03);
}

.project-card__image--1 {
  background-color: #2a2420;
  background-image: linear-gradient(160deg, #3a3430 0%, #1a1614 100%);
}

.project-card__image--2 {
  background-color: #252018;
  background-image: linear-gradient(160deg, #353028 0%, #151210 100%);
}

.project-card__image--3 {
  background-color: #1e1a16;
  background-image: linear-gradient(160deg, #2e2820 0%, #12100e 100%);
}

.project-card__info {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card__location {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.project-card__link {
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-card__link {
  opacity: 1;
}

/* =============================================
   Services
   ============================================= */

.services {
  background: transparent;
}

.services__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.services__text {
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--color-text-light);
  margin-top: 28px;
}

.services__list-title {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  font-weight: 400;
  margin-bottom: 44px;
  letter-spacing: 0.05em;
}

.service-item {
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item__title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.service-item__text {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--color-text-light);
}

/* =============================================
   About
   ============================================= */

.about {
  padding: 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.about__image {
  background-color: #1a1614;
  background-image: linear-gradient(135deg, #2a2420 0%, #0f0d0a 100%);
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--color-bg-light);
}

.about__content p {
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--color-text-light);
  margin-top: 18px;
}

.about__content .btn {
  margin-top: 40px;
  align-self: flex-start;
}

/* =============================================
   Contact
   ============================================= */

.contact {
  background: transparent;
  color: var(--color-text);
}

.contact__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact .section__label {
  color: var(--color-text-light);
}

.contact__details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.contact__item a,
.contact__item address {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 300;
  color: var(--color-text);
  transition: opacity var(--transition);
}

.contact__item a:hover {
  opacity: 0.7;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__honey {
  display: none !important;
}

.contact__success {
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--color-text);
}

.contact__success.is-visible {
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

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

.contact__form .btn--primary {
  align-self: flex-start;
  margin-top: 16px;
}

/* =============================================
   Footer
   ============================================= */

.footer {
  background: #050505;
  color: var(--color-text-inverse);
  padding: 60px 40px 30px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  letter-spacing: 0.28em;
}

.footer__tagline {
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
  text-align: center;
}

.footer__bottom p {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 769px) {
  .header__inner {
    padding-left: calc(40px + var(--safe-left));
    padding-right: calc(40px + var(--safe-right));
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(var(--header-height) + var(--safe-top));
    padding-top: var(--safe-top);
    padding-left: calc(40px + var(--safe-left));
    padding-right: calc(40px + var(--safe-right));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    background: none;
    overflow: visible;
    width: auto;
    z-index: 1003;
  }

  .header__nav .header__menu {
    pointer-events: auto;
  }

  .page-inner .header__nav .header__menu a {
    color: var(--color-text);
  }

  .page-inner .header__nav .header__menu a::after {
    background: var(--color-text);
  }

  .header__menu {
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    gap: 28px;
  }
}

@media (hover: none) {
  .collection-card__link,
  .project-card__link {
    opacity: 0.8;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   Responsive — Tablet
   ============================================= */

@media (max-width: 1200px) {
  .header__menu {
    gap: 28px;
  }

  .header__menu a {
    letter-spacing: 0.1em;
  }
}

@media (max-width: 1024px) {
  .collections__grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .services__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .featured__item,
  .about__inner {
    grid-template-columns: 1fr;
  }

  .featured__content,
  .about__content {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 17px;
  }

  :root {
    --header-height: 64px;
    --fs-title: clamp(2rem, 8vw, 2.875rem);
    --fs-display: clamp(2.25rem, 8vw, 3.25rem);
    --fs-3xl: 1.875rem;
    --fs-xl: 1.3125rem;
    --fs-lg: 1.125rem;
  }

  .section {
    padding: 64px calc(20px + var(--safe-left)) 64px calc(20px + var(--safe-right));
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: var(--fs-title);
  }

  .header__inner {
    padding: 0 calc(20px + var(--safe-right)) 0 calc(20px + var(--safe-left));
    position: relative;
    z-index: 1003;
  }
  body.page-home .hero {
    display: block;
  }

  .hero__background {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero__image {
    object-fit: contain;
    object-position: center center;
    width: 100%;
    height: 100%;
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: calc(48px + var(--safe-bottom));
  }

  .hero__cta {
    width: auto;
    max-width: min(340px, 100%);
    min-width: 0;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 16px 24px;
    line-height: 1.35;
  }

  .header__nav {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-top));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 1001;
    background: #0a0a0a;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
    padding: 48px calc(24px + var(--safe-right)) calc(32px + var(--safe-bottom)) calc(24px + var(--safe-left));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header__nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav--open .header__menu a {
    color: #ffffff;
  }

  .header__nav--open .header__menu a::after {
    background: #ffffff;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .header__menu a {
    font-size: 1.0625rem;
    padding: 12px 20px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 320px;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  .header__burger {
    display: flex;
  }

  .header__burger--active span {
    background: var(--color-text-inverse);
  }

  .header--inner .header__burger--active span {
    background: var(--color-text);
  }

  .collections__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .collection-card {
    aspect-ratio: 16/10;
  }

  .collection-card__overlay {
    padding: 24px;
  }

  .collection-card__title {
    font-size: var(--fs-3xl);
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .projects__grid--gallery {
    columns: 1;
  }

  .projects__grid:not(.projects__grid--gallery) .project-card img {
    aspect-ratio: 4 / 5;
  }

  .project-card__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .services__inner {
    gap: 48px;
  }

  .service-item {
    padding: 24px 0;
  }

  .service-item__title {
    font-size: var(--fs-xl);
  }

  .featured__content,
  .about__content {
    padding: 48px calc(20px + var(--safe-left)) 48px calc(20px + var(--safe-right));
  }

  .featured__image,
  .about__image {
    min-height: 280px;
  }

  .contact__inner {
    gap: 48px;
  }

  .contact__item a,
  .contact__item address {
    font-size: var(--fs-xl);
    word-break: break-word;
  }

  .contact__form .btn--primary {
    width: 100%;
  }

  .footer {
    padding: 48px calc(20px + var(--safe-left)) calc(24px + var(--safe-bottom)) calc(20px + var(--safe-right));
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer__nav {
    align-items: center;
  }

  .footer__nav a {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* =============================================
   Responsive — Small phones
   ============================================= */

@media (max-width: 380px) {
  .header__logo {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }

  .hero__cta {
    font-size: var(--fs-xs);
    min-width: 240px;
    padding: 14px 24px;
    letter-spacing: 0.12em;
  }

  .section__label {
    letter-spacing: 0.22em;
  }
}
