/* =========================================================================
   ARMAAN BUSINESS PTY LTD — Wall & Floor Tiling
   Premium site stylesheet
   Palette: charcoal / white / warm beige / subtle gold
   ========================================================================= */

:root{
  --charcoal-900:#15141a;
  --charcoal-800:#1e1d24;
  --charcoal-700:#2a2932;
  --charcoal-600:#3c3b45;
  --charcoal-500:#54525d;
  --ink-muted:#6b6975;
  --white:#ffffff;
  --off-white:#faf8f5;
  --beige:#f2ebe0;
  --beige-deep:#e7dbc7;
  --beige-line:#ddd0b8;
  --gold:#b3893f;
  --gold-light:#d9b877;
  --gold-soft:#efe1bf;
  --success:#3f7a52;
  --error:#a8422f;

  --font-display:"Playfair Display", "Georgia", serif;
  --font-body:"Work Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-sm:4px;
  --radius-md:10px;
  --radius-lg:18px;

  --shadow-sm:0 2px 10px rgba(21,20,26,0.06);
  --shadow-md:0 12px 32px rgba(21,20,26,0.10);
  --shadow-lg:0 24px 60px rgba(21,20,26,0.16);

  --container:1220px;
  --nav-height:84px;

  color-scheme: light;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--charcoal-800);
  background:var(--white);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

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

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

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--charcoal-900);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
  letter-spacing:.2px;
}
h1{ font-size:clamp(2.4rem,4.4vw,3.6rem); font-weight:700; }
h2{ font-size:clamp(1.9rem,3vw,2.6rem); }
h3{ font-size:clamp(1.25rem,2vw,1.5rem); }
h4{ font-size:1.1rem; }

p{ margin:0 0 1em; color:var(--charcoal-600); }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ padding:96px 0; }
@media (max-width:768px){ section{ padding:64px 0; } }

.section-alt{ background:var(--beige); }
.section-dark{ background:var(--charcoal-900); color:var(--off-white); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4{ color:var(--white); }
.section-dark p{ color:rgba(255,255,255,0.72); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family:var(--font-body);
  text-transform:uppercase;
  letter-spacing:2.5px;
  font-size:.75rem;
  font-weight:600;
  color:var(--gold);
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:28px; height:1px; background:var(--gold); display:inline-block; }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* -------------------- Buttons -------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6em;
  padding:16px 34px;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.3px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:focus-visible{ outline:3px solid var(--gold-light); outline-offset:2px; }
.btn-primary{ background:var(--gold); color:var(--white); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--charcoal-900); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-secondary{ background:transparent; color:var(--white); border-color:rgba(255,255,255,0.5); }
.btn-secondary:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--charcoal-900); border-color:var(--charcoal-600); }
.btn-outline:hover{ background:var(--charcoal-900); color:var(--white); border-color:var(--charcoal-900); }
.btn-dark{ background:var(--charcoal-900); color:var(--white); }
.btn-dark:hover{ background:var(--gold); transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 22px; font-size:.85rem; }

/* -------------------- Header / Nav -------------------- */
.site-header{
  position:sticky; top:0; z-index:500;
  border-bottom:1px solid rgba(21,20,26,0.06);
  transition:box-shadow .3s ease;
}
/* The frosted-glass background lives on a pseudo-element rather than on
   .site-header itself. backdrop-filter (like transform/filter) makes the
   element it's set on a new containing block for fixed-position
   descendants — since the mobile full-screen nav panel is fixed-position
   and nested inside the header, putting the filter directly on the header
   would size that panel against the 84px-tall header instead of the full
   viewport. Keeping it on ::before avoids that entirely. */
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(250,248,245,0.9);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  transition:background-color .3s ease;
}
.site-header.is-scrolled{ box-shadow:var(--shadow-sm); }
.site-header.is-scrolled::before{ background:rgba(250,248,245,0.98); }
.nav-row{
  height:var(--nav-height);
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; flex-direction:column; line-height:1.1; }
.brand .brand-name{ font-family:var(--font-display); font-weight:700; font-size:1.28rem; color:var(--charcoal-900); letter-spacing:.3px; }
.brand .brand-tag{ font-size:.68rem; letter-spacing:1.6px; text-transform:uppercase; color:var(--gold); margin-top:2px; }

.main-nav{ display:flex; align-items:center; gap:8px; }
.main-nav a{
  display:inline-block; padding:10px 16px; font-size:.94rem; font-weight:500;
  color:var(--charcoal-700); border-radius:var(--radius-sm); position:relative;
  transition:color .2s ease;
}
.main-nav a:hover, .main-nav a.active{ color:var(--gold); }
.main-nav a.active::after{
  content:""; position:absolute; left:16px; right:16px; bottom:4px; height:2px; background:var(--gold);
}
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-phone{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:.92rem; color:var(--charcoal-800); padding:8px 4px;}
.nav-phone svg{ flex:none; }

.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:8px; margin:-8px;
  flex-direction:column; gap:5px; align-items:flex-end;
}
.nav-toggle span{ display:block; width:26px; height:2px; background:var(--charcoal-900); transition:transform .25s ease, opacity .25s ease, width .25s ease; }
.nav-toggle span:nth-child(2){ width:18px; }

@media (max-width:980px){
  .main-nav{
    position:fixed; inset:var(--nav-height) 0 0 0; background:var(--white);
    flex-direction:column; align-items:stretch; padding:18px; gap:2px;
    transform:translateY(-12px); opacity:0; pointer-events:none; visibility:hidden;
    transition:opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    overflow-y:auto;
  }
  .main-nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; visibility:visible; transition:opacity .25s ease, transform .25s ease; }
  .main-nav a{ padding:16px 8px; font-size:1.05rem; border-bottom:1px solid var(--beige-line); border-radius:0; }
  .nav-phone{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn{ padding:12px 20px; }
}
body.nav-open{ overflow:hidden; }
.nav-open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); width:26px; }

/* -------------------- Hero -------------------- */
.hero{
  position:relative; overflow:hidden; background:var(--charcoal-900); color:var(--white);
  padding:0; min-height:88vh; display:flex; align-items:center;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media svg{ width:100%; height:100%; }
.hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(21,20,26,0.94) 8%, rgba(21,20,26,0.72) 46%, rgba(21,20,26,0.42) 100%);
}
.hero-inner{ position:relative; z-index:2; padding:150px 0 110px; }
.hero-inner .eyebrow{ color:var(--gold-light); }
.hero-inner .eyebrow::before{ background:var(--gold-light); }
.hero h1{ color:var(--white); max-width:820px; }
.hero-lead{ max-width:600px; font-size:1.15rem; color:rgba(255,255,255,0.82); margin-bottom:36px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:56px; }
.hero-stats{ display:flex; flex-wrap:wrap; gap:36px; border-top:1px solid rgba(255,255,255,0.16); padding-top:28px; max-width:760px; }
.hero-stats div strong{ display:block; font-family:var(--font-display); font-size:1.5rem; color:var(--gold-light); }
.hero-stats div span{ font-size:.85rem; color:rgba(255,255,255,0.68); }

.page-hero{
  position:relative; background:var(--charcoal-900); color:var(--white); padding:150px 0 84px; overflow:hidden;
}
.page-hero .hero-media{ opacity:.55; }
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:var(--white); max-width:760px; }
.page-hero p{ max-width:620px; color:rgba(255,255,255,0.78); font-size:1.08rem; }
.breadcrumb{ font-size:.85rem; color:rgba(255,255,255,0.6); margin-bottom:18px; }
.breadcrumb a{ color:rgba(255,255,255,0.85); }
.breadcrumb a:hover{ color:var(--gold-light); }

/* -------------------- Tile pattern SVG helpers -------------------- */
.tile-pattern{ position:absolute; inset:0; }
.pattern-card{
  position:relative; overflow:hidden; border-radius:var(--radius-md);
  background:linear-gradient(145deg,var(--beige-deep),var(--beige));
  aspect-ratio:4/3;
}
.pattern-card .cap{
  position:absolute; left:14px; bottom:14px; right:14px; z-index:2;
  color:var(--white); font-size:.78rem; letter-spacing:.4px; font-weight:600;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}
.pattern-card::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(21,20,26,.55), rgba(21,20,26,0) 55%); z-index:1; }

/* -------------------- Cards & grids -------------------- */
.grid{ display:grid; gap:32px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:980px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--beige-line); border-radius:var(--radius-md);
  padding:34px 28px; box-shadow:var(--shadow-sm); transition:transform .3s ease, box-shadow .3s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.card .icon{
  width:52px; height:52px; border-radius:50%; background:var(--beige);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--gold);
}
.card h3{ margin-bottom:10px; }
.card ul{ margin:14px 0 0; padding-left:1.1em; color:var(--charcoal-600); }
.card ul li{ margin-bottom:6px; }

.service-card{ display:flex; flex-direction:column; height:100%; }
.service-card .card-actions{ margin-top:auto; padding-top:18px; }

/* Number steps */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; counter-reset:step; }
@media (max-width:768px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding:0 0 0 0; }
.step .step-num{
  font-family:var(--font-display); font-size:3rem; color:var(--gold); opacity:.55; line-height:1; margin-bottom:14px;
}

/* Testimonials */
.testimonial{
  background:var(--white); border-radius:var(--radius-md); padding:34px; border:1px solid var(--beige-line);
  box-shadow:var(--shadow-sm); height:100%; display:flex; flex-direction:column;
}
.testimonial .stars{ color:var(--gold); letter-spacing:2px; margin-bottom:14px; font-size:1rem; }
.testimonial blockquote{ margin:0 0 18px; font-style:italic; color:var(--charcoal-700); flex:1; }
.testimonial cite{ font-style:normal; font-weight:600; color:var(--charcoal-900); display:block; }
.testimonial .role{ font-size:.85rem; color:var(--ink-muted); }
.placeholder-note{
  font-size:.82rem; color:var(--ink-muted); background:var(--beige); border:1px dashed var(--beige-line);
  padding:12px 16px; border-radius:var(--radius-sm); margin-bottom:28px;
}

/* Why choose us */
.value-row{ display:flex; gap:20px; padding:22px 0; border-bottom:1px solid var(--beige-line); }
.value-row:last-child{ border-bottom:none; }
.value-row .num{ font-family:var(--font-display); color:var(--gold); font-size:1.4rem; flex:none; width:44px; }

/* -------------------- Forms -------------------- */
.form-panel{
  background:var(--white); border:1px solid var(--beige-line); border-radius:var(--radius-lg);
  padding:40px; box-shadow:var(--shadow-md);
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:.86rem; font-weight:600; color:var(--charcoal-800); }
.field .hint{ font-size:.78rem; color:var(--ink-muted); margin-top:-4px; }
.field input[type=text],
.field input[type=tel],
.field input[type=email],
.field input[type=date],
.field input[type=number],
.field input[type=file],
.field select,
.field textarea{
  font-family:var(--font-body); font-size:.96rem; padding:13px 16px; border-radius:var(--radius-sm);
  border:1px solid var(--beige-line); background:var(--off-white); color:var(--charcoal-800);
  transition:border-color .2s ease, box-shadow .2s ease;
  width:100%;
}
.field textarea{ resize:vertical; min-height:120px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px var(--gold-soft); background:var(--white);
}
.radio-group,.checkbox-group{ display:flex; flex-wrap:wrap; gap:10px 22px; }
.radio-option,.checkbox-option{ display:flex; align-items:center; gap:8px; font-size:.92rem; color:var(--charcoal-700); }
.consent-row{ display:flex; align-items:flex-start; gap:10px; font-size:.86rem; color:var(--charcoal-600); }
.consent-row input{ margin-top:4px; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-msg{ display:none; margin-top:18px; padding:16px 18px; border-radius:var(--radius-sm); font-size:.92rem; }
.form-msg.success{ background:#e9f3ec; color:var(--success); border:1px solid #c3ddc9; }
.form-msg.error{ background:#f7e9e6; color:var(--error); border:1px solid #eac6bd; }
.form-msg.show{ display:block; }
.form-note{ font-size:.82rem; color:var(--ink-muted); margin-top:14px; }

/* -------------------- Filter bar -------------------- */
.filter-bar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:44px; }
.filter-btn{
  padding:10px 20px; border-radius:999px; border:1px solid var(--beige-line); background:var(--white);
  font-size:.88rem; font-weight:600; color:var(--charcoal-700); cursor:pointer; transition:all .2s ease;
}
.filter-btn:hover{ border-color:var(--gold); color:var(--gold); }
.filter-btn.active{ background:var(--charcoal-900); border-color:var(--charcoal-900); color:var(--white); }
.project-card{ display:none; }
.project-card.is-visible{ display:flex; }
.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media (max-width:980px){ .project-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .project-grid{ grid-template-columns:1fr; } }
.project-card{ flex-direction:column; background:var(--white); border:1px solid var(--beige-line); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .3s ease, box-shadow .3s ease; }
.project-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.project-card .pattern-card{ border-radius:0; aspect-ratio:5/4; }
.project-card .body{ padding:22px 24px 26px; }
.project-card .tag{ display:inline-block; font-size:.72rem; text-transform:uppercase; letter-spacing:1px; color:var(--gold); font-weight:700; margin-bottom:8px; }
.project-card .meta{ font-size:.82rem; color:var(--ink-muted); margin-bottom:10px; display:flex; flex-wrap:wrap; gap:6px 14px; }
.project-card h3{ font-size:1.15rem; margin-bottom:8px; }

/* -------------------- FAQ -------------------- */
.faq-item{ border-bottom:1px solid var(--beige-line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:22px 0;
  display:flex; align-items:center; justify-content:space-between; gap:20px; font-family:var(--font-display);
  font-size:1.08rem; color:var(--charcoal-900); font-weight:600;
}
.faq-q .plus{ flex:none; width:22px; height:22px; position:relative; }
.faq-q .plus::before,.faq-q .plus::after{ content:""; position:absolute; background:var(--gold); transition:transform .25s ease; }
.faq-q .plus::before{ left:0; top:10px; width:22px; height:2px; }
.faq-q .plus::after{ left:10px; top:0; width:2px; height:22px; }
.faq-item.open .faq-q .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p{ padding-bottom:22px; margin:0; }
.faq-item.open .faq-a{ max-height:400px; }

/* -------------------- CTA band -------------------- */
.cta-band{
  background:linear-gradient(120deg, var(--charcoal-900), var(--charcoal-700));
  color:var(--white); border-radius:var(--radius-lg); padding:64px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle, rgba(179,137,63,0.35), transparent 70%);
}
.cta-band h2{ color:var(--white); margin-bottom:8px; }
.cta-band p{ color:rgba(255,255,255,0.75); margin:0; max-width:460px; }
.cta-actions{ display:flex; gap:16px; flex-wrap:wrap; position:relative; z-index:2; }

/* -------------------- Service areas -------------------- */
.suburb-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.suburb-grid.cols-4{ grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:900px){ .suburb-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .suburb-grid{ grid-template-columns:repeat(2,1fr); } }
.suburb-card{
  background:var(--white); border:1px solid var(--beige-line); border-radius:var(--radius-md);
  padding:22px 24px; text-align:center; font-weight:600; color:var(--charcoal-800);
  transition:all .2s ease;
}
.suburb-card:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-3px); }

/* -------------------- Footer -------------------- */
.site-footer{ background:var(--charcoal-900); color:rgba(255,255,255,0.75); padding:72px 0 0; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.12); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:var(--white); font-size:.95rem; text-transform:uppercase; letter-spacing:1px; margin-bottom:18px; }
.site-footer .brand-name{ color:var(--white); font-family:var(--font-display); font-size:1.4rem; font-weight:700; }
.site-footer .brand-tag{ color:var(--gold-light); font-size:.8rem; letter-spacing:1px; text-transform:uppercase; margin:6px 0 18px; }
.footer-links a{ display:block; padding:6px 0; font-size:.92rem; color:rgba(255,255,255,0.72); transition:color .2s ease; }
.footer-links a:hover{ color:var(--gold-light); }
.footer-meta p{ font-size:.9rem; color:rgba(255,255,255,0.68); margin-bottom:8px; }
.social-row{ display:flex; gap:12px; margin-top:18px; }
.social-row a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.25);
  display:flex; align-items:center; justify-content:center; color:var(--white); transition:all .2s ease;
}
.social-row a:hover{ background:var(--gold); border-color:var(--gold); }
.footer-bottom{ padding:24px 0 30px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.82rem; color:rgba(255,255,255,0.5); }
.footer-bottom a{ color:rgba(255,255,255,0.6); }
.footer-bottom a:hover{ color:var(--gold-light); }

/* -------------------- Floating CTA & mobile call bar -------------------- */
.floating-quote{
  position:fixed; right:26px; bottom:26px; z-index:600;
  box-shadow:var(--shadow-lg);
}
.mobile-actionbar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:600;
  background:var(--charcoal-900); padding:10px 14px; gap:10px;
  box-shadow:0 -6px 20px rgba(0,0,0,.2);
}
@media (max-width:768px){
  .floating-quote{ display:none; }
  .mobile-actionbar{ display:flex; }
  body{ padding-bottom:66px; }
}
.mobile-actionbar a{
  flex:1; text-align:center; padding:13px 10px; border-radius:var(--radius-sm); font-weight:600; font-size:.9rem;
}
.mobile-actionbar a.call{ background:var(--white); color:var(--charcoal-900); }
.mobile-actionbar a.quote{ background:var(--gold); color:var(--white); }

/* -------------------- Cookie notice -------------------- */
.cookie-notice{
  position:fixed; left:20px; right:20px; bottom:20px; z-index:700; max-width:560px; margin:0 auto;
  background:var(--white); border:1px solid var(--beige-line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:20px 22px; display:none; align-items:center; gap:16px; flex-wrap:wrap;
}
.cookie-notice.show{ display:flex; }
.cookie-notice p{ margin:0; font-size:.86rem; flex:1; min-width:220px; color:var(--charcoal-700); }

/* -------------------- Map placeholder -------------------- */
.map-placeholder{
  border-radius:var(--radius-md); border:1px dashed var(--beige-line); background:var(--beige);
  min-height:340px; display:flex; align-items:center; justify-content:center; text-align:center; padding:30px;
  color:var(--ink-muted); font-size:.92rem;
}

/* -------------------- Skip link / accessibility -------------------- */
.skip-link{
  position:absolute; left:-999px; top:auto; background:var(--charcoal-900); color:var(--white);
  padding:14px 20px; z-index:1000; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; top:0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:3px solid var(--gold-light); outline-offset:2px;
}

/* -------------------- Fade-in animation -------------------- */
/* Reveal-on-scroll only applies once JS confirms it can run the animation
   (see the early "js" class script in <head>) and confirms it added the
   observer — this way the content is fully visible by default for any
   visitor without JavaScript, rather than staying hidden. */
html.js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
html.js .reveal.in-view{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  html.js .reveal{ opacity:1 !important; transform:none !important; transition:none; }
  .btn, .card, .project-card{ transition:none; }
}

/* -------------------- Two column content -------------------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split.reverse .split-media{ order:2; }
@media (max-width:900px){ .split.reverse .split-media{ order:0; } }

.tag-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.tag-pill{ background:var(--beige); color:var(--charcoal-700); border-radius:999px; padding:7px 16px; font-size:.82rem; font-weight:600; }

.badge-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }
.badge{ display:flex; align-items:center; gap:10px; font-size:.88rem; color:var(--charcoal-700); font-weight:600; }
.badge .dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); flex:none; }

.divider{ height:1px; background:var(--beige-line); margin:64px 0; border:none; }

.small-print{ font-size:.82rem; color:var(--ink-muted); }

table.legal-table{ width:100%; border-collapse:collapse; margin:24px 0; }
table.legal-table th, table.legal-table td{ border:1px solid var(--beige-line); padding:12px 14px; text-align:left; font-size:.92rem; }
table.legal-table th{ background:var(--beige); }

.anchor-offset{ scroll-margin-top:calc(var(--nav-height) + 20px); }
