:root {
  --ink: #3a3836;
  --ink-soft: #5c5954;
  --paper: #faf6ef;
  --paper-dim: #f2ece1;
  --moss: #8fab93;
  --moss-dark: #5f6f61;
  --brass: #e3c39a;
  --rose: #e6b8b8;
  --line: rgba(58, 56, 54, 0.14);
  --line-light: rgba(250, 246, 239, 0.2);
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* guards against horizontal scroll from any section's edge-to-edge photo layers */
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  unicode-bidi: isolate;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, h4 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6f8b73;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}
.btn-ink {
  color: var(--ink);
}
.btn-ink:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-paper {
  color: var(--paper);
}
.btn-paper:hover {
  background: var(--paper);
  color: var(--ink);
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
header.solid {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-list.left {
  justify-content: flex-end;
}
.nav-list.right {
  justify-content: flex-start;
}
.nav-list a {
  color: var(--paper);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
header.solid .nav-list a {
  color: var(--ink);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.3s ease;
}
.nav-list a:hover::after {
  width: 100%;
}
.logo {
  font-family: 'Alex Brush', cursive;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 50px);
  letter-spacing: 0.05em;
  color: var(--paper);
  white-space: nowrap;
  transition: color 0.3s ease;
}
header.solid .logo {
  color: var(--ink);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}
.burger span {
  width: 24px;
  height: 1px;
  background: var(--paper);
  transition: background 0.3s ease;
}
header.solid .burger span {
  background: var(--ink);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-bg.active {
  opacity: 1;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 56, 54, 0.55) 0%, rgba(58, 56, 54, 0.22) 40%, rgba(58, 56, 54, 0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--paper);
  padding: 0 24px;
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.85;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 400;
  color: var(--paper);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass);
}
.hero p {
  margin: 26px auto 0;
  max-width: 480px;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--paper);
  opacity: 0.9;
}
.hero-cta {
  margin-top: 38px;
}
.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: var(--line-light);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--brass);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% {
    top: -40px;
  }
  100% {
    top: 40px;
  }
}

/* ===== RUNNING BANNER (marquee) ===== */
.marquee-section {
  background: rgba(250, 246, 239, 0.92);
  padding: 28px 0;
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: 'Alex Brush', cursive;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--ink);
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  letter-spacing: 0;
  line-height: 1.05;
}
.marquee-track span::after {
  content: '//';
  font-size: 11px;
  font-style: normal;
  color: #d3bfa6;
  margin-left: 14px;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.parallax-section {
  position: relative;
  min-height: 90vh;
  background-color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parallax-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-bg-layer video.parallax-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.parallax-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(30, 27, 23, 0.15) 0%, rgba(30, 27, 23, 0.45) 100%);
}
.parallax-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter);
}
.parallax-section.align-left {
  justify-content: flex-start;
}
.parallax-section.align-right {
  justify-content: flex-end;
}
.align-left .card-inner {
  margin-right: auto;
  text-align: left;
}
.align-right .card-inner {
  margin-left: auto;
  text-align: right;
}
.parallax-card .card-inner {
  max-width: 620px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s ease 0.2s,
    transform 1s ease 0.2s;
}
.parallax-section.in .card-inner {
  opacity: 1;
  transform: translateY(0);
}
.card-quote-mark {
  display: block;
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: var(--brass);
  margin-bottom: 6px;
}
.parallax-card h2 {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  color: var(--paper);
  line-height: 1.35;
  margin: 0;
}
.parallax-card h2 em {
  font-style: italic;
  color: var(--brass);
}
.card-attribution {
  margin-top: 20px;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.75;
}
#about {
  position: relative;
  z-index: 2;
  background: var(--paper);
}


@media (max-width: 800px) {
  .hero-bg,
  .parallax-bg {
    background-attachment: scroll;
    inset: -20% 0;
    will-change: transform;
  }

  .parallax-bg-layer video.parallax-bg {
    top: -20%;
    height: 140%;
    will-change: transform;
  }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce)
 {
 
  .parallax-bg {
    inset: 0;
    transform: none !important;
  }
  .parallax-bg-layer video.parallax-bg {
    top: 0;
    height: 100%;
  }
}

/* ===== PORTFOLIO SHOWCASE ===== */
.portfolio-head {
  text-align: center;
  margin-bottom: 64px;
}
.portfolio-head .eyebrow {
  justify-content: center;
}
.portfolio-sub {
  max-width: 420px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: 0.8;
}
.portfolio-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.portfolio-photo {
  border: 1px solid var(--line);
  aspect-ratio: 3/4;
  overflow: hidden;
}
.portfolio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(8%);
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
}
.portfolio-photo:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.portfolio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.6vw, 8px);
}
.portfolio-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.portfolio-list a:hover {
  border-color: var(--line);
}
.portfolio-num {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brass);
}
.portfolio-name {
  font-family: 'Italiana', serif;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.05;
  color: var(--ink);
  transition: color 0.35s ease;
}
.portfolio-list a:hover .portfolio-name {
  color: var(--moss-dark);
}
.portfolio-cta {
  text-align: center;
  margin-top: 56px;
}
.portfolio-cta a {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}
.portfolio-cta a:hover {
  color: var(--moss-dark);
  border-color: var(--moss-dark);
}

/* ===== SECTION SHARED ===== */
section {
  padding: min(140px, 14vw) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  margin-top: 14px;
}
.section-head .sub {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* ===== PORTFOLIO ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 52px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.filters a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  opacity: 0.7;
  transition:
    opacity 0.3s,
    border-color 0.3s;
}
.filters a:hover,
.filters a.active {
  opacity: 1;
  border-color: var(--brass);
  color: var(--ink);
}

.grid-portfolio {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
  filter: grayscale(15%);
}
.frame:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.frame .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--paper);
  text-transform: uppercase;
  background: rgba(58, 56, 54, 0.5);
  padding: 5px 10px;
}
.p1 {
  grid-column: span 3;
  grid-row: span 2;
  aspect-ratio: 3/4;
}
.p2 {
  grid-column: span 3;
  aspect-ratio: 4/3;
}
.p3 {
  grid-column: span 3;
  aspect-ratio: 4/3;
}
.p4 {
  grid-column: span 2;
  aspect-ratio: 3/4;
}
.p5 {
  grid-column: span 4;
  aspect-ratio: 16/9;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.about-photos {
  position: relative;
}
.about-photos img {
  border: 1px solid var(--line);
}
.about-photos .img-a {
  width: 78%;
}
.about-photos .img-b {
  width: 52%;
  position: absolute;
  right: -6%;
  bottom: -12%;
  border: 6px solid var(--paper);
  box-shadow: 0 24px 50px rgba(58, 56, 54, 0.22);
}
.about-text .quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.45;
  color: var(--ink);
  margin: 22px 0 26px;
}
.about-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 520px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.about-stats div {
  border-top: 1px solid var(--brass);
  padding-top: 12px;
  min-width: 130px;
}
.about-stats strong {
  display: block;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.about-stats span {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* ===== SERVICES / PRICING ===== */
.pricing {
  background: var(--ink);
  color: var(--paper);
}
.pricing .eyebrow {
  color: var(--brass);
}
.pricing .eyebrow::before {
  background: var(--brass);
}
.pricing .section-head h2 {
  color: var(--paper);
}
.pricing .section-head .sub {
  color: var(--paper);
  opacity: 0.65;
}
.deposit-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.6;
  max-width: 640px;
  margin-bottom: 50px;
  border-left: 1px solid var(--brass);
  padding-left: 20px;
}
.group-label {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  margin: 56px 0 26px;
  color: var(--brass);
}
.group-label:first-of-type {
  margin-top: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.card {
  background: var(--ink);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card.popular {
  background: var(--moss-dark);
}
.card .badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 4px 9px;
}
.card h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
  font-family: 'Karla', sans-serif;
  font-weight: 500;
}
.card .price {
  font-family: 'Italiana', serif;
  font-size: 44px;
  margin: 16px 0 4px;
  color: var(--paper);
}
.card .duration {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.card .desc {
  font-size: 13px;
  color: var(--paper);
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 22px;
  min-height: 40px;
}
.card ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  flex: 1;
}
.card li {
  font-size: 13.5px;
  padding: 9px 0;
  border-top: 1px solid var(--line-light);
  color: var(--paper);
  opacity: 0.85;
  line-height: 1.5;
}
.card li:first-child {
  border-top: none;
}
.card .btn {
  align-self: flex-start;
}

/* ===== TESTIMONIALS (single-quote carousel) ===== */
.testimonials {
  background: var(--paper);
}
.testi-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
}

.testi-slide {
  display: none;
  margin: 0;
  text-align: center;
}
.testi-slide.is-active {
  display: block;
  animation: testiFadeIn 0.5s ease;
}
@keyframes testiFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testi-quote {
  font-family: 'Bondi', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.testi-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.testi-name {
  font-family: 'Alex Brush', cursive;
  font-size: 30px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.testi-role {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.65;
}
.testi-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}
.testi-arrow:hover {
  border-color: var(--brass);
  color: var(--ink);
  background: var(--paper);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: stretch;
}
.contact-img {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
}
.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.form-group {
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
  opacity: 0.75;
}
input, textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
  border-color: var(--moss);
}
textarea {
  resize: vertical;
  min-height: 90px;
}

/* Session-type / referral dropdowns */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233a3836' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid var(--line);
  padding: 12px 38px 12px 14px;
  font-family: 'Karla', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
select:hover {
  border-color: var(--brass);
  background-color: var(--paper-dim);
}
select:focus {
  border-color: var(--moss);
  box-shadow: 0 20px 40px rgba(58, 56, 54, 0.14);
}
select option {
  background: var(--paper);
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
}

.field-highlight {
  border-color: var(--moss) !important;
  background: rgba(143, 171, 147, 0.12);
  transition:
    border-color 0.3s ease,
    background 1.2s ease;
}
.form-note {
  font-size: 12px;
  margin-top: 18px;
  color: var(--moss);
  display: none;
}
.form-note.show {
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 30px;
  border-top: 1px solid var(--line-light);
}
.footer-top {
  text-align: center;
  margin-bottom: 70px;
}
.footer-logo {
  font-family: 'Alex Brush', cursive;
  font-weight: 300;
  letter-spacing: 0.05em;
  font-size: clamp(28px, 2.8vw, 50px);
  color: var(--paper);
}

.footer-tag {
  font-size: 13px;
  opacity: 0.55;
  margin-top: 14px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-links a {
  border: 1px solid var(--line-light);
  padding: 12px 24px;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.footer-links a:hover {
  border-color: var(--brass);
  color: var(--brass);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line-light);
  padding-top: 26px;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu a {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--paper);
}
.mobile-close {
  position: absolute;
  top: 26px;
  right: var(--gutter);
  background: none;
  border: none;
  color: var(--paper);
  font-size: 26px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-list {
    display: none;
  }
  .burger {
    display: flex;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-photos {
    margin-bottom: 40px;
  }
  .about-photos .img-b {
    right: 0;
    bottom: -40px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .portfolio-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .portfolio-photo {
    aspect-ratio: 9/9;
  }
  .p1 {
    grid-column: span 6;
  }
  .p2,
  .p3 {
    grid-column: span 3;
  }
  .p4 {
    grid-column: span 3;
  }
  .p5 {
    grid-column: span 6;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* Services & Prices */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: none;
    border: none;
  }
  .card {
    border: 1px solid var(--line-light);
    padding: 24px 20px;
  }
  .card:nth-child(3) {
    grid-column: 1 / -1;
    padding: 28px 26px;
  }
  .card .badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
  .card h4 {
    font-size: 11px;
  }
  .card .price {
    font-size: 30px;
    margin: 12px 0 4px;
  }
  .card .duration {
    font-size: 10.5px;
    margin-bottom: 12px;
  }
  .card .desc {
    font-size: 12px;
    line-height: 1.55;
    margin-bottom: 16px;
    min-height: 0;
  }
  .card ul {
    margin-bottom: 18px;
  }
  .card li {
    font-size: 11.5px;
    padding: 7px 0;
  }
  .card .btn {
    width: 100%;
    justify-content: center;
    font-size: 10px;
    padding: 13px 10px;
  }
  .card:nth-child(3) .desc,
  .card:nth-child(3) li {
    font-size: 12.5px;
  }
}
@media (max-width: 600px) {
  .grid-portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
  .p1,
  .p2,
  .p3,
  .p4,
  .p5 {
    grid-column: span 2;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .testi-carousel {
    gap: 10px;
  }
  .testi-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  
  #contactForm button[type='submit'] {
    display: flex;
    width: fit-content;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .scroll-cue .line::after {
    animation: none;
  }
  .card-inner {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== GALLERY NAMED GROUPS ===== */
.gallery-group {
  margin-bottom: 64px;
}
.gallery-group:last-child {
  margin-bottom: 0;
}
.gallery-group-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink);
  text-align: center;
  margin-bottom: 28px;
}
.simple-grid .frame.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  background: var(--paper-dim);
  font-family: 'Karla', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.55;
  text-align: center;
  padding: 20px;
}

/* ===== FOOTER CREDIT LINK===== */
.footer-credit {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}
.footer-credit:hover {
  color: var(--brass);
  border-color: var(--brass);
}

/* ===== TESTIMONIALS===== */
.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* ===== MOBILE MENU: BRAND + SOCIAL ===== */
.mobile-menu a.mobile-menu-brand {
  font-family: 'Alex Brush', cursive;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 50px);
  color: var(--paper);
  opacity: 0.65;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.mobile-menu-social {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
.mobile-menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--paper);
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}
.mobile-menu-social a:hover {
  border-color: var(--brass);
  color: var(--brass);
}
.mobile-menu-social svg {
  width: 18px;
  height: 18px;
}

/* ===== HEADER===== */
.nav-icon a {
  padding-bottom: 0;
}
.nav-icon a::after {
  display: none;
}
.nav-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  transition: color 0.3s ease;
}
.nav-icon a:hover svg {
  color: var(--brass);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-toggle .caret {
  font-size: 9px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle .caret,
.nav-dropdown:focus-within .nav-dropdown-toggle .caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 170px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(58, 56, 54, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background 0.3s ease;
}
.nav-dropdown-menu a::after {
  display: none;
}
.nav-dropdown-menu a:hover {
  color: var(--moss-dark);
  background: var(--paper-dim);
}

/* ===== MOBILE MENU===== */
.mobile-menu-sublist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: -10px;
}
.mobile-menu-sublist a {
  font-family: 'Karla', sans-serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
}
.mobile-menu-sublist a:hover {
  opacity: 1;
  color: var(--brass);
}

/* ===== 404 page===== */
.not-found {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
  }
  .not-found-number {
    font-family: 'Italiana', serif;
    font-size: clamp(80px, 16vw, 180px);
    line-height: 1;
    color: var(--moss-dark);
    margin: 18px 0 6px;
  }
  .not-found h1 {
    font-size: clamp(26px, 3.4vw, 38px);
    margin-bottom: 16px;
  }
  .not-found p {
    color: var(--ink-soft);
    max-width: 480px;
    margin: 0 auto 34px;
    line-height: 1.6;
  }
  .not-found-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  max-width: 620px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner .btn-text {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.cookie-banner .btn-text:hover {
  color: var(--ink);
}
.cookie-banner .btn {
  font-size: 13px;
  padding: 10px 20px;
  cursor: pointer;
}
@media (max-width: 560px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 18px;
  }
}
