: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;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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 {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.6s ease;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero-bg.active {
  opacity: 1;
  z-index: 1;
}
@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.035);
  }
}
.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;
}
.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 {
  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;
}
.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;
  }
}

/* ===== BANNER ===== */
.banner {
  background: var(--paper-dim);
  padding: min(90px, 9vw) 0;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.banner-text {
  margin: 0;
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto;
}

/* ===== FEATURED STORY CARDS ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.story-card {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3/4;
}
.story-img {
  position: absolute;
  inset: 0;
}
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
  filter: grayscale(10%);
}
.story-card:hover .story-img img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.story-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 56, 54, 0) 45%, rgba(58, 56, 54, 0.7) 100%);
}
.story-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-name {
  font-family: 'Italiana', serif;
  font-size: 26px;
  color: var(--paper);
}
.story-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.story-card:hover .story-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 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 ===== */
.testimonials {
  background: var(--paper-dim);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testi-card {
  background: var(--paper);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}
.testi-stars {
  color: var(--brass);
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 20px;
}
.testi-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.testi-name {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* ===== 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,
select,
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,
select:focus,
textarea:focus {
  border-color: var(--moss);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.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;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .p1 {
    grid-column: span 6;
  }
  .p2,
  .p3 {
    grid-column: span 3;
  }
  .p4 {
    grid-column: span 3;
  }
  .p5 {
    grid-column: span 6;
  }
}
@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;
  }
}

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

/* ===== GALLERY PAGE ===== */
.gallery-hero {
  padding: min(200px, 20vw) 0 min(70px, 7vw);
  text-align: center;
}
.gallery-hero .eyebrow {
  justify-content: center;
}
.gallery-hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  margin-top: 18px;
}
.gallery-hero p {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.75;
  margin-bottom: 6px;
}
.back-link:hover {
  color: var(--ink);
  opacity: 1;
}
.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.simple-grid .frame {
  overflow: hidden;
  position: relative;
  border: none;
  border-radius: 0;
  background: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.simple-grid .frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(58, 56, 54, 0.16);
}
.simple-grid .frame img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
  filter: grayscale(10%);
}
.simple-grid .frame:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.gallery-cta {
  text-align: center;
  padding: min(110px, 11vw) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.gallery-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
}
@media (max-width: 700px) {
  .simple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .simple-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 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;
  aspect-ratio: 4 / 5;
  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===== */
.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;
}

/* ===== PORTFOLIO===== */
@media (max-width: 1100px) and (min-width: 981px) {
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 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);
}

/* ---------- 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;
  }
}
