/* =========================================================
   Piotr Krzak — LegalTech | Prawo nowych czasów
   Shared stylesheet (dark + gold)
   ========================================================= */

:root{
  --bg:        #0a0a0b;
  --bg-1:      #0e0e10;
  --bg-2:      #131316;
  --bg-3:      #17171b;
  --panel:     #1b1b20;

  --gold:      #c9a25a;
  --gold-2:    #e6c878;
  --gold-3:    #b48a3f;
  --gold-soft: rgba(201,162,90,.14);
  --gold-line: rgba(201,162,90,.22);

  --text:      #ece8df;
  --muted:     #a7a196;
  --muted-2:   #7c766c;
  --line:      rgba(236,232,223,.10);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --script: "Allura", "Cormorant Garamond", cursive;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-weight:300;
  font-size:16px;
  line-height:1.7;
  letter-spacing:.2px;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
[hidden]{ display:none !important; }
::selection{ background:var(--gold); color:#0a0a0b; }

/* ---------- typography ---------- */
h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; line-height:1.08; margin:0; letter-spacing:.5px; }
h1{ font-size:clamp(2.7rem, 6vw, 4.6rem); }
h2{ font-size:clamp(2rem, 4.2vw, 3.2rem); }
h3{ font-size:clamp(1.4rem, 2.4vw, 1.9rem); }
p{ margin:0 0 1.1em; color:#d7d2c8; font-weight:300; }
.lead{ font-size:clamp(1.05rem,1.6vw,1.22rem); color:#cfcabf; }

.eyebrow{
  font-family:var(--sans);
  font-weight:400;
  font-size:.74rem;
  letter-spacing:.42em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-block;
  margin-bottom:1.2rem;
}
.eyebrow--muted{ color:var(--muted); }
.script{ font-family:var(--script); color:var(--gold-2); font-size:2.4rem; line-height:1; }

.gold-text{ color:var(--gold-2); }
.rule{ width:64px; height:1px; background:linear-gradient(90deg,var(--gold),transparent); margin:1.6rem 0; border:0; }
.rule--center{ margin-left:auto; margin-right:auto; background:linear-gradient(90deg,transparent,var(--gold),transparent); }

/* ---------- layout ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(64px, 9vw, 130px); position:relative; }
.section--tight{ padding-block:clamp(48px,6vw,80px); }
.bg-1{ background:var(--bg-1); }
.bg-2{ background:var(--bg-2); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.7em;
  font-family:var(--sans); font-weight:400; font-size:.78rem;
  letter-spacing:.22em; text-transform:uppercase; white-space:nowrap;
  padding:1.05em 1.9em; border-radius:2px; cursor:pointer;
  transition:all .35s var(--ease); border:1px solid transparent;
}
.btn .arrow{ transition:transform .35s var(--ease); }
.btn:hover .arrow{ transform:translateX(5px); }
.btn--gold{
  background:linear-gradient(135deg,var(--gold-2),var(--gold-3));
  color:#191307; box-shadow:0 8px 30px -12px rgba(201,162,90,.6);
}
.btn--gold:hover{ box-shadow:0 12px 38px -10px rgba(201,162,90,.75); transform:translateY(-2px); }
.btn--ghost{ border-color:var(--gold-line); color:var(--gold-2); background:transparent; }
.btn--ghost:hover{ border-color:var(--gold); background:var(--gold-soft); }

/* ---------- header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  padding:18px 0;
  transition:background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(9,9,10,.86);
  backdrop-filter:blur(12px);
  padding:11px 0;
  border-bottom-color:var(--gold-line);
}
.nav{ display:flex; align-items:center; gap:2rem; }
.brand{ display:flex; align-items:center; gap:.75rem; margin-right:auto; }
.brand img{ width:44px; height:44px; border-radius:50%; }
.brand .wm{ display:flex; flex-direction:column; line-height:1; }
.brand .wm b{ font-family:var(--serif); font-weight:500; font-size:1.28rem; letter-spacing:.22em; color:var(--text); }
.brand .wm span{ font-family:var(--sans); font-weight:400; font-size:.58rem; letter-spacing:.46em; color:var(--gold); margin-top:5px; padding-left:2px; }

.nav-links{ display:flex; align-items:center; gap:1.9rem; list-style:none; margin:0; padding:0; }
.nav-links a{
  font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; color:#cbc6bc;
  font-weight:400; position:relative; padding:6px 0; transition:color .3s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold); transition:width .35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--gold-2); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width:100%; }

.nav-cta{ margin-left:.5rem; }
/* the header CTA is an <a> inside .nav-links, so restore the button padding
   that `.nav-links a` (higher specificity) would otherwise zero out */
.nav-links a.btn{ padding:.85em 1.6em; }
.nav-links a.btn::after{ display:none; content:none; }
.burger{
  display:none; background:none; border:0; cursor:pointer; padding:8px;
  flex-direction:column; gap:5px; margin-left:auto;
}
.burger span{ width:26px; height:2px; background:var(--gold-2); transition:.3s; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{ position:relative; padding-top:clamp(140px,18vh,220px); padding-bottom:clamp(70px,10vw,120px); overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(120% 90% at 82% 15%, rgba(201,162,90,.10), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(201,162,90,.05), transparent 60%),
    var(--bg);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(30px,5vw,70px); align-items:center; }
.hero h1{ margin-bottom:.4rem; }
.hero .roles{ font-family:var(--sans); font-weight:400; font-size:.82rem; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); margin-bottom:1.6rem; }
.hero .roles b{ color:var(--gold-2); font-weight:400; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:2rem; }

.portrait{ position:relative; }
.portrait img{ width:100%; height:auto; border-radius:4px; filter:contrast(1.02) saturate(1.02); box-shadow:0 40px 80px -30px rgba(0,0,0,.8); }
.portrait::after{
  content:""; position:absolute; inset:auto -18px -18px auto; width:64%; height:64%;
  border-right:1px solid var(--gold-line); border-bottom:1px solid var(--gold-line);
  z-index:-1;
}
.portrait .badge{
  position:absolute; left:-26px; bottom:34px; background:rgba(12,12,13,.85);
  backdrop-filter:blur(6px); border:1px solid var(--gold-line); border-radius:4px;
  padding:16px 22px; max-width:220px;
}
.portrait .badge .n{ font-family:var(--serif); font-size:2.1rem; color:var(--gold-2); line-height:1; }
.portrait .badge .t{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }

.hero--page{ padding-top:clamp(150px,20vh,230px); padding-bottom:clamp(50px,7vw,90px); text-align:center; }
.hero--page .wrap{ max-width:860px; }
.hero--page h1{ margin-bottom:1rem; text-wrap:balance; font-size:clamp(2.3rem, 5vw, 3.7rem); }
.hero h1{ text-wrap:balance; }

/* ---------- hero with background image (home) ----------
   Mobile-first: the photo is a band on TOP and the copy sits BELOW it on a
   solid panel, so text never lands on the subject's face. From 1000px up the
   stage switches to an overlay inside the 1200px grid: the photo covers the
   whole stage, the copy is overlaid on the marble at the left. */
.hero--home{
  position:relative; overflow:visible;
  padding-top:clamp(84px,12vh,120px);
  padding-bottom:clamp(28px,6vw,48px);
  padding-inline:var(--gutter);
}
.hero--home::before{ display:none; } /* disable the radial glow used by base .hero */
.hero-stage{
  position:relative;
  max-width:var(--maxw);
  margin-inline:auto;
  display:flex; flex-direction:column;
  border-radius:8px; overflow:hidden;
  background:var(--bg-1);
  isolation:isolate;
}
.hero-media{
  position:relative; width:100%;
  aspect-ratio:1 / 1;
  background-image:url("assets/hero.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:66% 22%;
}
.hero-scrim{ display:none; }
.hero-inner{
  position:relative; z-index:2;
  padding:clamp(26px,7vw,40px);
  max-width:none;
}
.hero--home .lead{ color:#e6e0d4; }

@media (min-width: 620px){
  .hero-media{ aspect-ratio:16 / 10; background-position:64% 24%; }
}

@media (min-width: 1000px){
  .hero-stage{
    flex-direction:row; align-items:center;
    min-height:clamp(500px, 62vh, 640px);
    background:transparent;
  }
  .hero-media{
    position:absolute; inset:0; z-index:0;
    aspect-ratio:auto;
    background-position:center;
  }
  .hero-scrim{
    display:block;
    position:absolute; inset:0; z-index:1;
    background:linear-gradient(90deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.86) 30%, rgba(8,8,9,.55) 46%, rgba(8,8,9,.16) 60%, rgba(8,8,9,0) 78%);
  }
  .hero-inner{ max-width:500px; padding:clamp(40px,4.5vw,60px); }
}

/* ---------- quote / motto ---------- */
.motto{ position:relative; text-align:center; padding-block:clamp(56px,6vw,84px); overflow:hidden; }
.motto .mark-ghost{
  position:absolute; inset:0; margin:auto; width:min(300px,42vw); height:auto; opacity:.06;
  pointer-events:none; z-index:0;
}
.motto blockquote{
  position:relative; z-index:1; margin:0 auto; max-width:900px;
  font-family:var(--serif); font-style:italic; font-weight:400;
  font-size:clamp(1.7rem,3.6vw,2.9rem); line-height:1.3; color:#f0ebe1;
}
.motto blockquote .q{ color:var(--gold); font-style:normal; }
.motto .sign{ margin-top:1.6rem; }
.motto .sign .script{ display:block; }
.motto .sign small{ font-size:.72rem; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); }

/* ---------- generic content blocks ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,70px); align-items:center; }
.split--wide-left{ grid-template-columns:1.1fr .9fr; }
.stack > * + *{ margin-top:1.1rem; }

/* feature cards */
.cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:2px; background:var(--gold-line); border:1px solid var(--gold-line); }
.card{ background:var(--bg-1); padding:clamp(26px,3vw,40px); transition:background .4s var(--ease); }
.card:hover{ background:var(--bg-3); }
.card .ico{ width:40px; height:40px; color:var(--gold); margin-bottom:1.3rem; }
.card h3{ margin-bottom:.6rem; }
.card p{ font-size:.95rem; color:var(--muted); margin-bottom:1.2rem; }
.card .more{ font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-2); display:inline-flex; gap:.5em; align-items:center; }
.card .more .arrow{ transition:transform .3s var(--ease); }
.card:hover .more .arrow{ transform:translateX(4px); }

/* pillar (two big service blocks) */
.pillar{ position:relative; border:1px solid var(--gold-line); background:linear-gradient(180deg,var(--bg-2),var(--bg-1)); padding:clamp(30px,4vw,52px); border-radius:4px; height:100%; }
.pillar .num{ font-family:var(--serif); font-size:1rem; color:var(--gold); letter-spacing:.2em; }
.pillar h3{ margin:.6rem 0 1rem; font-size:clamp(1.6rem,2.6vw,2.1rem); }
.pillar ul{ list-style:none; margin:1.4rem 0 0; padding:0; }
.pillar li{ position:relative; padding:.55rem 0 .55rem 1.6rem; border-top:1px solid var(--line); font-size:.98rem; color:#d3cec4; }
.pillar li:first-child{ border-top:0; }
.pillar li::before{ content:""; position:absolute; left:0; top:1.15rem; width:8px; height:8px; border:1px solid var(--gold); transform:rotate(45deg); }

/* stat / credential row */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:clamp(20px,3vw,40px); }
.stat{ }
.stat .ico{ width:36px; height:36px; color:var(--gold); margin-bottom:.9rem; }
.stat .n{ font-family:var(--serif); font-size:clamp(1.5rem,2.4vw,2rem); color:var(--gold-2); line-height:1.1; }
.stat .l{ font-size:.9rem; color:var(--muted); }

/* numbered process steps */
.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:clamp(20px,3vw,36px); counter-reset:s; }
.step{ position:relative; padding-top:1.4rem; }
.step::before{ counter-increment:s; content:"0" counter(s); font-family:var(--serif); font-size:2.6rem; color:var(--gold); opacity:.45; position:absolute; top:-1.4rem; left:0; }
.step h4{ font-size:1.15rem; margin:.4rem 0 .5rem; }
.step p{ font-size:.92rem; color:var(--muted); margin:0; }

/* media / AI-image placeholder */
.media{ position:relative; border-radius:4px; overflow:hidden; }
.media img{ width:100%; height:100%; object-fit:cover; }
.img-slot{
  position:relative; aspect-ratio:4/3; border:1px dashed var(--gold-line); border-radius:4px;
  background:
    radial-gradient(90% 80% at 50% 30%, rgba(201,162,90,.08), transparent 60%),
    repeating-linear-gradient(45deg, rgba(201,162,90,.04) 0 12px, transparent 12px 24px),
    var(--bg-2);
  display:grid; place-items:center; text-align:center; padding:24px; color:var(--muted-2);
}
.img-slot .mk{ width:74px; opacity:.5; margin:0 auto 14px; }
.img-slot small{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); display:block; }
.img-slot em{ font-style:normal; color:var(--muted-2); font-size:.78rem; }

/* mountain band (SVG-based) */
.band{ position:relative; padding-block:clamp(60px,8vw,110px); text-align:center; overflow:hidden; background:#060607; }
.band svg{ position:absolute; inset:auto 0 0 0; width:100%; height:100%; z-index:0; opacity:.9; }
.band .band-inner{ position:relative; z-index:1; }
.band .tagline{ font-family:var(--sans); font-weight:400; letter-spacing:.4em; text-transform:uppercase; font-size:clamp(.85rem,1.6vw,1.15rem); color:var(--gold-2); }

/* teaser (links to other pages) */
.teasers{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:clamp(18px,2.5vw,30px); }
.teaser{ border:1px solid var(--gold-line); border-radius:4px; padding:clamp(26px,3vw,38px); background:var(--bg-1); transition:transform .4s var(--ease), background .4s var(--ease); display:block; }
.teaser:hover{ transform:translateY(-4px); background:var(--bg-3); }
.teaser .ico{ width:38px; height:38px; color:var(--gold); margin-bottom:1.1rem; }
.teaser h3{ font-size:1.35rem; margin-bottom:.5rem; }
.teaser p{ font-size:.92rem; color:var(--muted); margin-bottom:1.1rem; }
.teaser .more{ font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-2); }

/* contact / CTA */
.cta{ text-align:center; }
.cta h2{ margin-bottom:1rem; }
.contact-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(30px,5vw,64px); align-items:start; }
.contact-list{ list-style:none; padding:0; margin:1.5rem 0 0; }
.contact-list li{ display:flex; align-items:center; gap:1rem; padding:.9rem 0; border-top:1px solid var(--line); }
.contact-list li:first-child{ border-top:0; }
.contact-list .ico{ width:22px; height:22px; color:var(--gold); flex:none; }
.contact-list b{ font-weight:400; color:var(--text); }
.contact-list span{ color:var(--muted); font-size:.9rem; }

/* simple form (non-functional placeholder) */
.form{ border:1px solid var(--gold-line); border-radius:4px; padding:clamp(24px,3vw,40px); background:var(--bg-1); }
.form label{ display:block; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin:0 0 .4rem; }
.form input, .form textarea{
  width:100%; background:var(--bg-3); border:1px solid var(--line); color:var(--text);
  padding:.85rem 1rem; border-radius:3px; font-family:var(--sans); font-size:.95rem; margin-bottom:1.1rem;
  transition:border-color .3s;
}
.form input:focus, .form textarea:focus{ outline:none; border-color:var(--gold); }
.form textarea{ min-height:120px; resize:vertical; }
.form .note{ font-size:.76rem; color:var(--muted-2); margin-top:.3rem; }

/* ---------- footer ---------- */
.site-footer{ background:#060607; border-top:1px solid var(--gold-line); padding-block:clamp(48px,6vw,74px) 30px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:clamp(28px,4vw,56px); }
.footer-brand{ display:flex; align-items:center; gap:.8rem; margin-bottom:1.2rem; }
.footer-brand img{ width:52px; height:52px; border-radius:50%; }
.footer-brand .wm b{ font-family:var(--serif); font-size:1.3rem; letter-spacing:.2em; display:block; }
.footer-brand .wm span{ font-size:.58rem; letter-spacing:.44em; color:var(--gold); }
.footer h4{ font-family:var(--sans); font-weight:400; font-size:.74rem; letter-spacing:.24em; text-transform:uppercase; color:var(--gold); margin-bottom:1.1rem; }
.footer nav a, .footer .fcontact li{ display:block; color:var(--muted); font-size:.92rem; padding:.35rem 0; transition:color .3s; }
.footer nav a:hover{ color:var(--gold-2); }
.footer .fcontact{ list-style:none; padding:0; margin:0; }
.socials{ display:flex; gap:12px; margin-top:1.2rem; }
.socials a{ width:38px; height:38px; border:1px solid var(--gold-line); border-radius:50%; display:grid; place-items:center; color:var(--gold-2); transition:all .3s; }
.socials a:hover{ background:var(--gold-soft); border-color:var(--gold); }
.socials svg{ width:17px; height:17px; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:clamp(36px,5vw,60px); padding-top:24px; border-top:1px solid var(--line); font-size:.78rem; color:var(--muted-2); letter-spacing:.06em; }
.footer-bottom .tagl{ letter-spacing:.24em; text-transform:uppercase; color:var(--muted); }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- responsive ---------- */
@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
  .portrait{ order:-1; max-width:440px; margin:0 auto; }
  .portrait .badge{ left:0; }
  .split, .split--wide-left, .contact-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 1120px){
  .burger{ display:flex; }
  .nav-links{ display:none; }              /* header inline nav hidden; mobile uses the body-level overlay */
  .pillars-grid{ grid-template-columns:1fr !important; }
}

/* ---- body-level mobile menu overlay (built by app.js) ----
   Lives directly under <body>, so it is anchored to the viewport regardless
   of the header's stacking context or backdrop-filter. */
.mobile-menu{ position:fixed; inset:0; z-index:1000; visibility:hidden; pointer-events:none; }
.mobile-menu.open{ visibility:visible; pointer-events:auto; }
.mobile-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); opacity:0; transition:opacity .35s var(--ease); }
.mobile-menu.open .mobile-backdrop{ opacity:1; }
.mobile-panel{
  position:absolute; top:0; right:0; height:100dvh; width:min(86vw,340px);
  background:rgba(9,9,10,.99);
  border-left:1px solid var(--gold-line);
  display:flex; flex-direction:column; justify-content:center; gap:1.4rem;
  padding:5.5rem 2.2rem 2.5rem;
  transform:translateX(100%); transition:transform .4s var(--ease);
  overflow-y:auto; overscroll-behavior:contain;
}
.mobile-menu.open .mobile-panel{ transform:none; }
.mobile-panel a{ font-family:var(--sans); font-weight:400; font-size:1.05rem; letter-spacing:.14em; text-transform:uppercase; color:#cbc6bc; transition:color .3s; }
.mobile-panel a:hover, .mobile-panel a[aria-current="page"]{ color:var(--gold-2); }
.mobile-panel a.cta{
  margin-top:.7rem; align-self:flex-start;
  display:inline-flex; align-items:center; gap:.6em;
  background:linear-gradient(135deg,var(--gold-2),var(--gold-3)); color:#191307;
  padding:.95em 1.7em; border-radius:2px; font-size:.78rem; letter-spacing:.2em;
}
.mobile-close{
  position:absolute; top:16px; right:18px;
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; padding:0; border:1px solid var(--gold-line);
  border-radius:50%; background:rgba(20,20,22,.6); color:var(--gold-2);
  font-size:1.6rem; line-height:1; cursor:pointer; transition:border-color .3s, background .3s;
}
.mobile-close:hover{ border-color:var(--gold); background:var(--gold-soft); }
body.menu-open{ overflow:hidden; }
@media (min-width: 1121px){ .mobile-menu{ display:none; } }
@media (max-width: 520px){
  .footer-top{ grid-template-columns:1fr; }
  .footer-bottom{ justify-content:flex-start; }
}
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
}
.two{ display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--gold-line); border:1px solid var(--gold-line); border-radius:4px; overflow:hidden; }
.pillars-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(18px,2.5vw,28px); }

/* =========================================================
   Cosmetic polish
   ========================================================= */

/* focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold); outline-offset:3px; border-radius:2px;
}

/* thin gold scroll-progress bar (element added by app.js) */
.scroll-progress{
  position:fixed; top:0; left:0; height:2px; width:0; z-index:200;
  background:linear-gradient(90deg,var(--gold-3),var(--gold-2));
  box-shadow:0 0 10px rgba(201,162,90,.5); pointer-events:none;
  transition:width .12s linear;
}

/* metallic sheen on the hero name */
.hero--home h1{
  background:linear-gradient(176deg,#fdfaf3 0%,#efe4cb 52%,var(--gold-2) 118%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* brand mark glow on hover */
.brand img{ transition:filter .4s var(--ease), transform .4s var(--ease); }
.brand:hover img{ filter:drop-shadow(0 0 9px rgba(201,162,90,.55)); transform:rotate(-4deg); }

/* buttons: light sweep on hover */
.btn{ position:relative; overflow:hidden; }
.btn > *{ position:relative; z-index:1; }
.btn::after{
  content:""; position:absolute; top:0; left:-130%; width:55%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform:skewX(-18deg); transition:left .6s var(--ease); pointer-events:none; z-index:0;
}
.btn--gold:hover::after{ left:150%; }
.btn--ghost::after{ background:linear-gradient(100deg, transparent, rgba(201,162,90,.22), transparent); }
.btn--ghost:hover::after{ left:150%; }

/* service cards: growing gold top accent + icon lift */
.card{ position:relative; }
.card::before{
  content:""; position:absolute; left:0; top:0; height:2px; width:0;
  background:linear-gradient(90deg,var(--gold-2),transparent);
  transition:width .5s var(--ease);
}
.card:hover::before{ width:100%; }
.card .ico{ transition:transform .45s var(--ease); }
.card:hover .ico{ transform:translateY(-4px); }

/* teasers: side accent bar + icon lift */
.teaser{ position:relative; overflow:hidden; }
.teaser::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg,var(--gold-2),transparent);
  transform:scaleY(0); transform-origin:top; transition:transform .5s var(--ease);
}
.teaser:hover::before{ transform:scaleY(1); }
.teaser .ico{ transition:transform .45s var(--ease); }
.teaser:hover .ico{ transform:translateY(-4px) scale(1.05); }

/* pillars: lift + gold glow */
.pillar{ transition:transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.pillar:hover{ transform:translateY(-5px); border-color:var(--gold); box-shadow:0 26px 60px -32px rgba(201,162,90,.4); }

/* section imagery: gentle zoom + framing */
.media{ overflow:hidden; }
.media img{ transition:transform .9s var(--ease), filter .9s var(--ease); }
.media:hover img{ transform:scale(1.045); filter:saturate(1.06); }

/* stat blocks: subtle icon nudge */
.stat .ico{ transition:transform .45s var(--ease); }
.stat:hover .ico{ transform:translateY(-3px); }

/* contact rows: gold nudge */
.contact-list li{ transition:padding-left .35s var(--ease); }
.contact-list li:hover{ padding-left:.4rem; }

/* footer links slide */
.footer nav a{ transition:color .3s, padding-left .3s var(--ease); }
.footer nav a:hover{ padding-left:.35rem; }

@media (prefers-reduced-motion: reduce){
  .scroll-progress{ display:none; }
  .btn::after{ display:none; }
  .media img, .brand:hover img{ transition:none; transform:none; }
}
