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

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

:root {
  --white:       #FFFFFF;
  --black:       #0D0D0D;
  --muted:       #555555;
  --gold:        #c4a882;
  --rule:        #E0E0E0;
  --placeholder: #F0F0F0;
  /* case study dark palette */
  --navy:        #1A2333;
  --navy-light:  #212d42;
  --cream:       #F5F3EE;
  --cs-border:   rgba(200,185,138,.15);
}

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

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* case study pages use same white base as main page */

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

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: var(--white);
  transition: padding .3s;
}

.nav.scrolled { padding: 1.1rem 0; }

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
  transition: color .2s;
}

.nav-links a:hover { color: var(--black); }

.nav-cta { display: none; }

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

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: .3s;
}

/* ─── Mobile Menu ─── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 8vw, 5rem);
  gap: 2rem;
}

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

.mobile-nav a {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--black);
  transition: color .2s;
}

.mobile-nav a:hover { color: var(--gold); }

/* ─── Sections ─── */
section { padding: clamp(5rem, 10vw, 10rem) 0; }

/* ─── Hero ─── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

.hero-content { max-width: 900px; }

.hero-headline {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 6rem);
  line-height: .95;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  transition: opacity .2s;
}

.btn-primary:hover { background: var(--gold); color: var(--black); opacity: 1; }

.btn-secondary {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}

.btn-secondary:hover { color: var(--muted); }

/* ─── About ─── */
.about { padding-top: 0; }

.about-headline {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 2rem;
}

.about-body {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-body p {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.85;
}

/* ─── Services & Process (two-col grid) ─── */
.section-headline {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: .5rem;
  line-height: 1.05;
}

.section-intro {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
  margin-top: .75rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(3rem, 8vw, 7rem);
  row-gap: clamp(3rem, 5vw, 4.5rem);
}

.grid-item-num {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  color: var(--muted);
  opacity: .6;
  margin-bottom: .5rem;
}

.grid-item-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: .65rem;
  line-height: 1.1;
}

.grid-item-desc {
  font-size: clamp(.85rem, 1.3vw, .95rem);
  color: var(--muted);
  line-height: 1.8;
}

/* ─── Work ─── */
.work-header { margin-bottom: clamp(3rem, 6vw, 5rem); }

.work-headline {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: .4rem;
  line-height: 1.05;
}

.work-scroll-hint {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 10vw, 8rem);
}

.work-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-item-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--placeholder);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.work-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.work-item:hover .work-item-image img { transform: scale(1.03); }

.work-item-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: .5rem;
  transition: color .2s;
  line-height: 1.05;
}

.work-item:hover .work-item-name { color: var(--muted); }

.work-item-tags {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Testimonials ─── */
.testimonials-headline {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
}

.testimonial-list { border-top: 1px solid var(--rule); }

.testimonial-item {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--rule);
}

.testimonial-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: .35rem;
  line-height: 1.1;
}

.testimonial-role {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.85;
  max-width: 820px;
}

/* ─── Contact ─── */
.contact-headline {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.05;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 680px;
}

.form-field { display: flex; flex-direction: column; }

.form-field label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: .75rem;
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: .5rem 0 .75rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--black);
  outline: none;
  transition: border-color .2s;
  resize: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #BBBBBB; }

.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--gold); }

.form-field textarea { min-height: 120px; }

.form-submit {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
  align-self: flex-start;
}

.form-submit:hover { background: var(--gold); color: var(--black); opacity: 1; }

/* ─── Contact Feedback ─── */
.contact-feedback { max-width: 680px; }

.contact-success,
.contact-error {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
}

.contact-success strong {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  display: block;
  margin-bottom: .4rem;
  color: var(--black);
  letter-spacing: -.01em;
}

.contact-success { color: var(--muted); }

.contact-error {
  color: var(--muted);
}

.contact-error a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Footer ─── */
footer { padding: 2.5rem 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-name,
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: var(--muted);
}

/* case study footer elements */
.footer-logo {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245,243,238,.35);
  transition: color .2s;
}

.footer-links a:hover { color: var(--gold); }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Case Study Hero Image ─── */
.cs-hero-image {
  width: 100%;
  line-height: 0;
}

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

/* ─── Case Study Gallery ─── */
.cs-gallery {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--rule);
}

.cs-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cs-gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Case Study Pages ─── */
.cs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: var(--white);
  transition: padding .3s;
}

.cs-nav.scrolled { padding: 1.1rem 0; }

.cs-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-back {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
  transition: color .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.cs-back:hover { color: var(--black); }

.cs-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.cs-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tag {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}

.tag + .tag::before {
  content: '/';
  margin-right: .5rem;
  opacity: .4;
}

.cs-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .9;
  color: var(--black);
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}

.cs-collab {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.cs-collab::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

.cs-content { padding: clamp(4rem, 8vw, 7rem) 0; }

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.cs-sidebar {
  position: sticky;
  top: 6rem;
}

.cs-sidebar-label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}

.cs-sidebar-heading {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 2rem;
}

.cs-sidebar-meta {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.85;
}

.cs-blocks { display: flex; flex-direction: column; gap: 3.5rem; }

.cs-block-label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.cs-block-text {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.9;
}

.cs-block-text.large {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #333333;
}

.cs-image-block {
  margin: 3.5rem 0;
  background: var(--placeholder);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cs-image-placeholder {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(0,0,0,.08);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.cs-nav-footer {
  border-top: 1px solid var(--rule);
  padding: 4rem 0;
}

.cs-nav-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cs-nav-link {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-decoration: none;
  color: inherit;
}

.cs-nav-link-label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .6;
}

.cs-nav-link-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--black);
  transition: color .2s;
}

.cs-nav-link:hover .cs-nav-link-title { color: var(--muted); }
.cs-nav-link.right { text-align: right; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .two-col-grid { grid-template-columns: 1fr; }

  .form-submit {
    align-self: stretch;
    text-align: center;
    width: 100%;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }

  .cs-grid { grid-template-columns: 1fr; }
  .cs-sidebar { position: static; }
  .cs-nav-footer .container { flex-direction: column; align-items: flex-start; }
  .cs-nav-link.right { text-align: left; }
}
