/* ─── CUSTOM PROPERTIES ───────────────────────────────────── */
:root {
  --bg:       #0C0C0E;
  --bg-2:     #111115;
  --bg-3:     #16161A;
  --surface:  #1C1C22;
  --border:   rgba(255,255,255,0.07);
  --accent:   #E8352A;
  --accent-2: #FF6B5B;
  --text:     #F0EDE8;
  --muted:    #6B6B75;
  --dim:      #3A3A44;

  --font-display: 'Bebas Neue', sans-serif;
  --font-head:    'Syne', sans-serif;
  --font-body:    'Instrument Sans', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

/* ─── PRELOADER ───────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out);
}
.preloader.hidden { opacity: 0; pointer-events: none; }

.preloader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: 8px;
  color: var(--text);
  animation: pulse 1.2s ease-in-out infinite alternate;
}

.preloader-bar {
  width: 160px; height: 2px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}
.preloader-bar::after {
  content: '';
  position: absolute; left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: load-bar 1s var(--ease-out) forwards;
}

@keyframes load-bar { to { left: 0; } }
@keyframes pulse { from { opacity: 0.4; } to { opacity: 1; } }

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0 48px;
  transition: background 0.4s, backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}

.site-logo img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.site-logo:hover img { opacity: 0.7; }

/* Nav */
#mainnav ul {
  display: flex; align-items: center; gap: 6px;
}

#mainnav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
#mainnav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
#mainnav li:last-child a {
  color: var(--text);
  background: var(--accent);
  padding: 7px 18px;
  border-radius: 100px;
}
#mainnav li:last-child a:hover {
  background: var(--accent-2);
}

.btn-menu {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.btn-menu span {
  display: block; width: 24px; height: 1.5px;
  background: var(--text);
  transition: 0.3s;
}

/* ─── HERO ────────────────────────────────────────────────── */
.sydney-hero-area {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}

/* Slides */
.header-slider { position: absolute; inset: 0; }

.slides-container {
  display: flex; height: 100%;
  transition: transform 0.9s var(--ease-out);
}

.slide-item {
  min-width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,12,14,0.85) 0%,
    rgba(12,12,14,0.4) 60%,
    rgba(12,12,14,0.75) 100%
  );
}

/* Big background wordmark */
.hero-wordmark {
  position: absolute;
  bottom: -60px; right: -20px;
  font-family: var(--font-display);
  font-size: clamp(200px, 25vw, 380px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -5px;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 48px 100px;
  max-width: 1400px; margin: 0 auto;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-tag::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(40px);
  animation: hero-reveal 0.9s var(--ease-out) 0.3s forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(240,237,232,0.55);
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-reveal 0.9s var(--ease-out) 0.5s forwards;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  background: var(--accent);
  padding: 14px 28px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.25s, transform 0.25s;
  opacity: 0;
  animation: hero-reveal 0.9s var(--ease-out) 0.7s forwards;
}
.hero-cta:hover { background: var(--accent-2); transform: translateY(-2px); }
.hero-cta i { font-size: 12px; }

@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Slide controls */
.hero-controls {
  position: absolute;
  bottom: 48px; right: 48px;
  z-index: 10;
  display: flex; align-items: center; gap: 12px;
}

.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: width 0.3s, background 0.3s;
  padding: 0;
}
.slider-dot.active {
  width: 28px;
  border-radius: 3px;
  background: var(--accent);
}

.slider-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.04);
}
.slider-arrow:hover { border-color: var(--accent); background: var(--accent); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: 48px; bottom: 48px;
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 1.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.3); opacity: 0.3; }
}

/* ─── SECTION SHARED ──────────────────────────────────────── */
section {
  position: relative;
  overflow: hidden;
}

.section-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::after {
  content: '';
  display: block; width: 40px; height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--text);
}

/* ─── WHO WE ARE ──────────────────────────────────────────── */
#who-we-are {
  padding: 140px 0;
  background: var(--bg);
}

.who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-text p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240,237,232,0.6);
  margin-top: 24px;
  max-width: 520px;
}

.who-stat-row {
  display: flex; gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.who-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--text);
}
.who-stat span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  font-family: var(--font-head);
  font-weight: 500;
}

.who-visual {
  position: relative;
}

.who-img-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.who-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.8s var(--ease-out);
}
.who-img-frame:hover img { transform: scale(1.03); }

.who-img-frame::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, transparent 50%, rgba(12,12,14,0.6));
}

.who-accent-box {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 140px; height: 140px;
  background: var(--accent);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.who-year-tag {
  position: absolute;
  top: 24px; right: -20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}
.who-year-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.who-year-tag span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

/* ─── OUR MISSION ─────────────────────────────────────────── */
#our-mission {
  padding: 140px 0;
  background: var(--bg-2);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin: -1px 0;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-img {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.mission-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 400px;
  filter: grayscale(30%);
  transition: transform 0.8s var(--ease-out);
}
.mission-img:hover img { transform: scale(1.03); }

.mission-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,53,42,0.2), transparent 60%);
}

.mission-points {
  display: flex; flex-direction: column; gap: 32px;
  margin-top: 40px;
}

.mission-point {
  display: flex; gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: border-color 0.3s;
}
.mission-point:hover { border-color: var(--accent); }

.mission-point::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.mission-point:hover::before { transform: scaleY(1); }

.mission-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
}

.mission-point p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(240,237,232,0.6);
  padding-top: 8px;
}

/* ─── DIFFERENTIATORS ─────────────────────────────────────── */
#differentiators {
  padding: 140px 0;
  background: var(--bg);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.diff-item {
  background: var(--bg);
  padding: 40px 32px;
  display: flex; gap: 20px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.diff-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,53,42,0.07), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.diff-item:hover { background: var(--bg-2); }
.diff-item:hover::after { opacity: 1; }

.diff-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.diff-item:hover .diff-num { opacity: 0.5; }

.diff-content { padding-top: 6px; }

.diff-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 12px;
}

.diff-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* ─── SERVICES ────────────────────────────────────────────── */
#services {
  padding: 140px 0;
  background: var(--bg-2);
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px));
  margin: -1px 0;
}

.services-list {
  margin-top: 60px;
  display: flex; flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
  cursor: default;
  position: relative;
}

.service-row::before {
  content: '';
  position: absolute; inset: 0 -48px;
  background: rgba(232,53,42,0.04);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-row:hover::before { opacity: 1; }

.service-row:first-child { border-top: 1px solid var(--border); }

.service-num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  color: var(--text);
  letter-spacing: -0.5px;
  transition: color 0.25s;
}
.service-row:hover .service-name { color: var(--accent); }

.service-icon {
  font-size: 20px;
  color: var(--dim);
  transition: color 0.25s, transform 0.25s;
}
.service-row:hover .service-icon {
  color: var(--accent);
  transform: translateX(6px) rotate(-45deg);
}

/* ─── CLIENTS ─────────────────────────────────────────────── */
#clients {
  padding: 100px 0;
  background: var(--bg);
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

/* Fade edges */
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 160px;
  z-index: 2; pointer-events: none;
}
.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 20s linear infinite;
}
.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  width: 200px; height: 110px;
  margin: 0 12px;
  padding: 20px 28px;
  flex-shrink: 0;
  border-radius: 2px;
  transition: transform 0.3s;
}
.client-logo-item:hover { transform: scale(1.04); }

.client-logo-item img {
  max-height: 60px; width: auto; max-width: 140px;
  object-fit: contain;
}

/* ─── CONTACT ─────────────────────────────────────────────── */
#contact-us {
  padding: 140px 0;
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.contact-card {
  background: var(--bg-2);
  padding: 48px 36px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.contact-card:hover { background: var(--bg-3); }

.contact-card-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--accent);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  background: rgba(232,53,42,0.06);
  transition: background 0.3s;
  margin-bottom: 8px;
}
.contact-card:hover .contact-card-icon { background: rgba(232,53,42,0.14); }

.contact-card-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.contact-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card-value {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.contact-card-value:hover { color: var(--accent-2); }
.contact-card-value i { font-size: 12px; }

/* ─── GO TO TOP ───────────────────────────────────────────── */
.go-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
  transform: translateY(10px);
}
.go-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.go-top:hover { background: var(--accent-2); }

/* ─── FOOTER ──────────────────────────────────────────────── */
#colophon {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 48px;
}

.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--muted);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--dim);
}

/* ─── SCROLL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .who-layout,
  .mission-layout { grid-template-columns: 1fr; }

  .who-visual { display: none; }

  .diff-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .hero-content { padding: 0 20px 80px; }
  .hero-controls { right: 20px; bottom: 80px; }
  .hero-scroll { display: none; }
  .section-wrap { padding: 0 20px; }

  .hero-title { font-size: 64px; }
  .section-heading { font-size: 56px; }

  #mainnav { display: none; }
  #mainnav.open {
    display: block;
    position: absolute; top: 80px; left: 0; width: 100%;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
  }
  #mainnav ul { flex-direction: column; gap: 4px; }
  #mainnav a {
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
  }
  #mainnav li:last-child a {
    border-radius: 6px;
    text-align: center;
    margin-top: 8px;
  }

  .btn-menu { display: flex; }

  .diff-grid,
  .contact-grid { grid-template-columns: 1fr; }

  #our-mission,
  #services {
    clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%);
  }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  #colophon { padding: 24px 20px; }
}
