/* Paarl Design Studio — site styles */
:root {
  --black: #000;
  --ink: #111;
  --white: #fff;
  --paper: #f2f2f2;
  --gold: #c8a545;
  --gold-dark: #b08f34;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Abril Fatface", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--black); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ---------- Header ---------- */
.site-header { background: var(--black); position: relative; z-index: 20; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 110px; gap: 1rem;
}
.brand img { width: clamp(150px, 20vw, 210px); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 1.05rem; color: var(--white);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--white);
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 760px) {
  .site-header .wrap { min-height: 84px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--black); border-top: 1px solid #222;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav a { display: block; padding: .8rem 0; font-size: 1.15rem; border-bottom: 1px solid #1c1c1c; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: clamp(420px, 72vh, 760px);
  background-color: #222; background-size: cover; background-position: center;
  padding: 4rem var(--gutter);
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.hero h1 {
  position: relative; font-weight: 700; color: var(--white);
  font-size: clamp(2.3rem, 6.4vw, 5.6rem); letter-spacing: -.01em; line-height: 1.12;
  max-width: 11.5em; text-wrap: balance;
}
.hero--valley { background-image: url("../img/hero-paarl-valley.jpg"); background-position: center 62%; }
.hero--team { background-image: url("../img/hero-team.jpg"); background-position: center 55%; }

/* ---------- Buttons / CTA ---------- */
.cta { padding: clamp(3rem, 7vw, 5rem) var(--gutter); text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem;
  background: var(--gold); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  padding: 1.1rem clamp(2rem, 5vw, 3.8rem); border-radius: 10px; min-width: min(100%, 580px);
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--gold-dark); }
.btn .arrow {
  flex: none; width: 2.2em; height: 2.2em; border: 2px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(4px); }
.btn .arrow svg { width: 45%; height: 45%; }

/* ---------- Map ---------- */
.map iframe { display: block; width: 100%; height: clamp(320px, 40vw, 460px); border: 0; }

/* ---------- Our Story ---------- */
.story { padding: clamp(4rem, 10vw, 8rem) 0 clamp(2rem, 4vw, 3rem); }
.display { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6.5vw, 5.2rem); letter-spacing: .005em; }
.story .display { margin-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.story p {
  font-style: italic; font-weight: 600; font-size: clamp(1.1rem, 1.9vw, 1.6rem); line-height: 1.55;
  max-width: 62rem;
}
.story p + p { margin-top: 1.6em; }

/* ---------- Services rows ---------- */
.approach { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.approach-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: center;
  padding: clamp(1.8rem, 3.5vw, 3rem) 0; border-bottom: 3px solid var(--gold);
}
.approach-row:first-child { padding-top: 0; }
.approach-row h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.approach-row p { font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.service-list { font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.service-list span { white-space: nowrap; }
.service-list span + span::before { content: "|"; color: var(--gold); padding: 0 .55em; }
@media (max-width: 760px) {
  .approach-row { grid-template-columns: 1fr; }
  .service-list span { display: block; }
  .service-list span + span::before { display: none; }
}

/* ---------- Needs cards (Get in touch) ---------- */
.needs { background: var(--paper); color: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.needs h1 { text-align: center; font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: clamp(2rem, 5vw, 3.6rem); }
.needs h1 em { font-style: normal; color: var(--gold); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 2.4rem); }
.card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1.5px solid #222; border-radius: 12px; padding: 1.8rem 1rem 2rem;
  text-decoration: none; color: inherit; background: var(--paper);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); border-color: var(--gold); }
.card img { width: auto; height: 104px; margin-bottom: 1.4rem; }
.card h2 { font-weight: 600; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.15; }
.card .rule { width: 46%; height: 3px; background: var(--gold); margin: 1.4rem auto; border: 0; }
.card p { font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Hear from you + work ---------- */
.hello { padding: clamp(3.5rem, 8vw, 5.5rem) 0 0; text-align: center; }
.hello .display { margin-bottom: 1rem; }
.hello .lead { text-wrap: balance; font-weight: 600; font-size: clamp(1.05rem, 1.9vw, 1.6rem); }
.hello .lead a { text-underline-offset: .18em; text-decoration-thickness: 2px; }
.hello .lead a:hover { color: var(--gold); }
.work {
  list-style: none; margin: clamp(2.5rem, 6vw, 5rem) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 2.5vw, 2.4rem);
  max-width: 1100px;
}
.work img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 560px) { .work { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding-top: clamp(2rem, 6vw, 4rem); overflow: hidden; }
.site-footer .wrap { max-width: 1520px; }
.footer-line { display: block; width: 100%; height: clamp(90px, 14vw, 290px); }
.contact-row {
  list-style: none; margin: 0; padding: clamp(1.5rem, 3vw, 2.2rem) 0 clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.1rem clamp(1.2rem, 2.2vw, 2.4rem);
  font-weight: 500; font-size: clamp(.95rem, 1.15vw, 1.08rem);
}
.contact-row li { display: flex; align-items: center; gap: .7rem; white-space: nowrap; }
.contact-row img { width: 40px; height: 40px; }
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--gold); }
.contact-row .email a { text-decoration: underline; text-underline-offset: .2em; }
.contact-row .social { gap: .45rem; }
.contact-row .social a { display: block; transition: transform .2s; }
.contact-row .social a:hover { transform: translateY(-2px); }
.legal { border-top: 1px solid #1a1a1a; padding: 1rem 0 1.4rem; text-align: center; font-size: .85rem; color: #8a8a8a; }
@media (max-width: 760px) {
  .contact-row { flex-direction: column; align-items: flex-start; width: fit-content; margin: 0 auto; }
  .contact-row li { white-space: normal; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter); }
.notfound p { margin: 1rem 0 2rem; font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
