:root {
  color-scheme: light;
  --rust: #885130;
  --rust-dark: #6e3f25;
  --ink: #383838;
  --muted: #6f6a66;
  --paper: #fefefe;
  --warm: #f7f3ef;
  --line: #e5ddd6;
  --shadow: 0 24px 70px rgba(56, 56, 56, 0.1);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd8968;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(254, 254, 254, 0.97);
  border-bottom: 1px solid rgba(56, 56, 56, 0.08);
}

.header-inner {
  width: min(1240px, calc(100% - 64px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  flex: 0 0 120px;
  text-decoration: none;
}

.brand img {
  width: 120px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.6vw, 25px);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.nav-link,
.nav-dropdown summary {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.is-current,
.nav-dropdown summary:hover {
  color: var(--rust);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  display: grid;
  min-width: 250px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-menu a {
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 5px;
}

.nav-menu a:hover {
  background: var(--warm);
  color: var(--rust);
}

.nav-contact {
  padding: 11px 19px;
  color: #fff;
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}

.nav-contact:hover,
.button-primary:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--warm);
}

.hero::before {
  position: absolute;
  top: -260px;
  right: -140px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(136, 81, 48, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  width: min(1240px, calc(100% - 64px));
  min-height: 610px;
  margin: 0 auto;
  padding: 90px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 50px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.hero-copy > .eyebrow span {
  width: 25px;
  height: 2px;
  background: var(--rust);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 670px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.5vw, 74px);
  line-height: 1.04;
}

.hero h1 em {
  color: var(--rust);
  font-style: normal;
}

.hero-lead {
  max-width: 575px;
  margin-bottom: 30px;
  color: #625c57;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(56, 56, 56, 0.24);
}

.button-secondary:hover {
  color: var(--rust);
  border-color: var(--rust);
}

.hero-note {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.035em;
}

.hero-art {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #9a6543 0, var(--rust) 43%, #754327 100%);
  border-radius: 50%;
  box-shadow: 0 34px 80px rgba(88, 49, 28, 0.24);
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-art::after {
  inset: 20%;
  border-style: dashed;
  opacity: 0.55;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.orbit-one {
  width: 82%;
  height: 38%;
}

.orbit-two {
  width: 38%;
  height: 82%;
  transform: rotate(28deg);
}

.art-core {
  z-index: 1;
  width: 43%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(56, 34, 20, 0.2);
  text-align: center;
}

.art-core span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.art-core strong {
  color: var(--rust);
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.art-tag {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(56, 34, 20, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.tag-one {
  top: 18%;
  left: 4%;
}

.tag-two {
  top: 29%;
  right: 1%;
}

.tag-three {
  right: 12%;
  bottom: 13%;
}

.art-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #e3b496;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.dot-one {
  top: 12%;
  right: 31%;
}

.dot-two {
  bottom: 22%;
  left: 13%;
}

.section-wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.services {
  padding-top: 112px;
  padding-bottom: 120px;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 46px;
}

.section-heading h2,
.platform-copy h2,
.about-inner h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.13;
}

.section-heading > p:last-child,
.platform-copy > p:not(.eyebrow),
.about-inner > div:last-child > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 280px;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(136, 81, 48, 0.4);
  box-shadow: var(--shadow);
}

.service-card-top {
  width: 100%;
  margin-bottom: 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-top > span:first-child {
  color: #b8a79a;
  font-size: 13px;
  font-weight: 700;
}

.service-chip {
  padding: 5px 9px;
  color: var(--rust);
  background: var(--warm);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.text-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  font-size: 18px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.integration-band {
  color: #fff;
  background: var(--ink);
}

.integration-inner {
  width: min(1240px, calc(100% - 64px));
  min-height: 270px;
  margin: 0 auto;
  padding: 58px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.eyebrow-light {
  color: #d6ae95;
}

.integration-inner h2 {
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.16;
}

.integration-inner p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.button-light {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.button-light:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.platform-teaser {
  padding-top: 114px;
  padding-bottom: 114px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.platform-copy h2 {
  max-width: 550px;
}

.platform-copy > p:not(.eyebrow) {
  margin-bottom: 24px;
}

.platform-pills {
  min-height: 280px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 14px;
  background: var(--warm);
  border-radius: 50% 46% 48% 44%;
  transform: rotate(2deg);
}

.platform-pills span {
  padding: 11px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.platform-pills span:first-child,
.platform-pills span:last-child {
  color: var(--rust);
}

.about-band {
  background: var(--warm);
}

.about-inner {
  width: min(1050px, calc(100% - 64px));
  min-height: 330px;
  margin: 0 auto;
  padding: 74px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 65px;
}

.about-mark {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--rust);
  border-radius: 50%;
  font-size: 100px;
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 1;
  padding-right: 10px;
}

.about-inner h2 {
  max-width: 700px;
}

.about-inner > div:last-child > p:not(.eyebrow) {
  margin-bottom: 20px;
}

.site-footer {
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 45px;
}

.footer-brand img {
  width: 140px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-contact p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-inner h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer-contact a,
.footer-links a {
  width: fit-content;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #d6ae95;
}

.footer-links a + a {
  margin-top: 8px;
}

.footer-bottom {
  min-height: 60px;
  padding: 14px max(32px, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.page-main {
  min-height: 650px;
  background: linear-gradient(180deg, var(--warm) 0, var(--warm) 310px, #fff 310px);
}

.page-container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 76px 0 112px;
}

.page-content {
  max-width: 920px;
  margin: 0 auto;
}

.page-heading {
  max-width: 800px;
  margin: 0 auto 58px;
  text-align: center;
}

.page-heading .eyebrow,
.page-copy > .eyebrow {
  margin-bottom: 12px;
}

.page-heading h1,
.page-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.08;
}

.page-lead {
  margin: 0;
  color: #625c57;
  font-size: 19px;
  line-height: 1.75;
}

.content-sections {
  display: grid;
  gap: 24px;
}

.content-section {
  padding: 31px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.content-section h2,
.platform-card h2,
.contact-card h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.3;
}

.content-section p,
.platform-card p {
  color: var(--muted);
}

.content-section p:last-child,
.platform-card p:last-child {
  margin-bottom: 0;
}

.check-list {
  margin: 17px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  list-style: none;
}

.check-list > li {
  position: relative;
  padding-left: 24px;
}

.check-list > li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--rust);
  border-left: 2px solid var(--rust);
  content: "";
  transform: rotate(-45deg);
}

.check-list ul {
  margin: 8px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 14px;
}

.check-list ul li + li {
  margin-top: 5px;
}

.section-note {
  margin-top: 22px;
  padding-top: 17px;
  color: var(--rust) !important;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  min-height: 185px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
  border-radius: 5px;
}

.card-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tagline-panel {
  max-width: 520px;
  margin: -23px auto 30px;
  padding: 21px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--warm);
  border-radius: 6px;
}

.tagline-panel img {
  width: 105px;
  flex: 0 0 105px;
}

.tagline-panel p {
  margin: 0;
  color: var(--rust);
  font-weight: 700;
}

.contact-card {
  max-width: 610px;
  margin: 30px auto 0;
  padding: 36px;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
}

.contact-card .eyebrow {
  color: #d6ae95;
}

.contact-card h2 {
  color: #fff;
}

.contact-card a {
  width: fit-content;
  display: block;
  color: #fff;
  text-decoration-color: #bd8968;
  text-underline-offset: 4px;
}

.contact-card p:last-child {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.8fr);
  align-items: start;
  gap: 55px;
}

.page-copy {
  padding-top: 16px;
}

.page-copy h1 {
  margin-bottom: 21px;
}

.page-copy .page-lead {
  margin-bottom: 33px;
}

.page-copy .content-section {
  margin-top: 18px;
  padding: 0;
  background: none;
  border: 0;
}

.page-copy .content-section h2 {
  font-size: 22px;
}

.profile-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.profile-card > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 35%;
}

.profile-copy {
  padding: 26px;
}

.profile-copy .eyebrow {
  margin-bottom: 9px;
}

.profile-copy h2 {
  margin-bottom: 13px;
  font-size: 24px;
}

.profile-copy p:not(.eyebrow) {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 82px;
    width: min(100% - 40px, 760px);
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 16px 0;
  }

  .brand {
    flex-basis: auto;
  }

  .brand img {
    width: 105px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 12px;
  }

  .nav-menu {
    z-index: 5;
  }

  .hero-inner {
    min-height: 540px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.8fr);
    gap: 30px;
  }

  .hero-art {
    width: 100%;
  }

  .platform-teaser {
    gap: 40px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
    gap: 32px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .hero-inner,
  .section-wrap,
  .integration-inner,
  .footer-inner,
  .page-container {
    width: calc(100% - 40px);
  }

  .header-inner {
    gap: 13px;
  }

  .site-nav {
    gap: 10px 15px;
  }

  .nav-contact {
    padding: 7px 12px;
  }

  .nav-menu {
    position: fixed;
    top: 125px;
    left: 20px;
    right: 20px;
  }

  .hero-inner {
    min-height: auto;
    padding: 66px 0 72px;
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(42px, 11vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-art {
    width: min(82vw, 390px);
    justify-self: center;
  }

  .art-core strong {
    font-size: clamp(25px, 7vw, 34px);
  }

  .services {
    padding-top: 75px;
    padding-bottom: 78px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .service-card-top {
    margin-bottom: 17px;
  }

  .integration-inner {
    min-height: 0;
    padding: 48px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .platform-teaser {
    padding-top: 75px;
    padding-bottom: 75px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .platform-pills {
    min-height: 240px;
  }

  .about-inner {
    width: calc(100% - 40px);
    padding: 55px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-mark {
    width: 100px;
    height: 100px;
    font-size: 60px;
  }

  .footer-inner {
    padding: 48px 0 35px;
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 15px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .page-main {
    background: linear-gradient(180deg, var(--warm) 0, var(--warm) 270px, #fff 270px);
  }

  .page-container {
    padding: 55px 0 75px;
  }

  .page-heading {
    margin-bottom: 38px;
  }

  .page-heading h1,
  .page-copy h1 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .page-lead {
    font-size: 17px;
  }

  .content-sections {
    gap: 14px;
  }

  .content-section {
    padding: 23px 21px;
  }

  .check-list,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .tagline-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-copy {
    padding-top: 0;
  }

  .profile-card {
    max-width: 450px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
