/* =========================================================
   Veeresh JD — Premium Personal Brand Website
   Shared stylesheet for all pages.
   EASY CUSTOMISING: change the colour tokens in :root below.
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-900: #071226;
  --navy-800: #0b1b3a;
  --navy-700: #12285a;
  --navy-600: #1c3a7a;
  --gold: #d4a24c;
  --gold-soft: #f3dfb4;
  --teal: #19b3a6;

  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --text: #121a2f;
  --text-soft: #56607a;
  --border: #e3e7f1;
  --heading: #0b1b3a;

  --shadow-sm: 0 2px 8px rgba(11, 27, 58, .06);
  --shadow-md: 0 12px 32px rgba(11, 27, 58, .10);
  --shadow-lg: 0 28px 60px rgba(11, 27, 58, .18);

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}

/* Dark mode: follows OS setting, can be overridden by the toggle */
:root[data-theme="dark"] {
  --bg: #060e1f;
  --surface: #0d1a33;
  --surface-2: #112143;
  --text: #e6ebf7;
  --text-soft: #9aa7c4;
  --border: #1d2f57;
  --heading: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
  --shadow-lg: 0 28px 60px rgba(0, 0, 0, .55);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; font-family: var(--font-body); color: var(--text);
  background: var(--bg); line-height: 1.7; font-size: 1.02rem;
  -webkit-font-smoothing: antialiased; transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-soft); }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--surface-2); }
.eyebrow {
  display: inline-block; font: 600 .78rem/1 var(--font-head); letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.gold { color: var(--gold); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-radius: 999px; font: 600 .96rem var(--font-head); border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: linear-gradient(135deg, #e6b95e, var(--gold)); color: #1a1303; box-shadow: 0 10px 24px rgba(212, 162, 76, .35); }
.btn-gold:hover { box-shadow: 0 16px 32px rgba(212, 162, 76, .5); }
.btn-wa { background: #25d366; color: #05220f; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn-wa:hover { box-shadow: 0 16px 32px rgba(37, 211, 102, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--border); color: var(--heading); background: var(--surface); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- 4. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled, .nav.solid {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px); box-shadow: var(--shadow-sm);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font: 700 1.35rem var(--font-head); color: #fff; display: flex; align-items: center; gap: 10px; }
.nav.scrolled .logo, .nav.solid .logo { color: var(--heading); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), #f3d28b); color: #1a1303; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 10px 16px; border-radius: 999px; font: 500 .94rem var(--font-head);
  color: rgba(255, 255, 255, .88); transition: background .25s, color .25s;
}
.nav.scrolled .nav-links a, .nav.solid .nav-links a { color: var(--text); }
.nav-links a:hover, .nav-links a.active { background: rgba(212, 162, 76, .18); color: var(--gold) !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: .25s;
}
.nav.scrolled .icon-btn, .nav.solid .icon-btn { color: var(--heading); border-color: var(--border); }
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: #1a1303; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.nav .btn { padding: 11px 22px; font-size: .88rem; }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav .btn-gold { display: none; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); padding: 18px 5% 28px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
  }
  .nav-links.open { transform: none; opacity: 1; }
  .nav-links a { color: var(--text) !important; display: block; padding: 14px 18px; font-size: 1.02rem; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff;
  padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(212, 162, 76, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(25, 179, 166, .20), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.hero::before { /* subtle grid texture */
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 60% 40%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .gold { background: linear-gradient(90deg, #f3d28b, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 32px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
  font: 500 .85rem var(--font-head); margin-bottom: 22px; backdrop-filter: blur(6px);
}
.badge-pill i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats strong { display: block; font: 700 2rem var(--font-head); color: var(--gold); }
.hero-stats span { font-size: .88rem; color: rgba(255, 255, 255, .7); }

.hero-visual { position: relative; height: 560px; }
.hero-img { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .12); background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.a { width: 58%; height: 70%; top: 0; right: 0; animation: float 7s ease-in-out infinite; }
.hero-img.b { width: 50%; height: 46%; bottom: 0; left: 0; animation: float 8s ease-in-out -2s infinite; }
.hero-img.c { width: 34%; height: 28%; bottom: 8%; right: 6%; animation: float 6s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.float-card {
  position: absolute; z-index: 3; left: 4%; top: 12%; background: var(--surface); color: var(--text);
  padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
  animation: float 6.5s ease-in-out -1s infinite;
}
.float-card b { font-family: var(--font-head); color: var(--heading); display: block; font-size: .95rem; }
.float-card small { color: var(--text-soft); }
.float-card .stars { color: var(--gold); letter-spacing: 2px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; }
  .hero { min-height: auto; }
}

/* ---------- 6. Page header (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 360px at 80% 0%, rgba(212, 162, 76, .22), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 640px; margin-inline: auto; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold); }

/* ---------- 7. Cards & services ---------- */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(212, 162, 76, .5); }

/* Service card: icon + summary, extra details slide open on hover/focus/tap */
.svc { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.svc-img { height: 190px; overflow: hidden; background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.1); }
.svc-body { padding: 26px 28px 30px; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold-soft), #fff); margin: -52px 0 14px; position: relative;
  box-shadow: var(--shadow-md);
}
:root[data-theme="dark"] .svc-ico { background: linear-gradient(135deg, #3a2f12, #6b5420); }
.svc-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.svc:hover .svc-more, .svc:focus-within .svc-more, .svc.open .svc-more { max-height: 220px; opacity: 1; }
.svc-more ul { margin: 6px 0 14px; padding-left: 18px; color: var(--text-soft); font-size: .93rem; }
.link-arrow { font: 600 .92rem var(--font-head); color: var(--gold); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(6px); }

/* Why-choose list */
.feature { display: flex; gap: 18px; }
.feature .ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; background: var(--surface-2); border: 1px solid var(--border); }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; font-size: .95rem; }

/* Process steps */
.steps { counter-reset: s; }
.step { position: relative; padding: 28px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font: 700 2.4rem var(--font-head); color: var(--gold); opacity: .55; display: block; margin-bottom: 8px;
}

/* ---------- 8. Detailed service blocks (services page) ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail:nth-of-type(even) .svc-detail-img { order: 2; }
.svc-detail-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.svc-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-detail-img:hover img { transform: scale(1.06); }
.checklist { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; color: var(--text-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(212, 162, 76, .2); color: var(--gold); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.price-tag { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font: 600 .9rem var(--font-head); color: var(--heading); margin-right: 10px; }
@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; gap: 32px; padding: 52px 0; }
  .svc-detail:nth-of-type(even) .svc-detail-img { order: 0; }
}

/* ---------- 9. Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 11px 24px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font: 500 .92rem var(--font-head); color: var(--text); cursor: pointer; transition: .25s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
:root[data-theme="dark"] .filter-btn.active { background: var(--gold); color: #1a1303; border-color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .gallery { grid-template-columns: 1fr; } }
.work {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3.4;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s, opacity .4s;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.1); }
.work-info {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; color: #fff;
  background: linear-gradient(to top, rgba(7, 18, 38, .92), transparent);
  transform: translateY(30%); opacity: 0; transition: .45s var(--ease);
}
.work:hover .work-info, .work:focus-visible .work-info { transform: none; opacity: 1; }
.work-info h3 { color: #fff; margin: 4px 0 2px; font-size: 1.1rem; }
.work-info span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.work.hide { display: none; }
.work.play::after { /* play badge for videography */
  content: "▶"; position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy-800); display: grid; place-items: center; font-size: .9rem; padding-left: 3px;
}
@media (hover: none) { .work-info { transform: none; opacity: 1; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 10, 24, .92); display: none; place-items: center; padding: 24px; backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: fade .3s; }
.lightbox figure { margin: 0; max-width: min(1000px, 94vw); }
.lightbox img { max-height: 78vh; width: auto; margin: auto; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; font-family: var(--font-head); }
.lightbox button { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; font-size: 1.4rem; cursor: pointer; background: #fff; }
@keyframes fade { from { opacity: 0; } }

/* ---------- 10. Testimonials ---------- */
.t-card { display: flex; flex-direction: column; gap: 18px; }
.t-card .stars { color: var(--gold); letter-spacing: 3px; }
.t-card blockquote { margin: 0; color: var(--text); font-size: 1.02rem; }
.t-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 600 1rem var(--font-head); color: #fff; background: linear-gradient(135deg, var(--navy-600), var(--teal)); }
.t-author b { display: block; color: var(--heading); font-family: var(--font-head); font-size: .95rem; }
.t-author small { color: var(--text-soft); }

/* ---------- 11. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 80px); text-align: center; color: #fff;
  background: radial-gradient(500px 280px at 100% 0%, rgba(212, 162, 76, .35), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 auto 28px; }
.cta-band .cta-row { justify-content: center; }

/* ---------- 12. About page bits ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.portrait { position: relative; }
.portrait .frame { border-radius: 32px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: 32px; z-index: -1; opacity: .6; }
.exp-badge { position: absolute; bottom: 28px; left: -24px; background: var(--gold); color: #1a1303; padding: 18px 22px; border-radius: 20px; box-shadow: var(--shadow-lg); text-align: center; }
.exp-badge strong { display: block; font: 700 2rem var(--font-head); line-height: 1; }
.exp-badge span { font-size: .8rem; font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-row strong { display: block; font: 700 2.6rem var(--font-head); color: var(--gold); }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 26px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: rgba(212, 162, 76, .5); }
.faq summary { cursor: pointer; font: 600 1.02rem var(--font-head); color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; }

/* ---------- 14. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(26px, 4vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; font: 600 .88rem var(--font-head); color: var(--heading); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 162, 76, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; }
.error-msg { display: none; color: #e5484d; font-size: .82rem; margin-top: 6px; }
.field.invalid .error-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; } /* honeypot anti-spam field */
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; display: none; font-weight: 500; }
.form-status.ok { display: block; background: rgba(37, 211, 102, .14); color: #138a43; }
.form-status.err { display: block; background: rgba(229, 72, 77, .12); color: #c93a3f; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); font-size: 1.2rem; }
.info-list b { display: block; color: var(--heading); font-family: var(--font-head); }
.info-list a:hover { color: var(--gold); }

/* ---------- 15. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 80px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4, .footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer p { color: rgba(255, 255, 255, .62); font-size: .94rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: .3s; }
.socials a:hover { background: var(--gold); color: #1a1303; transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; }

/* ---------- 16. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .5);
  transition: transform .3s var(--ease); animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float span { position: absolute; right: 74px; background: var(--surface); color: var(--heading); padding: 8px 14px; border-radius: 10px; font: 500 .84rem var(--font-head); white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(10px); pointer-events: none; transition: .3s; }
.wa-float:hover span { opacity: 1; transform: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- 17. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; } .reveal[data-d="2"] { transition-delay: .2s; } .reveal[data-d="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Marquee strip of service keywords */
.strip { background: var(--navy-800); color: #fff; padding: 20px 0; overflow: hidden; white-space: nowrap; }
.strip-inner { display: inline-flex; gap: 48px; animation: marquee 28s linear infinite; font: 500 1rem var(--font-head); }
.strip-inner span::after { content: "✦"; color: var(--gold); margin-left: 48px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   v2 ADDITIONS — serif headings, glass, real-work components
   ========================================================= */
:root { --font-serif: "Playfair Display", Georgia, serif; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.015em; }
.nav-links a { padding: 10px 13px; }
.nav.scrolled, .nav.solid { backdrop-filter: blur(18px) saturate(1.4); }
.glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); border-radius: var(--radius); }

/* Empty photo placeholder (shown until you add your own file) */
[data-ph].empty { position: relative; }
[data-ph].empty::after {
  content: "📷  Your photo goes here"; position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: rgba(255, 255, 255, .75); font: 500 .92rem var(--font-head); padding: 20px;
}
.work[data-zoom][data-ph].empty { cursor: default; }
.work.empty .work-info { display: none; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { padding: 5px 12px; border-radius: 999px; font: 600 .74rem var(--font-head); letter-spacing: .04em; background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.tag.gold { background: rgba(212, 162, 76, .16); color: #9a6f1c; border-color: rgba(212, 162, 76, .4); }
:root[data-theme="dark"] .tag.gold { color: var(--gold); }

/* Website showcase cards (browser frame + screenshot) */
.site-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.browser { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar span { margin-left: 10px; flex: 1; text-align: center; padding: 4px 12px; border-radius: 999px; background: var(--surface); font-size: .78rem; color: var(--text-soft); }
.shot { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.site-card:hover .shot img { transform: scale(1.05); }
.site-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.site-body p { flex: 1; }
.site-body .cta-row { margin-top: 6px; }

/* Naming-ceremony / video */
.video-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-fallback { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; color: #fff; padding: 24px; }
.video-fallback p { color: rgba(255, 255, 255, .78); max-width: 420px; margin: 0; }
.video-wrap.no-video video { display: none; }
.video-wrap.no-video .video-fallback { display: flex; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.pf-group { margin-bottom: 72px; }
.pf-group.hide { display: none; }
.pf-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.pf-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.pf-head p { margin: 6px 0 0; max-width: 560px; }

/* ZestMeal feature band */
.zest {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff; padding: clamp(32px, 6vw, 72px);
  background: radial-gradient(520px 320px at 90% 0%, rgba(255, 170, 60, .35), transparent 60%), radial-gradient(420px 300px at 0% 100%, rgba(212, 162, 76, .18), transparent 60%), linear-gradient(135deg, #0b1230, #1a1f4d);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) { .zest { grid-template-columns: 1fr; } }
.zest h2, .zest h3 { color: #fff; }
.zest p { color: rgba(255, 255, 255, .78); }
.zest .kn { font-size: 1.25rem; color: var(--gold-soft); margin: -4px 0 16px; font-family: var(--font-head); }
.hours { display: grid; gap: 14px; padding: 28px; text-align: center; }
.hours big { display: block; font: 700 2.2rem var(--font-head); color: var(--gold); line-height: 1.1; }
.hours small { color: rgba(255, 255, 255, .7); }
.moon { font-size: 2.4rem; }

/* Channel cards (Instagram) */
.channel { display: flex; flex-direction: column; gap: 6px; }
.channel .ch-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 10px; background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.channel .ch-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.channel h3 { margin: 0; }
.channel .handle { font: 600 .9rem var(--font-head); color: var(--gold); }
.channel p { margin: 6px 0 14px; flex: 1; }

/* Book reviews */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .books { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .books { grid-template-columns: 1fr; } }
.book { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.book.hide { display: none; }
.book-top { display: flex; gap: 18px; align-items: flex-start; }
.cover {
  flex: none; width: 96px; aspect-ratio: 2/3; border-radius: 6px 12px 12px 6px; padding: 12px 10px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; font: 600 .72rem/1.25 var(--font-serif);
  box-shadow: 6px 10px 24px rgba(11, 27, 58, .25), inset 4px 0 0 rgba(255, 255, 255, .18);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
}
.cover.c2 { background: linear-gradient(160deg, #b9822c, #5a3a0d); }
.cover.c3 { background: linear-gradient(160deg, #138b82, #07302d); }
.cover small { font: 500 .6rem var(--font-head); opacity: .8; text-transform: uppercase; letter-spacing: .1em; }
.book h3 { margin: 0 0 2px; font-family: var(--font-serif); font-size: 1.25rem; }
.book .author { font-size: .9rem; margin: 0 0 8px; }
.stars { color: var(--gold); letter-spacing: 3px; }
.book blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--gold); color: var(--text); font-family: var(--font-serif); font-style: italic; }
.book .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; font-size: .85rem; color: var(--text-soft); }
.sample-badge { display: inline-block; font: 600 .68rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; background: rgba(229, 72, 77, .12); color: #c93a3f; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.reading { display: flex; gap: 24px; align-items: center; padding: 28px 32px; }
@media (max-width: 620px) { .reading { flex-direction: column; text-align: center; } }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.progress i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--gold), #f3d28b); border-radius: 99px; }
