/* ============================================================
   EDWARDI JUUKSESTUUDIO — Disainisüsteem
   ============================================================ */

:root {
  --cream:           #F7F4EF;
  --cream-dark:      #EDE8DF;
  --cream-mid:       #F1EBE3;
  --cream-warm:      #E8E0D4;
  --terracotta:      #C4856A;
  --terracotta-lt:   #D4A08A;
  --terracotta-pale: #F0DDD5;
  --brown-dark:      #2C1810;
  --brown-mid:       #6B4D3E;
  --brown-lt:        #9B7B6E;
  --warm-white:      #FDFAF6;
  --footer-bg:       #3E2A3A;
  --text-primary:    #1A0F0A;
  --text-secondary:  #6B4D3E;
  --text-muted:      #AE9590;
  --border:          rgba(44, 24, 16, 0.1);

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.5, 0, 0.75, 0);
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);

  --container: 86.25rem; /* was 1380px */
  --gutter:    clamp(1.5rem, 5vw, 5rem);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 1rem; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #C4946A #EDE8DF; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #EDE8DF; }
::-webkit-scrollbar-thumb { background: #C4946A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #A67850; }

/* ===== TEXT SELECTION ===== */
::selection { background-color: #C4946A; color: #ffffff; }
::-moz-selection { background-color: #C4946A; color: #ffffff; }


body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 1.625rem;
  height: 1.625rem;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out),
              height 0.4s var(--ease-out),
              background 0.4s,
              border-color 0.4s,
              opacity 0.3s;
  will-change: left, top;
}
.cursor.hover {
  width: 3.75rem;
  height: 3.75rem;
  background: rgba(196, 133, 106, 0.08);
  border-color: rgba(196, 133, 106, 0.4);
}
.cursor-dot {
  position: fixed;
  width: 0.3125rem;
  height: 0.3125rem;
  background: var(--terracotta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-lt));
  width: 0%;
  z-index: 1001;
  transition: width 0.08s linear;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-bg {
  position: absolute; inset: 0;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.4s, border-color 0.4s;
  z-index: -1;
}
.nav.scrolled .nav-bg {
  opacity: 1;
  border-color: var(--border);
}
.nav:has(.nav-hamburger.active) .nav-bg {
  opacity: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.nav-logo-img {
  height: 1.875rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-links a {
  font-size: 0.71rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.48rem 1.05rem;
  border-radius: 100px;
  position: relative;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0.05rem;
  left: 1.05rem;
  right: 1.05rem;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover,
.nav-links a.active { background: transparent; }

.nav-cta {
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--brown-dark);
  padding: 0.58rem 1.55rem;
  border-radius: 100px;
  margin-left: 0.75rem;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  border: none;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--terracotta); transform: scale(1.025); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  z-index: 110;
  position: relative;
  color: var(--terracotta);
  line-height: 0;
}
.nav-hamburger svg { display: block; stroke-width: 1px; }
.nav-hamburger .icon-close { display: none; }
.nav-hamburger.active .icon-menu { display: none; }
.nav-hamburger.active .icon-close { display: block; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem var(--gutter);
  clip-path: circle(0% at calc(100% - 3.5rem) 2.5rem);
  transition: clip-path 0.75s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 3.5rem) 2.5rem);
  pointer-events: all;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.625vw, 3.75rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  display: block;
  text-align: center;
  transition: color 0.2s;
}
.mobile-menu-nav a:hover { color: var(--terracotta); }
.mobile-menu-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  justify-content: center;
}
.mobile-menu .btn-dark { color: var(--warm-white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  padding: 0.58rem 1.55rem;
  text-decoration: none;
}
.btn-dark { background: var(--brown-dark); color: var(--warm-white); }
.btn-dark:hover { background: var(--terracotta); transform: scale(1.02); }
.btn-cta-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--brown-dark); }
.btn-cta-outline:hover { background: var(--terracotta); color: var(--warm-white); border-color: var(--terracotta); transform: scale(1.02); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(44, 24, 16, 0.22);
}
.btn-outline:hover { border-color: var(--text-primary); background: var(--cream-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  border: none;
  background: none;
  cursor: pointer;
  transition: gap 0.35s var(--ease-out), color 0.2s;
  padding: 0;
}
.link-arrow:hover { gap: 1.2rem; color: var(--terracotta); }
.arrow-line {
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.35s var(--ease-out);
  flex-shrink: 0;
}
.arrow-line::after {
  content: '';
  position: absolute;
  right: -0.0625rem;
  top: 50%;
  width: 0.4375rem; height: 0.4375rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.link-arrow:hover .arrow-line { width: 2.8rem; }

/* ===== PHOTO PLACEHOLDERS ===== */
.photo {
  width: 100%; height: 100%;
  display: block;
  position: relative;
}
.photo-hero {
  background-image: url(../assets/hero.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.photo-service-feat {
  background:
    radial-gradient(ellipse at 40% 30%, rgba(200, 160, 140, 0.4) 0%, transparent 50%),
    linear-gradient(150deg, #C8B4A8 0%, #A89080 38%, #8A6E60 68%, #6A5048 100%);
  position: relative;
}
.photo-service-feat::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../assets/Ombre-Balayage.png);
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo-about {
  background-image: url(../assets/meie.png);
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
}
.photo-team-1 {
  background-image: url(../team/kerli.png);
}
.photo-team-2 {
  background-image: url(../team/eeva.png);
}
.photo-team-3 {
  background:
    radial-gradient(ellipse at 38% 32%, rgba(200, 168, 148, 0.4) 0%, transparent 50%),
    linear-gradient(168deg, #C4B8B0 0%, #A89888 38%, #908480 65%, #787070 100%);
}
.photo-gallery-1 { background-image: url(../gallery/Work-1.png); background-size: 100%; background-repeat: no-repeat; background-position: center; }
.photo-gallery-2 { background-image: url(../gallery/Work-2.png); background-size: 100%; background-repeat: no-repeat; background-position: center; }
.photo-gallery-3 { background-image: url(../gallery/Work-3.png); background-size: 100%; background-repeat: no-repeat; background-position: center; }
.photo-gallery-4 { background-image: url(../gallery/Work-4.png); background-size: 100%; background-repeat: no-repeat; background-position: center; }
.photo-gallery-5 { background-image: url(../gallery/Work-5.png); background-size: 100%; background-repeat: no-repeat; background-position: center; }
.photo-gallery-6 { background: linear-gradient(155deg, #D4C0B4 0%, #C0A898 38%, #A89080 65%, #907870 100%); }
.photo-gallery-7 { background: linear-gradient(148deg, #D0C8B8 0%, #BCB0A0 38%, #A49888 65%, #8C8478 100%); }
.photo-gallery-8 { background: linear-gradient(170deg, #D8C8B0 0%, #C4B090 38%, #AAA078 65%, #90887A 100%); }
.photo-gallery-9 { background: linear-gradient(160deg, #CCBAB2 0%, #B8A898 38%, #A09088 65%, #887878 100%); }

/* ===== MASKED TEXT REVEAL ===== */
.line-wrap {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em; /* space for descenders (g, j jne.) */
}
.line-wrap .line { display: block; }

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: start;
  padding: 0 var(--gutter);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 2rem;
  min-height: 100svh;
  padding-bottom: 4rem;
  padding-top: 5rem;
  position: relative;
  z-index: 1;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) {
  .hero-left {
    max-height: calc(78svh - 7rem);
    overflow: hidden;
  }
}

.hero-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-label-line {
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--terracotta);
  flex-shrink: 0;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7.5vw, 8rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 3.5rem;
  visibility: hidden;
}
.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
  display: block;
}

.hero-scroll-hint {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.75rem;
  position: absolute;
  bottom: 0;
  left: 0;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 2rem;
  background: var(--text-muted);
  transform-origin: top;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero-right {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.hero-photo-wrap {
  width: 100%;
  height: 78%;
  overflow: hidden;
  position: relative;
}
.hero-photo-tag {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(10px);
  padding: 0.55rem 1.1rem;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: 100px;
  z-index: 3;
  pointer-events: none;
}
.hero-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-waves-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero-watermark path {
  stroke: rgba(44, 24, 16, 0.055);
}

/* ===== STATS RIBBON ===== */
.ribbon {
  background: var(--brown-dark);
  padding: 2.5rem var(--gutter);
  position: relative;
  overflow: hidden;
}
.ribbon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,133,106,0.4), transparent);
}
.ribbon-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ribbon-stat {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}
.ribbon-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
}
.ribbon-plus {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: var(--terracotta);
  font-weight: 300;
  line-height: 1;
}
.ribbon-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.38);
  margin-top: 0.3rem;
}
.ribbon-sep {
  width: 1px;
  height: 4rem;
  background: rgba(253, 250, 246, 0.1);
  flex-shrink: 0;
}

/* ===== SERVICES TEASER ===== */
.services-teaser {
  padding: clamp(5rem, 10vw, 11rem) var(--gutter);
}
.services-teaser-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: last baseline;
  justify-content: space-between;
  margin-bottom: 4.5rem;
  gap: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.services-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}
.services-list {
  display: flex;
  flex-direction: column;
  padding-right: 1rem;
}
.services-list .service-row:first-child {
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2.2rem 1.5rem 2.2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.service-row::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--terracotta-pale);
  transform: translateX(-102%);
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}
.service-row:hover::before { transform: translateX(0); }
.service-row:hover { padding-left: 1.5rem; }
.service-row > * { position: relative; z-index: 1; }
.service-n {
  display: block;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  font-size: 0;
}
.service-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.3rem;
}
.service-right {
  text-align: right;
}
.service-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  display: block;
}
.service-dur {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.service-featured {
  position: relative;
  overflow: hidden;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 32.5rem;
}
.service-feat-photo {
  position: absolute; inset: 0;
  transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-featured:hover .service-feat-photo { transform: scale(1.1); }
.service-feat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(26, 15, 10, 0.88) 0%,
    rgba(26, 15, 10, 0.3) 55%,
    transparent 100%
  );
}
.service-feat-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  color: var(--warm-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  height: 100%;
  overflow: visible;
  transition: color 0.3s var(--ease-out);
}
.service-featured:hover .service-feat-content { color: var(--warm-white); }
.service-feat-tag {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,250,246,0.55);
  margin-bottom: 0.8rem;
}
.service-feat-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.service-feat-desc {
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(253,250,246,0.65);
  max-width: 28ch;
  margin-bottom: 1.5rem;
  transition: margin-bottom 0.5s var(--ease-out);
}
.service-feat-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--terracotta-lt);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: clamp(5rem, 10vw, 11rem) var(--gutter);
  background: var(--cream-mid);
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 13rem;
  align-items: start;
}
.about-left { padding-top: none; }
.section-label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.section-label-line {
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--terracotta);
  flex-shrink: 0;
}
.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}
.about-headline em { font-style: italic; color: var(--terracotta); }
.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 3rem;
}
.about-right { position: relative; }
.about-photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-photo-wrap:hover .photo { background-size: 110%; }
.about-photo-wrap .photo {
  transition: background-size 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about-badge {
  position: absolute;
  bottom: calc(-2.5rem + 2.5rem); right: -2.5rem;
  width: 9.375rem; height: 9.375rem;
  background: #ecdcd2;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  box-shadow: 0 12px 48px rgba(196, 133, 106, 0.18);
  will-change: transform;
}
.about-badge-n {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}
.about-badge-amp { color: var(--terracotta); }

/* ===== TEAM TEASER ===== */
.team-teaser {
  padding: clamp(5rem, 10vw, 11rem) var(--gutter);
}
.team-teaser-inner { max-width: var(--container); margin: 0 auto; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.team-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.team-card:nth-child(1) { margin-top: 0; }
.team-card:nth-child(2) { margin-top: 3.5rem; }
.team-card:nth-child(3) { margin-top: 7rem; }
.team-photo-wrap {
  overflow: hidden;
  margin-bottom: 1.3rem;
  position: relative;
}
.team-card:nth-child(1) .team-photo-wrap { aspect-ratio: 3/4; }
.team-card:nth-child(2) .team-photo-wrap { aspect-ratio: 4/5; }
.team-card:nth-child(3) .team-photo-wrap { aspect-ratio: 3/4; }
.team-photo {
  width: 100%; height: 100%; display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  transition: filter 0.65s var(--ease-out), transform 0.85s var(--ease-out);
}
.team-card:hover .team-photo {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.045);
}
.team-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.team-role {
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  padding: clamp(3rem, 6vw, 7rem) 0;
  overflow: hidden;
}
.gallery-strip-header {
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto 4.5rem;
  display: flex;
  align-items: last baseline;
  justify-content: space-between;
}
.gallery-strip-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
}
.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
padding: 0 clamp(var(--gutter), calc((100% - var(--container)) / 2), 5rem);
  justify-content: safe center;
  cursor: grab;
  user-select: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; }
.gallery-thumb {
  flex-shrink: 0;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}
.gallery-thumb:nth-child(1) { width: clamp(16.25rem, 28vw, 26.25rem); height: clamp(21.875rem, 46vw, 37.5rem); }
.gallery-thumb:nth-child(2) { width: clamp(11.25rem, 20vw, 18.125rem); height: clamp(15rem, 30vw, 25rem); align-self: flex-end; }
.gallery-thumb:nth-child(3) { width: clamp(18.125rem, 34vw, 31.25rem); height: clamp(24.375rem, 50vw, 40.625rem); }
.gallery-thumb:nth-child(4) { width: clamp(10rem, 17vw, 15.625rem); height: clamp(13.75rem, 27vw, 22.5rem); align-self: flex-end; }
.gallery-thumb:nth-child(5) { width: clamp(15rem, 27vw, 24.375rem); height: clamp(20rem, 42vw, 33.75rem); }
.gallery-thumb .photo {
  transition: background-size 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-thumb:hover .photo { background-size: 110%; }

/* ===== QUOTE / CTA ===== */
.quote-section {
  padding: clamp(5rem, 10vw, 11rem) var(--gutter);
  background: var(--cream-mid);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 28vw, 36rem);
  color: rgba(196, 133, 106, 0.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.quote-inner {
  max-width: 53.75rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.32;
  color: var(--text-primary);
  margin-bottom: 0;
}
.quote-author {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}
.quote-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  position: relative;
}
.quote-ctas::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 4rem;
  background: var(--border);
}
.quote-cta-a { transform: translateY(-2rem); }
.quote-cta-b { transform: translateY(2rem); }

/* ===== GALLERY IG CTA ===== */
.gallery-ig-wrap {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  display: flex;
  justify-content: center;
}
.gallery-ig-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  transition: color 0.3s;
  cursor: pointer;
}
.gallery-ig-link:hover { color: var(--terracotta); }
.gallery-ig-link svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}
.gallery-ig-link:hover svg { transform: scale(1.12); }
.gallery-ig-link span {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.gallery-ig-link em {
  font-style: normal;
  color: var(--terracotta);
}

/* ===== LIGHTBOX ===== */
.lb {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 15, 10, 0);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), background 0.5s;
}
.lb.open {
  opacity: 1; pointer-events: all;
  background: rgba(26, 15, 10, 0.92);
}
.lb-stage {
  position: relative;
  height: min(82vh, 51.25rem);
  aspect-ratio: 3/4;
  max-width: 90vw;
}
.lb-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.lb-close {
  position: fixed; top: 2rem; right: 2.5rem;
  width: 3rem; height: 3rem;
  background: rgba(253,250,246,0.06);
  border: 1px solid rgba(253,250,246,0.14);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(253,250,246,0.65);
  transition: color 0.25s, background 0.25s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  z-index: 1;
}
.lb-close:hover {
  color: var(--warm-white);
  background: rgba(253,250,246,0.12);
  transform: rotate(90deg);
}
.lb-close svg { pointer-events: none; }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(253,250,246,0.35);
  padding: 1.2rem;
  line-height: 0;
  transition: color 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 1;
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover { color: rgba(253,250,246,0.9); transform: translateY(-50%) translateX(-0.375rem); }
.lb-next:hover { color: rgba(253,250,246,0.9); transform: translateY(-50%) translateX(0.375rem); }
.lb-prev:disabled, .lb-next:disabled { opacity: 0.15; pointer-events: none; }
.lb-counter {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(253,250,246,0.25);
  font-family: var(--font-body);
}

/* ===== FOOTER ===== */
.footer {
  background:
    radial-gradient(circle 560px at var(--fmx, 35%) var(--fmy, 55%), rgba(196,133,106,0.11) 0%, transparent 65%),
    radial-gradient(ellipse at 78% 12%, rgba(100,55,70,0.5) 0%, transparent 48%),
    radial-gradient(ellipse at 12% 88%, rgba(75,38,52,0.55) 0%, transparent 44%),
    radial-gradient(ellipse at 55% 50%, rgba(50,28,40,0.3) 0%, transparent 60%),
    linear-gradient(148deg, #4D2F40 0%, #3E2A3A 42%, #2A1A28 100%);
  padding: 5rem var(--gutter) 3.5rem;
  position: relative;
  overflow: hidden;
}
.footer-wm {
  position: absolute;
  bottom: -0.12em; left: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 26rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(253, 250, 246, 0.04);
  letter-spacing: 0.025em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* — Suur editorial CTA ülaosas — */
.footer-cta-row {
  padding-top: 3rem;
  margin-bottom: 3.5rem;
}
.footer-cta-divider {
  position: relative;
  overflow: hidden;
  height: 1px;
  background: rgba(253, 250, 246, 0.08);
}
.footer-cta-divider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #7b514d;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-cta-text {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.35s;
}
.footer-cta-link:hover .footer-cta-text { color: var(--terracotta-lt); }
.footer-cta-arrow {
  color: var(--terracotta);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding-right: 2rem;
  transition: transform 0.5s var(--ease-out);
}
.footer-cta-arrow svg,
.footer-cta-arrow img {
  width: 4.5rem;
  height: auto;
  transition: transform 0.5s var(--ease-out);
}
@media (max-width: 1023px) {
  .footer-cta-text { font-size: 3.5rem; }
  .footer-cta-arrow { padding-right: 1.5rem; }
  .footer-cta-arrow svg, .footer-cta-arrow img { width: 3rem; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1rem 3rem; }
  .quote-inner { max-width: 30rem; }
}
@media (max-width: 767px) {
  .footer-cta-arrow { padding-right: 1rem; }
  .footer-cta-arrow svg, .footer-cta-arrow img { width: 2.2rem; }
}
.footer-cta-link:hover .footer-cta-arrow { transform: translateX(0.875rem); }

/* — Info grid — */
.footer-info {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr 0.65fr;
  gap: 4rem;
  margin-bottom: 0;
}
.footer-info > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo {
  display: block;
  margin-bottom: 0;
}
.footer-logo-img {
  height: 5.625rem;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(253,250,246,0.3);
  line-height: 1.8;
}

/* — Kontaktiread — */
.footer-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-contact-row { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-contact-lbl {
  font-size: 0.59rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,250,246,0.25);
  display: block;
  margin-bottom: 0.1rem;
}
.footer-contact-val {
  font-size: 0.875rem;
  color: rgba(253,250,246,0.55);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  line-height: 1.65;
}
.footer-contact-val:hover { color: var(--warm-white); }

/* — Sotsiaalmeedia — */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.footer-socials a {
  font-size: 0.875rem;
  color: #a99ca0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--warm-white); }
.footer-soc-line {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: rgba(253,250,246,0.15);
  transition: width 0.35s var(--ease-out), background 0.3s;
  flex-shrink: 0;
}
.footer-socials a:hover .footer-soc-line { width: 2.5rem; background: var(--terracotta); }

/* — Alumine riba — */
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(253,250,246,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-copy {
  font-size: 0.7rem;
  color: rgba(253,250,246,0.2);
  letter-spacing: 0.07em;
}
.footer-nav { display: flex; gap: 2.5rem; }
.footer-nav a {
  font-size: 0.7rem;
  color: rgba(253,250,246,0.26);
  letter-spacing: 0.09em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(253,250,246,0.65); }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding: 11rem var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 11rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  opacity: 0;
}
.page-hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 50ch;
  margin-top: 2.5rem;
  opacity: 0;
}

/* ===== SERVICES PAGE ===== */
.services-page {
  padding: 0 var(--gutter) clamp(5rem, 10vw, 11rem);
}
.services-page-inner { max-width: var(--container); margin: 0 auto; }
.services-category { margin-bottom: 7rem; scroll-margin-top: 6rem; }
.cat-head { margin-bottom: 2rem; }
.cat-label {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}
.cat-line { display: none; }
.services-tbl { width: 100%; border-collapse: collapse; }
.services-tbl tr {
  border-bottom: 1px solid var(--border);
  background-image: linear-gradient(to right, var(--terracotta-pale) 0%, var(--terracotta-pale) 100%);
  background-repeat: no-repeat;
  background-size: 0% calc(100% + 0.125rem);
  background-position: left -0.0625rem;
  transition: background-size 0.4s cubic-bezier(0.16,1,0.3,1);
}
.services-tbl tr:first-child { border-top: 1px solid var(--border); }
.services-tbl tr:hover { background-size: 100% calc(100% + 0.125rem); }
/* Kategooriate erinevad hover-värvid — ainult desktop */
@media (min-width: 901px) {
  .services-category:nth-child(1) .services-tbl tr {
    background-image: linear-gradient(to right, rgba(110,125,140,0.13) 0%, rgba(110,125,140,0.13) 100%);
  }
  .services-category:nth-child(2) .services-tbl tr {
    background-image: linear-gradient(to right, var(--terracotta-pale) 0%, var(--terracotta-pale) 100%);
  }
  .services-category:nth-child(3) .services-tbl tr {
    background-image: linear-gradient(to right, rgba(165,175,130,0.18) 0%, rgba(165,175,130,0.18) 100%);
  }

  /* Avalehe teenuste kategooriate hover-värvid */
  .services-list .service-row:nth-child(1)::before { background: var(--terracotta-pale); }
  .services-list .service-row:nth-child(2)::before { background: rgba(110, 125, 140, 0.13); }
  .services-list .service-row:nth-child(3)::before { background: rgba(165, 175, 130, 0.18); }
  .services-list .service-row:nth-child(4)::before { background: #F5ECD7; }

  /* ===== ROW HOVER: PRICE+DUR → BRONEERI ===== */
  .svc-book {
    display: none;
  }
  .services-tbl .svc-book {
    display: inline-block;
    position: absolute;
    top: 0.625rem;
    bottom: 0;
    right: 2.5rem;
    margin-block: auto;
    height: fit-content;
    opacity: 0;
    font-size: 0.71rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-white);
    background: var(--brown-dark);
    padding: 0.58rem 1.55rem;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, background 0.3s var(--ease-out);
    pointer-events: none;
  }
  .services-tbl td:last-child .svc-price,
  .services-tbl td:last-child span:not(.svc-price) {
    transition: opacity 0.2s ease;
  }
  .services-tbl tr:hover td:last-child .svc-price,
  .services-tbl tr:hover td:last-child span:not(.svc-price) {
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .services-tbl tr:hover .svc-book {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.2s ease 0.15s, background 0.3s var(--ease-out);
  }
  .services-tbl .svc-book:hover {
    background: var(--terracotta);
  }
}
@media (max-width: 900px) {
  .services-tbl tr:hover { background-size: 0% !important; }
}
.services-tbl td { padding: 1.8rem 1.5rem; vertical-align: middle; transition: padding-left 0.35s cubic-bezier(0.16,1,0.3,1); }
.services-tbl td:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  padding-left: 4rem;
  width: 75%;
  position: relative;
}
.services-tbl td:first-child::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 1.8rem;
  transform: translateY(0.85rem);
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--terracotta);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.services-tbl tr:hover td:first-child::before {
  transform: translateY(0.85rem) translateX(0.375rem);
}
.svc-name { display: block; font-weight: 600; }
.svc-book { display: none; }
.svc-price {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.svc-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.5;
  max-width: 115ch;
}
.services-tbl tr:hover td:first-child { padding-left: 5rem; }
.services-tbl td:last-child {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
  padding-right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.55rem;
  position: relative;
}

/* — Services CTA Section — */
.services-cta-section {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.services-cta-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
.services-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== TEAM PAGE (editorial 2-person) ===== */
.team-showcase {
  padding-bottom: clamp(5rem, 10vw, 11rem);
}
.team-showcase-inner { max-width: var(--container); margin: 0 auto; }
.team-profile {
  display: grid;
  grid-template-columns: 58fr 42fr;
  min-height: 55vh;
}
.team-profile:last-child { border-bottom: none; }
.team-profile.flip {
  grid-template-columns: 42fr 58fr;
}
.team-profile.flip .team-profile-photo { order: 2; }
.team-profile.flip .team-profile-info  { order: 1; }
.team-profile-photo {
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}
.team-profile-photo .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  transition: background-size 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.team-profile-photo:hover .photo {
  background-size: 110%;
}
.team-profile-info {
  padding: clamp(3rem, 5vw, 6rem) clamp(2.5rem, 4vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cream);
}
.team-profile-role {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}
.team-profile-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}
.team-profile-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 38ch;
  margin-bottom: 3rem;
}
.team-cta-strip {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

/* ===== GALLERY PAGE ===== */
.gallery-page-section {
  padding: 0 var(--gutter);
}
.gallery-page-inner { max-width: var(--container); margin: 0 auto; }

/* Minimal text filter nav */
.gallery-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}
.gnav-item {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0;
  position: relative;
  transition: color 0.25s;
  font-family: var(--font-body);
}
.gnav-item::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.gnav-item.active { color: var(--text-primary); }
.gnav-item.active::after,
.gnav-item:hover::after { transform: scaleX(1); }

/* Editorial grid */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
.ge-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.ge-item.ge-full { grid-column: 1 / -1; }
.ge-item.hidden  { display: none; }
.ge-photo {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease-out), filter 0.5s;
  filter: brightness(0.96) saturate(0.85);
}
.ge-portrait  { aspect-ratio: 4/5; }
.ge-portrait2 { aspect-ratio: 3/4; }
.ge-tall      { aspect-ratio: 5/6; }
.ge-wide      { aspect-ratio: 21/9; }
.ge-item:hover .ge-photo {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}
.ge-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,15,10,0.62) 0%, transparent 52%);
  opacity: 0;
  transition: opacity 0.55s;
  display: flex;
  align-items: flex-end;
  padding: 2rem 2.5rem;
  pointer-events: none;
}
.ge-item:hover .ge-overlay { opacity: 1; }
.ge-cat-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253,250,246,0.8);
}

@media (max-width: 640px) {
  .gallery-editorial { grid-template-columns: 1fr; gap: 0.4rem; }
  .ge-item.ge-full { grid-column: 1; }
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  padding: 0 var(--gutter) clamp(5rem, 10vw, 11rem);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8rem;
}
.contact-info { padding-top: 1rem; }
.contact-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.contact-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 38ch;
  margin-bottom: 3.5rem;
}
.contact-block {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-block:first-of-type { border-top: 1px solid var(--border); }
.contact-block-label {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.contact-block-val {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  color: var(--text-primary);
  transition: color 0.2s;
}
.contact-block-val:hover { color: var(--terracotta); }
.contact-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.contact-hours dt { color: var(--text-muted); font-size: 0.8rem; }

/* Form */
.booking-form { padding-top: 1rem; }
.booking-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.booking-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}
.booking-form-cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-warm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}
.booking-form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 36ch;
}
.form-grp { margin-bottom: 2rem; }
.form-lbl {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--terracotta); }
.form-input:-webkit-autofill,
.form-select:-webkit-autofill,
.form-textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--cream) inset;
  box-shadow: 0 0 0 1000px var(--cream) inset;
  -webkit-text-fill-color: var(--text-primary);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); font-size: 0.9rem; }
.form-textarea { resize: none; height: 5.625rem; }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236B4D3E' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.8rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.5rem;
}
.form-check input {
  width: 1rem; height: 1rem;
  border: 1.5px solid var(--border);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.form-check input:checked {
  background: var(--terracotta);
  border-color: var(--terracotta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.form-check-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.form-submit { width: auto; margin-top: 1rem; justify-content: center; }

/* ===== GSAP INITIAL STATES ===== */
.reveal-up    { opacity: 0; transform: translateY(3rem); }
.reveal-left  { opacity: 0; transform: translateX(-2.5rem); }
.reveal-right { opacity: 0; transform: translateX(2.5rem); }
.reveal-fade  { opacity: 0; }

/* ===== GALLERY PAGE STYLES (previously inline) ===== */
.gallery-page-hero {
  padding: 11rem var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.gallery-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

/* ── Portrait editorial layout ── */
.gallery-curated {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(0.6rem, 1.2vw, 1rem);
  row-gap: 0;
  align-items: start;
}

.gc-item {
  overflow: hidden;
  position: relative;
  cursor: none;
}
.gc-photo {
  width: 100%;
  display: block;
  background-size: 100%;
  background-position: center top;
  transition: background-size 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gc-item:hover .gc-photo {
  background-size: 110%;
}

.gc-item:nth-child(1) {
  grid-column: 1 / 5;
  margin-top: clamp(3rem, 6vw, 6rem);
}
.gc-item:nth-child(1) .gc-photo { aspect-ratio: 2/3; }

.gc-item:nth-child(2) {
  grid-column: 5 / 9;
  margin-top: 0;
}
.gc-item:nth-child(2) .gc-photo { aspect-ratio: 3/4; }

.gc-item:nth-child(3) {
  grid-column: 9 / 13;
  margin-top: clamp(5rem, 10vw, 9rem);
}
.gc-item:nth-child(3) .gc-photo { aspect-ratio: 4/5; }

.gc-item:nth-child(4) {
  grid-column: 2 / 5;
  margin-top: clamp(2rem, 4vw, 4rem);
}
.gc-item:nth-child(4) .gc-photo { aspect-ratio: 4/5; }

.gc-item:nth-child(5) {
  grid-column: 5 / 9;
  margin-top: clamp(3.5rem, 7vw, 7rem);
}
.gc-item:nth-child(5) .gc-photo { aspect-ratio: 2/3; }

.gc-item:nth-child(6) {
  grid-column: 9 / 12;
  margin-top: clamp(1.5rem, 3vw, 3rem);
}
.gc-item:nth-child(6) .gc-photo { aspect-ratio: 3/4; }

.gc-item:nth-child(1) .gc-photo { background-image: url(../gallery/Galerii-1.png); }
.gc-item:nth-child(2) .gc-photo { background-image: url(../gallery/Galerii-2.png); }
.gc-item:nth-child(3) .gc-photo { background-image: url(../gallery/Galerii-3.png); }
.gc-item:nth-child(4) .gc-photo { background-image: url(../gallery/Galerii-4.png); }
.gc-item:nth-child(5) .gc-photo { background-image: url(../gallery/Galerii-5.png); }
.gc-item:nth-child(6) .gc-photo { background-image: url(../gallery/Galerii-6.png); }

/* ===== CONTACT PAGE STYLES (previously inline) ===== */
.map-placeholder {
  width: 100%;
  height: 320px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(196,133,106,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--cream-dark) 0%, var(--cream-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(174,149,144,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174,149,144,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.map-pin-dot {
  width: 1rem; height: 1rem;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(196,133,106,0.2), 0 0 0 12px rgba(196,133,106,0.08);
  animation: pinPulse 2.5s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(196,133,106,0.2), 0 0 0 12px rgba(196,133,106,0.08); }
  50%       { box-shadow: 0 0 0 10px rgba(196,133,106,0.15), 0 0 0 20px rgba(196,133,106,0.04); }
}
.map-pin-label {
  background: var(--warm-white);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  box-shadow: 0 2px 20px rgba(44,24,16,0.08);
}

/* Horizontal info band */
.info-band {
  padding: 0 var(--gutter) 5rem;
}
.info-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--cream-mid);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 2px;
  overflow: hidden;
}
.info-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  border-left: 1px solid rgba(255,255,255,0.7);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s cubic-bezier(0.16,1,0.3,1);
}
.info-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--terracotta-pale);
  transform: translateX(-102%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.info-card:hover::before { transform: translateX(0); }
.info-card:hover { padding-left: 3rem; }
.info-card > * { position: relative; z-index: 1; }
.info-card:first-child { border-left: none; }
.info-card-icon {
  color: var(--terracotta);
  line-height: 0;
}
.info-card-icon svg {
  width: 48px;
  height: 48px;
}
.info-card-title {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.info-card-val {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .info-band-inner { grid-template-columns: 1fr; }
  .info-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.7); padding: 1.75rem 1.5rem; }
  .info-card:first-child { border-top: none; }
  .services-cta-section { padding-top: 0rem; padding-bottom: 0rem; }
  .services-cta-text { font-size: 2rem; }
  .contact-title { font-size: 2.2rem; }
  .booking-title { font-size: 2.2rem; }
}

@media (max-width: 860px) {
  .gallery-page-hero-grid { grid-template-columns: 1fr; }
  .gc-item:nth-child(1) { grid-column: 1 / 5; margin-top: 2rem; }
  .gc-item:nth-child(2) { grid-column: 5 / 9; margin-top: 0; }
  .gc-item:nth-child(3) { grid-column: 9 / 13; margin-top: 3.5rem; }
  .gc-item:nth-child(4) { grid-column: 1 / 5; margin-top: 2rem; }
  .gc-item:nth-child(5) { grid-column: 5 / 9; margin-top: 3.5rem; }
  .gc-item:nth-child(6) { grid-column: 9 / 13; margin-top: 1.5rem; }
}

@media (max-width: 640px) {
  .gallery-page-hero-grid { grid-template-columns: 1fr; }
  .gallery-curated { grid-template-columns: 1fr 1fr; column-gap: 0.5rem; row-gap: 0; }
  .gc-item .gc-photo { aspect-ratio: 2/3; }
  .gc-item:nth-child(1) { grid-column: 1 / 2; margin-top: 0; }
  .gc-item:nth-child(2) { grid-column: 2 / 3; margin-top: 3.5rem; }
  .gc-item:nth-child(3) { grid-column: 1 / 2; margin-top: 2rem; }
  .gc-item:nth-child(4) { grid-column: 2 / 3; margin-top: 5.5rem; }
  .gc-item:nth-child(5) { grid-column: 1 / 2; margin-top: 2rem; }
  .gc-item:nth-child(6) { grid-column: 2 / 3; margin-top: 5.5rem; }
}

@media (max-width: 1100px) {
  .about-inner { gap: 8rem; }
  .contact-inner { gap: 4rem; }
  .team-full-grid { gap: 5rem 3rem; }
}

@media (max-width: 900px) {
  .services-cta-section { padding-top: 1rem; padding-bottom: 4rem; }
  .services-cta-text { font-size: 2rem; }
  .contact-title { font-size: 2.5rem; }
  .booking-title { font-size: 2.5rem; }
  .nav { padding-top: 1rem; padding-bottom: 1rem; }
  .nav-links, .nav-cta.d-only { display: none; }
  .nav-hamburger { display: flex; }

  /* — Mobile Menu — */
  .mobile-menu { padding: 2.5rem var(--gutter); }
  .mobile-menu a { padding: 0.75rem 0; min-height: 44px; display: flex; align-items: center; }
  .mobile-menu-bottom { margin-top: 2rem; padding-top: 2rem; flex-direction: column; gap: 1rem; }
  .mobile-menu-bottom .btn { padding: 0.75rem 3.5rem; width: fit-content; margin: 0 auto; }
  .mobile-menu .btn-dark:hover { transform: none; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero-right {
    position: absolute;
    right: 0; top: 5rem;
    width: 42%; height: 100%;
    z-index: 0;
    align-items: flex-start;
  }
  .hero-photo-wrap { height: 65%; width: 100%; }
  .hero-left { z-index: 2; position: relative; }

  .services-layout { grid-template-columns: 1fr; }
  .service-featured { margin-left: 0; margin-top: 2rem; }
  .service-row:hover { padding-left: 0; }
  .service-row:hover::before { transform: translateX(-100%); }
  .info-card { transition: none; }
  .info-card:hover::before { transform: translateX(-100%); }
  .info-card-icon svg { width: 36px; height: 36px; }
  .service-n { display: block; }
  .service-row { grid-template-columns: 2.5rem 1fr auto; padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .services-tbl td { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .services-tbl td:first-child { padding-left: 1rem; position: relative; }
  .services-tbl td:first-child::before { left: 0; top: 1.2rem; transform: translateY(0.6rem); }
  .services-tbl tr:hover { background-size: 0% !important; }
  .services-tbl tr:hover td:first-child { padding-left: 1rem !important; }
  .services-tbl tr:hover td:first-child::before { transform: translateY(0.6rem) !important; }
  .services-tbl td:last-child { padding-right: 1rem; }

  .about-inner { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .about-right { display: block; }
  .about-badge { width: 6.5rem; height: 6.5rem; right: -1rem; }
  .about-badge-n { font-size: 1.2rem; }

  .team-grid { grid-template-columns: repeat(3, 1fr); }

  .team-profile { grid-template-columns: 1fr 1fr; min-height: 60vh; }
  .team-profile.flip { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 4rem; }
  .footer-info { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-info > div:nth-child(3) { grid-column: 2; }
}

@media (min-width: 641px) {
  .team-profile:not(:last-child) { margin-bottom: 2rem; }
}

@media (max-width: 640px) {
  .hero-right { display: none; }
  .hero-inner { padding-top: 7rem; }
  .hero-headline { font-size: clamp(3.2rem, 12vw, 5.5rem); }

  .team-showcase { padding-bottom: 0.5rem; }

  .ribbon-inner { flex-wrap: wrap; gap: 2.5rem; justify-content: center; }
  .ribbon-sep { display: none; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .gallery-strip-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card:nth-child(3) { display: none; }

  .quote-ctas { flex-direction: column; gap: 2rem; }
  .quote-ctas::before { display: none; }
  .quote-cta-a, .quote-cta-b { transform: none; }

  .footer-info { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cta-text { font-size: clamp(2rem, 9vw, 3.5rem); }
  .footer { padding-top: 3rem; }
  .footer-cta-row { padding-top: 0; }
  .footer-bottom { flex-direction: column; gap: 1.2rem; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }

  .team-profile { grid-template-columns: 1fr; min-height: auto; }
  .team-profile.flip { grid-template-columns: 1fr; }
  .team-profile.flip .team-profile-photo { order: 0; }
  .team-profile.flip .team-profile-info  { order: 1; }
  .team-profile-photo { aspect-ratio: 3/4; min-height: unset; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .section-title { font-size: 2.5rem; }
  .service-name { font-size: 1.6rem; }
  .about-headline { font-size: 2.5rem; }
  .gallery-strip-title { font-size: 2.5rem; }
  .quote-text { font-size: 2.2rem; }
  .services-cta-section { padding-top: 0.4rem; padding-bottom: 3.3rem; }
  .services-cta-text { font-size: 2rem; }
  .contact-title { font-size: 2.5rem; }
  .booking-title { font-size: 2.5rem; }
}

/* ===== BOOKING MODAL ===== */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(26, 15, 10, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}
.booking-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.booking-modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
  transform: translateY(32px);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.booking-modal-overlay.is-open .booking-modal {
  transform: translateY(0);
}
.booking-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.booking-modal-close:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
}
.booking-modal-close svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-primary);
  transition: stroke 0.2s;
}
.booking-modal-close:hover svg { stroke: var(--cream); }
.booking-modal-inner {
  padding: 3.5rem 3rem 2.5rem;
}
.booking-modal-header {
  margin-bottom: 2.5rem;
}
.booking-modal-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.booking-modal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.booking-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: none;
  border-left: none;
  border-right: none;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s var(--ease-out);
  background: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}
.booking-cat-row::before {
  content: '';
  position: absolute; inset: 0;
  transform: translateX(-102%);
  transition: transform 0.4s var(--ease-out);
}
.booking-cat-row:nth-child(1)::before { background: rgba(110,125,140,0.13); }
.booking-cat-row:nth-child(2)::before { background: var(--terracotta-pale); }
.booking-cat-row:nth-child(3)::before { background: rgba(165,175,130,0.18); }
.booking-cat-row:hover::before { transform: translateX(0); }
.booking-cat-row:hover { padding-left: 0.75rem; }
.booking-cat-row:last-child { border-bottom: 1px solid var(--border); }
.booking-cat-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  position: relative;
}
.booking-cat-row svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--terracotta);
  position: relative;
  transition: transform 0.35s var(--ease-out);
  margin-right: 1rem;
}
.booking-cat-row:hover svg { transform: translateX(5px); }

/* ============================================================
   RESPONSIVE DESIGN FIXES — Mobile-First (375px, 768px, 1440px)
   ============================================================ */

/* ===== 445PX FOOTER LAYOUT ===== */
@media (max-width: 445px) {
  .footer-info {
    grid-template-columns: 1fr;
  }
  .footer-info > div:first-child {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
  }
  .footer-info > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer-info > div:nth-child(3) { grid-column: 1; grid-row: 3; }
}

/* ===== 540PX ABOUT LAYOUT ===== */
@media (max-width: 540px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-left { order: 1; }
  .about-right {
    order: 2;
    width: 80%;
    margin: 0 auto;
  }
}

/* ===== 375PX MOBILE FIXES (NEW BREAKPOINT) ===== */
@media (max-width: 375px) {
  .mobile-menu-bottom .btn { padding: 0.75rem 1.5rem; }

  .services-category { margin-bottom: 4rem; }
  .services-cta-section { padding-top: 2.9rem; padding-bottom: 1rem; }
  .services-cta-text { font-size: 1.6rem; }
  .team-showcase { padding-bottom: 0.5rem; }

  .hero-left {
    padding-bottom: 2rem;
  }
  .hero-label {
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
  }


  /* — Link Arrow — */
  .link-arrow {
    font-size: 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }


  /* — Ribbon Stats — */
  .ribbon-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .ribbon-sep {
    display: none;
  }

  /* — Services Table: Stack at 375px — */
  .services-page-inner {
    padding-bottom: 2rem;
  }
  .services-tbl {
    display: block;
  }
  .services-tbl tbody {
    display: block;
  }
  .services-tbl tr {
    display: block;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: none !important;
  }
  .services-tbl tr:first-child {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
  .services-tbl td {
    display: block;
    padding: 0.1rem 0 !important;
    width: 100% !important;
    text-align: left !important;
    border: none;
  }
  .services-tbl td:first-child {
    padding-left: 1rem !important;
    width: 100% !important;
    position: relative;
  }
  .services-tbl td:first-child::before {
    left: 0;
    top: 0.1rem;
    transform: translateY(0.5rem);
  }
  .services-tbl tr:hover td:first-child::before {
    transform: translateY(0.5rem) !important;
  }
  .services-tbl tr:hover td:first-child {
    padding-left: 1rem !important;
  }
  .svc-name {
    display: block;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
  }
  .svc-desc {
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .svc-price {
    white-space: normal;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 0.5rem;
  }
  .services-tbl td:last-child {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding-right: 0 !important;
    padding-left: 1rem !important;
  }
  .services-tbl .svc-price { font-size: 1rem; }
  .services-tbl .svc-dur { font-size: 0.75rem; }

  /* — Gallery Strip Optimization — */
  .gallery-strip {
    padding: clamp(5rem, 6vw, 7rem) 0;
  }
  .gallery-strip-header {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
  .gallery-strip-title {
    font-size: 2.5rem;
  }
  .gallery-track {
    padding: 0 1rem;
    gap: 0.8rem;
  }
  .gallery-thumb:nth-child(1) {
    width: clamp(180px, 70vw, 260px);
    height: clamp(250px, 90vw, 350px);
  }
  .gallery-thumb:nth-child(2) {
    width: clamp(130px, 50vw, 180px);
    height: clamp(180px, 65vw, 240px);
  }
  .gallery-thumb:nth-child(3) {
    width: clamp(180px, 70vw, 290px);
    height: clamp(250px, 90vw, 390px);
  }
  .gallery-thumb:nth-child(4) {
    width: clamp(110px, 40vw, 160px);
    height: clamp(160px, 55vw, 220px);
  }
  .gallery-thumb:nth-child(5) {
    width: clamp(160px, 65vw, 240px);
    height: clamp(220px, 80vw, 320px);
  }

  /* — Form Inputs: Increase Hit Areas — */
  .form-input,
  .form-select,
  .form-textarea {
    padding: 1rem 0;
    min-height: 44px;
    font-size: 16px; /* Prevent zoom on iOS */
    line-height: 1.5;
  }
  .form-select {
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }
  .form-check {
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .form-check input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-top: 0.25rem;
  }
  .form-check-label {
    font-size: 0.85rem;
    line-height: 1.6;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-submit {
    width: auto;
    margin-top: 1.5rem;
    min-height: 48px;
  }

  /* — Lightbox Controls: Increase Touch Targets — */
  .lb-close {
    width: 3.5rem;
    height: 3.5rem;
    top: 1rem;
    right: 1rem;
    min-width: 48px;
    min-height: 48px;
  }
  .lb-prev,
  .lb-next {
    padding: 1.5rem;
    min-width: 48px;
    min-height: 48px;
  }
  .lb-stage {
    height: min(85vh, 550px);
    aspect-ratio: 3/4;
    max-width: 95vw;
  }
  .lb-counter {
    font-size: 0.65rem;
  }

  /* — Quote Section — */
  .quote-cta-a,
  .quote-cta-b {
    transform: none;
  }
  .quote-text {
    font-size: 2.2rem;
    line-height: 1.32;
    margin-bottom: 1rem;
  }

  /* — Contact Page: Stack Layout — */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  .booking-title { font-size: 2.5rem; }
  .contact-block {
    padding: 1.5rem 0;
  }

  /* — Info Band: Stack on 375px — */
  .info-band-inner {
    grid-template-columns: 1fr;
  }
  .info-card {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.7);
    padding: 1.5rem 1.5rem;
  }
  .info-card:first-child {
    border-top: none;
  }

  /* — Footer: Improve Small Screen — */
  .footer-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .footer {
    padding-top: 3rem;
  }
  .gallery-page-hero {
    padding: 8rem var(--gutter) 3rem;
  }
  .footer-nav a,
  .footer-socials a {
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-socials a svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .gallery-ig-link {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  .gallery-ig-link svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* — Page Hero — */
  .page-hero {
    padding: 8rem var(--gutter) 3rem;
  }
  .page-hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .page-hero-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  /* — Section Labels — */
  .section-label {
    font-size: 0.62rem;
    margin-bottom: 1.5rem;
    gap: 0.6rem;
  }

  /* — Typography Tweaks — */
  .section-title {
    font-size: 2.5rem;
  }

  /* — Gallery Editorial: Single Column at 375px — */
  .gallery-editorial {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .ge-item.ge-full {
    grid-column: 1;
  }
  .ge-portrait,
  .ge-portrait2,
  .ge-tall,
  .ge-wide {
    aspect-ratio: 3/4;
  }

  /* — Team Cards: 1 Column at 375px — */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .team-card:nth-child(1),
  .team-card:nth-child(2),
  .team-card:nth-child(3) {
    margin-top: 0;
  }


}

/* — Info card hover: neutralise padding shift per breakpoint — */
@media (max-width: 900px) and (min-width: 769px) {
  .info-card:hover { padding-left: 2rem; }
}
@media (max-width: 768px) {
  .info-card:hover { padding-left: 1.5rem; }
}

/* ===== UNIVERSAL TOUCH-FRIENDLY IMPROVEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices: increase all interactive element padding */
  
  a, button {
    min-width: 44px;
    min-height: 44px;
  }

  /* Remove hover states that don't apply */
  .cursor, .cursor-dot {
    display: none;
  }

}

/* ===== SHORT SCREENS ===== */
@media (max-height: 700px) {
  .hero-inner { padding-top: 8rem; }
}

/* ===== ACCESSIBILITY: FOCUS STATES ===== */
.btn:focus,
.nav-links a:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
button:focus {
  outline: none;
}
