/* ============================================================
   NUTTER ROAD — Shared Stylesheet
   Fonts: Anton (headings), Epilogue (body)
   Colors extracted from Squarespace theme HSL variables
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Epilogue:wght@400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --yellow:    hsl(50.5, 100%, 72.75%);
  --red:       hsl(357.78, 100%, 37.06%);
  --black:     #000;
  --off-white: hsl(45, 20%, 96.08%);

  --max-width: 1400px;
  --gutter:    4vw;
  --gutter-mobile: 6vw;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--yellow);
  color: var(--black);
  font-family: 'Epilogue', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Header / Nav ──────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--yellow);
  padding: 2vw var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.logo {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.6;
}

/* Mobile hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--black);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--yellow);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav-close {
  position: absolute;
  top: 2vw;
  right: var(--gutter-mobile);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background-color: var(--yellow);
  padding: 4vw var(--gutter);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2vw;
  align-items: start;
}

.footer-logo {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.footer-col-label {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.3rem;
}

footer p,
footer a {
  font-size: 14px;
  color: var(--black);
}

footer a:hover {
  opacity: 0.6;
}

/* ── Utility ────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Brand Strategy + Accordion section */
.brand-strategy {
  padding: 6vw var(--gutter) 6vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand-strategy-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 8vw;
  align-items: start;
}

.brand-strategy-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 1.8rem;
}

.brand-strategy-left p {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--black);
}

.brand-strategy-left p:last-child {
  margin-bottom: 0;
}

/* Accordion */
.accordion-item {
  border-top: 1px solid rgba(0, 0, 0, 0.35);
}

.accordion-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

/* Remove default details marker */
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary::marker { display: none; }

.accordion-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.accordion-icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  position: relative;
  color: var(--red);
}

/* + icon using pseudo-elements */
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--red);
}

/* Horizontal bar */
.accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Vertical bar — hidden when open */
.accordion-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

details[open] .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  padding: 0 0 1.6rem;
}

.accordion-body p {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--red);
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

/* Hero section */
.hero {
  padding: 0 var(--gutter) 4vw;
}

.hero-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.05;
  padding: 3vw 0 2.5vw;
}

.hero-image {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Black banner */
.banner-gut {
  background-color: var(--black);
  padding: 5vw var(--gutter);
  text-align: center;
}

.banner-gut h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* Philosophy / GREAT V GOOD section */
.philosophy {
  padding: 8vw var(--gutter);
  background-image: url('images/city-lights.png');
  background-size: cover;
  background-position: center;
}

.philosophy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.philosophy-text {
  width: 60%;
  text-align: center;
  background-color: var(--yellow);
  padding: 4rem 3rem;
}

.philosophy-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--red);
}

.philosophy-text p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--black);
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.services-intro {
  padding: 6vw var(--gutter) 5vw;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 8vw;
  align-items: start;
}

.services-intro h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.services-intro-body p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.services-intro-body p:last-child {
  margin-bottom: 0;
}

/* Services grid */
.services-grid {
  padding: 0 var(--gutter) 8vw;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1.8rem;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.02);
}

.service-card h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-card p:last-of-type {
  margin-bottom: 1.5rem;
}

.service-list-label {
  font-family: 'Epilogue', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.service-list {
  list-style: none;
  margin-bottom: 0;
}

.service-list li {
  font-size: 0.92rem;
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  opacity: 0.4;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  padding: 6vw var(--gutter) 5vw;
}

.about-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
}

.about-hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

.about-intro p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Meet the Team section */
.about-team {
  background-color: var(--off-white);
  padding: 8vw var(--gutter);
}

.about-team-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
}

.about-team-content {
  grid-column: 2;
}

.about-team-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.about-team-intro {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--red);
  margin-bottom: 2rem;
}

/* Team accordion */
.team-accordion-item {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

.team-accordion-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.team-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.team-accordion-summary::-webkit-details-marker { display: none; }
.team-accordion-summary::marker { display: none; }

.team-accordion-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--black);
}

.team-accordion-body {
  padding: 0 0 1.6rem;
}

.team-accordion-bio {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
}

.team-accordion-bio img {
  width: 100%;
  height: auto;
}

.team-accordion-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--black);
}

.team-accordion-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .team-accordion-bio {
    grid-template-columns: 1fr;
  }

  .team-accordion-bio img {
    max-width: 200px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 767px) {

  header {
    padding: 6vw var(--gutter-mobile);
  }

  nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 0 var(--gutter-mobile) 6vw;
  }

  .hero-heading {
    padding: 6vw 0 4vw;
  }

  /* Brand strategy accordion */
  .brand-strategy {
    padding: 10vw var(--gutter-mobile);
  }

  .brand-strategy-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Philosophy */
  .philosophy {
    padding: 10vw var(--gutter-mobile);
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy-image {
    order: -1;
  }

  /* Services */
  .services-intro {
    padding: 8vw var(--gutter-mobile) 6vw;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    padding: 0 var(--gutter-mobile) 10vw;
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  /* About */
  .about-hero {
    padding: 8vw var(--gutter-mobile) 6vw;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-team {
    padding: 10vw var(--gutter-mobile);
  }

  .about-team-inner {
    grid-template-columns: 1fr;
  }

  .about-team-content {
    grid-column: 1;
  }

  /* Footer */
  footer {
    padding: 8vw var(--gutter-mobile);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
