/* Kumquat Productions — site styles */
:root {
  --ink: #141414;
  --ink-2: #3A3A3A;
  --muted: #5E5E5E;
  --line: #E4E4E4;
  --paper: #FFFFFF;
  --paper-2: #F5F5F3;
  --kumquat: #F28C28;
  --on-dark: #FFFFFF;
  --on-dark-2: #CFCFCF;
  --on-dark-muted: #B8B8B8;
  --display: 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1360px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--kumquat); outline-offset: 3px; }
h1, h2, h3, p, ul { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark a { color: var(--on-dark); }
.soft { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--line); }
.rule-top-ink { border-top: 1px solid var(--ink); }

/* Dot — the brand mark */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--kumquat); flex: none; }
.stop { display: inline-block; width: 0.17em; height: 0.17em; border-radius: 50%; background: var(--kumquat); margin-left: 0.05em; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 28px; padding-bottom: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.logo .dot { width: 12px; height: 12px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; }
.nav a { padding: 10px 0; }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Type */
.label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.dark .label { color: var(--on-dark-muted); }
.label-dot { display: flex; align-items: center; gap: 10px; }
.h-hero { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 8vw, 120px); line-height: 0.98; letter-spacing: -0.045em; max-width: 1100px; }
.h-page { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.045em; max-width: 1120px; }
.h-big { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.05em; }
.h-section { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.03em; line-height: 1.1; }
.h-statement { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -0.035em; max-width: 820px; }
.h-item { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 620px; }
.body-l { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.dark .body-l, .dark .lede { color: var(--on-dark-2); }
.body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; font: 500 15px var(--body); cursor: pointer; }
.btn:hover { color: #fff; background: #000; }
.dark .btn { background: #fff; color: var(--ink); }
.dark .btn:hover { color: var(--ink); background: #EDEDED; }
.link-line { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink); font-size: 15px; }

/* Sections */
.hero { padding-top: 120px; padding-bottom: 140px; }
.hero .label { margin-bottom: 40px; }
.hero .lede { margin-top: 48px; }
.hero .actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.section { padding-top: 112px; padding-bottom: 112px; }
.page-head { padding-top: 100px; padding-bottom: 96px; }
.page-head .label { margin-bottom: 32px; }
.page-head .lede { margin-top: 40px; }

.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.split > .side { flex: 1 1 320px; }
.split > .main { flex: 2 1 560px; min-width: 0; }
.row-end { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; }
.row-end > .main { flex: 1 1 560px; }

/* Four services (home) */
.services-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 64px; }
.four { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--ink); }
.four article { padding: 32px 32px 48px 0; border-bottom: 1px solid var(--line); }
.four .dot { margin-bottom: 56px; }
.four h3 { margin-bottom: 16px; }

/* How we work */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.three > div { border-top: 1px solid var(--ink); padding-top: 24px; }
.three h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 12px; }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; }
.city { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1; margin: 20px 0; }
.time { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Services page */
.svc { border-top: 1px solid var(--ink); padding: 48px 0 64px; }
.svc:last-child { border-bottom: 1px solid var(--ink); }
.svc .dot { margin-bottom: 20px; }
.svc .body-l { margin-bottom: 32px; }
.svc ul { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.svc li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* About */
.about-copy { display: flex; flex-direction: column; gap: 28px; max-width: 720px; }
.about-copy .first { font-size: 24px; line-height: 1.5; color: var(--ink); }
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.founder { display: flex; flex-direction: column; gap: 20px; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: #E6E5E1; }
.founder .role { font-size: 15px; color: var(--muted); margin: 6px 0 16px; }
.founder .body + .body { margin-top: 14px; }
.founder .link-line { margin-top: 12px; }

/* Contact */
.contact-cols { display: flex; flex-wrap: wrap; gap: 64px 80px; padding-top: 64px; padding-bottom: 112px; }
.contact-info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 48px; }
.contact-info .label { margin-bottom: 12px; text-transform: none; letter-spacing: 0; }
.contact-info .big { font-size: 18px; }
.contact-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.contact-form { flex: 1.3 1 480px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 28px; }
.form-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field input, .field textarea { font: 18px var(--body); color: var(--ink); border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; background: transparent; }
.field textarea { resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 14px; color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 15px var(--body); cursor: pointer; background: #fff; color: var(--ink); border: 1px solid #8A8A8A; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-note { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer .wrap { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer .tag { color: var(--ink); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header .wrap { padding-top: 20px; padding-bottom: 12px; }
  .nav { gap: 4px 22px; }
  .hero { padding-top: 64px; padding-bottom: 80px; }
  .h-hero { font-size: clamp(34px, 10.4vw, 48px); }
  .hero .label { margin-bottom: 28px; }
  .hero .lede, .hero .actions { margin-top: 28px; }
  .hero .actions .btn { width: 100%; justify-content: center; min-height: 52px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .page-head { padding-top: 56px; padding-bottom: 56px; }
  .services-head { margin-bottom: 32px; }
  .four article { padding: 24px 0 32px; }
  .four .dot { margin-bottom: 20px; }
  .body-l { font-size: 17px; }
  .about-copy .first { font-size: 20px; }
  .founders, .locations, .three { gap: 40px; }
  .contact-cols { padding-top: 40px; padding-bottom: 72px; }
}
