/* ===== SETUP ===== */

* {
  box-sizing: border-box;
}

/* Overall page  */
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;

  /* Background and text colours */
  background: #050505;
  color: #f5f5f5;
}

/* ===== HEADER ===== */

/* The top bar  */
.site-header {
  display: flex;
  justify-content: space-between; /* brand left, nav right */
  align-items: center;
  padding: 20px 48px;
  border-bottom: 1px solid #1a1a1a;
  width: 100%;
}

/* Brand text */
.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c7a34b;          /* gold */
  text-decoration: none;
}

.brand:visited {
  color: #c7a34b;
}

.nav a,
.nav a:visited {
  color: #f5f5f5;
  text-decoration: none;
  margin-left: 16px;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}


/* ===== MAIN CONTENT WRAPPER ===== */

.container {
  max-width: 1400px;      /*  content width */
  margin: 0 auto;       /* Centres the content */
  padding: 64px 48px;
}

/* ===== HERO SECTION ===== */

.hero {
  text-align: center;
  padding: 64px 0 56px;
}

.hero-logo {
  width: min(420px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 60ch;
  opacity: 0.85;
}

/* ===== BUTTONS ===== */

.button {
  background: #c7a34b;
  color: #111;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 650;
}

.button-outline {
  background: transparent;
  color: #c7a34b;
  border: 1px solid #c7a34b;
  padding: 12px 18px;
  border-radius: 14px;
}

.buttons {
  margin-top: 16px;       /* pushes buttons down */
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== CONTENT CARDS ===== */

.card {
  border: none;
  border-top: 1px solid #1a1a1a;
  padding: 32px 0;
  margin-top: 40px;
}

/* ===== IMAGE GRID ===== */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

/* Placeholder boxes for future images */
.placeholder {
  border: 1px dashed #444;
  border-radius: 12px;
  padding: 32px 12px;
  text-align: center;
  color: #aaa;
}

/* ===== FOOTER ===== */

.site-footer {
  border-top: 1px solid #222;
  text-align: center;
  padding: 20px;
  margin-top: 48px;
  color: #aaa;
}


/* ===== SPLASH SCREEN ===== */

.splash {
  position: fixed;
  inset: 0;
  background: #050505;
  display: grid;
  place-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 700ms ease;
}

.splash-inner {
  text-align: center;
}

/* Splash logo image */
.splash-logo-img {
  width: min(720px, 92vw);
  height: auto;
  display: block;
  transform: scale(1);
  transform-origin: center;
  transition: transform 700ms ease, opacity 700ms ease;
}

/* Fade the overlay and shrink/fade the logo */
.splash-hide {
  opacity: 0;
  pointer-events: none;
}

.splash-hide .splash-logo-img {
  transform: scale(0.6);
  opacity: 0;
}

/* ===== COMMISSIONS GALLERY  ===== */

/* Default: 2 columns on mobile (readable) */
.grid-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Desktop: 3 columns */
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.gallery-img {
  width: 100%;
  aspect-ratio: 1 / 1;     
  object-fit: cover;       
  border-radius: 14px;
  border: 1px solid #222;
  display: block;
  background: #050505;     
}

/* ===== ABOUT PAGE LAYOUT ===== */

.about-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}

.about-text {
  max-width: 70ch;
}

.about-img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #222;
  display: block;
}

/* Desktop: photo | text | photo */
@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
  }
}


/* ===== FEATURED WORK (HOMEPAGE) ===== */

.featured-work {
  text-align: center;
}

.featured-title {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
  opacity: 0.9;
}

.featured-grid {
  margin: 0;
}

/* ===== TRUST LINE ===== */

.trust-line {
  text-align: center;
  margin: 40px 0 10px;
  opacity: 0.8;
}

.trust-line p {
  margin: 10px 0;
}

.trust-line a {
  color: #c7a34b;
  text-decoration: none;
}

.trust-line a:hover {
  text-decoration: underline;
}


 ===== CONTACT FORM ===== */

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  max-width: 720px;
}

/* Label text above fields */
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Inputs + textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #222;
  background: #0b0b0b;
  color: #f5f5f5;
  font: inherit;
  outline: none;
}

/* Gold focus ring */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c7a34b;
}

/* Tidy textarea behaviour */
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

/* Button placement */
.contact-form button {
  justify-self: start;
}

/* Optional: muted helper text */
.muted {
  opacity: 0.75;
  margin-top: 18px;
}