/* =========================================================
   MAISAVEN — Premium Design System
   Luxury home design studio aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Manrope:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

/* ── Design Tokens ── */
:root {
  --paper:   #FAF8F4;
  --paper-2: #F2EDE4;
  --ink:     #1A1714;
  --ink-2:   #2E2A25;
  --muted:   #8A8076;
  --line:    rgba(26,23,20,.10);
  --accent:  #B07848;
  --accent-2:#7A3F20;
  --green:   #1D3A2A;
  --sand:    #D9C9B0;
  --warm:    #E8DDD0;
  --glow:    rgba(176,120,72,.18);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Manrope', system-ui, sans-serif;
  --mono:   'DM Mono', Consolas, monospace;

  --r-sm:   8px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-full: 9999px;

  --shadow-sm:  0 2px 12px rgba(26,23,20,.07);
  --shadow-md:  0 8px 32px rgba(26,23,20,.10);
  --shadow-lg:  0 20px 60px rgba(26,23,20,.14);
  --shadow-xl:  0 32px 80px rgba(26,23,20,.18);

  --ease-spring:    cubic-bezier(.2,.8,.2,1);
  --ease-in-expo:   cubic-bezier(.7,0,.84,0);
  --ease-out-expo:  cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body, .site-header, .statement, .section-heading, .contact, .site-footer, .site-nav, .theme-toggle { transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
img { display: block; }

/* Noise texture overlay */
body::before { position: fixed; z-index: 0; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E"); background-size: 200px 200px; opacity: .6; content: ''; }

/* Scroll progress bar */
body::after { position: fixed; z-index: 100; top: 0; left: 0; width: var(--scroll-progress, 0%); height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); content: ''; transform-origin: left; }

/* Page enter / exit */
body { animation: page-enter .65s cubic-bezier(.16,1,.3,1) both; }
body.page-exit { animation: page-exit .32s cubic-bezier(.7,0,.84,0) both; pointer-events: none; }
@keyframes page-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-exit  { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body, body.page-exit { animation: none; } }

/* ── Layout shells ── */
.site-header, .section-shell { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; z-index: 90; top: 14px; display: flex; flex-wrap: nowrap; align-items: center; padding: 14px 24px; border: 1px solid rgba(255,255,255,.55); border-radius: var(--r-full); background: color-mix(in srgb, var(--paper) 80%, transparent); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.6); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.brand { display: flex; align-items: center; width: 138px; flex-shrink: 0; }
.brand img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover img { transform: scale(1.04) translateX(2px); }
.logo-dark { display: none !important; }

@media (max-width: 768px) {
  .brand { width: auto; }
  .brand img { height: 32px; width: auto; }
}

/* Nav */
.site-nav { display: flex; gap: 32px; margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a, .text-link { transition: color .2s ease; }
.site-nav a { position: relative; display: inline-block; padding-bottom: 5px; }
.site-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1.5px; background: var(--accent); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.text-link:hover { color: var(--accent); }

/* Menu toggle */
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font: 700 11px var(--sans); cursor: pointer; letter-spacing: .06em; text-transform: uppercase; }
.menu-lines { display: inline-flex; flex-direction: column; gap: 5px; margin-left: 9px; vertical-align: middle; }
.menu-lines i { width: 19px; height: 1.5px; background: currentColor; border-radius: 2px; }

/* Header tools */
.header-tools { position: relative; display: flex; align-items: center; gap: 8px; margin-left: 24px; padding-left: 24px; }
.header-tools::before { position: absolute; top: 25%; bottom: 25%; left: 0; width: 1px; background: var(--line); content: ''; }
.search-toggle, .theme-toggle { position: relative; display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; min-width: 36px; padding: 0; border: 1.5px solid var(--line); border-radius: var(--r-full); background: rgba(255,255,255,.5); color: var(--ink); cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; backdrop-filter: blur(8px); }
.search-toggle { font: 22px/1 var(--serif); }
.search-toggle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(26,23,20,.18); }
.theme-toggle:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(15deg); box-shadow: 0 6px 18px var(--glow); }
.theme-toggle::before { position: absolute; inset: -6px; border: 1.5px solid var(--accent); border-radius: var(--r-full); content: ''; opacity: 0; transform: scale(.7); transition: opacity .3s ease, transform .3s ease; }
.theme-toggle:hover::before { opacity: .4; transform: scale(1); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle-icon { display: block; font-size: 15px; line-height: 1; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.theme-toggle.is-switching .theme-toggle-icon { transform: rotate(180deg) scale(1.2); }
.theme-toggle.is-switching::before { opacity: .5; transform: scale(1.35); transition-duration: .55s; }

/* Search panel */
.search-panel { position: fixed; z-index: 200; top: 90px; right: max(40px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: 12px; width: min(380px, calc(100vw - 40px)); padding: 14px 20px; border: 1px solid var(--sand); border-radius: var(--r-md); background: color-mix(in srgb, var(--paper) 95%, transparent); box-shadow: var(--shadow-xl); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transform: translateY(-12px) scale(.97); transition: opacity .28s ease, transform .28s cubic-bezier(.16,1,.3,1); }
.search-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.search-panel input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font: 14px var(--sans); }
.search-panel input::placeholder { color: var(--muted); }
.search-panel button { border: 0; background: transparent; color: var(--accent); font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.search-result { position: absolute; top: calc(100% + 8px); left: 0; margin: 0; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; padding: 0 20px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(48px, 8vw, 120px); padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(100px, 14vw, 200px); position: relative; }
.hero::before { content: ''; position: absolute; top: 8%; right: -5%; width: clamp(220px, 28vw, 420px); height: clamp(220px, 28vw, 420px); border-radius: 50%; background: radial-gradient(circle at center, rgba(176,120,72,.12) 0%, transparent 70%); pointer-events: none; animation: float-blob 10s ease-in-out infinite; }
@keyframes float-blob { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-20px,-30px) scale(1.04); } 66% { transform: translate(15px,20px) scale(.97); } }
.hero-copy { padding-top: 18px; display: flex; flex-direction: column; justify-content: center; }

/* Eyebrow label */
.eyebrow, .section-index { margin: 0; color: var(--accent); font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1.5px; background: var(--accent); border-radius: 2px; }
.eyebrow span { color: var(--accent); }

/* Headings */
h1 { max-width: 680px; margin: 22px 0 26px; font-family: var(--serif); font-size: clamp(60px, 7.8vw, 118px); font-weight: 300; line-height: .92; letter-spacing: -.03em; color: var(--ink); }
h1 em { font-style: italic; font-weight: 300; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-intro { max-width: 360px; margin-bottom: 36px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* Text link CTA */
.text-link { display: inline-flex; gap: 14px; align-items: center; position: relative; padding-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.text-link::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.text-link:hover::after { transform: scaleX(1.08); }
.text-link span { color: var(--accent); font-size: 18px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.text-link:hover span { transform: translate(4px,-4px); }

/* Hero visual */
.hero-visual { position: relative; transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .2s ease-out; }
.image-frame { position: relative; overflow: hidden; aspect-ratio: 1.05 / 1; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); }
.image-frame::after { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(29,58,42,.0) 30%, rgba(29,58,42,.45) 100%); content: ''; pointer-events: none; }
.image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.hero-visual:hover .image-frame img { transform: scale(1.05); }
.image-note { position: absolute; z-index: 2; right: 28px; bottom: 28px; color: rgba(255,255,255,.9); font: italic 300 20px/1.3 var(--serif); text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-stamp { position: absolute; right: -30px; bottom: -30px; display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; font-size: 26px; box-shadow: 0 8px 28px var(--glow); transform: rotate(12deg); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
.hero-visual:hover .hero-stamp { transform: rotate(30deg) scale(1.1); box-shadow: 0 14px 40px var(--glow); }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; padding: 80px 0 160px; border-top: 1px solid var(--line); position: relative; }
.statement::before { content: '\201C'; position: absolute; top: 50px; right: 0; font: 300 280px/1 var(--serif); color: var(--warm); pointer-events: none; line-height: .8; z-index: 0; }
.statement > * { position: relative; z-index: 1; }
.statement-content { display: grid; grid-template-columns: 1.3fr 1fr; gap: 55px; align-items: end; }
.statement h2, .contact h2 { max-width: 640px; margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.5vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; }
.statement-content p { max-width: 290px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* =========================================================
   WORK SECTION
   ========================================================= */
.work-section { padding-bottom: 160px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-index { color: var(--ink); }
.section-link { color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: color .25s ease; }
.section-link:hover { color: var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 36px; }
.work-card-offset { margin-top: 80px; }
.work-image { position: relative; display: block; aspect-ratio: .83 / 1; overflow: hidden; border-radius: var(--r-md); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; }
.work-image::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, transparent 40%, rgba(26,23,20,.55) 100%); content: ''; opacity: 0; transition: opacity .4s ease; }
.work-card:hover .work-image { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.work-card:hover .work-image::before { opacity: 1; }
.work-image-one { background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=800&q=85'); background-size: cover; background-position: center; color: #fff; }
.work-image-two { background-image: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=800&q=85'); background-size: cover; background-position: center; color: #fff; }
.work-image-three { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=800&q=85'); background-size: cover; background-position: center; color: #fff; }
.work-image-one::after, .work-image-two::after, .work-image-three::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,.6) 0%, transparent 55%); pointer-events: none; z-index: 1; }
.work-image span { position: absolute; bottom: 20px; left: 20px; z-index: 2; font: 600 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.9); transition: opacity .4s ease; }
.work-card:hover .work-image span { opacity: 0; }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 16px; }
.work-meta h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -.02em; transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.work-card:hover .work-meta h3 { transform: translateX(6px); color: var(--accent); }
.work-meta p { margin: 0; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }

/* =========================================================
   CONTACT CTA (homepage)
   ========================================================= */
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; padding: 100px 60px; border-radius: var(--r-lg); background: var(--green); color: #fff; margin-bottom: 80px; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; top: -40%; right: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(176,120,72,.25) 0%, transparent 70%); pointer-events: none; }
.contact .eyebrow { color: rgba(255,255,255,.5); }
.contact .eyebrow::before { background: rgba(255,255,255,.4); }
.contact h2 { color: #fff; }
.home-contact-link { align-self: end; justify-self: start; color: #fff; }
.home-contact-link::after { background: rgba(255,255,255,.7); }
.home-contact-link span { color: rgba(255,255,255,.8); }

/* Signup form */
.signup-form { padding-bottom: 5px; }
.signup-form label { display: block; margin-bottom: 14px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; }
.input-row { display: flex; border-bottom: 1.5px solid var(--ink); transition: border-color .25s ease; }
.input-row:focus-within { border-color: var(--accent); }
.input-row input { min-width: 0; flex: 1; padding: 13px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 14px var(--sans); }
.input-row input::placeholder { color: rgba(138,128,118,.7); }
.input-row button { width: 44px; border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 24px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.input-row button:hover { transform: translateX(4px); }
.form-message { min-height: 20px; margin: 12px 0 0; color: var(--accent); font-size: 12px; }
.form-message.is-error { color: #B04040; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.site-footer p { margin: 0; }

/* =========================================================
   ARTICLE PAGE
   ========================================================= */
.article-page { padding: clamp(80px, 12vw, 150px) 0 120px; }
.article-header { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 65px; border-bottom: 1px solid var(--line); }
.article-kicker { margin: 0; color: var(--accent); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.article-header h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(52px, 8vw, 116px); font-weight: 300; line-height: .92; }
.article-header h1 em { font-style: italic; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.article-meta { display: flex; gap: 28px; margin-top: 30px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.article-body { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 55px; }
.article-lede { max-width: 250px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.article-copy { max-width: 680px; }
.article-copy figure { margin: 0 0 48px; }
.article-copy img { display: block; width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; border-radius: var(--r-sm); }
.article-copy figcaption { margin-top: 10px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.article-copy h2 { margin: 55px 0 18px; font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.article-copy p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.article-copy blockquote { margin: 48px 0; padding-left: 26px; border-left: 3px solid var(--accent); font: italic 300 26px/1.3 var(--serif); color: var(--ink); }
.article-back { display: inline-flex; gap: 10px; margin-top: 60px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; font-size: 12px; font-weight: 800; }
.pinterest-link { margin-right: 24px; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-page { padding: clamp(80px, 12vw, 150px) 0 120px; }
.about-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 75px; border-bottom: 1px solid var(--line); }
.about-intro h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 8vw, 116px); font-weight: 300; line-height: .92; }
.about-intro h1 em { font-style: italic; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-kicker { margin: 0; color: var(--accent); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; padding: 65px 0 95px; }
.about-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.about-copy p:first-child { color: var(--ink); font: italic 300 25px/1.4 var(--serif); }
.about-image { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; align-items: end; }
.about-image img { display: block; width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; border-radius: var(--r-md); }
.about-image-note { margin: 0 0 8px; color: var(--muted); font: 10px/1.5 var(--mono); text-transform: uppercase; }
.about-values { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 120px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-values h2 { margin: 0; font-family: var(--serif); font-size: clamp(35px, 4.5vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.values-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-item { border-top: 2px solid var(--accent); padding-top: 16px; }
.value-item strong { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.value-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services-page { padding: clamp(80px, 12vw, 150px) 0 120px; }
.services-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 75px; border-bottom: 1px solid var(--line); }
.services-kicker { margin: 0; color: var(--accent); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.services-intro h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 8vw, 116px); font-weight: 300; line-height: .92; }
.services-intro h1 em { font-style: italic; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.service-list { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 65px; }
.service-list-label { margin: 0; color: var(--muted); font: 500 11px var(--mono); text-transform: uppercase; }
.service-items { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 55px 1fr 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .3s ease, padding .3s ease, margin .3s ease, border-radius .3s ease; }
.service-item:hover { background: var(--warm); margin: 0 -20px; padding: 28px 20px; border-radius: var(--r-sm); }
.service-number { color: var(--accent); font: 11px var(--mono); }
.service-item h2 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); font-weight: 300; letter-spacing: -.03em; }
.service-item p { max-width: 280px; margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.services-note { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 120px; padding-top: 28px; border-top: 1px solid var(--line); }
.services-note h2 { max-width: 600px; margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.5vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.services-note p { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page { padding: clamp(80px, 12vw, 150px) 0 120px; }
.contact-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 75px; border-bottom: 1px solid var(--line); }
.contact-kicker { margin: 0; color: var(--accent); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.contact-intro h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 8vw, 116px); font-weight: 300; line-height: .92; }
.contact-intro h1 em { font-style: italic; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 65px; }
.contact-copy h2 { max-width: 500px; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; }
.contact-copy p { max-width: 330px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.contact-form { max-width: 520px; }
.contact-form label { display: block; margin-bottom: 10px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-bottom: 28px; padding: 12px 0; border: 0; border-bottom: 1.5px solid var(--line); outline: 0; resize: vertical; background: transparent; color: var(--ink); font: 14px var(--sans); transition: border-color .25s ease; }
.contact-form textarea { min-height: 95px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-submit { display: inline-flex; align-items: center; gap: 12px; border: 0; border-bottom: 1.5px solid var(--ink); padding: 0 0 8px; background: transparent; color: var(--ink); font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.contact-submit:hover { color: var(--accent); border-color: var(--accent); }
.contact-submit span { font-size: 20px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.contact-submit:hover span { transform: translate(4px,-4px); }
.contact-form .form-message { margin-top: 18px; }
.contact-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 120px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-detail { color: var(--muted); font: 10px/1.7 var(--mono); text-transform: uppercase; }
.contact-detail strong { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 600; letter-spacing: .06em; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .18s; }
.section-heading, .work-card, .article-header, .about-image, .service-item, .contact-content { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }

/* =========================================================
   DARK MODE
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #121212;
    --paper-2: #1e1e1e;
    --ink:     #ffffff;
    --ink-2:   #f4f4f5;
    --muted:   #a1a1aa;
    --line:    rgba(255, 255, 255, 0.15);
    --accent:  #f59e0b;
    --accent-2:#f97316;
    --green:   #064e3b;
    --sand:    #27272a;
    --warm:    #18181b;
    --glow:    rgba(245, 158, 11, 0.4);
  }
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark  { display: block !important; }
  :root:not([data-theme="light"]) .site-nav { color: var(--ink-2); }
  :root:not([data-theme="light"]) .hero-intro { color: var(--ink-2); }
  :root:not([data-theme="light"]) .site-header { background: color-mix(in srgb, var(--paper) 70%, transparent); border-color: rgba(255,255,255,.12); box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(24px) saturate(200%); }
  :root:not([data-theme="light"]) .contact { background: #050505; }
  :root:not([data-theme="light"]) .search-toggle, :root:not([data-theme="light"]) .theme-toggle { background: rgba(255,255,255,.1); color: var(--ink); border-color: rgba(255,255,255,.2); }
  :root:not([data-theme="light"]) .statement::before { color: #1f1f22; }
}

:root[data-theme="dark"] {
  --paper:   #121212;
  --paper-2: #1e1e1e;
  --ink:     #ffffff;
  --ink-2:   #f4f4f5;
  --muted:   #a1a1aa;
  --line:    rgba(255, 255, 255, 0.15);
  --accent:  #f59e0b;
  --accent-2:#f97316;
  --green:   #064e3b;
  --sand:    #27272a;
  --warm:    #18181b;
  --glow:    rgba(245, 158, 11, 0.4);
}
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark  { display: block !important; }
:root[data-theme="dark"] .site-nav { color: var(--ink-2); }
:root[data-theme="dark"] .hero-intro { color: var(--ink-2); }
:root[data-theme="dark"] .site-header { background: color-mix(in srgb, var(--paper) 70%, transparent); border-color: rgba(255,255,255,.12); box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(24px) saturate(200%); }
:root[data-theme="dark"] .contact { background: #050505; }
:root[data-theme="dark"] .search-toggle, :root[data-theme="dark"] .theme-toggle { background: rgba(255,255,255,.1); color: var(--ink); border-color: rgba(255,255,255,.2); }
:root[data-theme="dark"] .statement::before { color: #1f1f22; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .site-header, .section-shell { width: min(100% - 40px, 680px); }
  .site-header { top: 10px; padding: 13px 18px; border-radius: 24px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-tools { gap: 7px; margin-left: 10px; padding-left: 10px; }
  .search-toggle, .theme-toggle { flex-basis: 33px; width: 33px; height: 33px; min-width: 33px; }
  .site-nav { position: absolute; z-index: 50; top: calc(100% + 2px); left: 0; right: 0; display: flex; flex-direction: column; gap: 0; padding: 10px 22px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; visibility: hidden; transform: translateY(-12px); transition: opacity .28s ease, transform .28s cubic-bezier(.16,1,.3,1), visibility .28s; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); }
  .search-panel { top: 74px; right: 20px; }
  .hero { display: flex; flex-direction: column; gap: 52px; padding-top: 70px; padding-bottom: 110px; }
  .hero::before { display: none; }
  h1 { font-size: clamp(56px, 15vw, 90px); }
  .hero-visual { width: calc(100% - 12px); }
  .statement { grid-template-columns: 1fr; gap: 36px; padding: 68px 0 100px; }
  .statement::before { display: none; }
  .statement-content { grid-template-columns: 1fr; gap: 26px; }
  .work-section { padding-bottom: 100px; }
  .work-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-card-offset { margin-top: 0; }
  .work-image { aspect-ratio: 1.1 / 1; }
  .contact { grid-template-columns: 1fr; padding: 60px 32px; gap: 36px; margin-bottom: 40px; }
  .site-footer { display: block; line-height: 2; }
  .article-page { padding-top: 72px; }
  .article-header, .article-body { grid-template-columns: 1fr; gap: 28px; }
  .article-header { padding-bottom: 45px; }
  .article-header h1 { font-size: clamp(50px, 15vw, 82px); }
  .article-body { padding-top: 40px; }
  .article-copy p { font-size: 15px; }
  .about-page { padding-top: 72px; }
  .about-intro, .about-copy, .about-values { grid-template-columns: 1fr; gap: 28px; }
  .about-intro { padding-bottom: 45px; }
  .about-intro h1 { font-size: clamp(50px, 15vw, 82px); }
  .about-copy { padding: 42px 0 72px; }
  .about-image { grid-template-columns: 1fr; }
  .about-image-note { order: -1; }
  .about-values { margin-top: 72px; }
  .values-list { grid-template-columns: 1fr; gap: 28px; }
  .services-page { padding-top: 72px; }
  .services-intro, .service-list, .services-note { grid-template-columns: 1fr; gap: 28px; }
  .services-intro { padding-bottom: 45px; }
  .services-intro h1 { font-size: clamp(50px, 15vw, 82px); }
  .service-list { padding-top: 40px; }
  .service-item { grid-template-columns: 35px 1fr; gap: 14px; }
  .service-item p { grid-column: 2; margin-top: -6px; }
  .services-note { margin-top: 72px; }
  .contact-page { padding-top: 72px; }
  .contact-intro, .contact-content { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro { padding-bottom: 45px; }
  .contact-intro h1 { font-size: clamp(50px, 15vw, 82px); }
  .contact-content { padding-top: 40px; gap: 60px; }
}

/* =========================================================
   MONETIZATION & COMPLIANCE STYLES
   ========================================================= */

/* Affiliate Disclosure */
.affiliate-disclosure {
  background: var(--paper-2);
  padding: 16px 20px;
  border-radius: var(--r-sm);
  margin-top: 24px;
  border-left: 4px solid var(--accent);
}
.affiliate-disclosure p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.affiliate-disclosure strong {
  color: var(--ink);
}

/* Product Blocks */
.product-blocks-container {
  margin: 60px 0;
}
.product-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.5s ease;
}
.product-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-block figure {
  margin: 0;
  aspect-ratio: 1.2/1;
  position: relative;
  overflow: hidden;
}
.product-block figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-details {
  padding: 30px;
}
.product-details h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--ink);
}
.product-details p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.btn-affiliate {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white !important;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  padding: 18px 24px;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-affiliate:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

/* AdSense Placeholders */
.ad-slot {
  background: rgba(0,0,0,0.02);
  border: 1px dashed var(--line);
  padding: 20px;
  text-align: center;
  margin: 40px 0;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
}
.ad-slot::before {
  content: 'Advertisement';
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Shop The Look */
.shop-the-look {
  background: var(--green);
  color: white;
  padding: 40px;
  border-radius: var(--r-md);
  margin: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-the-look::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(176,120,72,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.shop-the-look h3 {
  font-size: 32px;
  margin: 0 0 16px;
  position: relative;
}
.shop-the-look p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  position: relative;
}

/* Pinterest Hover Button */
.pin-hover-container {
  position: relative;
}
.pin-it-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #E60023;
  color: white;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
}
.pin-hover-container:hover .pin-it-btn {
  opacity: 1;
  transform: translateY(0);
}
.pin-it-btn:hover {
  background: #ad081b;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 80px);
  width: calc(100% - 48px);
  max-width: 860px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, visibility 0.45s;
}
.cookie-banner:not(.hidden) {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
.cookie-banner p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  flex: 1;
}
.cookie-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.cookie-banner a:hover {
  opacity: 1;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: #fff;
  color: var(--ink);
  border: none;
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cookie-btn-accept:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cookie-btn-decline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

/* Global Footer Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-brand p {
  margin: 0 0 4px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    justify-content: flex-end;
  }
}

/* Mobile Optimizations for Products */
@media (max-width: 768px) {
  .product-details {
    padding: 24px;
  }
  .product-details h3 {
    font-size: 24px;
  }
  .btn-affiliate {
    padding: 16px 20px;
    font-size: 15px;
  }
  .cookie-banner {
    padding: 16px 20px;
    gap: 14px;
    flex-direction: column;
    text-align: center;
    bottom: 12px;
    width: calc(100% - 24px);
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  .cookie-btn-accept, .cookie-btn-decline {
    flex: 1;
  }
}

/* =========================================================
   EDITORIAL TEMPLATE
   ========================================================= */
.template-editorial { padding-top: 0; }
.editorial-header { height: 80vh; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 60px; color: #fff; margin-bottom: 60px; border-radius: 0 0 20px 20px; }
.editorial-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,.8) 0%, transparent 70%); border-radius: 0 0 20px 20px; }
.editorial-header-overlay { position: relative; z-index: 2; max-width: 800px; }
.editorial-header h1 { font-family: var(--serif); font-size: clamp(52px, 8vw, 116px); font-weight: 300; line-height: .92; margin: 20px 0; color: #fff; }
.editorial-header h1 em { color: var(--accent-2); }
.editorial-header .article-kicker { color: rgba(255,255,255,.8); }
.editorial-header .article-meta { color: rgba(255,255,255,.6); }
.template-editorial .article-body { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }
.template-editorial .article-lede { max-width: 100%; font-size: 20px; text-align: center; margin-bottom: 40px; }
.template-editorial .article-copy { max-width: 100%; }
.template-editorial .article-copy > p:first-of-type::first-letter { float: left; font-size: 80px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: var(--serif); color: var(--accent); }

/* =========================================================
   GALLERY TEMPLATE
   ========================================================= */
.template-gallery .article-body { grid-template-columns: 1fr; }
.template-gallery .article-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 100%; }
.template-gallery .article-copy > * { grid-column: 1 / -1; }
.template-gallery .article-copy > p:nth-of-type(odd) { grid-column: 1 / 2; }
.template-gallery .article-copy > p:nth-of-type(even) { grid-column: 2 / 3; }
.template-gallery .article-copy > figure { grid-column: 1 / -1; margin: 0; }
.template-gallery .article-copy h2 { grid-column: 1 / -1; text-align: center; margin-top: 80px; }
.template-gallery .product-blocks-container { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.template-gallery .product-block { margin-bottom: 0; }
@media (max-width: 768px) {
  .template-gallery .article-copy > p:nth-of-type(odd),
  .template-gallery .article-copy > p:nth-of-type(even) { grid-column: 1 / -1; }
  .template-gallery .product-blocks-container { grid-template-columns: 1fr; }
  gap: 6px;
  cursor: pointer;
  border: none;
}
.pin-hover-container:hover .pin-it-btn {
  opacity: 1;
  transform: translateY(0);
}
.pin-it-btn:hover {
  background: #ad081b;
}


/* Global Footer Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-brand p {
  margin: 0 0 4px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    justify-content: flex-end;
  }
}

/* Mobile Optimizations for Products */
@media (max-width: 768px) {
  .product-details {
    padding: 24px;
  }
  .product-details h3 {
    font-size: 24px;
  }
  .btn-affiliate {
    padding: 16px 20px;
    font-size: 15px;
  }

}

/* =========================================================
   EDITORIAL TEMPLATE
   ========================================================= */
.template-editorial { padding-top: 0; }
.editorial-header { height: 80vh; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 60px; color: #fff; margin-bottom: 60px; border-radius: 0 0 20px 20px; }
.editorial-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,.8) 0%, transparent 70%); border-radius: 0 0 20px 20px; }
.editorial-header-overlay { position: relative; z-index: 2; max-width: 800px; }
.editorial-header h1 { font-family: var(--serif); font-size: clamp(52px, 8vw, 116px); font-weight: 300; line-height: .92; margin: 20px 0; color: #fff; }
.editorial-header h1 em { color: var(--accent-2); }
.editorial-header .article-kicker { color: rgba(255,255,255,.8); }
.editorial-header .article-meta { color: rgba(255,255,255,.6); }
.template-editorial .article-body { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }
.template-editorial .article-lede { max-width: 100%; font-size: 20px; text-align: center; margin-bottom: 40px; }
.template-editorial .article-copy { max-width: 100%; }
.template-editorial .article-copy > p:first-of-type::first-letter { float: left; font-size: 80px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: var(--serif); color: var(--accent); }

/* =========================================================
   GALLERY TEMPLATE
   ========================================================= */
.template-gallery .article-body { grid-template-columns: 1fr; }
.template-gallery .article-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 100%; }
.template-gallery .article-copy > * { grid-column: 1 / -1; }
.template-gallery .article-copy > p:nth-of-type(odd) { grid-column: 1 / 2; }
.template-gallery .article-copy > p:nth-of-type(even) { grid-column: 2 / 3; }
.template-gallery .article-copy > figure { grid-column: 1 / -1; margin: 0; }
.template-gallery .article-copy h2 { grid-column: 1 / -1; text-align: center; margin-top: 80px; }
.template-gallery .product-blocks-container { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.template-gallery .product-block { margin-bottom: 0; }
@media (max-width: 768px) {
  .template-gallery .article-copy > p:nth-of-type(odd),
  .template-gallery .article-copy > p:nth-of-type(even) { grid-column: 1 / -1; }
  .template-gallery .product-blocks-container { grid-template-columns: 1fr; }
  .editorial-header { padding: 30px; }
}

/* =========================================================
   PREMIUM COOKIE WALL
   ========================================================= */
#cookie-wall-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(26, 23, 20, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center; 
  animation: overlayFadeIn 0.6s var(--ease-out-expo) forwards;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal {
  background: var(--paper);
  padding: 3.5rem 3rem;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
  max-width: 90%;
  width: 460px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: modalSlideUp 0.8s var(--ease-spring) forwards 0.15s;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.cookie-icon-wrapper {
  background: var(--paper-2);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cookie-icon {
  animation: cookieBounce 3s infinite ease-in-out;
}

@keyframes cookieBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(5deg); }
}

.cookie-modal h2 {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cookie-modal p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-family: var(--sans);
}

.cookie-btn-premium {
  background-color: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: var(--r-sm);
  padding: 1.125rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  width: 100%;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cookie-btn-premium::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: all 0.6s ease;
}

.cookie-btn-premium:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cookie-btn-premium:hover::before {
  left: 100%;
}

.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden !important;
  position: fixed !important;
  width: 100%;
  height: 100%;
  padding-right: var(--scrollbar-width, 0px); 
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 2rem 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .cookie-icon-wrapper {
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
  }
  .cookie-icon-wrapper svg {
    width: 24px;
    height: 24px;
  }
  .cookie-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }
  .cookie-modal p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .cookie-btn-premium {
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumb {
  margin-bottom: 24px;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--muted);
  opacity: 0.5;
}
.breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb li[aria-current="page"] {
  color: var(--muted);
}

/* =========================================================
   GLOBAL PREMIUM AESTHETICS
   ========================================================= */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--paper); 
}
::-webkit-scrollbar-thumb {
  background: var(--muted); 
  border-radius: 5px;
  border: 2px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent); 
}

/* Custom Selection Highlight */
::selection {
  background-color: var(--glow);
  color: var(--accent-2);
}

/* Enhanced Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97) rotate(0.5deg);
  transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}
.reveal-delay.is-visible {
  transition-delay: 0.2s;
}

/* Global button enhancements */
button {
  transition: all 0.4s var(--ease-out-expo) !important;
}
button:active {
  transform: scale(0.96) !important;
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}
.cursor-follower.hovering {
  width: 60px;
  height: 60px;
  background-color: var(--glow);
  mix-blend-mode: normal;
  border: 1px solid var(--accent);
}

/* =========================================================
   PORTFOLIO GALLERY (Homepage)
   ========================================================= */
.portfolio-preview {
  padding-bottom: 120px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}
.portfolio-frame {
  aspect-ratio: 4/5;
  width: 100%;
}
.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}
.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
}
.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}
.portfolio-info h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 5px;
}
.portfolio-info p {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand);
}

/* =========================================================
   TESTIMONIALS (Homepage)
   ========================================================= */
.testimonials {
  padding: 100px 60px;
  background: var(--paper-2);
  border-radius: var(--r-lg);
  margin-bottom: 120px;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(176,120,72,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-header h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 300;
  margin-top: 15px;
}
.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.testimonial-card {
  background: var(--paper);
  padding: 40px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
}
.quote-icon {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--glow);
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}
.testimonial-card p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-2);
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
}
.testimonial-author strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.testimonial-author span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-carousel {
    grid-template-columns: 1fr;
  }
  .testimonials {
    padding: 60px 30px;
  }
}

/* =========================================================
   LATEST JOURNAL (Homepage)
   ========================================================= */
.latest-journal {
  padding-bottom: 120px;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.journal-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  border: 1px solid var(--line);
}
.journal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.journal-card-image {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
}
.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.journal-card:hover .journal-card-image img {
  transform: scale(1.05);
}
.journal-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.journal-card-meta {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 15px;
}
.journal-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 15px;
  line-height: 1.3;
}
.journal-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}
.journal-card-read {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}
