@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400-normal-1.woff2") format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500-normal-2.woff2") format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600-normal-3.woff2") format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500-normal-4.woff2") format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600-normal-5.woff2") format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400-italic-6.woff2") format('woff2');
}

  :root {
    --ww-red: #c13525;
    --ww-red-dark: #a82a1c;
    --ww-gold: #dbaf65;
    --ww-gold-dark: #b8924a;
    --ww-cream: #f5ecdd;
    --ww-ink: #1f1a17;
    --ww-gray-700: #4a4540;
    --ww-gray-500: #8a837b;
    --ww-gray-200: #e8e4dd;
    --ww-gray-50: #faf8f4;
    --ww-white: #ffffff;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ww-ink);
    background: var(--ww-white);
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ww-ink);
  }
  h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; }
  h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
  h3 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; font-weight: 500; }
  p { color: var(--ww-gray-700); }
  a { color: var(--ww-ink); text-decoration: none; }
  a:hover { color: var(--ww-red); }
  img { max-width: 100%; display: block; }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  @media (min-width: 768px) { .container { padding: 0 48px; } }

  .eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ww-red);
    margin-bottom: 16px;
    display: inline-block;
  }
  .divider {
    width: 48px;
    height: 2px;
    background: var(--ww-gold);
    margin-bottom: 24px;
  }
  .divider-centered { margin: 0 auto 24px; }

  .btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.01em;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
  }
  .btn-primary { background: var(--ww-red); color: white; }
  .btn-primary:hover { background: var(--ww-red-dark); color: white; }
  .header-cta { padding: 10px 20px; font-size: 14px; }
  .btn-secondary {
    background: transparent;
    color: var(--ww-ink);
    border: 1px solid var(--ww-ink);
    padding: 13px 27px;
  }
  .btn-secondary:hover { background: var(--ww-ink); color: white; }

  /* HEADER */
  header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ww-gray-200);
    z-index: 100;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
  }
  .logo-wrap { display: flex; align-items: center; gap: 12px; }
  .logo-wrap img { height: 44px; width: auto; border-radius: 2px; }
  .logo-text {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
  }
  .logo-text small {
    display: block;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: var(--ww-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 2px;
  }
  nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
  nav a { font-weight: 500; font-size: 15px; }
  nav .linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid var(--ww-gray-200);
    border-radius: 50%;
    transition: all 0.15s ease;
  }
  nav .linkedin-link:hover {
    border-color: var(--ww-red);
    background: var(--ww-red);
  }
  nav .linkedin-link svg { width: 16px; height: 16px; fill: var(--ww-ink); transition: fill 0.15s ease; }
  nav .linkedin-link:hover svg { fill: white; }
  @media (max-width: 767px) { nav ul li:not(:last-child):not(.linkedin-nav) { display: none; } }

  /* HERO */
  .hero { padding: clamp(64px, 12vw, 128px) 0 clamp(64px, 10vw, 96px); }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }
  @media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; }
  }
  .hero h1 { margin-bottom: 24px; }
  .hero .lead { font-size: clamp(18px, 2.2vw, 20px); line-height: 1.55; max-width: 560px; margin-bottom: 32px; color: var(--ww-gray-700); }
  .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-logo img {
    max-width: 420px;
    width: 100%;
    border: 1px solid var(--ww-gray-200);
    border-radius: 8px;
  }

  /* SECTIONS */
  section { padding: clamp(64px, 10vw, 96px) 0; }
  .section-cream { background: var(--ww-cream); }
  .section-head { max-width: 720px; margin-bottom: 64px; }
  .section-intro { margin-top: 16px; font-size: 18px; }

  /* SERVICES */
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
  .service {
    background: white;
    border: 1px solid var(--ww-gray-200);
    border-radius: 8px;
    padding: 32px;
    transition: border-color 0.2s ease;
  }
  .service:hover { border-color: var(--ww-gold); }
  .service-num {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ww-red);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }
  .service h3 { margin-bottom: 16px; }
  .service p { font-size: 16px; }
  .service ul { list-style: none; margin-top: 16px; }
  .service ul li {
    font-size: 14px;
    color: var(--ww-gray-700);
    padding: 4px 0 4px 20px;
    position: relative;
  }
  .service ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 1px;
    background: var(--ww-gold);
  }

  /* PORTFOLIO */
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--ww-gray-200);
    border: 1px solid var(--ww-gray-200);
    border-radius: 8px;
    overflow: hidden;
  }
  @media (min-width: 768px) {
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
    .clients-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .clients-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .clients-grid--4 { grid-template-columns: repeat(4, 1fr); }
  }
  .client {
    background: white;
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 196px;
    transition: background 0.2s ease;
  }
  @media (min-width: 768px) { .client { min-height: 178px; } }
  .client:hover { background: var(--ww-gray-50); }
  .client-logo {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ww-ink);
    opacity: 0.8;
    transition: opacity 0.2s ease;
  }
  .client-logo img {
    width: auto;
    max-width: min(170px, 100%);
    max-height: 58px;
    object-fit: contain;
  }
  .client-logo img.logo-fbto {
    max-height: 64px;
    transform: scale(1.16);
  }
  .client:hover .client-logo { opacity: 1; }
  .client-logo .wm { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
  .client-logo .wm-bold { font-weight: 800; letter-spacing: 0.05em; }
  .client-logo .wm-regular { font-weight: 600; }
  .client-logo .wm-serif { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 26px; }
  .client-logo .wm-caps { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
  .client-logo .wm-italic { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; font-size: 28px; }
  .client-logo .wm-bzk { text-align: center; line-height: 1; }
  .client-logo .wm-bzk .big { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 0.15em; display: block; }
  .client-logo .wm-bzk .small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ww-gray-500); margin-top: 4px; display: block; }
  .client-logo .wm-highberg::before {
    content: '';
    display: inline-block;
    width: 3px; height: 22px;
    background: var(--ww-ink);
    margin-right: 10px;
    vertical-align: middle;
  }
  .client-role {
    font-size: 11px;
    color: var(--ww-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 16px;
  }

  /* CASES */
  .cases-wrap { margin-top: 80px; }
  .cases { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .cases-wrap .cases { margin-top: 32px; }
  @media (min-width: 900px) { .cases { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
  .case {
    background: white;
    border-radius: 8px;
    padding: 40px;
    border: 1px solid var(--ww-gray-200);
  }
  .case .eyebrow { color: var(--ww-gold-dark); }
  .case h3 { margin-bottom: 16px; }
  .case .meta {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--ww-gray-200);
    font-size: 13px;
    color: var(--ww-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* ABOUT */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }
  @media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; } }
  .about-img {
    background: var(--ww-cream);
    aspect-ratio: 3/4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    color: var(--ww-gray-500);
    font-style: italic;
  }
  .about-heading { margin-top: 12px; }
  .about-role {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--ww-gray-500);
    margin-top: 8px;
  }
  .about-text p { margin-bottom: 20px; font-size: 18px; line-height: 1.65; }
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--ww-gray-200);
  }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--ww-red);
    line-height: 1;
  }
  .stat-label {
    font-size: 13px;
    color: var(--ww-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
  }

  /* SIDE PROJECTS */
  .side-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 900px) { .side-projects-grid { grid-template-columns: repeat(3, 1fr); } }
  .side-project {
    min-height: 300px;
    display: grid;
    grid-template-rows: 72px 42px auto 1fr;
    align-content: start;
    padding: 32px;
    border: 1px solid var(--ww-gray-200);
    border-radius: 8px;
    background: var(--ww-white);
    transition: border-color 0.2s ease, transform 0.2s ease;
  }
  a.side-project:hover {
    color: var(--ww-ink);
    border-color: var(--ww-gold);
    transform: translateY(-2px);
  }
  .side-project-logo {
    height: 72px;
    display: flex;
    align-items: flex-start;
  }
  .side-project-logo img {
    width: auto;
    max-width: min(180px, 100%);
    max-height: 56px;
    object-fit: contain;
  }
  .side-project-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ww-red);
    margin-bottom: 16px;
    align-self: end;
  }
  .side-project h3 { margin-bottom: 16px; }
  .side-project p { font-size: 16px; }

  /* CONTACT */
  .contact { text-align: center; padding: clamp(80px, 12vw, 128px) 0; }
  .contact h2 { margin-bottom: 24px; }
  .contact p { font-size: 19px; max-width: 560px; margin: 0 auto 40px; }
  .contact-methods { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
  .contact-methods a { font-weight: 500; }
  .contact-methods a:not(.linkedin-btn) { border-bottom: 1px solid var(--ww-gold); padding-bottom: 2px; }
  .linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--ww-ink);
    color: white !important;
    border-radius: 4px;
    transition: background 0.15s ease;
  }
  .linkedin-btn:hover { background: var(--ww-red); color: white; }
  .linkedin-btn svg { width: 18px; height: 18px; fill: currentColor; }

  /* FOOTER */
  footer {
    background: var(--ww-ink);
    color: var(--ww-cream);
    padding: 48px 0 24px;
  }
  footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
  footer a { color: var(--ww-cream); }
  footer a:hover { color: var(--ww-gold); }
  footer small { color: var(--ww-gray-500); font-size: 13px; }
  .footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .footer-linkedin { display: inline-flex; }
  .footer-icon {
    width: 20px;
    height: 20px;
    fill: var(--ww-cream);
  }
  footer .footer-logo {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 16px;
  }
