@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,600&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #eef1ef;
  --paper: #fbfbf8;
  --ink: #181b1b;
  --muted: #66706c;
  --accent: #eadfc8;
  --accent-dark: #8a7354;
  --warm: #a97855;
  --line: rgba(24, 27, 27, 0.12);
  --shadow: 0 18px 40px rgba(24, 27, 27, 0.1);
  --shadow-soft: 0 10px 22px rgba(24, 27, 27, 0.07);
  --radius: 8px;
  --max-width: 1120px;
  --sheet-max: 1200px;
  --font-serif: "Newsreader", "Times New Roman", serif;
  --font-sans: "Space Grotesk", "Helvetica", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, rgba(178, 150, 111, 0.08), transparent 32%), var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.sheet {
  width: min(var(--sheet-max), 94vw);
  margin: 2rem auto 3rem;
  padding: 1.5rem 2.5rem 3rem;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(24, 27, 27, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24, 27, 27, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 8px solid rgba(178, 150, 111, 0.18);
  border-radius: inherit;
  opacity: 1;
  pointer-events: none;
}

main {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

section {
  scroll-margin-top: 6rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: sticky;
  top: 1rem;
  z-index: 5;
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.logo__image {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  transition: border-color 0.3s ease;
}

.logo:hover .logo__image {
  border-color: var(--accent);
}

.logo__text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a {
  color: inherit;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero__showcase {
  display: grid;
  gap: 1rem;
}

.hero__artwork {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero__artwork img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__artwork figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero__artwork strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero__metrics > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.metric {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-dark);
}

.hero__content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.05;
}

.lead {
  font-size: 1.05rem;
  margin: 0 0 2rem;
  max-width: 32rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  margin: 0 0 0.8rem;
  color: var(--warm);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-label {
  max-width: 0;
  opacity: 0;
  transform: translateX(-4px);
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(178, 150, 111, 0.4);
  box-shadow: var(--shadow);
}

.icon-button:hover .icon-label,
.icon-button:focus-visible .icon-label {
  max-width: 120px;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 0.4rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.section-action {
  margin-top: 1.5rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.frame figcaption {
  padding: 0.8rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  background: #fff;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.hosting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hosting-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hosting-card__kicker {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--warm);
  font-family: var(--font-serif);
  font-size: 1.8rem;
}

.hosting-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.hosting-card p {
  margin: 0;
  color: var(--muted);
}

.terms-preview {
  display: grid;
  gap: 1.5rem;
}

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

.terms-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.terms-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.terms-download {
  width: fit-content;
}

.gallery-terms {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.series-card {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

.series-card__media {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.series-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.series-card p {
  margin: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.about__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
}

.about__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.value {
  margin: 0;
  font-weight: 500;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.contact__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact__card h2 {
  font-family: var(--font-serif);
  margin-top: 0;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.contact__details {
  display: grid;
  gap: 1.4rem;
  padding: 1rem 0;
}

.contact__profile {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.4rem;
}

.contact__profile img {
  width: 4.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4eddf, #dac7a8);
  color: #2c241a;
  border: 1px solid rgba(138, 115, 84, 0.32);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 150, 111, 0.3);
  background: linear-gradient(135deg, #eadcc3, #cdb58d);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(178, 150, 111, 0.1);
  border-color: var(--accent-dark);
}

.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem 0.5rem;
  color: var(--muted);
}

.icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== HERO TITLE ANIMATION ===== */
.hero__content h1 {
  overflow: hidden;
}

.hero__content h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: charReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SUBTLE FLOAT ANIMATION ===== */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== PULSE GLOW EFFECT ===== */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-soft); }
  50% { box-shadow: 0 10px 30px rgba(178, 150, 111, 0.2); }
}

/* ===== ICON BOUNCE ON HOVER ===== */
.icon-button .icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-button:hover .icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ===== LINK UNDERLINE ANIMATION ===== */
.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered reveal delays for grid items */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.64s; }

/* Stagger delays for grid children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.25s; }
.stagger > *:nth-child(5) { transition-delay: 0.3s; }
.stagger > *:nth-child(6) { transition-delay: 0.35s; }

/* ===== ENHANCED HOVER EFFECTS ===== */
.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease;
}

.frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(178, 150, 111, 0.4);
}

.frame img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-grid .frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frame:hover img {
  transform: scale(1.05);
}

.series-card {
  display: grid;
  gap: 1.2rem;
  align-items: start;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.series-card:hover {
  transform: translateY(-4px);
}

.series-card__media {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s ease, border-color 0.4s ease;
}

.series-card:hover .series-card__media {
  box-shadow: var(--shadow);
  border-color: rgba(178, 150, 111, 0.4);
}

.series-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.series-card:hover .series-card__media img {
  transform: scale(1.05);
}

.series-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.series-card:hover h3 {
  color: var(--accent-dark);
}

/* ===== ENHANCED LOGO ANIMATION ===== */
.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
}

.logo:hover .logo__mark {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 20px rgba(31, 28, 24, 0.2);
}

/* ===== ENHANCED BUTTON EFFECTS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4eddf, #dac7a8);
  color: #2c241a;
  border: 1px solid rgba(138, 115, 84, 0.32);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s ease,
              background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(178, 150, 111, 0.35);
  background: linear-gradient(135deg, #eadcc3, #cdb58d);
}

.btn:active {
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}

.btn--ghost:hover {
  background: rgba(178, 150, 111, 0.12);
  color: var(--accent-dark);
}

/* ===== GEAR SECTION ===== */
.gear-section {
  margin-top: 4rem;
}

.gear-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.gear-intro h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.gear-intro p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gear-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gear-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.gear-item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.gear-item:hover img {
  filter: grayscale(0);
}

.gear-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* ===== ABOUT PAGE IMAGE EFFECT ===== */
.about__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.about__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__media:hover img {
  transform: scale(1.03);
}

/* ===== CONTACT CARD EFFECT ===== */
.contact__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(31, 28, 24, 0.15);
}

/* ===== HEADER SCROLL EFFECT ===== */
.site-header {
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: sticky;
  top: 1rem;
  z-index: 5;
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease,
              background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  background: rgba(251, 251, 248, 0.98);
}

.site-header.is-hidden {
  transform: translateY(-120%);
}

/* ===== FOOTER LINK EFFECTS ===== */
.site-footer a {
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

/* ===== GALLERY PAGE ===== */
.gallery-page .section-heading h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.4rem;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.filter-btn.is-active {
  background: #f4eddf;
  border-color: rgba(138, 115, 84, 0.42);
  color: #2c241a;
}

.gallery-view-toggle {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(31, 28, 24, 0.05);
  border-radius: 12px;
}

.view-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover {
  color: var(--ink);
}

.view-btn.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.gallery-count {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.gallery-quality-note {
  max-width: 46rem;
  margin: 0 0 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.gallery-grid[data-view="grid"] {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-grid[data-view="large"] {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.gallery-grid[data-view="masonry"] {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-grid[data-view="masonry"] .gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.4s ease,
              opacity 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(178, 150, 111, 0.4);
}

.gallery-item.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(31, 28, 24, 0.85), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.gallery-item__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(31, 28, 24, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.lightbox.is-open .lightbox__image {
  transform: scale(1);
  opacity: 1;
}

.lightbox__info {
  margin-top: 1.5rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lightbox__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.lightbox__counter {
  font-size: 0.85rem;
  opacity: 0.6;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox__close:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* ===== SERIES PAGE ===== */
.series-page .section-heading h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.4rem;
}

.series-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.series-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.series-feature:nth-child(even) {
  direction: rtl;
}

.series-feature:nth-child(even) > * {
  direction: ltr;
}

.series-feature__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s ease;
}

.series-feature:hover .series-feature__media {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.series-feature__media img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.series-feature:hover .series-feature__media img {
  transform: scale(1.05);
}

.series-feature__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.series-feature__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--line);
  line-height: 1;
  font-weight: 400;
}

.series-feature__content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 0;
  transition: color 0.3s ease;
}

.series-feature:hover h2 {
  color: var(--accent-dark);
}

.series-feature__desc {
  color: var(--muted);
  line-height: 1.7;
}

.series-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.series-feature__meta .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.2rem;
}

.series-feature__meta .value {
  font-size: 0.9rem;
  margin: 0;
}

.series-cta {
  margin-top: 5rem;
  padding: 3rem;
  background: rgba(31, 28, 24, 0.03);
  border-radius: var(--radius);
  text-align: center;
}

.series-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.series-cta p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* ===== ACTIVE NAVIGATION STATE ===== */
.icon-button.is-active {
  background: rgba(178, 150, 111, 0.12);
  border-color: rgba(178, 150, 111, 0.3);
}

.icon-button.is-active .icon-label {
  color: var(--accent-dark);
}

/* ===== ACCENT CONTACT BUTTON ===== */
.icon-button--accent {
  background: linear-gradient(135deg, rgba(178, 150, 111, 0.15), rgba(178, 150, 111, 0.08));
  border-color: rgba(178, 150, 111, 0.4);
  box-shadow: 0 4px 12px rgba(178, 150, 111, 0.15);
}

.icon-button--accent:hover {
  background: linear-gradient(135deg, rgba(178, 150, 111, 0.25), rgba(178, 150, 111, 0.15));
  border-color: rgba(178, 150, 111, 0.6);
  box-shadow: 0 6px 20px rgba(178, 150, 111, 0.2);
}

.icon-button--accent .icon-label {
  color: var(--accent-dark);
  font-weight: 600;
}

/* ===== BLOG PAGE ===== */
.blog-page .section-heading h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.4rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

/* Blog Featured Post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(31, 28, 24, 0.02);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.blog-featured:hover {
  border-color: rgba(178, 150, 111, 0.3);
  box-shadow: var(--shadow-soft);
}

.blog-featured.is-hidden {
  display: none;
}

.blog-featured__media {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--line);
}

.blog-featured__media img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured:hover .blog-featured__media img {
  transform: scale(1.03);
}

.blog-featured__content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.3;
}

.blog-featured .blog-excerpt {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

/* Blog Meta */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.blog-category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  font-weight: 600;
}

.blog-date {
  color: var(--muted);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Blog Card */
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.4s ease,
              opacity 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(178, 150, 111, 0.4);
}

.blog-card.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 1.25rem;
}

.blog-card__content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  color: var(--accent-dark);
}

.blog-card .blog-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Load More */
.blog-loadmore {
  text-align: center;
  margin-top: 3rem;
}

.blog-loadmore .btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.blog-loadmore .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== TIPS PAGE ===== */
.tips-page .section-heading h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.4rem;
}

.tips-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Tip Card */
.tip-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.4s ease,
              opacity 0.4s ease;
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(178, 150, 111, 0.4);
}

.tip-card.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.tip-card__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--line);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.tip-card__content {
  flex: 1;
  min-width: 0;
}

.tip-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 600;
}

.tip-card__content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.tip-card:hover h3 {
  color: var(--accent-dark);
}

.tip-card__content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.tip-card__footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.tip-difficulty {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}

.tip-difficulty[data-level="beginner"] {
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
}

.tip-difficulty[data-level="intermediate"] {
  background: rgba(255, 152, 0, 0.12);
  color: #e65100;
}

.tip-difficulty[data-level="advanced"] {
  background: rgba(244, 67, 54, 0.12);
  color: #c62828;
}

/* Tips CTA */
.tips-cta {
  margin-top: 4rem;
  padding: 2.5rem;
  background: rgba(31, 28, 24, 0.03);
  border-radius: var(--radius);
  text-align: center;
}

.tips-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.tips-cta p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.tips-newsletter {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.tips-newsletter input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--paper);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tips-newsletter input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178, 150, 111, 0.15);
}

.tips-newsletter .btn {
  flex-shrink: 0;
}

/* ===== SERVICES PAGE ===== */
.services-page .section-heading h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.4rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

/* Pricing Card */
.pricing-card {
  position: relative;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(178, 150, 111, 0.3);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  background: #f4eddf;
  color: #2c241a;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
}

.pricing-card__header {
  margin-bottom: 1.5rem;
}

.pricing-card__type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 600;
}

.pricing-card__header h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0.4rem 0 0.75rem;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-card__price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}

.price-unit {
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.25rem;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Custom Work */
.custom-work {
  margin: 3rem 0;
  padding: 2.5rem;
  background: rgba(31, 28, 24, 0.03);
  border-radius: var(--radius);
  text-align: center;
}

.custom-work h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.custom-work p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* Process Section */
.process-section {
  margin: 4rem 0;
}

.process-section h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 2rem;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
}

.process-step__number {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: #f4eddf;
  color: #2c241a;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Testimonials */
.testimonials-section {
  margin: 4rem 0;
}

.testimonials-section h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 2rem;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.testimonial cite {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: normal;
}

/* FAQ Section */
.faq-section {
  margin: 4rem 0 2rem;
}

.faq-section h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  text-align: center;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent-dark);
}

.faq-item p {
  padding: 0 0 1.25rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f4eddf;
  color: #2c241a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(178, 150, 111, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s ease;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-dark);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== IMPROVED FOOTER ===== */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-brand__tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31, 28, 24, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-newsletter {
  text-align: right;
}

.footer-newsletter__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  width: 160px;
  background: var(--paper);
}

.footer-newsletter button {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(138, 115, 84, 0.32);
  border-radius: 999px;
  background: #f4eddf;
  color: #2c241a;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: #eadcc3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

@media (max-width: 900px) {
  .sheet {
    width: min(96vw, 100%);
    padding: 1.4rem 1.6rem 2.6rem;
  }

  .site-header {
    border-radius: var(--radius);
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem 0 0.3rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__metrics,
  .hosting-grid,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .about__details {
    grid-template-columns: 1fr;
  }

  /* Gallery responsive */
  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-filters {
    justify-content: center;
  }

  .gallery-view-toggle {
    justify-content: center;
  }

  .gallery-grid[data-view="masonry"] {
    columns: 2;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__nav--prev {
    left: 0.75rem;
  }

  .lightbox__nav--next {
    right: 0.75rem;
  }

  .lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }

  /* Series responsive */
  .series-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .series-feature:nth-child(even) {
    direction: ltr;
  }

  .series-feature__number {
    font-size: 2rem;
  }

  .series-cta {
    padding: 2rem 1.5rem;
  }

  /* Blog responsive */
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  /* Services responsive */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gear responsive */
  .gear-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-newsletter {
    text-align: center;
  }

  .footer-newsletter form {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .sheet {
    width: 100%;
    border-radius: 0;
    margin: 0;
    padding: 1.4rem 1.2rem 2.4rem;
  }

  .development-notice__panel {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .development-notice__icon {
    width: 2.5rem;
  }

  .development-notice__close {
    grid-column: 1 / -1;
    justify-self: end;
  }

  main {
    gap: 4rem;
  }

  .gallery-grid[data-view="masonry"] {
    columns: 1;
  }

  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero__artwork figcaption {
    flex-direction: column;
    gap: 0.35rem;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .tip-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .tip-card__number {
    font-size: 1.8rem;
    width: auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tips-newsletter {
    flex-direction: column;
  }

  .tips-newsletter input {
    width: 100%;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }

  .gear-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gear-item {
    padding: 1rem 0.75rem;
  }

  .gear-item img {
    max-width: 80px;
  }
}

/* ===== 404 ERROR PAGE ===== */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.error-content {
  max-width: 400px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 600;
  line-height: 1;
  color: var(--line);
  display: block;
  margin-bottom: 1rem;
}

.error-content h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.error-content p {
  color: var(--muted);
  margin: 0 0 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PAGE TRANSITIONS ===== */
/* Content fades out, header stays */
main {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-exiting main {
  opacity: 0;
  transform: translateY(10px);
}

/* Keep header always visible */
.site-header {
  z-index: 200;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--line) 25%, rgba(31, 28, 24, 0.08) 50%, var(--line) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-image {
  aspect-ratio: 4/3;
  width: 100%;
}

.skeleton-text {
  height: 1em;
  width: 80%;
  margin: 0.5rem 0;
}

.skeleton-text--short {
  width: 40%;
}

/* ===== PROGRESSIVE IMAGE LOADING ===== */
.progressive-image {
  position: relative;
  overflow: hidden;
  background: var(--line);
}

.progressive-image__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progressive-image__full {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progressive-image--loaded .progressive-image__placeholder {
  opacity: 0;
}

.progressive-image--loaded .progressive-image__full {
  opacity: 1;
}

/* Image fade-in on load */
.img-loading {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-loaded {
  opacity: 1;
}

/* Smooth image hover effects */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}

/* ===== SMOOTH FOCUS STATES ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== SMOOTH SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 5px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--bg);
}

/* ===== SELECTION STYLING ===== */
::selection {
  background: #f4eddf;
  color: #2c241a;
}

/* ===== SMOOTH LINK TRANSITIONS ===== */
a {
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* ===== IMPROVED BUTTON PRESS EFFECT ===== */
.btn:active {
  transform: scale(0.97);
}

.icon-button:active {
  transform: scale(0.96);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --bg: #1a1816;
  --paper: #242220;
  --ink: #f5f0e8;
  --muted: #a09a92;
  --line: rgba(245, 240, 232, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .logo__image {
  border-color: var(--line);
}

[data-theme="dark"] .icon-button {
  background: var(--paper);
}

[data-theme="dark"] .site-header {
  background: rgba(36, 34, 32, 0.92);
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 100;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* ===== DEVELOPMENT NOTICE ===== */
.development-notice {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 300;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.development-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.development-notice__panel {
  width: min(100%, 34rem);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 94%, white);
  box-shadow: 0 18px 42px rgba(31, 28, 24, 0.2);
  pointer-events: auto;
}

.development-notice__icon {
  width: 3rem;
  aspect-ratio: 1;
  object-fit: contain;
}

.development-notice__copy h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
}

.development-notice__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.development-notice__close {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.development-notice__close:hover,
.development-notice__close:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .development-notice__panel {
  background: color-mix(in srgb, var(--paper) 92%, black);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 28, 24, 0.9);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 600px;
  padding: 0 1.5rem;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  padding-left: 3.5rem;
  font-size: 1.2rem;
  font-family: var(--font-sans);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  outline: none;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178, 150, 111, 0.15);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--muted);
}

.search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-close svg {
  width: 24px;
  height: 24px;
}

.search-results {
  margin-top: 1.5rem;
  max-height: 50vh;
  overflow-y: auto;
}

.search-result {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: transform 0.2s ease;
}

.search-result:hover {
  transform: translateX(4px);
}

.search-result__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.search-result__type {
  font-size: 0.8rem;
  color: var(--accent);
}

.search-no-results {
  text-align: center;
  color: #fff;
  padding: 2rem;
}

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

  *,
  .skeleton {
    animation: none !important;
    transition: none !important;
  }
}
