/* Astaka Group — visual language inspired by a recruitment-agency template.
   Colours, typography, photo cards, nav and footer are original implementations.
   Helvetica Neue stand-in: self-hosted Inter. No live font requests. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/noto-sans-sc.woff2") format("woff2");
}

:root {
  --bg: #d9d7cc;
  --cream: #f2ede9;
  --ink: #292929;
  --accent: #e76237;
  --gold: #b0893e;
  --muted: rgba(41, 41, 41, 0.72);
  --pad: 3vw;
  --max: 88rem;
  --font: "Inter", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --wa: #25d366;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
button, summary { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: none;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--cream); padding: 0.5rem 0.8rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 100; }

/* Header — quiet, typographic, brand left / nav / contact right */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.7rem var(--pad);
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo,
.brand img.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: calc(100vw - 5.5rem);
}
.brand-text { display: none; } /* full logo already includes the wordmark */
.brand-name, .brand-tag { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.4rem; height: 2.4rem;
  border: 0; background: transparent; color: var(--ink);
  cursor: pointer; padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 1.15rem; height: 1px; background: currentColor; position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}
.site-nav ul {
  list-style: none; display: flex; align-items: center;
  gap: 1.25rem; margin: 0; padding: 0;
}
.site-nav a, .site-nav summary {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.site-nav a:hover, .site-nav summary:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25em; }
.has-sub { position: relative; }
.has-sub summary { display: inline-flex; align-items: center; }
.has-sub summary::-webkit-details-marker { display: none; }
.has-sub .sub {
  position: absolute; right: 0; top: calc(100% + 0.5rem);
  background: var(--cream);
  min-width: 16rem;
  padding: 0.6rem 0;
  z-index: 20;
}
.has-sub .sub ul { flex-direction: column; align-items: stretch; gap: 0; }
.has-sub .sub a { display: block; padding: 0.45rem 1rem; }
.lang-switch { display: flex; gap: 0.55rem; font-size: 0.85rem; }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current="true"], .lang-switch a:hover { color: var(--ink); text-decoration: underline; }
.header-cta {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
}
.header-cta:hover { text-decoration: underline; }

/* Buttons — solid square, orange or ink */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(0.95); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); filter: none; }
.band-dark .btn-ghost,
.cta-band .btn-ghost {
  border-color: currentColor;
  color: inherit;
}
.band-dark .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.cta-band .btn { background: var(--ink); color: var(--cream); }
.cta-band .btn:hover { background: transparent; color: var(--ink); outline: 1px solid var(--ink); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.btn .arrow { display: none; }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 5.5rem 0; }
.page-hero { padding: 3.5rem 0 3rem; }
.page-hero .lede, .hero-copy p { max-width: 34rem; }
.lede { font-size: 1.15rem; line-height: 1.4; }
.kicker { font-size: 0.9rem; font-weight: 400; letter-spacing: 0; margin-bottom: 0.8rem; color: var(--muted); }
.crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumb a { color: var(--muted); }

/* Home typographic hero — cap min-height so a tall capture window cannot inflate it */
.hero {
  min-height: min(78vh, 46rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem 4rem;
  padding: 7rem var(--pad) 5.5rem;
  background: var(--bg);
}
.hero-logo-wrap { flex: 0 1 auto; }
.hero-logo {
  display: block;
  height: 6rem; /* 96px — large, crisp SVG */
  width: auto;
  max-width: min(100%, 42rem);
}
.hero-inner {
  width: 100%;
  max-width: 34rem;
  margin-left: auto;
  padding-right: 2vw;
  flex: 1 1 18rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  margin-bottom: 1.6rem;
}

/* Dark photo-card band */
.band-dark {
  background: var(--ink);
  color: var(--cream);
  padding: 6rem 0 5.5rem;
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark p, .band-dark a { color: var(--cream); }
.band-dark h2 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); max-width: 18ch; margin-bottom: 3rem; }
.audience-grid, .card-grid {
  display: grid;
  gap: 1.4rem;
}
.audience-grid { grid-template-columns: 1fr 1fr; margin-bottom: 3rem; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.photo-card { display: block; color: inherit; text-decoration: none; }
.photo-card:hover { text-decoration: none; }
.photo-card:hover .photo-card-title { text-decoration: underline; text-underline-offset: 0.18em; }
.photo-card img, .folio-item img, .lead-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #3a3a3a;
}
.audience-card img { aspect-ratio: 16 / 11; }
.photo-card-title {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0.9rem 0 0.35rem;
}
.photo-card p { margin: 0 0 1rem; font-size: 0.98rem; line-height: 1.35; max-width: 36em; }
.photo-card .btn { margin-top: 0.2rem; }

/* Oversized about teaser */
.about-tease { background: var(--bg); padding: 4rem 0 5.5rem; overflow: hidden; }
.about-tease-title {
  font-size: clamp(4.2rem, 16vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin: 0 0 3.5rem;
  white-space: nowrap;
}
.about-tease-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.about-tease-body p { font-size: 1.25rem; line-height: 1.35; max-width: 32rem; margin-bottom: 1.4rem; }
.about-tease-body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Orange CTA / process band — not testimonials */
.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding: 6rem 0;
}
.cta-band h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 1.2rem;
}
.cta-band p { max-width: 32rem; color: var(--ink); font-size: 1.15rem; }

/* Process teaser on beige */
.process-tease { background: var(--bg); }
.process-tease h2 { max-width: 12ch; }
.process-tease p { max-width: 28rem; }

/* Portfolio / photo gallery */
.folio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 1.5rem;
}
.folio-item { display: block; color: inherit; text-decoration: none; }
.folio-item:hover { text-decoration: none; }
.folio-item:hover .folio-title { text-decoration: underline; text-underline-offset: 0.18em; }
.folio-title {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0.85rem 0 0.3rem;
}
.folio-item p { margin: 0; font-size: 0.95rem; max-width: 36em; }
.folio-note { margin-top: 3rem; font-size: 0.95rem; color: var(--muted); max-width: 40rem; }
.lead-photo { margin: 0 0 2.5rem; }
.lead-photo img { aspect-ratio: 16 / 8; }

/* Facts, timeline, FAQ, contact */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.2rem 0 2rem;
  border-top: 1px solid rgba(41,41,41,0.18);
}
.facts div { border-bottom: 1px solid rgba(41,41,41,0.18); padding: 0.85rem 1.2rem 0.85rem 0; }
.facts dt { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.facts dd { margin: 0.2rem 0 0; }
.prose { max-width: 40rem; }
.callout {
  border-top: 1px solid rgba(41,41,41,0.18);
  border-bottom: 1px solid rgba(41,41,41,0.18);
  padding: 1.1rem 0;
  margin: 1.5rem 0;
}
.timeline { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.timeline li {
  border-top: 1px solid rgba(41,41,41,0.18);
  padding: 1.3rem 0 1.4rem;
}
.timeline li:last-child { border-bottom: 1px solid rgba(41,41,41,0.18); }
.step-num { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.timeline li p { margin: 0.35rem 0 0; }
.faq-list { max-width: 50rem; border-top: 1px solid rgba(41,41,41,0.18); }
.faq-list details { border-bottom: 1px solid rgba(41,41,41,0.18); }
.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 1.15rem 2rem 1.15rem 0;
  list-style: none;
  position: relative;
  font-size: 1.15rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 1.15rem; max-width: 40rem; }
.contact-list { list-style: none; margin: 0; padding: 0; max-width: 36rem; }
.contact-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(41,41,41,0.18);
}
.contact-list li:last-child { border-bottom: 1px solid rgba(41,41,41,0.18); }
.contact-list span { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.2rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }

/* Footer */
.site-footer {
  background: var(--cream);
  color: var(--ink);
  padding: 4.2rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem 2rem;
}
.footer-brand { margin-bottom: 1rem; }
.footer-logo,
.footer-brand img.footer-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 18rem;
}
.site-footer h2 { font-size: 1rem; font-weight: 500; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(41,41,41,0.16);
  font-size: 0.82rem;
  color: var(--muted);
}
.photo-credit { font-size: 0.82rem; color: var(--muted); }

/* WhatsApp stays hidden until a real number is set */
[data-wa-link], .wa-float, a.btn[data-wa-link] { display: none !important; }
html.wa-enabled [data-wa-link],
html.wa-enabled [data-wa-link].btn,
html.wa-enabled a.btn[data-wa-link] { display: inline-flex !important; }
html.wa-enabled .wa-float {
  display: inline-flex !important;
  position: fixed; right: 1.15rem; bottom: 1.15rem;
  z-index: 60; align-items: center; gap: 0.5rem;
  background: var(--wa); color: #fff;
  padding: 0.7rem 1rem; text-decoration: none; font-weight: 500; border-radius: 0;
}
html.wa-enabled .wa-float:hover { color: #fff; text-decoration: none; filter: brightness(0.95); }

.reveal { opacity: 1; }
.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { opacity: 1; transition: opacity 0.45s ease; }

@media (max-width: 1180px) {
  .brand-logo,
  .brand img.brand-logo { height: 48px; }
  .site-nav { gap: 1.1rem; }
  .site-nav ul { gap: 1rem; }
}
@media (max-width: 980px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .about-tease-body, .split, .facts, .folio-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid rgba(41,41,41,0.16);
    padding: 0.8rem var(--pad) 1.2rem;
    flex-direction: column; align-items: stretch;
    margin-left: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .has-sub .sub { position: static; padding: 0 0 0 0.7rem; background: transparent; }
  .lang-switch { margin-top: 0.8rem; }
  .header-cta { display: none; }
  .brand-logo,
  .brand img.brand-logo { height: 40px; }
  .hero { min-height: 0; padding: 3.2rem var(--pad) 3.2rem; flex-direction: column; align-items: flex-start; gap: 2.2rem; }
  .hero-logo { height: 3.5rem; } /* 56px, still larger than the 40px header logo */
  .hero-inner { margin-left: 0; max-width: 100%; padding-right: 0; }
  .footer-logo,
  .footer-brand img.footer-logo { height: 40px; }
  html.wa-enabled .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .audience-grid, .card-grid, .about-tease-body, .split, .facts, .folio-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-tease-title { white-space: normal; font-size: clamp(3.4rem, 18vw, 5.5rem); }
  section { padding: 3.6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transition: none; }
}
