:root {
  --ink: #101316;
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --body: #3F454C;
  --muted: #565C63;
  --rule: #E4E0D8;
  --accent: #B4532A;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 249, 246, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px;
}
.logo img { display: block; height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 36px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 12px 0; transition: color .2s; }
.nav a.btn-nav { padding: 12px 22px; background: var(--ink); color: var(--paper); transition: background .2s, color .2s; }
.nav a.btn-nav:hover { background: var(--accent); color: var(--white); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 28px;
  background: var(--ink); color: var(--paper);
  border: 0; text-decoration: none; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--accent); }
.link-under {
  font-size: 15px; font-weight: 500; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding: 4px 0;
}

/* Type */
.label { margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.02em; }
.accent { color: var(--accent); }
em { font-style: italic; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.bordered { border-bottom: 1px solid var(--rule); }
.section-head { margin-bottom: 48px; }

/* Hero */
.hero .wrap {
  padding-top: 96px; padding-bottom: 104px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px;
}
.hero-text { flex: 1 1 560px; min-width: 0; }
.hero-text p { margin: 28px 0 0; max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--body); }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.court { flex: 1 1 380px; min-width: 0; max-width: 500px; margin: 0 0 0 auto; }
.court svg { display: block; width: 100%; height: auto; }

/* About */
.about h2 { max-width: 820px; }
.about-cols { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.about-cols p { flex: 1 1 300px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.7; }
.about-cols p + p { color: var(--body); }

/* Services */
.services { background: var(--white); }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.service {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.service .num { flex: 0 0 64px; font-family: var(--serif); font-size: 20px; color: var(--accent); }
.service h3 { flex: 1 1 360px; min-width: 0; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.service p { flex: 1 1 380px; min-width: 0; margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 48px; }
.audience { border-top: 1px solid var(--ink); padding-top: 28px; }
.audience h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.audience p { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--body); }

/* Dark band */
.dark { background: var(--ink); color: var(--paper); }
.dark a { color: var(--paper); }
.dark a:hover { color: #E7A783; }
.quiet { position: relative; overflow: hidden; }
.quiet .rings { position: absolute; right: -160px; top: 50%; transform: translateY(-50%); width: 640px; height: 640px; pointer-events: none; }
.quiet .wrap { position: relative; }
.quiet .label { color: rgba(250, 249, 246, 0.68); }
.quiet h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.025em; }
.quiet p:not(.label) { margin: 28px 0 0; max-width: 560px; font-size: 18px; line-height: 1.7; color: rgba(250, 249, 246, 0.78); }
.quiet .btn { margin-top: 40px; }
.dark .btn-light { color: var(--ink); }
.dark .btn-light:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid rgba(250, 249, 246, 0.12); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.footer-top img { display: block; height: 40px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 36px; font-size: 15px; }
.footer-nav a { text-decoration: none; padding: 12px 0; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(250, 249, 246, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(250, 249, 246, 0.6);
}

/* Connect page */
.connect .wrap {
  padding-top: 96px; padding-bottom: 104px;
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 96px;
}
.connect-intro { flex: 1 1 400px; min-width: 0; }
.connect-intro .h1 { font-size: clamp(52px, 6vw, 88px); }
.connect-intro > p:not(.label) { margin: 28px 0 0; max-width: 440px; font-size: 18px; line-height: 1.7; color: var(--body); }
.contact-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); max-width: 440px; }
.contact-line .field-label { margin: 0; }
.contact-line a { display: inline-block; margin-top: 12px; font-family: var(--serif); font-size: 26px; text-decoration: none; }
.form-card { flex: 1 1 560px; min-width: 0; margin-top: 40px; padding: 48px; background: var(--white); border: 1px solid var(--rule); }
.form { display: flex; flex-direction: column; gap: 36px; }
.field-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 16px; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #C9C4BA; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.role input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.role input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.input {
  width: 100%; min-height: 48px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid #B9B4AA; border-radius: 0;
  color: var(--ink); font: inherit; font-size: 17px;
}
.input:focus { outline: none; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
textarea.input { resize: vertical; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.sent { display: none; }
.form-card.is-sent .form { display: none; }
.form-card.is-sent .sent { display: flex; flex-direction: column; justify-content: center; min-height: 420px; }
.sent h2 { margin: 16px 0 0; font-family: var(--serif); font-weight: 300; font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; }
.sent p:not(.field-label) { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--body); }
.btn-outline { align-self: flex-start; margin-top: 32px; min-height: 48px; padding: 0 22px; background: transparent; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }

/* Small screens */
@media (max-width: 640px) {
  :root { --gutter: 24px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero .wrap, .connect .wrap { padding-top: 64px; padding-bottom: 72px; }
  .site-header { position: static; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .nav { gap: 0 20px; font-size: 14px; }
  .form-card { padding: 28px 24px; }
  .quiet .rings { right: -320px; opacity: .6; }
}

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