/* ==============================================================
   RUSTEEZ — DESIGN TOKENS
   Edit the values below to re-theme the whole site from one place.
   ============================================================== */
:root {
  /* Colour palette */
  --charcoal:      #14161A; /* main background */
  --graphite:      #1E2126; /* panel / card background */
  --graphite-2:    #24282F; /* slightly lighter panel */
  --steel:         #C9CDD3; /* muted light text / secondary accent */
  --chrome:        #F5F6F7; /* headings on dark background */
  --ember:         #FF5A1F; /* primary accent — "polish glow" orange */
  --ember-dark:    #D9490F;
  --rust:          #B23A1E; /* secondary accent, used sparingly */
  --line:          rgba(201, 205, 211, 0.14);

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 4px;
  --header-h: 76px;
}

/* ==============================================================
   RESET
   ============================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--steel);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--chrome); margin: 0; text-transform: uppercase; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
section { padding: 96px 24px; scroll-margin-top: var(--header-h); }

/* Brushed-metal texture: faint diagonal hairlines used as a background
   accent — a nod to the physical material this business works on. */
.hero, .work, .enquiry {
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 5px);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ember);
  margin: 0 0 12px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.section-desc { max-width: 560px; color: var(--steel); }
.section-head { max-width: var(--max-width); margin: 0 auto 56px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--ember); color: #14161A; }
.btn-primary:hover { background: var(--ember-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 90, 31, 0.28); }
.btn-ghost { border-color: var(--line); color: var(--chrome); background: transparent; }
.btn-ghost:hover { border-color: var(--steel); }
.btn-block { width: 100%; }

/* ==============================================================
   HEADER / NAV
   ============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(20, 22, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

.navbar {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ember);
  color: #14161A;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  color: var(--chrome);
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--ember);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--chrome); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ember);
  color: #14161A !important;
  padding: 8px 18px;
  border-radius: var(--radius);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ember-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--chrome); transition: transform 0.2s ease, opacity 0.2s ease; }

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  overflow: hidden;
  /* EDIT: swap this gradient for a real photo, e.g.
     background-image: linear-gradient(180deg, rgba(20,22,26,.55), rgba(20,22,26,.95)), url('your-hero-photo.jpg');
     background-size: cover; background-position: center; */
  background-image:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(255,90,31,0.14), transparent 60%),
    linear-gradient(160deg, #17191E 0%, #101216 70%);
}

/* Signature element: a slow-moving diagonal "polish" streak of light —
   evokes a microfiber cloth sweeping across a freshly coated panel. */
.hero-shine {
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.05) 52%, transparent 60%);
  animation: sweep 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%   { transform: translateX(0) rotate(8deg); }
  50%  { transform: translateX(160%) rotate(8deg); }
  100% { transform: translateX(0) rotate(8deg); }
}

.hero-content { max-width: var(--max-width); margin: 0 auto; width: 100%; padding: 0 24px; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 24px;
}
.hero-desc { max-width: 520px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* ==============================================================
   OUR WORK — rotating image blocks
   ============================================================== */
.work-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work-block {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rotator {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite-2);
}
.rotator-track { position: relative; width: 100%; height: 100%; }
.rotator-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.rotator-img.is-active { opacity: 1; }

/* Shine-sweep hover: same signature treatment as the hero, replayed on
   each work panel as the visitor's cursor "polishes" the photo. */
.rotator::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.16) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.work-block:hover .rotator::after { transform: translateX(120%); }

.rotator-dots {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.rotator-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.rotator-dots span.is-active { background: var(--ember); transform: scale(1.2); }

.work-block-label {
  font-size: 1.05rem;
  padding: 18px 20px;
}

/* ==============================================================
   ABOUT US
   ============================================================== */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-media img { border-radius: var(--radius); border: 1px solid var(--line); }
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--ember); }
.stat-label { font-size: 0.8rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.04em; }

/* ==============================================================
   ENQUIRY
   ============================================================== */
.enquiry {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-card {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); }
.contact-phone { font-family: var(--font-display); font-size: 1.4rem; color: var(--chrome); letter-spacing: 0.02em; }
.contact-phone:hover { color: var(--ember); }

.enquiry-form {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); }
.form-row input, .form-row textarea {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--chrome);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--ember);
  outline: none;
}
.form-status { margin-top: 14px; font-size: 0.88rem; min-height: 1.2em; }
.form-status.is-success { color: var(--ember); }
.form-status.is-error { color: var(--rust); }

/* ==============================================================
   FOOTER
   ============================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 64px 24px 24px; }
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-tagline { flex-basis: 100%; font-size: 0.85rem; color: var(--steel); margin-top: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--steel); }
.footer-links a:hover { color: var(--ember); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.social-icons { display: flex; gap: 12px; margin-top: 14px; }
.social-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { color: var(--ember); border-color: var(--ember); transform: translateY(-2px); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: rgba(201,205,211,0.6);
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 900px) {
  .about, .enquiry { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--graphite);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.is-open { max-height: 320px; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 16px 24px; width: 100%; }
  .nav-cta { margin: 12px 24px; width: calc(100% - 48px); text-align: center; }
  .nav-toggle { display: flex; }

  .work-grid { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shine { animation: none; opacity: 0.4; }
  .rotator::after { transition: none; }
  .rotator-img { transition: none; }
}
