:root {
  --bg: #050814;
  --bg-alt: #0c1020;
  --card: #12182b;
  --accent: #52c2ff;
  --accent-soft: rgba(82, 194, 255, 0.1);
  --accent-2: #ffe38f;
  --text: #f3f5ff;
  --muted: #98a1c3;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #131a37 0, #050814 50%, #020309 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout helpers */
.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.95),
    rgba(5, 8, 20, 0.85),
    transparent
  );
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 60px;
  height: auto;
  display: block;
}


.logo-mark::after {
  content: "";
  position: absolute;
  inset: 38% 20% 12% 18%;
  border-radius: 50% 50% 60% 60%;
  background: radial-gradient(circle at 30% 20%, #fff, #f6fbff 40%, #e8f7ff 65%);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
  opacity: 0.96;
  transform: translateX(-3px);
}

.logo-text-main {
  font-family: "Montserrat", "Century Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.22s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(82, 194, 255, 0.6);
  font-size: 0.85rem;
  color: var(--accent);
  background: radial-gradient(circle at top, rgba(82, 194, 255, 0.18), transparent 55%);
  box-shadow: 0 0 0 1px rgba(0, 6, 56, 0.5);
}

.nav-cta:hover {
  background: radial-gradient(circle at top, rgba(82, 194, 255, 0.28), transparent 60%);
  transform: translateY(-0.5px);
}

main {
  flex: 1;
}

.hero {
  position: relative;
  padding: 4.2rem 0 3.5rem;
  overflow: hidden; /* important */
  background: #050814; /* fallback */
}

/* background image layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/tempCoverPage.jpg") center/cover no-repeat;
  filter: blur(12px) brightness(0.35);  
  transform: scale(1.1); 
  z-index: 0;
}

/* gradient overlay to help readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

/* ensure HERO CONTENT stays above */
.hero > .shell {
  position: relative;
  z-index: 2;
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.9rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.16rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(9, 19, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #9effc7, #17ff89 55%, #009b58 80%);
  box-shadow: 0 0 12px rgba(99, 255, 188, 0.95);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 3.1vw + 1.6rem, 3.5rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.hero h1 span.accent {
  background: linear-gradient(120deg, #52c2ff, #ffe38f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.7rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at top left, #ffe38f, #ffb457 18%, #ff7c57 60%);
  color: #120b0a;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(148, 164, 222, 0.6);
  color: var(--muted);
  background: rgba(4, 8, 26, 0.7);
}

.btn-ghost:hover {
  background: rgba(11, 22, 56, 0.9);
}

.hero-footnote {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-footnote span {
  color: var(--accent-2);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 26px;
  padding: 1.4rem 1.35rem 1.6rem;
  background: radial-gradient(circle at top left, #1e2646, #050814 60%, #02030b 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 260px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 12% 0%, rgba(82, 194, 255, 0.2), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(255, 227, 143, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

/* Mini tag */
.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.mini-tag-pill {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 211, 255, 0.8);
  font-size: 0.65rem;
  color: #d7ecff;
  background: rgba(8, 16, 40, 0.8);
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  border-radius: 18px;
  background: rgba(5, 8, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem 0.9rem 1.2rem;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: 210px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-slide img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #02030b;
}

.hero-slide-caption {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 8, 24, 0.9);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.hero-slider-btn:hover {
  background: rgba(12, 17, 42, 0.95);
}

.hero-slider-btn.prev {
  left: 0.6rem;
}

.hero-slider-btn.next {
  right: 0.6rem;
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(181, 193, 240, 0.8);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Section base */
section {
  padding: 3.2rem 0;
  scroll-margin-top: 72px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  font-size: 1.45rem;
  font-weight: 600;
}

.section-description {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.15rem 1.25rem;
  background: radial-gradient(circle at top, #141b33, #050814 52%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-tag {
  font-size: 0.76rem;
  color: var(--accent);
  opacity: 0.9;
}

.service-title {
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.service-body {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.service-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: flex-start;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: var(--accent-2);
}

.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.step-body {
  font-size: 0.86rem;
  color: var(--muted);
}

.perth-strip-section {
  padding: 2.4rem 0 3rem;
}

.perth-strip {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #151b33, #050814 60%);
  box-shadow: var(--shadow-soft);
}

.perth-strip-track {
  display: flex;
  gap: 1rem;
  padding: 0.9rem;
  animation: scrollPhotos 40s linear infinite;
}

.perth-strip-track img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  filter: brightness(0.85);
}

/* Animation */
@keyframes scrollPhotos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.process-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.15rem;
  background: radial-gradient(circle at top, #1a2037, #050814 55%);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--muted);
}

.process-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: rgba(82, 194, 255, 0.08);
  border: 1px solid rgba(82, 194, 255, 0.5);
  color: #d3ecff;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

.process-highlight {
  color: #f8f0d7;
}

/* About / mission section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.about-block {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.3rem;
  background: radial-gradient(circle at top, #151b33, #050814 55%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.65);
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 0.6rem;
}

.about-block h3 {
  font-size: 0.98rem;
  margin: 0;
  color: #f4f4ff;
}

.about-block p {
  margin: 0;
}

/* Portfolio preview */
.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.mock-board {
  border-radius: 22px;
  padding: 1rem;
  background: radial-gradient(circle at top, #151b33, #050814 58%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0.8rem;
}

.mock-main {
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(140deg, #ffe38f, #ffb657 36%, #ff7c57 80%);
  color: #2b1308;
  display: grid;
  gap: 0.6rem;
  font-size: 0.78rem;
}

.mock-image {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fdf5ea;
}

.mock-main-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.mock-main-sub {
  font-size: 0.75rem;
  opacity: 0.9;
}

.mock-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.mock-chip {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.7rem;
}

.mock-secondary {
  display: grid;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.mock-card-small {
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  background: rgba(7, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.35rem;
}

.mock-thumb {
  border-radius: 10px;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-copy {
  font-size: 0.88rem;
  color: var(--muted);
  background: radial-gradient(circle at top, #151b33, #050814 60%);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-content: start;
}


.portfolio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.4rem;
  font-size: 0.86rem;
}

.portfolio-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.35rem;
}


.portfolio-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.4rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.portfolio-tags span {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 164, 222, 0.7);
  font-size: 0.75rem;
  color: #d6e1ff;
  background: rgba(10, 16, 40, 0.9);
}

.portfolio-heading {
  font-size: 0.98rem;
  color: #f5f6ff;
  margin: 0;
}

.portfolio-mini-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.portfolio-mini-preview img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}



/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem 1.35rem;
  background: radial-gradient(circle at top, #151b33, #050814 55%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

form {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.field label {
  color: var(--muted);
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(151, 165, 222, 0.6);
  background: rgba(5, 8, 20, 0.9);
  padding: 0.55rem 0.65rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(82, 194, 255, 0.5);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.contact-details {
  font-size: 0.86rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.contact-details a {
  color: var(--accent);
}

.pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.pill-stack span {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(82, 194, 255, 0.08);
  border: 1px solid rgba(82, 194, 255, 0.45);
  font-size: 0.75rem;
  color: #d8ebff;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.6rem 0 1.9rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 880px) {
  .hero-grid,
  .process-grid,
  .portfolio-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-bottom: 2.5rem;
  }

  .mock-board {
    grid-template-columns: minmax(0, 1fr);
  }
}
