/* ===========================
   Oxford Design Partners
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@700;800&display=swap');

:root {
  --yellow: #F5E100;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --grey-light: #F2F2F2;
  --grey-mid: #D0D0D0;
  --grey-dark: #444444;
  --font: 'Inter', sans-serif;
  --font-headline: 'Sora', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Prevent widows on headings and display text */
h1, h2, h3, h4,
.hero__headline,
.intro__statement,
.about-strip__headline,
.cta-band__headline,
.page-hero__title,
.contact-info__headline {
  text-wrap: balance;
}

/* Prevent widows on body paragraphs */
p {
  text-wrap: pretty;
}

/* ===========================
   NAV
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  mix-blend-mode: normal;
  transition: background 0.3s;
}

.nav.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


.nav__logo {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.nav__logo span {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__logo,
.nav__links a,
.nav__toggle span {
  transition: color 0.2s, background 0.2s, opacity 0.2s;
}

.nav--inverted .nav__logo {
  color: var(--white);
}

.nav--inverted .nav__links a {
  color: var(--white);
}

.nav--inverted .nav__toggle span {
  background: var(--white);
}

.nav__links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  opacity: 0.5;
}

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

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* Nav starts transparent over yellow hero; JS adds .scrolled on scroll */
.page-home .nav:not(.scrolled) {
  background: transparent;
}

/* ===========================
   HERO
   =========================== */

.hero {
  background: var(--yellow);
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 40px 60px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
}

.hero__text {
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.6;
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 40px;
}

.hero__headline em {
  font-style: normal;
  display: block;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
  transition: opacity 0.2s;
}

.hero__cta:hover {
  opacity: 0.5;
}

.hero__arrow {
  font-size: 20px;
  transform: rotate(-45deg);
  display: inline-block;
  transition: transform 0.3s;
}

.hero__cta:hover .hero__arrow {
  transform: rotate(-45deg) translate(3px, -3px);
}

.hero__scroll {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  font-weight: 600;
}

/* ===========================
   HERO IMAGE BAND
   =========================== */

.hero-image {
  width: 100%;
  height: 55vw;
  max-height: 680px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   INTRO
   =========================== */

.intro {
  background: var(--grey-light);
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro__statement {
  font-family: var(--font-headline);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.intro__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-dark);
}

.intro__body p + p {
  margin-top: 20px;
}

/* ===========================
   SERVICES STRIP
   =========================== */

.services {
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
}

.services__item {
  border-bottom: 1px solid var(--grey-mid);
}

.services__item:last-child {
  border-bottom: none;
}

.services__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 40px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--black);
  font-family: var(--font);
  transition: background 0.2s;
}

.services__trigger:hover {
  background: var(--yellow);
}

.services__item.is-open .services__trigger {
  background: var(--yellow);
}

.services__name {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.services__icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 36px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.3s;
}

.services__trigger:hover .services__icon {
  background: var(--black);
  color: var(--yellow);
}

.services__item.is-open .services__icon {
  background: var(--black);
  color: var(--yellow);
  transform: rotate(45deg);
}

.services__panel {
  display: none;
  padding: 0 40px 32px;
  background: var(--yellow);
}

.services__item.is-open .services__panel {
  display: block;
}

.services__panel p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--black);
  max-width: 680px;
}

/* ===========================
   WORK PREVIEW (HOME)
   =========================== */

.work-preview {
  padding: 100px 40px;
}

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

.section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.section-link:hover {
  opacity: 0.4;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  display: block;
  cursor: pointer;
}

.work-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-mid);
  margin-bottom: 20px;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s, transform 0.4s;
}

.work-card:hover .work-card__image img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.work-card__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 8px;
}

.work-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.work-card__desc {
  font-size: 14px;
  color: var(--grey-dark);
  margin-top: 8px;
  line-height: 1.6;
}

/* ===========================
   CTA BAND
   =========================== */

.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.cta-band__headline {
  font-family: var(--font-headline);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cta-band__headline span {
  color: var(--yellow);
}

.cta-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.cta-band__btn:hover {
  background: var(--white);
}

/* ===========================
   ABOUT (home snippet)
   =========================== */

.about-strip {
  padding: 100px 40px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-strip__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.about-strip__headline {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 32px;
}

.about-strip__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-dark);
}

.about-strip__body p + p {
  margin-top: 20px;
}

.about-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
  margin-top: 40px;
  transition: opacity 0.2s;
}

.about-strip__link:hover {
  opacity: 0.4;
}

.about-strip__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--grey-mid);
}

.about-strip__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 40px 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer__brand-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-top: 8px;
}

.footer__nav h4,
.footer__contact h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 20px;
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer__nav a:hover {
  opacity: 1;
}

.footer__contact p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.7;
}

.footer__contact a {
  opacity: 1;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s;
}

.footer__contact a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer__bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal {
  font-size: 12px;
  opacity: 0.35;
  line-height: 1.6;
}

.footer__legal a {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--yellow);
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */

.page-hero {
  background: var(--yellow);
  color: var(--black);
  padding: 160px 40px 80px;
}

.page-hero__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.5;
  margin-bottom: 24px;
}

.page-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

/* ===========================
   WORK PAGE
   =========================== */

.work-full {
  padding: 80px 40px;
}

.work-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--grey-mid);
}

.project-card {
  background: var(--white);
  display: block;
  position: relative;
  overflow: hidden;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--grey-light);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s, transform 0.5s;
}

.project-card:hover .project-card__image img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.project-card__info {
  padding: 32px;
  background: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.project-card__meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 8px;
}

.project-card__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.project-card__desc {
  font-size: 14px;
  color: var(--grey-dark);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 420px;
}

.project-card__arrow {
  width: 44px;
  height: 44px;
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transform: rotate(-45deg);
  transition: background 0.2s, color 0.2s;
}

.project-card:hover .project-card__arrow {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* wide card spans both cols */
.project-card--wide {
  grid-column: span 2;
}

.project-card--wide .project-card__image {
  aspect-ratio: 21/9;
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.contact-info {
  background: var(--grey-light);
  padding: 80px 60px 80px 40px;
}

.contact-info__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0.5;
}

.contact-info__headline {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 40px;
}

.contact-detail {
  margin-bottom: 32px;
}

.contact-detail__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 8px;
}

.contact-detail__value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-detail__value a {
  border-bottom: 1px solid var(--black);
  transition: opacity 0.2s;
}

.contact-detail__value a:hover {
  opacity: 0.4;
}

.contact-form {
  padding: 80px 40px 80px 60px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.6;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--grey-mid);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group textarea {
  resize: none;
  height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--black);
  color: var(--yellow);
}

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

.about-full {
  padding: 80px 40px;
  max-width: 900px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px 40px;
  background: var(--grey-light);
}

.value-item__number {
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
  /* yellow on white needs black outline for visibility */
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
}

/* simpler - just yellow background highlight */
.value-item__number {
  -webkit-text-stroke: unset;
  color: var(--black);
  background: var(--yellow);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.value-item__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.value-item__body {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.7;
}

/* ===========================
   PRIVACY PAGE
   =========================== */

.prose {
  padding: 80px 40px;
  max-width: 760px;
}

.prose h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
}

.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-dark);
  margin-bottom: 16px;
}

.prose ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose strong {
  color: var(--black);
  font-weight: 700;
}

/* ===========================
   SUCCESS MESSAGE
   =========================== */

.form-success {
  display: none;
  background: var(--yellow);
  padding: 24px 32px;
  font-weight: 700;
  font-size: 16px;
  margin-top: 16px;
}

/* ===========================
   PLACEHOLDER IMAGES
   =========================== */

.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grey-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .nav {
    padding: 16px 24px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--yellow);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.01em;
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .hero {
    padding: 0 24px 48px;
  }

  .intro {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .about-strip {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }

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

  .work-full {
    padding: 40px 24px;
  }

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

  .project-card--wide {
    grid-column: span 1;
  }

  .project-card--wide .project-card__image {
    aspect-ratio: 4/3;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 60px 24px;
  }

  .contact-form {
    padding: 60px 24px;
  }

  .about-values {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .page-hero {
    padding: 120px 24px 60px;
  }

  .services__item {
    padding: 24px;
  }

  .footer {
    padding: 48px 24px 32px;
  }

  .prose {
    padding: 60px 24px;
  }
}
