/*
Theme Name:  WordPress Design Child
Theme URI:   https://wordpress-design.ch
Description: Thème enfant "Digital Atelier" — Design noir & or, Fraunces + IBM Plex Mono
Author:      WordPress Design
Template:    twentytwentyfour
Version:     2.0.0
Text Domain: wpdesign-child
*/

/* ═══════════════════════════════════════════════════
   TOKENS DESIGN
═══════════════════════════════════════════════════ */
:root {
  --ink:        #070A0E;
  --ink-soft:   #0D1118;
  --ink-card:   #111519;
  --gold:       #C49A3C;
  --gold-lt:    #DDB96A;
  --gold-dim:   rgba(196,154,60,0.12);
  --gold-glow:  rgba(196,154,60,0.06);
  --ash:        #EAE4D8;
  --ash-dim:    rgba(234,228,216,0.45);
  --ash-mute:   rgba(234,228,216,0.18);
  --white:      #F7F3EC;

  --serif:   'Fraunces', Georgia, serif;
  --mono:    'IBM Plex Mono', monospace;
  --sans:    'Instrument Sans', system-ui, sans-serif;

  --t:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --pad: clamp(1.4rem, 4.5vw, 3rem);
  --max: 1280px;
}

/* ═══════════════════════════════════════════════════
   RESET GLOBAL
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--sans); font-weight: 300; background: var(--ink); color: var(--ash); overflow-x: hidden; cursor: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: none; font-family: inherit; }

/* Masquer le header/footer Twenty Twenty-Four sur la page d'accueil */
.home .site-header,
.front-page .site-header,
.home .site-footer,
.front-page .site-footer { display: none !important; }
.home .wp-site-blocks,
.front-page .wp-site-blocks { padding: 0 !important; }
.home body,
.front-page body { background: var(--ink) !important; }

/* ═══════════════════════════════════════════════════
   CURSEUR
═══════════════════════════════════════════════════ */
#wpd-cur { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transition: none; }
#wpd-cur-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; transform: translate(-50%, -50%); }
#wpd-cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; width: 32px; height: 32px; border: 1px solid rgba(196,154,60,0.4); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s; }
body:has(a:hover) #wpd-cur-ring,
body:has(button:hover) #wpd-cur-ring { width: 52px; height: 52px; border-color: var(--gold); background: var(--gold-dim); }

/* ═══════════════════════════════════════════════════
   GRAIN OVERLAY
═══════════════════════════════════════════════════ */
body::after { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .03; pointer-events: none; z-index: 9997; }

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.wpd-w { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wpd-sp { padding: clamp(5rem, 9vw, 8rem) 0; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHIE
═══════════════════════════════════════════════════ */
.wpd-label { font-family: var(--mono); font-size: .6rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; }
.wpd-h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.12; color: var(--ash); }
.wpd-h2 em { font-style: italic; color: var(--gold-lt); }

/* ═══════════════════════════════════════════════════
   BOUTONS
═══════════════════════════════════════════════════ */
.wpd-btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .65rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; padding: .85rem 1.8rem; position: relative; overflow: hidden; transition: color var(--t); }
.wpd-btn svg { width: 12px; height: 12px; flex-shrink: 0; transition: transform var(--t); }
.wpd-btn:hover svg { transform: translateX(3px); }
.wpd-btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.wpd-btn-gold::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.wpd-btn-gold:hover { color: var(--gold); }
.wpd-btn-gold:hover::before { transform: scaleX(1); transform-origin: left; }
.wpd-btn-gold span { position: relative; z-index: 1; }
.wpd-btn-line { background: transparent; color: var(--ash-dim); border: 1px solid var(--ash-mute); transition: color var(--t), border-color var(--t); }
.wpd-btn-line:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.wpd-sr { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1); }
.wpd-sr.wpd-on { opacity: 1; transform: none; }
.wpd-d1 { transition-delay: .08s; } .wpd-d2 { transition-delay: .16s; }
.wpd-d3 { transition-delay: .24s; } .wpd-d4 { transition-delay: .32s; }
.wpd-d5 { transition-delay: .40s; } .wpd-d6 { transition-delay: .48s; }

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
.wpd-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 1.4rem 0; transition: padding .4s, background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.wpd-nav.wpd-stuck { padding: .9rem 0; background: rgba(7,10,14,.96); border-color: var(--gold-dim); backdrop-filter: blur(20px); }
.wpd-nav-i { display: flex; align-items: center; justify-content: space-between; }
.wpd-logo { font-family: var(--serif); font-size: 1.15rem; font-weight: 300; color: var(--ash); letter-spacing: .04em; }
.wpd-logo em { font-style: italic; color: var(--gold); }
.wpd-nav-c { display: flex; align-items: center; gap: 2.4rem; }
.wpd-nav-links { display: flex; gap: 2rem; list-style: none; }
.wpd-nav-links a { font-family: var(--mono); font-size: .62rem; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; color: var(--ash-dim); transition: color var(--t); }
.wpd-nav-links a:hover { color: var(--gold); }
.wpd-lang { display: flex; align-items: center; gap: .1rem; }
.wpd-lb { background: none; border: none; font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash-mute); padding: .2rem .4rem; transition: color var(--t); }
.wpd-lb.wpd-on { color: var(--gold); } .wpd-lb:hover { color: var(--ash-dim); }
.wpd-ls { color: var(--ash-mute); font-size: .5rem; }
.wpd-burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; }
.wpd-burger b { display: block; width: 20px; height: 1px; background: var(--ash); transition: var(--t); }
.wpd-mob { display: none; position: fixed; inset: 0; background: var(--ink); z-index: 400; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
.wpd-mob.wpd-open { display: flex; }
.wpd-mob a { font-family: var(--serif); font-size: 3rem; font-weight: 300; font-style: italic; color: var(--ash-dim); transition: color var(--t); }
.wpd-mob a:hover { color: var(--gold); }
.wpd-mob-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--ash-dim); font-size: 1.5rem; }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.wpd-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; padding: 8rem 0 5rem; }
.wpd-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(196,154,60,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(196,154,60,.025) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; }
.wpd-hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wpd-hero-glow::before { content: ''; position: absolute; right: -15%; top: 10%; width: 60%; aspect-ratio: 1; background: radial-gradient(ellipse, rgba(196,154,60,.07) 0%, transparent 70%); border-radius: 50%; }
.wpd-hero-glow::after { content: ''; position: absolute; left: -10%; bottom: 0%; width: 50%; aspect-ratio: 1; background: radial-gradient(ellipse, rgba(30,60,120,.08) 0%, transparent 70%); border-radius: 50%; }
.wpd-hero-main { position: relative; z-index: 1; }
.wpd-hero-top { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.wpd-hero-hl { font-family: var(--serif); font-weight: 200; line-height: .95; color: var(--ash); }
.wpd-hero-hl .l1 { display: block; font-size: clamp(4.5rem, 10vw, 10rem); letter-spacing: -.02em; animation: wpdFadeUp 1s cubic-bezier(0,0,.2,1) both; }
.wpd-hero-hl .l2 { display: flex; align-items: baseline; gap: .5rem; font-size: clamp(4.5rem, 10vw, 10rem); font-style: italic; color: var(--gold-lt); animation: wpdFadeUp 1s .1s cubic-bezier(0,0,.2,1) both; }
.wpd-hero-hl .l2 .dot { font-size: clamp(1.5rem, 3vw, 3.5rem); color: var(--gold); font-style: normal; align-self: flex-start; margin-top: .4em; font-family: var(--mono); font-weight: 400; }
.wpd-hero-hl .l3 { display: block; font-size: clamp(4.5rem, 10vw, 10rem); -webkit-text-stroke: 1px rgba(234,228,216,.25); color: transparent; letter-spacing: -.02em; animation: wpdFadeUp 1s .2s cubic-bezier(0,0,.2,1) both; }
@keyframes wpdFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.wpd-hero-info { display: flex; flex-direction: column; gap: 2rem; align-items: flex-end; padding-bottom: .5rem; animation: wpdFadeUp 1s .35s cubic-bezier(0,0,.2,1) both; }
.wpd-hero-tag { font-family: var(--mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: .5rem; }
.wpd-hero-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.wpd-hero-desc { max-width: 280px; font-size: .88rem; line-height: 1.8; color: var(--ash-dim); text-align: right; }
.wpd-hero-btns { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.wpd-hero-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-top: 3rem; border-top: 1px solid rgba(234,228,216,.07); animation: wpdFadeUp 1s .5s cubic-bezier(0,0,.2,1) both; }
.wpd-stat-n { font-family: var(--serif); font-size: 2.4rem; font-weight: 200; color: var(--gold-lt); line-height: 1; display: flex; align-items: baseline; gap: .1rem; }
.wpd-stat-n small { font-size: 1.2rem; }
.wpd-stat-l { font-family: var(--mono); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ash-mute); margin-top: .3rem; }
.wpd-scroll-ind { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--ash-mute); font-family: var(--mono); font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; }
.wpd-scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: wpdPulse 2s ease-in-out infinite; }
@keyframes wpdPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ═══════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════ */
.wpd-ticker { background: var(--gold); padding: .55rem 0; overflow: hidden; }
.wpd-ticker-track { display: flex; width: max-content; gap: 2.5rem; animation: wpdTick 25s linear infinite; }
@keyframes wpdTick { to { transform: translateX(-50%); } }
.wpd-tick-item { display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* ═══════════════════════════════════════════════════
   SERVICES — FOND CLAIR
═══════════════════════════════════════════════════ */
.wpd-services { background: var(--white); }
.wpd-svc-inner { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(3rem, 6vw, 8rem); align-items: start; }
.wpd-svc-sticky { position: sticky; top: 7rem; }
.wpd-svc-sticky .wpd-h2 { margin-bottom: 1rem; color: var(--ink); }
.wpd-svc-sticky .wpd-h2 em { color: var(--gold); }
.wpd-svc-sticky p { font-size: .9rem; color: rgba(7,10,14,.55); line-height: 1.82; margin-bottom: 2rem; }
.wpd-svc-sticky .wpd-btn-gold { background: var(--ink); border-color: var(--ink); color: var(--gold-lt); }
.wpd-svc-sticky .wpd-btn-gold::before { background: var(--gold); }
.wpd-svc-sticky .wpd-btn-gold:hover { color: var(--ink); }
.wpd-svc-list { display: flex; flex-direction: column; border-top: 1px solid rgba(7,10,14,.1); }
.wpd-svc-row { border-bottom: 1px solid rgba(7,10,14,.08); }
.wpd-svc-head { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; user-select: none; }
.wpd-svc-n { font-family: var(--mono); font-size: .7rem; font-weight: 400; color: rgba(7,10,14,.2); min-width: 28px; transition: color var(--t); }
.wpd-svc-t { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: var(--ink); flex: 1; transition: color var(--t); }
.wpd-svc-ico { width: 32px; height: 32px; flex-shrink: 0; transition: transform var(--t), color var(--t); color: rgba(7,10,14,.25); }
.wpd-svc-ico svg { width: 100%; height: 100%; }
.wpd-svc-row.wpd-open .wpd-svc-ico { transform: rotate(45deg); color: var(--gold); }
.wpd-svc-row.wpd-open .wpd-svc-n { color: var(--gold); }
.wpd-svc-row.wpd-open .wpd-svc-t { color: var(--gold); }
.wpd-svc-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.wpd-svc-row.wpd-open .wpd-svc-body { max-height: 200px; }
.wpd-svc-body-inner { padding: .2rem 0 1.5rem 44px; font-size: .88rem; color: rgba(7,10,14,.55); line-height: 1.78; }

/* ═══════════════════════════════════════════════════
   MANIFESTO
═══════════════════════════════════════════════════ */
.wpd-manifesto { background: var(--ink-soft); padding: clamp(4rem, 7vw, 7rem) 0; position: relative; overflow: hidden; }
.wpd-manifesto::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(196,154,60,.04), transparent 50%, rgba(30,60,120,.04)); pointer-events: none; }
.wpd-manifesto-inner { position: relative; z-index: 1; }
.wpd-mani-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 200; line-height: 1.35; color: var(--ash); max-width: 820px; margin-top: 1.2rem; }
.wpd-mani-quote em { font-style: italic; color: var(--gold-lt); }
.wpd-mani-quote strong { font-weight: 300; -webkit-text-stroke: 1px rgba(234,228,216,.3); color: transparent; }
.wpd-mani-sig { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; }
.wpd-mani-line { width: 40px; height: 1px; background: var(--gold); opacity: .5; }
.wpd-mani-name { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ash-dim); }

/* ═══════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════ */
.wpd-portfolio { background: var(--ink); }
.wpd-port-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3.5rem; }
.wpd-port-n { font-family: var(--serif); font-size: 7rem; font-weight: 200; line-height: 1; -webkit-text-stroke: 1px rgba(196,154,60,.12); color: transparent; }
.wpd-port-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1px; background: var(--gold-dim); }
.wpd-port-right { display: flex; flex-direction: column; gap: 1px; background: var(--gold-dim); }
.wpd-proj { position: relative; overflow: hidden; background: var(--ink-card); }
.wpd-proj-vis { padding: 2.5rem 2rem 0; min-height: 200px; display: flex; align-items: flex-end; justify-content: center; }
.wpd-proj:first-child .wpd-proj-vis { min-height: 360px; }
/* Mockup navigateur */
.wpd-brow { width: 88%; border: 1px solid rgba(196,154,60,.1); border-bottom: none; border-radius: 4px 4px 0 0; overflow: hidden; transition: transform .5s cubic-bezier(.4,0,.2,1); transform: translateY(8px); }
.wpd-proj:hover .wpd-brow { transform: translateY(0); }
.wpd-brow-bar { background: #161b22; padding: 6px 10px; display: flex; align-items: center; gap: 4px; }
.wpd-bd { width: 6px; height: 6px; border-radius: 50%; } .wpd-bd:nth-child(1){ background:#ff5f57; } .wpd-bd:nth-child(2){ background:#febc2e; } .wpd-bd:nth-child(3){ background:#28c840; }
.wpd-bu { flex: 1; margin-left: 6px; background: #1c2230; border-radius: 3px; padding: 2px 8px; font-family: var(--mono); font-size: .45rem; color: rgba(234,228,216,.25); }
.wpd-brow-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.wpd-bl { height: 4px; background: rgba(234,228,216,.03); border-radius: 2px; }
/* Screenshot réel (featured image) */
.wpd-proj-vis img { width: 88%; object-fit: cover; border: 1px solid rgba(196,154,60,.1); border-bottom: none; border-radius: 4px 4px 0 0; }
.wpd-proj-info { padding: 1.4rem 1.8rem; border-top: 1px solid rgba(196,154,60,.07); }
.wpd-proj-cat { font-family: var(--mono); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; display: block; }
.wpd-proj-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 300; color: var(--ash); margin-bottom: .25rem; }
.wpd-proj:first-child .wpd-proj-name { font-size: 1.5rem; }
.wpd-proj-url { font-family: var(--mono); font-size: .62rem; color: var(--ash-mute); display: flex; align-items: center; gap: .3rem; transition: color var(--t); }
.wpd-proj:hover .wpd-proj-url { color: var(--gold); }
.wpd-proj-ov { position: absolute; inset: 0; background: rgba(7,10,14,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; opacity: 0; transition: opacity var(--t); backdrop-filter: blur(6px); }
.wpd-proj:hover .wpd-proj-ov { opacity: 1; }
.wpd-proj-link { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(196,154,60,.3); padding: .6rem 1.4rem; display: flex; align-items: center; gap: .5rem; transition: background var(--t); }
.wpd-proj-link:hover { background: var(--gold-dim); }

/* ═══════════════════════════════════════════════════
   DEMOS
═══════════════════════════════════════════════════ */
.wpd-demos { background: var(--ink-soft); }
.wpd-demos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(196,154,60,.06); margin-top: 3.5rem; }
.wpd-demo { background: var(--ink-card); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: background var(--t); }
.wpd-demo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.wpd-demo:hover { background: #141a21; }
.wpd-demo:hover::after { transform: scaleX(1); }
.wpd-demo-sector { font-family: var(--mono); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: block; }
.wpd-demo-pal { display: flex; gap: .35rem; margin-bottom: 1.2rem; }
.wpd-dp { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(234,228,216,.08); }
.wpd-demo-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 300; color: var(--ash); line-height: 1.2; margin-bottom: .7rem; }
.wpd-demo-desc { font-size: .82rem; color: var(--ash-mute); line-height: 1.75; margin-bottom: 1.6rem; }
.wpd-demo-cta { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .4rem; transition: gap var(--t); }
.wpd-demo-cta:hover { gap: .7rem; }
.wpd-demo-cta svg { width: 10px; height: 10px; }

/* ═══════════════════════════════════════════════════
   PROCESS — FOND CLAIR
═══════════════════════════════════════════════════ */
.wpd-process { background: var(--white); }
.wpd-proc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.wpd-proc-left .wpd-h2 { margin-bottom: 1rem; color: var(--ink); }
.wpd-proc-left .wpd-h2 em { color: var(--gold); }
.wpd-proc-left p { font-size: .9rem; color: rgba(7,10,14,.5); line-height: 1.82; }
.wpd-steps { display: flex; flex-direction: column; counter-reset: step; }
.wpd-step { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(7,10,14,.07); counter-increment: step; }
.wpd-step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 2rem; font-weight: 300; color: rgba(7,10,14,.07); line-height: 1; flex-shrink: 0; width: 3rem; transition: color var(--t); }
.wpd-step:hover::before { color: var(--gold); opacity: .5; }
.wpd-step h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 300; color: var(--ink); margin-bottom: .3rem; }
.wpd-step p { font-size: .82rem; color: rgba(7,10,14,.5); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.wpd-contact { background: var(--ink); }
.wpd-contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 6vw, 8rem); align-items: start; }
.wpd-contact-left .wpd-h2 { margin: .7rem 0 1rem; }
.wpd-contact-left > p { font-size: .9rem; color: var(--ash-dim); line-height: 1.85; margin-bottom: 2rem; }
.wpd-c-detail { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--ash-dim); margin-bottom: .8rem; }
.wpd-c-detail svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.wpd-form { display: flex; flex-direction: column; gap: 1rem; }
.wpd-fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpd-fg { display: flex; flex-direction: column; gap: .3rem; }
.wpd-fg label { font-family: var(--mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ash-mute); }
.wpd-fg input, .wpd-fg select, .wpd-fg textarea { background: transparent; border: 1px solid rgba(196,154,60,.13); color: var(--ash); font-family: var(--sans); font-size: .88rem; font-weight: 300; padding: .78rem .95rem; outline: none; transition: border-color var(--t); -webkit-appearance: none; border-radius: 0; }
.wpd-fg input:focus, .wpd-fg select:focus, .wpd-fg textarea:focus { border-color: var(--gold); }
.wpd-fg input::placeholder, .wpd-fg textarea::placeholder { color: var(--ash-mute); }
.wpd-fg select option { background: var(--ink-card); }
.wpd-fg textarea { resize: vertical; min-height: 110px; }
.wpd-form-msg { padding: .75rem .95rem; font-family: var(--mono); font-size: .7rem; display: none; }
.wpd-form-msg.wpd-ok { border: 1px solid rgba(196,154,60,.22); color: var(--gold); }
.wpd-form-msg.wpd-err { border: 1px solid rgba(200,60,60,.2); color: #c08080; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.wpd-footer { background: var(--ink-soft); border-top: 1px solid rgba(196,154,60,.08); padding: 3.5rem 0 1.8rem; }
.wpd-foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.wpd-foot-brand .wpd-logo { display: block; margin-bottom: .6rem; }
.wpd-foot-brand p { font-size: .8rem; color: var(--ash-mute); line-height: 1.75; max-width: 280px; margin-top: .4rem; }
.wpd-foot-col h4 { font-family: var(--mono); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.wpd-foot-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.wpd-foot-col ul a { font-size: .8rem; color: var(--ash-mute); transition: color var(--t); }
.wpd-foot-col ul a:hover { color: var(--ash); }
.wpd-foot-bottom { border-top: 1px solid rgba(234,228,216,.05); padding-top: 1.3rem; display: flex; justify-content: space-between; }
.wpd-foot-bottom p { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; color: var(--ash-mute); }
.wpd-foot-bottom a { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wpd-hero-top { grid-template-columns: 1fr; gap: 2rem; }
  .wpd-hero-info { align-items: flex-start; }
  .wpd-hero-desc { text-align: left; max-width: 100%; }
  .wpd-hero-btns { justify-content: flex-start; }
  .wpd-hero-bar { flex-wrap: wrap; gap: 2rem; }
  .wpd-svc-inner { grid-template-columns: 1fr; }
  .wpd-svc-sticky { position: static; }
  .wpd-port-grid { grid-template-columns: 1fr; }
  .wpd-port-right { flex-direction: row; }
  .wpd-proc-inner { grid-template-columns: 1fr; }
  .wpd-contact-grid { grid-template-columns: 1fr; }
  .wpd-foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wpd-nav-links, .wpd-nav-c > .wpd-btn { display: none; }
  .wpd-lang { display: none; }
  .wpd-burger { display: flex; }
  body, .wpd-btn { cursor: auto; }
  #wpd-cur, #wpd-cur-ring { display: none; }
  .wpd-demos-grid { grid-template-columns: 1fr; }
  .wpd-port-right { flex-direction: column; }
  .wpd-fr2 { grid-template-columns: 1fr; }
  .wpd-foot-top { grid-template-columns: 1fr; gap: 2rem; }
  .wpd-foot-bottom { flex-direction: column; gap: .4rem; }
  .wpd-port-n { font-size: 4rem; }
}
