:root {
  --paper: #f5f3ed;
  --ink: #282d29;
  --muted: #686d65;
  --accent: #cb4d2c;
  --line: #dcded4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button, input {
  font: inherit;
}

button, a, dialog {
  outline-offset: 5px;
}

:focus-visible {
  outline: 2px solid var(--accent);
}

button, a {
  touch-action: manipulation;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

h1, h2, h3, p {
  margin: 0;
}

body .container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon, .service-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 14px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 100px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.25px;
  line-height: 1;
}

.brand-light {
  font-weight: 400;
}

.brand-caption {
  display: block;
  margin-top: 9px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.75px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 13px);
  gap: 3px;
  transform: rotate(-6deg);
}

.brand-mark i {
  width: 13px;
  height: 13px;
  background: var(--ink);
}

.brand-mark i:first-child {
  background: var(--accent);
}

.brand-mark i:last-child {
  border: 1.5px solid var(--ink);
  background: transparent;
}

.site-header .desktop-nav {
  gap: 34px;
  margin-left: auto;
  font-size: 13px;
}

.site-header .desktop-nav a, .footer-bottom a {
  transition: color 180ms ease;
}

.site-header .desktop-nav a:hover, .footer-bottom a:hover {
  color: var(--accent);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-left: 27px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-size: 13px;
  transition: background 180ms, color 180ms;
}

.header-contact:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle, .mobile-nav {
  display: none;
}

.hero {
  padding-top: 54px;
  background-image: linear-gradient(90deg, transparent 49.95%, #dcded426 50%, transparent 50.05%);
}

.hero-grid {
  grid-template-columns: 1.12fr 1fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.6;
}

.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accent-line {
  width: 24px;
  height: 2px;
  background: var(--accent);
}

body h1 {
  margin: 26px 0 24px;
  font-size: clamp(60px, 5.65vw, 82px);
  font-weight: 500;
  line-height: 1.035;
  letter-spacing: -4.5px;
}

.serif-word {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  gap: 24px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 15px 21px;
  font-size: 12px;
  font-weight: 500;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: #ad3e21;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 500;
}

.text-link:hover {
  color: var(--accent);
}

.text-link .icon {
  width: 18px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 39px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.2px;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  height: 525px;
  margin-left: 12px;
}

.hero-image {
  height: 100%;
  object-position: center 48%;
}

.image-corner {
  position: absolute;
  top: 12px;
  right: 19px;
  color: white;
  font-size: 34px;
  font-weight: 300;
}

.image-note {
  position: absolute;
  bottom: 30px;
  left: -29px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 23px 28px 25px;
  background: var(--paper);
  border: 1px solid #fff8;
}

.note-symbol {
  color: var(--accent);
  font-size: 39px;
  line-height: 1.1;
}

.image-note .eyebrow {
  font-size: 7px;
  letter-spacing: 1.3px;
}

.image-note p {
  margin-top: 9px;
  font-size: 22px;
  line-height: 1.23;
  letter-spacing: -0.6px;
}

.image-index {
  position: absolute;
  right: 0;
  bottom: -22px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.principles {
  margin-top: 66px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
  gap: 34px;
}

.principles > div {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}

.principles > div + div {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.principles span {
  color: #8b8e84;
  font-size: 9px;
}

.principles .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--accent);
}

.section-space {
  padding-block: 94px;
}

.expertise {
  background: #eeeee6;
  border-block: 1px solid var(--line);
}

.section-heading {
  gap: 44px;
  align-items: flex-end;
  margin-bottom: 42px;
}

.section-label {
  color: var(--accent);
  margin-bottom: 20px;
}

body h2 {
  font-size: clamp(37px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
}

.section-intro {
  max-width: 335px;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.services-grid {
  gap: 1px;
  background: #d6d8ce;
  border: 1px solid #d6d8ce;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 29px 25px 24px;
  background: var(--paper);
  transition: background 180ms;
}

.service-card:hover {
  background: #fbfaf6;
}

.service-icon {
  width: 37px;
  height: 37px;
  stroke-width: 1.35;
}

.service-top > span {
  color: #777d70;
  font-size: 10px;
}

.service-card h3 {
  margin-top: 29px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.service-card > p {
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-size: 11px;
  color: var(--ink);
}

.service-link .icon {
  width: 19px;
  height: 19px;
  color: var(--accent);
  transition: transform 180ms;
}

.service-link:hover .icon {
  transform: translate(2px, -2px);
}

.about-grid {
  align-items: center;
  gap: 80px;
}

.about-visual img {
  height: 430px;
  object-position: center;
}

.about-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 17px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.3px;
}

.about-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-values {
  margin: 24px 0 29px;
}

.about-values > div {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

.about-values .icon {
  width: 16px;
  margin-top: 1px;
  color: var(--accent);
}

.about-values strong, .about-values span {
  display: block;
  font-size: 12px;
  line-height: 1.7;
}

.about-values strong {
  font-weight: 500;
}

.about-values span {
  color: var(--muted);
  font-size: 11px;
}

.approach {
  background: var(--ink);
  color: var(--paper);
}

.approach-grid {
  align-items: center;
  gap: 96px;
}

.approach .section-label {
  color: #ea916f;
}

.approach-copy > p:not(.eyebrow) {
  max-width: 380px;
  margin-top: 25px;
  color: #bfc4b9;
  font-size: 14px;
  line-height: 1.85;
}

.approach-steps {
  margin-top: 32px;
}

.approach-steps > div {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.approach-steps > div > span {
  padding-top: 4px;
  color: #d6a286;
  font-size: 10px;
}

.approach-steps p {
  color: #bfc4b9;
  font-size: 11px;
  line-height: 1.8;
}

.approach-steps strong {
  display: block;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

.analytics-panel {
  padding: 31px;
  border: 1px solid #53584d;
  background: #30352f;
}

.analytics-heading .eyebrow {
  margin-bottom: 9px;
  color: #bcc2b5;
  font-size: 8px;
}

.analytics-heading h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.analytics-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #575d50;
  color: #dedfcc;
}

.analytics-icon .icon {
  width: 24px;
  height: 24px;
}

.chart-controls {
  gap: 12px;
  margin-top: 30px;
  font-size: 10px;
}

.muted {
  color: #bfc4b9;
}

.chart-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #50564b;
}

.chart-toggle button {
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: #c2c7ba;
  font-size: 9px;
  transition: background 150ms, color 150ms;
}

.chart-toggle button[aria-pressed="true"] {
  background: #e6e8db;
  color: #282d29;
}

.performance-chart {
  position: relative;
  height: 204px;
  margin-top: 25px;
  padding-left: 28px;
}

.chart-grid {
  position: absolute;
  inset: 0 0 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-grid span {
  position: relative;
  font-size: 8px;
  line-height: 0;
  color: #b1b9a7;
}

.chart-grid span::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 28px;
  border-top: 1px solid #656f533b;
  content: '';
}

.chart-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 15px;
  height: 100%;
  padding-inline: 9px;
}

.bar-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.bar {
  position: relative;
  width: 100%;
  max-width: 46px;
  height: calc(var(--value) * 1.79px);
  background: #8e9b77;
}

.bar-group:last-child .bar {
  background: #e17b55;
}

.bar > span {
  position: absolute;
  top: -17px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #d4d9c9;
  font-size: 9px;
}

.bar-group > span {
  height: 25px;
  padding-top: 11px;
  color: #c4cabb;
  font-size: 9px;
}

.chart-legend {
  gap: 10px;
  margin-top: 22px;
  color: #bfc4b9;
  font-size: 9px;
}

.chart-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: #8e9b77;
}

.analytics-insight {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #53584d;
  font-size: 11px;
  line-height: 1.8;
  color: #bfc4b9;
}

.analytics-insight > .icon {
  color: #e89b75;
}

.analytics-insight strong {
  color: var(--paper);
  font-weight: 400;
}

.chart-disclaimer {
  margin-top: 16px;
  color: #adb5a3;
  font-size: 8px;
  line-height: 1.6;
}

.contact {
  padding-bottom: 70px;
}

.contact-banner {
  gap: 64px;
  align-items: center;
  padding: 57px 58px;
  background: var(--accent);
  color: white;
}

.contact-banner .eyebrow {
  margin-bottom: 23px;
  font-size: 8px;
}

.contact-banner h2 {
  font-size: clamp(36px, 3.3vw, 48px);
}

.contact-invitation {
  justify-self: end;
  max-width: 345px;
}

.contact-invitation > p {
  font-size: 13px;
  line-height: 1.8;
}

.button-light {
  margin-top: 23px;
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: #fff;
}

.contact-invitation > span {
  display: block;
  margin-top: 14px;
  font-size: 9px;
}

.footer-grid {
  grid-template-columns: 1.15fr 1fr 0.8fr;
  gap: 58px;
  padding-bottom: 48px;
}

.footer-brand > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-label {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 8px;
}

.footer-grid > div > a:not(.brand) {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: 13px;
  font-size: 12px;
}

.footer-grid a:not(.brand):hover {
  color: var(--accent);
}

.footer-email .icon {
  width: 14px;
  height: 14px;
}

address {
  font-size: 12px;
  font-style: normal;
  line-height: 1.9;
}

.footer-bottom {
  gap: 20px;
  padding-block: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.footer-bottom .icon {
  width: 15px;
  height: 15px;
}

#service-dialog {
  width: min(570px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

#service-dialog::backdrop {
  background: #1c211dcc;
  backdrop-filter: blur(4px);
}

.dialog-inner {
  position: relative;
  padding: 48px;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 13px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 30px;
  color: var(--ink);
}

#dialog-title {
  margin: 22px 0;
  font-size: 40px;
}

#dialog-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.dialog-inner h3 {
  margin: 25px 0 15px;
  font-size: 14px;
  font-weight: 600;
}

#dialog-list {
  padding-left: 18px;
  list-style: disc;
  font-size: 13px;
  line-height: 1.7;
}

#dialog-list li {
  margin-bottom: 8px;
  padding-left: 5px;
}

#dialog-list li::marker {
  color: var(--accent);
}

#dialog-contact {
  margin-top: 24px;
}

.dialog-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

html.dialog-open {
  overflow: hidden;
}

@media (max-width: 1150px) {
  body .container {
    width: calc(100% - 72px);
  }

  .hero-grid {
    gap: 30px;
  }

  body h1 {
    font-size: 65px;
  }

  .hero-visual {
    height: 525px;
  }

  .hero-actions {
    gap: 20px;
  }

  .about-grid, .approach-grid {
    gap: 48px;
  }

  .contact-banner {
    padding: 44px;
    gap: 40px;
  }

  .service-card {
    padding-inline: 20px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .site-header .desktop-nav {
    gap: 20px;
    font-size: 11px;
  }

  .header-contact {
    margin-left: 0;
    gap: 15px;
  }

  .header-inner {
    gap: 20px;
  }

  .brand {
    font-size: 22px;
  }

  body h1 {
    font-size: 54px;
    letter-spacing: -3px;
  }

  .hero-location {
    font-size: 7px;
    letter-spacing: 0.65px;
  }

  .hero-visual {
    height: 490px;
  }

  .image-note {
    padding: 20px;
    gap: 12px;
  }

  .image-note p {
    font-size: 21px;
  }

  .principles {
    gap: 18px;
  }

  .principles > div {
    gap: 10px;
    font-size: 10px;
  }

  .principles > div + div {
    padding-left: 18px;
  }

  .about-grid, .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .about-visual img {
    height: 500px;
  }

  .analytics-panel {
    padding: 22px;
  }

  .analytics-heading h3 {
    font-size: 17px;
  }

  .analytics-icon {
    display: none;
  }

  .chart-controls {
    flex-wrap: wrap;
  }

  .chart-bars {
    gap: 10px;
  }

  .contact-banner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  body .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    font-size: 23px;
  }

  .brand-caption {
    font-size: 7px;
    letter-spacing: 1.4px;
  }

  .site-header .desktop-nav, .header-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .hero {
    padding-top: 37px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  body h1 {
    margin-top: 22px;
    font-size: clamp(50px, 14.1vw, 76px);
    letter-spacing: -3px;
    line-height: 1.06;
  }

  .hero-description {
    max-width: 490px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 23px;
    margin-top: 26px;
  }

  .hero-location {
    margin-top: 30px;
    font-size: 7px;
    letter-spacing: 0.8px;
  }

  .hero-visual {
    height: 420px;
    margin-left: 8px;
  }

  .image-note {
    left: -8px;
    bottom: 24px;
    padding: 22px;
  }

  .image-note p {
    font-size: 22px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
    padding: 5px 0 15px;
  }

  .principles > div {
    padding: 17px 0;
  }

  .principles > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-space {
    padding-block: 62px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
  }

  body h2 {
    font-size: 38px;
    letter-spacing: -1.65px;
  }

  .section-label {
    font-size: 8px;
    letter-spacing: 1.15px;
  }

  .section-intro {
    max-width: 480px;
    font-size: 13px;
  }

  .service-card {
    padding: 26px;
  }

  .service-card h3 {
    margin-top: 22px;
    font-size: 26px;
  }

  .service-card > p {
    max-width: 400px;
    font-size: 13px;
  }

  .service-link {
    font-size: 12px;
    min-height: 45px;
  }

  .about-grid, .approach-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-visual img {
    height: 340px;
  }

  .about-caption {
    font-size: 7px;
    letter-spacing: 0.85px;
  }

  .approach-copy > p:not(.eyebrow) {
    max-width: 500px;
  }

  .analytics-panel {
    padding: 24px 20px;
  }

  .analytics-heading h3 {
    font-size: 19px;
  }

  .analytics-icon {
    width: 31px;
    height: 31px;
  }

  .chart-controls {
    gap: 10px;
  }

  .chart-bars {
    gap: 14px;
  }

  .contact-banner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 35px 26px;
  }

  .contact-banner h2 {
    font-size: clamp(32px, 8.4vw, 46px);
  }

  .contact-invitation {
    justify-self: start;
  }

  .contact-invitation .button {
    padding-inline: 17px;
    font-size: 11px;
    gap: 18px;
  }

  .contact-invitation > span {
    font-size: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 35px;
  }

  .footer-label {
    margin-bottom: 14px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom > p {
    width: 100%;
  }

  .dialog-inner {
    padding: 40px 25px 30px;
  }

  #dialog-title {
    font-size: 34px;
  }
}

@media (min-width: 560px) and (max-width: 760px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
