:root {
  --bg: #050609;
  --bg-soft: #0c1017;
  --text-main: #f4f4f6;
  --text-muted: #8e93a2;
  --accent: #f5b35c;
  --border-subtle: rgba(255,255,255,0.08);
  --radius-lg: 18px;
  --max-width: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #111523 0, #050609 55%, #020309 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* Header / nav */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  background: rgba(5,6,9,0.94);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(245,179,92,0.5), transparent 60%);
}

.brand-main {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.86rem;
}

.nav-links a {
  color: var(--text-muted);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

/* Layout */

main {
  flex: 1;
}

.hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.2rem, 3.3vw, 2.8rem);
  letter-spacing: 0.02em;
  margin: 10px 0 10px;
}

.hero-sub {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #1c1408;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(5,6,9,0.7);
  color: var(--text-muted);
  font-size: 0.86rem;
  cursor: pointer;
}

.hero-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Simple grid / cards */

.section {
  padding: 20px 0 10px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 18px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 14px;
}

.section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 16px;
  background: rgba(5,6,10,0.9);
}

.card-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-title {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Lists */

.simple-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.simple-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 12px 20px 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 720px) {

  /* Stack header content, stop logo being squashed */
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 16px;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
  }

  .brand-main {
    font-size: 1.05rem;
    letter-spacing: 0.18em;
  }

  .brand-sub {
    font-size: 0.75rem;
  }

  /* Show burger on mobile */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide menu by default on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.92rem;
  }

  .nav-links a {
    padding: 4px 0;
  }

  /* When nav is open, show the links */
  .site-header.nav-open .nav-links {
    display: flex;
  }
}


/* FORMS */

.form {
  margin-top: 26px;
  max-width: 520px;
}

.form-row {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field-label span.optional {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(5,6,9,0.9);
  color: var(--text-main);
  padding: 9px 10px;
  font-size: 0.9rem;
  font-family: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.form-actions {
  margin-top: 18px;
}

.form-status {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* LOGO STRIP */

.logo-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 26px;
  margin-bottom: 26px;
  opacity: 0.8;
}

.logo-strip-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.logo-strip img {
  height: 34px;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.logo-strip img:hover {
  opacity: 0.95;
}

/* HERO BACKGROUND IMAGE + SUBTLE MOTION */

.hero-with-bg {
  position: relative;
  padding: 0;
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Background image layer */
.hero-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-set.jpg") center center / cover no-repeat;
  transform: scale(1.05);
  animation: hero-slow-zoom 40s ease-in-out infinite alternate;
}


/* Dark overlay to keep text readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.2), rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.9));
  pointer-events: none;
}

/* Keep content aligned with your existing shell width */
.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 56px 20px 64px;
}

/* Bring existing hero content to the front */
.hero-inner-front {
  position: relative;
  z-index: 2;
}

/* Subtle zoom/pan motion */
@keyframes hero-slow-zoom {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(-1.5%, -1.5%, 0);
  }
  100% {
    transform: scale(1.1) translate3d(1.5%, 1.5%, 0);
  }
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .hero-with-bg {
    min-height: 80vh;
  }

  .hero-shell {
    padding: 40px 18px 48px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.4rem);
  }
}

/* ABOUT PAGE HERO BACKGROUND */

.hero-with-bg-about {
  position: relative;
  padding: 0;
  min-height: 60vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Background image */
.hero-with-bg-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-workshop.jpg") center center / cover no-repeat;
  transform: scale(1.05);
  animation: hero-slow-zoom-about 45s ease-in-out infinite alternate;
}

/* Dark overlay */
.hero-with-bg-about .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.75) 60%,
      rgba(0,0,0,0.9) 100%
  );
  pointer-events: none;
}

/* Shell for text */
.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 70px 20px 80px;
}

.hero-inner-front {
  position: relative;
  z-index: 3;
}

/* Motion */
@keyframes hero-slow-zoom-about {
  0%   { transform: scale(1.05) translate3d(0,0,0);}
  50%  { transform: scale(1.08) translate3d(-1.5%, -1%, 0);}
  100% { transform: scale(1.1) translate3d(1.5%, 1%, 0);}
}

/* WORK PAGE HERO BACKGROUND */

.hero-with-bg-work {
  position: relative;
  padding: 0;
  min-height: 60vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-with-bg-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/work-hero.jpeg") center center / cover no-repeat;
  transform: scale(1.05);
  animation: hero-slow-zoom-work 45s ease-in-out infinite alternate;
}

/* reuse same overlay class */
.hero-with-bg-work .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.8) 60%,
    rgba(0,0,0,0.9) 100%);
  pointer-events: none;
}

/* subtle motion */
@keyframes hero-slow-zoom-work {
  0%   { transform: scale(1.05) translate3d(0,0,0); }
  50%  { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.1) translate3d(1.5%, 1%, 0); }
}

/* SERVICES PAGE HERO BACKGROUND */

.hero-with-bg-services {
  position: relative;
  padding: 0;
  min-height: 60vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-with-bg-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/service-hero.jpg") center center / cover no-repeat;
  transform: scale(1.05);
  animation: hero-slow-zoom-services 45s ease-in-out infinite alternate;
}

.hero-with-bg-services .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.4),
      rgba(0,0,0,0.75) 55%,
      rgba(0,0,0,0.9)
  );
  pointer-events: none;
}

@keyframes hero-slow-zoom-services {
  0%   { transform: scale(1.05) translate3d(0,0,0); }
  50%  { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.1) translate3d(1.5%, 1%, 0); }
}

/* Burger toggle button (desktop: hidden) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px 4px;
  margin-left: 16px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease, translate 0.2s ease;
}

/* little spacing between bars */
.nav-toggle span + span {
  margin-top: 4px;
}

/* Animate to "X" when nav is open */
.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}



