/* Kontor Advisory — static site styles */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/newsreader-latin-opsz-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F3F0E8;
  --ink: #16181A;
  --ink-muted: #5E6164;
  --line: rgba(22, 24, 26, 0.16);
  --green: #1F4A3B;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: 60px;
  --content: 1080px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: var(--paper); }

h1, h2, h3, p { margin: 0; font-weight: inherit; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 12px; font-size: 14px;
}
.skip:focus { left: 8px; z-index: 10; }

/* Layout */
.wrap {
  width: 100%;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
}
.inner { width: 100%; max-width: var(--content); }

/* Navigation */
.nav .inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .wordmark { color: var(--ink); }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.nav-links a:hover, .wordmark:hover, .nav-links a[aria-current="page"] { color: var(--green); }

/* Type */
.label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.figure {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.title {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.body { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.muted { font-size: 16px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.45; color: var(--ink-muted); }

.text-link {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--ink); }

/* Intro */
.intro { padding-top: 136px; padding-bottom: 112px; }
.intro .inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.intro .display { max-width: 880px; }
.intro .body { max-width: 620px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  background: var(--green);
  color: var(--paper);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s var(--ease);
}
.button:hover { background: var(--ink); }

/* Sections with a label column */
.section { padding-bottom: 96px; }
.section.last { padding-bottom: 128px; }
.row {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.row > .label { flex: 0 0 220px; padding-top: 6px; }
.row > .content { flex: 1 1 0; min-width: 0; }

/* Results */
.results { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.result { display: flex; flex-direction: column; gap: 14px; padding-bottom: 44px; }
.result:nth-child(n+3) { padding-top: 28px; padding-bottom: 8px; border-top: 1px solid var(--line); }

/* Services */
.service { display: flex; gap: 32px; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.service:first-child { padding-top: 0; border-top: 0; }
.service .title { flex: 0 0 260px; }
.service .muted { flex: 1 1 0; }

/* Background */
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; padding-bottom: 36px; }
.quote:nth-child(n+3) { padding-top: 28px; padding-bottom: 8px; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

/* Brands */
.brands { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* Contact */
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.contact .heading { max-width: 640px; }
.contact .figure { overflow-wrap: anywhere; }
.contact-details { display: flex; align-items: center; gap: 28px; }

/* Legal pages */
.legal { padding-top: 96px; padding-bottom: 112px; }
.legal .inner { max-width: var(--content); }
.legal-body { max-width: 680px; display: flex; flex-direction: column; }
.legal-body h1 { margin-bottom: 36px; }
.legal-body h2 { margin-top: 32px; margin-bottom: 8px; }
.legal-body h1 + h2 { margin-top: 0; }

/* Footer */
.footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}
.legal-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.legal-links a { color: var(--ink-muted); }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--ink); }

/* Tablet */
@media (max-width: 1199.98px) {
  :root { --gutter: 40px; }
  .display { font-size: 52px; }
  .heading { font-size: 36px; }
  .figure { font-size: 36px; }
  .row > .label { flex-basis: 150px; }
  .row { gap: 32px; }
  .results, .quotes { column-gap: 32px; }
  .service .title { flex-basis: 200px; }
}

/* Phone */
@media (max-width: 809.98px) {
  :root { --gutter: 20px; }
  body, .body { font-size: 16px; }
  .display { font-size: 40px; }
  .heading { font-size: 30px; }
  .figure { font-size: 32px; }
  .nav .inner { height: 64px; }
  .nav-links li:not(:last-child) { display: none; }
  .intro { padding-top: 64px; padding-bottom: 72px; }
  .section { padding-bottom: 72px; }
  .section.last { padding-bottom: 88px; }
  .row { flex-direction: column; gap: 20px; }
  .row > .label { flex-basis: auto; padding-top: 0; }
  .results, .quotes { grid-template-columns: 1fr; }
  .quote, .quote:nth-child(n+3) { padding: 24px 0; border-top: 1px solid var(--line); }
  .quote:first-child { padding-top: 0; border-top: 0; }
  .quote blockquote p { font-size: 22px; }
  .result, .result:nth-child(n+3) { padding: 24px 0 24px; border-top: 1px solid var(--line); }
  .result:first-child { padding-top: 0; border-top: 0; }
  .service { flex-direction: column; gap: 8px; }
  .service .title { flex-basis: auto; }
  .contact .figure { font-size: 26px; }
  .legal { padding-top: 56px; padding-bottom: 72px; }
  .footer .inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

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