/* =========================================================
   Yimage — Premium minimal-light gallery theme
   Palette: monochrome — black, white & grey (premium)
   ========================================================= */

:root {
  --bg:        #F5F5F4;   /* neutral paper white */
  --bg-alt:    #ECECEB;   /* soft section grey */
  --ink:       #142749;   /* deep blue — primary text & brand */
  --ink-soft:  #6E6E6E;   /* muted grey */
  --line:      #E0E0DE;   /* hairline grey */
  --accent:    #142749;   /* deep blue — brand theme */
  --accent-2:  #9db4dd;   /* light blue for dark sections / hover text */
  --accent-ink:#0d1c33;   /* darker blue for hover state */
  --shadow:    0 30px 60px -30px rgba(26,23,20,.35);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gut:  clamp(20px, 5vw, 64px);
  --sec:  clamp(80px, 12vw, 160px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- shared bits ---------- */
.kicker {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.section { padding: var(--sec) var(--gut); max-width: var(--maxw); margin: 0 auto; }

.section__head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 640px; }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  word-break: keep-all;
}

.section__note {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 52ch;
}
.section__note code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .82em;
  background: var(--bg-alt);
  padding: .1em .4em;
  border-radius: 4px;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.05em 2.2em;
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, box-shadow .3s;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 1.2em 2.8em; margin-top: 2.4rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245,245,244,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.1rem var(--gut);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  display: inline-flex; align-items: center;
}
.brand__logo { height: 26px; width: auto; display: block; }
.brand__c { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.brand__word {
  font-family: var(--serif); font-size: 23px; font-weight: 500;
  letter-spacing: .04em; fill: var(--ink);
}
.brand__logo--footer { height: 30px; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.6rem); }
.nav__links a {
  font-size: .82rem; letter-spacing: .08em; color: var(--ink-soft);
  transition: color .25s; position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .3s;
}
.nav__links a:not(.nav__cta):hover { color: var(--accent); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--accent); border-radius: 999px;
  padding: .6em 1.4em; color: var(--accent) !important;
  transition: background .3s, color .3s;
}
.nav__cta:hover { background: var(--accent); color: #fff !important; }

.nav__lang {
  font: inherit; font-size: .8rem; letter-spacing: .06em; color: var(--accent);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1em; cursor: pointer; transition: border-color .25s, background .25s;
  margin-left: .4rem; white-space: nowrap;
}
.nav__lang:hover { border-color: var(--accent); background: rgba(20,39,73,.04); }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s, background .25s; }
.nav__burger span + span { margin-top: 6px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  padding: 9rem var(--gut) 4rem;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: stretch;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 1.8rem;
  word-break: keep-all;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { max-width: 46ch; color: var(--ink-soft); font-size: 1.05rem; }
.hero__actions { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__meta { margin-top: 2rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.frame { position: relative; display: flex; flex-direction: column; }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
  flex: 1 1 auto; min-height: 0;
}
.frame figcaption {
  margin-top: 1rem; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); flex-shrink: 0;
}

.hero__scroll {
  position: absolute; left: var(--gut); bottom: 2rem;
  display: flex; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__scroll i { width: 46px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content:""; position:absolute; inset:0; width:40%; background: var(--ink); animation: slide 2.4s infinite; }
@keyframes slide { 0%{transform:translateX(-100%)} 100%{transform:translateX(260%)} }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 8rem var(--gut); max-width: var(--maxw); margin: 0 auto; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,5rem); align-items: start; margin-top: 3rem; }
.about__body p { margin-bottom: 2.2rem; color: var(--ink-soft); line-height: 2.05; overflow-wrap: break-word; word-break: break-word; }
.about__lead { font-family: var(--serif); font-size: clamp(1.4rem,2.4vw,1.9rem); line-height: 1.7; color: var(--ink) !important; font-weight: 400; overflow-wrap: break-word; word-break: break-word; }
.about__photo { position: sticky; top: 6rem; align-self: start; width: 100%; }
.frame--tall { width: 100%; }
.frame--tall img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: var(--shadow); }
.creds { list-style: none; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.creds li { display: flex; gap: 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); }
.creds__mark { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); min-width: 46px; font-weight: 500; }

/* =========================================================
   WORK / PORTFOLIO
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
.tile {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; border-radius: 2px;
  background: var(--bg-alt);
  display: flex; align-items: flex-end;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); filter: saturate(.96); }
.tile--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile--feature img { filter: none; }
.tile--text {
  background: var(--bg-alt);
  padding: 1.4rem; flex-direction: column; align-items: flex-start; justify-content: space-between;
  border: 1px solid transparent;
}
.tile--text:hover { border-color: var(--line); transform: translateY(-4px); background: #E4E4E2; }
.tile__no { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.tile__label {
  font-family: var(--serif); font-size: clamp(1.3rem,2vw,1.8rem); color: var(--ink);
  position: relative; z-index: 2;
}
.tile--feature .tile__label {
  position: absolute; left: 1.4rem; bottom: 1.2rem; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.5); font-size: clamp(1.6rem,2.4vw,2.2rem);
}
.tile:hover img { transform: scale(1.05); }
.tile--feature::after, .tile--text::after {
  content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.tile--feature::after { opacity: 1; }
.tile--text::after { background: linear-gradient(to top, rgba(26,23,20,.06), transparent 60%); }
.tile--feature:hover::after { opacity: 1; }

/* Normal 1-cell photo tile — use this for every real work you add */
.tile--img .tile__label {
  position: absolute; left: 1.2rem; bottom: 1rem; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55); font-size: clamp(1.3rem,2vw,1.7rem);
}
.tile--img::after { opacity: 1; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--bg-alt); max-width: none; }
.services > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.services__list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.service { background: var(--bg); padding: clamp(2rem,4vw,3.4rem); transition: background .3s; }
.service:hover { background: #fff; }
.service__no { font-family: var(--serif); font-size: 1.2rem; color: var(--accent); display: block; margin-bottom: 1.4rem; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem,2.4vw,2.1rem); margin-bottom: .8rem; }
.service p { color: var(--ink-soft); font-size: .98rem; max-width: 42ch; }

/* =========================================================
   VISUAL DIVIDER (personal photo strip)
   ========================================================= */
.vdivider {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gut);
}
.vdivider img {
  width: 100%; height: auto;
  max-height: 50vh; object-fit: cover;
  object-position: center 2%;
  border-radius: 2px;
}

/* =========================================================
   AWARDS
   ========================================================= */
.awards__list { display: grid; grid-template-columns: repeat(5,1fr); gap: clamp(1.2rem,3vw,2.4rem); }
.award { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.award__media { aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; margin-bottom: 1.2rem; background: #ffffff; border: 1px solid var(--line); padding: .9rem; display: flex; align-items: center; justify-content: center; }
.award__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.award:hover .award__media img { transform: scale(1.03); }
.award__media--mark { display:flex; align-items:center; justify-content:center; background: #ffffff; border: 1px solid var(--line); }
.award__media--mark span { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); letter-spacing:.1em; }
.award__year { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.award h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin-bottom: .3rem; }
.award__sub { color: var(--ink-soft); font-size: .95rem; }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline-wrap {
  display: grid; grid-template-columns: 1fr 280px; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
/* timeline-wrap photo: hidden by default (shown via desktop media query above) */
.about__photo:not(.about__photo--sidebar) { display: none; }
.about__photo:not(.about__photo--sidebar) img {
  border-radius: 2px; box-shadow: var(--shadow);
  width: 100%; height: auto; display: block;
  max-height: 520px; object-fit: cover;
}

/* Mobile-only accent photos (hidden on desktop) */
.about__mobile-photo,
.work__mobile-photo { display: none; }
.about__mobile-photo img,
.work__mobile-photo img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: var(--shadow); }

/* Inline photo above "Why" section — visible on all breakpoints */
.about__inline-photo { margin: 2rem 0 2.5rem; }
.about__inline-photo img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: var(--shadow); }
.timeline__item {
  display: grid; grid-template-columns: 200px 1fr; gap: 2rem;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left .35s ease;
}
.timeline__item:hover { padding-left: 14px; }
.timeline__years { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); }
.timeline__item h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem,1.8vw,1.5rem); margin-bottom: .6rem; line-height: 1.5; }
.timeline__item p { color: var(--ink-soft); font-size: .96rem; max-width: 64ch; line-height: 1.75; overflow-wrap: break-word; word-break: break-word; }
.exp__grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem,4vw,4rem); align-items: start; }
.exp__photo { position: sticky; top: 120px; }
.exp__photo img { border-radius: 2px; box-shadow: var(--shadow); }

/* ── Desktop-only: full-width About text + compact timeline ── */
@media (min-width: 901px) {
  .about__grid { grid-template-columns: 1fr; }          /* text spans full page width */
  .about__photo--sidebar { display: none; }              /* hide right-column photo */
  .timeline-wrap .about__photo {                         /* show photo inside timeline area */
    display: block;
    position: sticky;
    top: 6rem;
  }
  /* Title stays on one line */
  .timeline__item h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Content: max 2 lines */
  .timeline__item p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--bg-alt); }
.test__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem;
}
.test__portrait {
  margin-top: 1.8rem;
}
.test__portrait {
  width: 116px; height: 116px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--bg); box-shadow: var(--shadow);
}
.test__portrait img { width: 100%; height: 100%; object-fit: cover; }
.test__group { margin-bottom: 3.5rem; }
.test__group:last-child { margin-bottom: 0; }
.test__cat {
  font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500; color: var(--accent); margin-bottom: 1.4rem;
  letter-spacing: .03em;
}
.test__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.test__card {
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  padding: 1.6rem 1.8rem; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.test__card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.test__card p {
  font-size: .9rem; line-height: 1.65; color: var(--ink);
  flex: 1; margin-bottom: 1.2rem; font-style: italic;
}
.test__card cite {
  font-style: normal; font-size: .8rem; font-weight: 500;
  color: var(--accent); letter-spacing: .04em;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--accent); color: var(--bg); max-width: none; overflow-x: hidden; padding-left: var(--gut); padding-right: var(--gut); width: 100%; }
.contact > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; width: 100%; }
.contact__inner {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center; text-align: center; justify-items: center;
}
.contact__content { padding: 4rem 0; }
.contact .kicker { color: var(--accent-2); }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem,5vw,3.6rem); line-height: 1.02; }
.contact__lead { color: rgba(251,250,248,.7); max-width: 44ch; margin: 1.6rem 0 0; }
.contact__rows { margin: 3rem 0 0; max-width: 520px; border-top: 1px solid rgba(255,255,255,.22); }
.contact__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.22);
  text-align: left; transition: padding-left .3s, color .3s;
}
a.contact__row:hover { padding-left: 10px; color: var(--accent-2); }
.contact__k { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(251,250,248,.55); }
.contact__v { font-family: var(--serif); font-size: 1.25rem; }
/* Based-in value: both lines right-aligned */
.contact__v--wrap { display: inline; text-align: right; }
.contact__v2 { display: block; text-align: right; }
.contact .btn--solid { background: var(--bg); color: var(--ink); }
.contact .btn--solid:hover { background: var(--accent-2); color: var(--ink); }
.contact .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.contact .btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); background: rgba(255,255,255,.12); }

/* ===== Enquiry form ===== */
.contact-form { margin: 2.8rem 0 0; max-width: 620px; width: 100%; display: grid; gap: 1.1rem; box-sizing: border-box; }
.contact-form .field { display: flex; flex-direction: column; gap: .5rem; }
.contact-form .field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(251,250,248,.62); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans); font-size: .98rem; color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px; padding: .85rem 1rem;
  width: 100%; max-width: 100%; box-sizing: border-box;
  transition: border-color .2s, background .2s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(251,250,248,.4); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,.1); }
.contact-form select option { color: #142749; }
.contact-form .btn--lg { margin-top: .3rem; }
.contact-form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .85rem; margin: .1rem 0 0; min-height: 1.1em; color: rgba(251,250,248,.72); }
.form-status--ok { color: #8fe3a8; }
.form-status--err { color: #ffb4b4; }
@media (max-width: 640px) {
  .contact-form .field--row { grid-template-columns: 1fr; }
  .contact { padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
  .contact__inner { width: 100%; max-width: 100%; }
  .contact__content { padding: 3rem 0 2rem; width: 100%; max-width: 100%; box-sizing: border-box; }
  .contact-form { max-width: 100% !important; width: 100% !important; box-sizing: border-box; }
  .contact-form .field { width: 100%; box-sizing: border-box; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100% !important; max-width: 100% !important;
    box-sizing: border-box; min-width: 0;
    /* Strip iOS native chrome so date/select can't force a min intrinsic width */
    appearance: none; -webkit-appearance: none;
  }
  .contact-form input[type="date"] { min-height: 2.9rem; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 3rem var(--gut) 2.4rem; max-width: var(--maxw); margin: 0 auto; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.footer__brand span { color: var(--ink); }
.footer__links { display: flex; gap: 1.6rem; }
.footer__links a { font-size: .85rem; color: var(--ink-soft); transition: color .25s; }
.footer__links a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 1.2rem; }
.footer__social a { font-size: .92rem; font-weight: 500; letter-spacing: .06em; color: var(--ink); transition: color .25s; }
.footer__social a:hover { color: var(--accent); text-decoration: underline; }
.footer__copy { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }
.footer__abn { font-size: .72rem; color: var(--ink-soft); letter-spacing: .08em; text-align: right; }
.footer__bottom { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.6rem; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; }
  .about { padding: 5rem var(--gut); }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__photo { display: none; }
  .about__body p { margin-bottom: 1.5rem; line-height: 1.85; }
  .about__lead { line-height: 1.55; }
  .about__sub { margin-top: 2.5rem; }
  .about__sub--exp { margin-top: 3rem; }
  .adv li { padding: 1.1rem 0; }
  .adv li span:last-child { line-height: 1.6; }
  .creds { margin-top: 2rem; padding-top: 1.4rem; }
  .creds li { padding: .7rem 0; }
  .timeline__item { padding: 1.5rem 0; }
  .timeline__item p { line-height: 1.6; }
  .vdivider img { max-height: 30vh; object-position: center 0%; }
  .exp__grid { grid-template-columns: 1fr; }
  .exp__photo { display: none; }
  .test__header { flex-direction: column; text-align: center; align-items: center; }
  .test__portrait { width: 94px; height: 94px; margin-bottom: 1rem; margin-top: 1.2rem; }
  .test__card { padding: 1.3rem 1.4rem; }
  .contact__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .contact__content { padding: 3rem 0 2rem; max-width: 560px; }
  .contact__rows { margin-left: auto; margin-right: auto; }
  .grid { grid-template-columns: repeat(2,1fr); }
  .tile--feature { grid-column: span 2; grid-row: auto; aspect-ratio: 3/4; }
  .services__list { grid-template-columns: 1fr; }
  .service__detail > div { min-height: auto; padding-top: .9rem; }
  .service__detail dd { line-height: 1.55; }
  .awards__list { grid-template-columns: 1fr; }
  .test__list { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: .4rem; }
  .timeline-wrap { grid-template-columns: 1fr; }
  /* about__photo already hidden by .about__photo { display: none } rule above */
  .about__inline-photo { margin: 1.5rem 0 2rem; }
  .work__mobile-photo { display: block; margin: 0 auto 2.5rem; max-width: 420px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .section { padding: clamp(48px, 10vw, 100px) var(--gut); }
  .faq__item summary { padding: 1.2rem 0; font-size: 1.05rem; }
  .faq__item p { padding: 0 0 1.3rem; font-size: .94rem; }
  .footer__inner { flex-direction: column; text-align: center; align-items: center; gap: .8rem; }
  .footer__bottom { flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
  .footer__abn { text-align: center; }
  .videogrid--covers { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 640px) {
  /* ── Mobile nav: frosted brand-blue glass panel ── */
  .nav__links {
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 340px);
    background: rgba(20, 39, 73, .92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    align-items: flex-start;
    padding: 6.5rem 2.4rem 2.5rem;
    gap: .3rem;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
    border-left: 1px solid rgba(255,255,255,.12);
    box-shadow: -8px 0 32px rgba(0,0,0,.3);
    z-index: 55;
  }
  .nav__links.open { transform: none; }

  /* Fix: remove backdrop-filter from .nav.scrolled on mobile so it doesn't clip the fixed menu panel */
  .nav.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(245,245,244,.92);
  }

  /* Links: white text on dark glass */
  .nav__links a {
    font-size: 1rem;
    letter-spacing: .06em;
    color: rgba(255,255,255,.82);
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: color .25s, padding-left .25s;
    width: 100%;
    display: block;
  }
  .nav__links a:not(.nav__cta):hover,
  .nav__links a:not(.nav__cta):focus {
    color: #fff;
    padding-left: .5rem;
  }
  .nav__links a:not(.nav__cta)::after { display: none; } /* hide underline */

  /* CTA button: inverted for dark bg — white pill border */
  .nav__cta {
    margin-top: .8rem;
    border-color: transparent;
    color: #fff !important;
    border-radius: 999px;
    text-align: center;
    padding: .85em 1.8em;
    background: rgba(255,255,255,.06);
    transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
  }
  .nav__cta:hover {
    background: #fff !important;
    color: var(--accent) !important;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255,255,255,.2);
  }

  /* Backdrop overlay when mobile menu is open */
  body.menu-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(0,0,0,.40);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 49;
    animation: fadeIn .3s ease forwards;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  body.menu-open { overflow: hidden; }
  .nav__burger { display: block; z-index: 60; }

  /* Burger → X animation when menu open */
  body.menu-open .nav__burger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: #fff;
  }
  body.menu-open .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  body.menu-open .nav__burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: #fff;
  }
  .nav__burger span:nth-child(3) { display: block; } /* ensure 3rd bar exists */

  /* Lang button on dark menu bg */
  body.menu-open .nav__lang {
    border-color: rgba(255,255,255,.35);
    color: #fff;
  }
  body.menu-open .nav__lang:hover,
  body.menu-open .nav__lang:focus {
    border-color: #fff;
    background: rgba(255,255,255,.12);
  }

  /* Brand logo turns white when menu open */
  body.menu-open .brand__word { fill: #fff; }
  body.menu-open .brand__c { stroke: #fff; }
  /* Group lang toggle + hamburger on the right side */
  .nav__lang { margin-left: auto; margin-right: .35rem; }
  .grid { grid-template-columns: 1fr; }
  .tile--feature { grid-column: span 1; }
  .hero__scroll { display: none; }
  .about__body p { margin-bottom: 1.3rem; line-height: 1.75; }
  .about__lead { font-size: 1.25rem; }
  /* About timeline stacks on small screens so headings never clip */
  .timeline__item { grid-template-columns: 1fr; gap: .3rem; }
  .timeline__years { font-size: 1.05rem; }
  .section__title { font-size: 2.2rem; }
  .service h3 { font-size: 1.35rem; }
  .cat-title { font-size: 1.6rem; }
  .videogrid--covers { grid-template-columns: 1fr; }
  .video-cover-card { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   WORK — TABS, FILTERS, MASONRY GALLERY, VIDEO GRID
   ========================================================= */
.work__tabs {
  display: flex; gap: .4rem; margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
  border-bottom: 1px solid var(--line);
}
.work__tab {
  appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
  padding: .9rem 1.1rem; position: relative; transition: color .25s;
}
.work__tab::after {
  content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px;
  height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.work__tab.is-active { color: var(--accent); }
.work__tab.is-active::after { background: var(--accent); transform: scaleX(1); }

.work__view.is-hidden { display: none; }

/* filter chips */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0 0 clamp(1.8rem, 4vw, 3rem);
}
.chip {
  appearance: none; cursor: pointer;
  font-family: var(--sans); font-size: .76rem; letter-spacing: .08em;
  color: var(--ink-soft); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1.1rem; transition: all .25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* square grid — 3 uniform columns; images scaled to fit (no crop), centred */
.squaregrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.8vw, 32px); }
@media (max-width: 900px) { .squaregrid { grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.2vw, 24px); } }

.shot {
  position: relative; overflow: hidden;
  background: var(--bg-alt); border-radius: 2px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.shot img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.42), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.shot__label {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: all .4s;
}
.shot:hover::after { opacity: 1; }
.shot:hover .shot__label { opacity: 1; transform: none; }
.shot:hover img { transform: scale(1.04); }

/* video grid */
.videogrid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
@media (max-width: 640px) { .videogrid { grid-template-columns: 1fr; } }
.video-card {
  border-radius: 2px; overflow: hidden; background: var(--bg-alt);
  position: relative;
}
.video-card video {
  width: 100%; height: auto; display: block; background: #000;
}
.video-card__cap {
  position: absolute; left: 14px; bottom: 12px;
  color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

/* Video cover cards (directVideos mode — flat grid with labels) */
.videogrid--covers {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.video-cover-card {
  border-radius: 2px; overflow: hidden;
  background: var(--accent);
  position: relative; aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.video-cover-card video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0;
  transition: opacity .4s ease;
}
.video-cover-card:hover video,
.video-cover-card.playing video { opacity: 1; }
/* Hide overlay when playing */
.video-cover-card.playing .play-icon,
.video-cover-card.playing .video-card__cap { display: none; }
.video-cover-card .play-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .8rem; flex-shrink: 0; z-index: 2;
  transition: background .3s ease;
}
.video-cover-card:hover .play-icon { background: rgba(255,255,255,.35); }
.play-icon::after {
  content: '';
  display: block; width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-cover-card .video-card__cap {
  position: static; left: auto; bottom: auto;
  color: rgba(255,255,255,.85); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  text-shadow: none; z-index: 2;
}

/* keep legacy .grid/.tile styles from breaking older refs */
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

/* =========================================================
   WORK — CATEGORY INDEX + PER-CATEGORY PAGE
   ========================================================= */
.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
  border-radius: 2px; background: var(--bg-alt);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .3s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(20,39,73,.45);
  border-color: var(--accent);
}
.cat-card__name {
  color: var(--accent); font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.05; margin-bottom: .55rem;
}
.cat-card__count {
  color: rgba(20,39,73,.55); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}

.catback {
  appearance: none; background: none; cursor: pointer;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.4rem; padding: .5em 1.2em;
  transition: color .25s, border-color .25s;
  border: 1.5px solid var(--line); border-radius: 4px;
  display: inline-flex; align-items: center; gap: .35rem;
}
.catback:hover { color: var(--accent); border-color: var(--accent); }
.catback-wrap { display: flex; justify-content: center; margin-top: clamp(1.8rem, 4vw, 3rem); }
.catback--bottom { margin-bottom: 0; }
.cat-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

/* =========================================================
   LIGHTBOX — fullscreen preview, prev / next
   ========================================================= */
.lightbox {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 100vh; height: 100dvh;
  background: rgba(17,17,17,.97);
  display: flex; align-items: stretch; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  overflow: hidden;
  touch-action: none;
}
.lightbox.is-hidden { display: none; }
.lb-stage {
  position: relative; margin: 0;
  width: 100%; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.lb-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  -webkit-user-select: none; user-select: none;
}
.lb-count {
  position: absolute; left: 0; top: 1.4rem; width: 100%; text-align: center;
  color: rgba(255,255,255,.72); font-size: .78rem; letter-spacing: .14em;
}
.lb-close, .lb-nav {
  position: absolute; z-index: 3; cursor: pointer;
  background: rgba(255,255,255,.10); color: #fff; border: 0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent; transition: background .25s;
}
.lb-close { top: 18px; right: 20px; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.1rem; line-height: 1; }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
.lb-close:hover, .lb-nav:hover { background: var(--accent); }

/* awards responsive: 5 → 3 → 2 → 1 */
@media (max-width: 1100px) {
  .awards__list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .awards__list { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   RESPONSIVE — mobile (iOS / Android)
   ========================================================= */
@media (max-width: 640px) {
  .catgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card__name { font-size: 1.2rem; }
  .lb-nav { width: 46px; height: 46px; font-size: 1.8rem; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { width: 42px; height: 42px; top: 14px; right: 14px; }
  /* Footer: logo + Instagram centered on mobile */
}
@media (max-width: 380px) {
  .catgrid { grid-template-columns: 1fr; }
}

/* =========================================================
   TRUST STRIP (hero credentials)
   ========================================================= */
.trust {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 2px;
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.trust__item { background: var(--bg); padding: clamp(1.4rem,3vw,2.4rem) 1rem; text-align: center; }
.trust__val { display: block; font-family: var(--serif); font-size: clamp(1.15rem,2vw,1.7rem); color: var(--ink); line-height: 1.15; }
.trust__lbl { display: block; margin-top: .55rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* =========================================================
   ABOUT — sub-headings, advantages, timeline (merged)
   ========================================================= */
.about__sub {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3;
  margin: 3.5rem 0 0;
}
.about__sub--exp { margin-top: 4rem; }
.adv { list-style: none; margin: 1.8rem 0 0; display: grid; gap: 0; }
.adv li { padding: 1.4rem 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.adv li:first-child { border-top: 0; padding-top: 0; }
.adv__mark { font-family: var(--serif); font-size: 1.2rem; color: var(--accent); font-weight: 500; }
.adv li span:last-child { color: var(--ink-soft); font-size: .96rem; max-width: 62ch; line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }

/* =========================================================
   SERVICES — detail (who / problem / receive)
   ========================================================= */
.service__detail { margin-top: 1.5rem; display: grid; gap: 0; }
.service__detail > div { border-top: 1px solid var(--line); padding-top: 1.1rem; min-height: 7rem; }
.service__detail dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .45rem; }
.service__detail dd { color: var(--ink-soft); font-size: .96rem; max-width: 48ch; line-height: 1.62; }

/* =========================================================
   TESTIMONIALS — Read Client Stories CTA
   ========================================================= */
.test__cta { margin-top: 1.6rem; }

/* =========================================================
   PORTFOLIO — group intro
   ========================================================= */
.cat-intro { color: var(--ink-soft); font-size: 1.02rem; max-width: 66ch; margin-bottom: clamp(1.6rem,4vw,2.6rem); line-height: 1.6; }

/* =========================================================
   FAQ — accordion
   ========================================================= */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: 1.5rem 0; font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 1.4rem;
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform .3s; }
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { padding: 0 0 1.7rem; color: var(--ink-soft); font-size: .98rem; max-width: 72ch; line-height: 1.65; }

/* =========================================================
   RESPONSIVE — new components
   ========================================================= */
@media (max-width: 460px) {
  .trust { grid-template-columns: 1fr; }
}


