/* Shared colors and typography. All assets and fonts are local. */

:root {
  --paper: #f5f1e7;
  --ink: #30372f;
  --muted: #737768;
  --copper: #a65335;
  --line: #d8d8c9;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 6px;
}

a:hover {
  color: var(--copper);
}

.container {
  width: min(1180px,calc(100% - 96px));
  margin: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 17px;
  letter-spacing: 1.4px;
  font-weight: 700;
  line-height: 1.15;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-subtitle {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  margin-top: 5px;
}

.site-nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  align-items: center;
}

.site-nav span {
  margin-left: 9px;
  color: var(--copper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  padding-top: 56px;
}

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

.eyebrow-rule {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--copper);
  vertical-align: middle;
  margin-right: 10px;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.02;
  margin: 24px 0;
}

h1 {
  font-size: clamp(64px,6.7vw,88px);
}

em {
  color: var(--copper);
  font-weight: 400;
}

p {
  line-height: 1.75;
}

.hero-intro {
  font-size: 21px;
  line-height: 1.55;
  margin: 26px 0 15px;
}

.hero-description {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.button {
  background: var(--copper);
  color: #fff7e9;
  display: inline-flex;
  gap: 35px;
  align-items: center;
  padding: 16px 22px;
  font-size: 12px;
  border-radius: 3px;
  transition: background .2s,transform .2s;
}

.button:hover {
  color: white;
  background: #864029;
  transform: translateY(-2px);
}

.button span {
  font-size: 18px;
}

.hero-art {
  height: auto;
  width: 100%;
  max-height: 490px;
}

.hero-footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0 30px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.hero-footer a {
  font-size: 11px;
  letter-spacing: 0;
}

.hero-footer a span {
  margin-left: 18px;
}

.service-overview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eeecdf;
}

.service-overview .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.7px;
}

.service-divider {
  display: block;
  width: 1px;
  height: 13px;
  background: var(--copper);
  transform: rotate(25deg);
  flex-shrink: 0;
}

.services {
  padding: 78px 0 82px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading .eyebrow {
  color: var(--muted);
}

h2 {
  font-size: 52px;
  letter-spacing: -1px;
  margin: 18px 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 6px;
  max-width: 335px;
  margin-left: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  padding: 30px 28px 0 0;
}

.service-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.service-icon {
  font-size: 32px;
  color: var(--copper);
  height: 47px;
  display: block;
  font-family: monospace;
}

.service-icon-network {
  font-size: 48px;
  line-height: 1;
}

.service-number {
  position: absolute;
  right: 26px;
  top: 40px;
  font-size: 10px;
  color: var(--muted);
}

h3 {
  font-size: 20px;
  letter-spacing: -.4px;
  font-weight: 500;
  margin: 19px 0 12px;
}

.service-grid p {
  font-size: 13px;
  color: var(--muted);
  max-width: 310px;
}

.service-tags {
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 30px;
}

.service-tags span {
  padding: 0 6px;
  color: var(--copper);
}

.consulting {
  background: #e9ecdf;
  border-top: 1px solid #d8ddcd;
  border-bottom: 1px solid #d8ddcd;
  padding: 70px 0;
}

.consulting-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
}

.consulting-intro > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}

.side-quest-stamp {
  margin-top: 30px;
  border: 1px solid #9aab8d;
  color: #637451;
  display: inline-block;
  padding: 13px 18px;
  font-size: 10px;
  letter-spacing: 1.5px;
  transform: rotate(-7deg);
  line-height: 1.5;
}

.side-quest-stamp b {
  float: right;
  margin: -22px 0 0 25px;
  font-size: 30px;
  font-weight: 400;
}

.consulting-list article {
  border-bottom: 1px solid #ccd3c0;
  display: flex;
  gap: 24px;
  padding: 24px 0;
  align-items: center;
}

.consulting-list article:first-child {
  padding-top: 6px;
}

.consulting-icon {
  width: 45px;
  flex-shrink: 0;
  font-family: Georgia,serif;
  font-size: 43px;
  text-align: center;
  color: #687657;
}

.consulting-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.consulting-list p {
  font-size: 12px;
  color: #717b67;
  margin: 0;
}

.consulting-number {
  margin-left: auto;
  align-self: flex-start;
  color: #7b846f;
  font-size: 9px;
}

.consulting-note {
  font-size: 8px;
  letter-spacing: 1.2px;
  margin-top: 21px;
}

.consulting-note span {
  float: right;
  font-size: 18px;
}

.studio {
  padding: 75px 0;
}

.studio-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
  align-items: center;
}

.studio h2 {
  font-size: 43px;
}

.studio-content p {
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 30px;
}

.footer-brand {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
}

.footer-brand .brand-logo {
  width: 27px;
  height: 27px;
}

.site-footer p {
  font-size: 10px;
  color: var(--muted);
}

.footer-note {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.not-found {
  text-align: center;
  padding: 65px 0 85px;
  min-height: 75vh;
}

.not-found-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 200px;
  margin-top: 30px;
}

.not-found-illustration > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 190px;
  color: #bfc4b0;
}

.not-found-cat {
  width: 185px;
  height: 210px;
}

.not-found h1 {
  font-size: 66px;
  margin: 25px 0 18px;
}

.not-found > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.not-found-status {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 25px;
}

.hero-figure {
  margin: 0;
  min-width: 0;
}

.hero-figure .hero-art {
  display: block;
}

.hero-figure figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font: 9px/1.6 monospace;
  letter-spacing: 1.6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
}

.site-nav a span {
  line-height: 1;
}

@media(min-width:1500px) {

  .hero {
    padding-top: 70px;
  }

  .hero-art {
    max-height: 530px;
  }

  .hero-footer {
    padding-top: 55px;
  }
}

@media(max-width:850px) {

  .container {
    width: calc(100% - 48px);
  }

  .site-nav {
    gap: 20px;
  }

  .hero {
    padding-top: 35px;
  }

  h1 {
    font-size: 62px;
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-description br {
    display: none;
  }

  .hero-art {
    width: 110%;
    margin-left: -5%;
  }

  h2 {
    font-size: 44px;
  }

  .section-heading > p {
    max-width: 240px;
  }

  .service-grid article {
    padding-right: 17px;
  }

  .service-grid article + article {
    padding-left: 17px;
  }

  .service-tags {
    line-height: 1.8;
  }

  .consulting-layout {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }

  .consulting-list p br {
    display: none;
  }

  .consulting-list article {
    gap: 15px;
  }

  .studio-content {
    gap: 30px;
  }

  .studio h2 {
    font-size: 38px;
  }

  .footer-note {
    display: none;
  }
}

@media(max-width:600px) {

  .container {
    width: calc(100% - 40px);
  }

  .site-header {
    padding: 21px 0;
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 35px;
    height: 35px;
  }

  .brand-subtitle {
    font-size: 8px;
  }

  .site-nav {
    gap: 17px;
    font-size: 11px;
  }

  .site-nav a:last-child {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }

  .hero-copy {
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  h1 {
    font-size: clamp(48px, 15.5vw, 65px);
  }

  .hero-intro {
    font-size: 19px;
  }

  .hero-art {
    width: 100%;
    max-height: 340px;
    margin: 12px auto 0;
  }

  .hero-footer {
    padding: 15px 0 24px;
    font-size: 7px;
    letter-spacing: .8px;
  }

  .hero-footer a {
    font-size: 9px;
  }

  .service-overview .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .service-divider:nth-child(4) {
    display: none;
  }

  .service-overview .container > span:not(.service-divider) {
    width: 40%;
    text-align: center;
  }

  .services {
    padding: 50px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    max-width: none;
    margin-left: 0;
  }

  h2 {
    font-size: 44px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .service-grid article, .service-grid article + article {
    padding: 25px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid p {
    max-width: none;
  }

  .service-tags {
    margin-top: 18px;
  }

  .service-number {
    right: 0;
  }

  .consulting {
    padding: 45px 0;
  }

  .consulting-layout {
    grid-template-columns: 1fr;
  }

  .side-quest-stamp {
    margin-top: 15px;
  }

  .consulting-list article {
    padding: 22px 0;
  }

  .consulting-list p {
    font-size: 12px;
  }

  .studio {
    padding: 45px 0;
  }

  .studio-content {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .studio h2 {
    font-size: 38px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0;
  }

  .site-footer p {
    width: 100%;
    margin: 0;
  }

  .not-found {
    padding-top: 42px;
  }

  .not-found-illustration {
    gap: 8px;
    height: 175px;
  }

  .not-found-illustration > span {
    font-size: 145px;
  }

  .not-found-cat {
    width: 150px;
    height: 180px;
  }

  .not-found h1 {
    font-size: 56px;
  }

  .hero-copy .button {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-footer > a {
    display: none;
  }

  .hero-figure figcaption {
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-top: 10px;
  }
}

@media(prefers-reduced-motion:reduce) {

  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
