/* ============================================================
   DELMUSE STUDIO — Main Stylesheet
   Redesigned to match client Canva mockup
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Dancing+Script:wght@500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── Brand Tokens ─────────────────────────────────────────── */
:root {
  --clr-nav: #21170D;
  --clr-hero: #6D5A49;
  --clr-folder-light: #D4CBC2;
  --clr-folder-mid: #8C7E71;
  --clr-paper: #F7EFED;
  --clr-text-light: #F7EFED;
  --clr-text-dark: #21170D;
  --clr-accent: #C4A882;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'DM Sans', sans-serif;

  /* Brand logo fonts — requires font files in fonts/ folder */
  --font-logo-delmuse: 'Lust Pro No 4', 'Playfair Display', Georgia, serif;
  --font-logo-studio: 'Humphrey Patterson', 'Dancing Script', cursive;

  --nav-h: 60px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--clr-nav);
  color: var(--clr-text-dark);
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul {
  list-style: none;
}


/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--clr-nav);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  transition: box-shadow 0.3s var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(33, 23, 13, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  opacity: 0.7;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-accent);
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
  background: var(--clr-accent);
}



/* ══════════════════════════════════════════════════════════
   HERO — Brand-focused splash
   Letterboxed on wide screens: image stays ≤1400px wide,
   dark nav colour fills the wings on large monitors.
   Full-bleed on mobile (viewport < 1400px → wings collapse).
   ══════════════════════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  background-color: var(--clr-nav);
  /* dark surround on wide screens */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Full-width image */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--clr-hero);
  background-image:
    linear-gradient(rgba(74, 55, 40, 0.65), rgba(74, 55, 40, 0.65)),
    url('../brand_assets/placeholder_hero_background.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Noise overlay — same width */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  max-width: 640px;
  padding: 80px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-logo-delmuse);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-title em {
  font-family: var(--font-logo-studio);
  font-style: normal;
  font-weight: 700;
  font-size: 1em;
  color: #FFFFFF;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  font-weight: 300;
}


/* ══════════════════════════════════════════════════════════
   FOLDER STACK — Tab filing system
   ══════════════════════════════════════════════════════════ */
.folders-stack {
  position: relative;
  margin-top: -44px;
  z-index: 10;
}

.folder {
  position: relative;
}

/* ── Folder Tab ─────────────────────────────────────────── */
.folder-tab {
  --tab-curve: 10px;
  --tab-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 320px;
  height: 44px;
  padding: 0 24px;
  margin-left: 40px;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  z-index: 3;
}

/* Inverse curves at bottom corners — creates the paper-folder silhouette */
.folder-tab::before,
.folder-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: var(--tab-curve);
  height: var(--tab-curve);
  z-index: 2;
}

.folder-tab::before {
  left: calc(-1 * var(--tab-curve));
  background: radial-gradient(circle at 0% 0%, transparent var(--tab-curve), var(--tab-bg) var(--tab-curve));
}

.folder-tab::after {
  right: calc(-1 * var(--tab-curve));
  background: radial-gradient(circle at 100% 0%, transparent var(--tab-curve), var(--tab-bg) var(--tab-curve));
}

.folder-tab em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
  line-height: 1;
}

/* ── Folder Body ────────────────────────────────────────── */
.folder-body {
  position: relative;
  z-index: 1;
  width: 100%;
  border-top: 5px solid;
}


/* ═══ FOLDER: PAPER (About Delmuse) ═══════════════════════ */
.folder--paper {
  background: transparent;
}

.folder--paper .folder-tab {
  --tab-bg: #F6F1EF;
  background: #F6F1EF;
  color: #372212;
}

.folder--paper .folder-body {
  background: #F5F1EE;
  border-top-color: #F6F1EF;
  min-height: 420px;
  padding: 40px 48px 56px;
}


/* ═══ FOLDER: LIGHT (What We Do) ═══════════════════════════ */
.folder--light {
  background: #F5F1EE;
}

.folder--light .folder-tab {
  --tab-bg: #D6CDC5;
  background: #D6CDC5;
  color: #372212;
}

.folder--light .folder-body {
  background: #D6CBC3;
  border-top-color: #D6CDC5;
  min-height: 350px;
  padding: 40px 48px 56px;
}


/* ═══ FOLDER: MID (Brand Testimonials) ═════════════════════ */
.folder--mid {
  background: #D6CBC3;
}

.folder--mid .folder-tab {
  --tab-bg: #8F8176;
  background: #8F8176;
  color: #F5F1EE;
}

.folder--mid .folder-tab em {
  color: #F5F1EE;
}

.folder--mid .folder-body {
  background: #8F7F71;
  border-top-color: #8F8176;
  min-height: 420px;
  padding: 40px 48px 56px;
}


/* ══════════════════════════════════════════════════════════
   ABOUT SECTION — inside folder--paper
   ══════════════════════════════════════════════════════════ */
.about-section {
  padding-top: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--clr-text-dark);
  font-weight: 300;
}

.btn-cta-dark {
  display: inline-block;
  background: var(--clr-nav);
  border: 1.5px solid var(--clr-nav);
  color: var(--clr-text-light);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 40px;
  margin-top: 28px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.about-text .btn-cta-dark {
  align-self: flex-start;
}

.btn-cta-dark:hover {
  background: transparent;
  color: var(--clr-nav);
}

.btn-cta-dark:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 4px;
}

.btn-cta-dark:active {
  transform: scale(0.98);
}

.about-photo-area {
  min-height: 320px;
  background: rgba(33, 23, 13, 0.04);
  border: 1.5px solid rgba(33, 23, 13, 0.1);
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════════
   WHAT WE DO — inside folder--light (empty placeholder)
   ══════════════════════════════════════════════════════════ */
.whatwedo-section {
  min-height: 280px;
}


/* ══════════════════════════════════════════════════════════
   TESTIMONIALS — inside folder--mid
   ══════════════════════════════════════════════════════════ */
.testimonials-section {
  padding-top: 40px;
  padding-bottom: 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.testimonial-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(247, 239, 237, 0.15);
  border: 2px solid rgba(247, 239, 237, 0.2);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--clr-text-light);
  font-weight: 300;
  max-width: 280px;
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-light);
}


/* ══════════════════════════════════════════════════════════
   DESIGNED FOR — Inside brand testimonials folder
   ══════════════════════════════════════════════════════════ */
.designed-for {
  padding: 60px 0 20px;
  text-align: center;
}

.designed-for-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  margin-bottom: 40px;
}

.designed-for-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  min-height: 60px;
  flex-wrap: wrap;
}

/* ── Brand logo text treatments ── */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(247, 241, 238, 0.85);
  line-height: 1.1;
}

/* Jerome Russell BBblonde */
.brand-logo--bblonde .brand-logo-sup {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.brand-logo--bblonde .brand-logo-main {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo--bblonde .brand-logo-main em {
  font-style: italic;
}

/* Lola's Lashes */
.brand-logo--lolas .brand-logo-main {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Cmfrt */
.brand-logo--cmfrt .brand-logo-main {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Clomaná Beauty */
.brand-logo--clomana .brand-logo-main {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo--clomana .brand-logo-sub {
  font-family: var(--font-body);
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Sway Hair Extensions */
.brand-logo--sway .brand-logo-main {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo--sway .brand-logo-sub {
  font-family: var(--font-body);
  font-size: 0.42rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}


/* ══════════════════════════════════════════════════════════
   FOOTER — Two-column layout
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--clr-nav);
  border-top: 1px solid rgba(247, 239, 237, 0.06);
  padding: 40px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-logo-delmuse);
  font-size: 1.7rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  gap: 0.2em;
}

.footer-logo em {
  font-family: var(--font-logo-studio);
  font-style: normal;
  font-size: 1em;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-copy {
  font-size: 0.68rem;
  color: rgba(247, 239, 237, 0.35);
  letter-spacing: 0.04em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-email {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-text-light);
  letter-spacing: 0.02em;
  transition: opacity 0.25s;
}

.footer-email:hover {
  opacity: 0.7;
}

.footer-email:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(247, 239, 237, 0.25);
  color: var(--clr-text-light);
  transition: border-color 0.25s, background 0.25s;
}

.social-icon:hover {
  border-color: var(--clr-accent);
  background: rgba(196, 168, 130, 0.1);
}

.social-icon:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 4px;
}

.social-icon:active {
  transform: scale(0.95);
}


/* ══════════════════════════════════════════════════════════
   WORK PAGE STYLES
   ══════════════════════════════════════════════════════════ */
.work-intro {
  background: var(--clr-paper);
  padding-top: calc(var(--nav-h) + 120px);
  padding-bottom: 80px;
  text-align: center;
}

.work-intro-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.work-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text-dark);
  line-height: 1;
}

.work-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.work-desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-desc p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--clr-text-dark);
  font-weight: 400;
}

.work-grid-section {
  background: var(--clr-folder-light);
  padding: 80px 48px;
}

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

.work-grid-item {
  aspect-ratio: 1;
  background: #3B2A1C;
  /* Dark brown matching logo background */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  transition: transform 0.3s ease;
}

.work-grid-item:hover {
  transform: translateY(-4px);
}

.work-cta {
  background-color: #2A1A10;
  background-image:
    linear-gradient(rgba(30, 18, 10, 0.55), rgba(30, 18, 10, 0.55)),
    url('../brand_assets/brown_background.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.work-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.work-cta-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.work-cta-sub {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(247, 239, 237, 0.85);
  margin-bottom: 40px;
}

.btn-cta-light {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: #F5F1EE;
  color: #21170D;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 6px;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.btn-cta-light:hover {
  background: #FFFFFF;
}

.btn-cta-light:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 4px;
}

/* Color Bomb Logo */
.brand-logo--colorbomb .brand-logo-sup {
  font-family: var(--font-body);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}

.brand-logo--colorbomb .brand-logo-main {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════
   WORK GRID — Brand logo overrides (2× larger than designed-for strip)
   ══════════════════════════════════════════════════════════ */
.work-grid-item .brand-logo--lolas .brand-logo-main {
  font-size: 1.44rem;
  letter-spacing: 0.3em;
}

.work-grid-item .brand-logo--bblonde .brand-logo-sup {
  font-size: 1.04rem;
  letter-spacing: 0.22em;
}

.work-grid-item .brand-logo--bblonde .brand-logo-main {
  font-size: 3.4rem;
}

.work-grid-item .brand-logo--cmfrt .brand-logo-main {
  font-size: 4rem;
}

.work-grid-item .brand-logo--clomana .brand-logo-main {
  font-size: 2rem;
}

.work-grid-item .brand-logo--clomana .brand-logo-sub {
  font-size: 0.96rem;
  letter-spacing: 0.28em;
}

.work-grid-item .brand-logo--colorbomb .brand-logo-sup {
  font-size: 0.96rem;
}

.work-grid-item .brand-logo--colorbomb .brand-logo-main {
  font-size: 4rem;
}

.work-grid-item .brand-logo--sway .brand-logo-main {
  font-size: 3rem;
}

.work-grid-item .brand-logo--sway .brand-logo-sub {
  font-size: 0.84rem;
  letter-spacing: 0.3em;
}


/* ══════════════════════════════════════════════════════════
   BLANK PAGE STYLES (for sub-pages)
   ══════════════════════════════════════════════════════════ */
.blank-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  background: var(--clr-paper);
  text-align: center;
}

.blank-page-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-dark);
  opacity: 0.45;
  margin-bottom: 14px;
}

.blank-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--clr-text-dark);
  line-height: 1;
  margin-bottom: 20px;
}

.blank-page-title em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--clr-folder-mid);
}

.blank-page-sub {
  font-size: 0.85rem;
  color: rgba(33, 23, 13, 0.45);
  font-weight: 300;
}


/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .designed-for-logos {
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

  .about-photo-area {
    min-height: 200px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    gap: 40px;
  }

  .folder--paper .folder-body,
  .folder--light .folder-body,
  .folder--mid .folder-body {
    padding: 32px 32px 48px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 16px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: 380px;
    padding-bottom: 60px;
  }

  .hero-inner {
    padding: 60px 24px 0;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  /* Folder tab mobile sizes */
  .folder-tab {
    --tab-curve: 8px;
    margin-left: 20px;
    font-size: 0.9rem;
    width: 240px;
    height: 40px;
    padding: 0 16px;
    gap: 4px;
    white-space: nowrap;
  }

  /* Folder body mobile padding */
  .folder--paper .folder-body,
  .folder--light .folder-body,
  .folder--mid .folder-body {
    padding: 28px 20px 40px;
  }

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

  .work-grid-section {
    padding: 60px 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-photo-area {
    min-height: 150px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 40px;
  }

  /* Footer stacks on mobile */
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 32px 20px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .testimonial-circle {
    width: 100px;
    height: 100px;
  }
}