/* Warm paper, ink, and one vermilion accent. Arial for quiet copy,
   Georgia for the editorial headline: both local, no font requests. */
:root {
  --paper: #f9f8f5;
  --ink: #292b28;
  --muted: #666961;
  --line: #ddded6;
  --accent: #bd492e;
  --peach: #f0e7dd;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
a:hover {
  color: var(--accent);
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}
.header {
  height: 112px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 36px;
  letter-spacing: -2.8px;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.wordmark span {
  color: var(--accent);
}
nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
}
nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-contact {
  margin-left: 36px;
}
.nav-contact span {
  font-size: 22px;
}
.hero {
  padding: 75px 0 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.small-line {
  height: 1px;
  width: 28px;
  background: var(--accent);
}
h1 {
  position: relative;
  font-size: clamp(64px, 7.8vw, 112px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -6px;
  margin: 33px 0 38px;
  max-width: 1120px;
}
h1 em {
  color: var(--accent);
  letter-spacing: -5px;
}
.hero-dot {
  position: absolute;
  right: 8%;
  bottom: 0;
  font-family: var(--serif);
  font-size: 115px;
  color: var(--accent);
  font-weight: 400;
  line-height: 0.7;
  transform: rotate(12deg);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-bottom p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.round-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.circle-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.round-link:hover .circle-arrow {
  background: var(--peach);
  transform: translateY(3px);
}
.hero-footnote {
  margin-top: 52px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.hero-footnote span:last-child {
  letter-spacing: 0.2px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
}
.section {
  padding: 76px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.count {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 13px;
  vertical-align: middle;
}
.section-note {
  font-size: 12px;
  color: var(--muted);
}
.project-preview {
  display: block;
  background: var(--peach);
  padding: 32px 8% 0;
  overflow: hidden;
  position: relative;
  color: #554c43;
  border-radius: 3px;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  margin: 0 -5% 34px;
  font-size: 10px;
  letter-spacing: 1.8px;
}
.preview-caption span:last-child {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  font-size: 14px;
}
.browser-frame {
  border: 1px solid #fff9;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 5px 30px #59452c14;
  transform: translateY(8px);
  transition: transform 0.4s;
}
.browser-bar {
  height: 30px;
  padding: 0 15px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #72716c;
}
.browser-bar span:first-child {
  letter-spacing: 3px;
  color: #cac7c1;
}
.browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 780;
  object-fit: cover;
  object-position: top;
}
.project-preview:hover .browser-frame {
  transform: translateY(0);
}
.preview-open {
  position: absolute;
  bottom: 20px;
  right: 24px;
  background: var(--paper);
  padding: 12px 20px;
  border-radius: 40px;
  font-size: 12px;
  box-shadow: 0 2px 12px #0000000a;
}
.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.project-info h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.project-info p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.project-right {
  display: flex;
  gap: 30px;
  align-items: center;
}
.tag {
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 11px;
  padding: 7px 14px;
}
.project-arrow {
  font-size: 28px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  padding-bottom: 65px;
}
.approach h2 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -1.5px;
  margin: 26px 0 20px;
}
.approach h2 em {
  color: var(--muted);
}
.approach-intro > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child {
  padding-top: 0;
}
.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.step-number {
  font-size: 11px;
  color: var(--accent);
  padding-top: 4px;
}
.steps h3 {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 8px;
}
.steps p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 390px;
}
.domain-note {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--line);
}
.domain-symbol {
  font-size: 28px;
  color: var(--muted);
}
.domain-note p {
  font-size: 12px;
  color: var(--muted);
  max-width: 570px;
  line-height: 1.8;
}
.domain-note strong {
  color: var(--ink);
  font-weight: 400;
}
.domain-example {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  font-family: monospace;
  color: var(--muted);
}
.contact {
  padding-top: 85px;
  padding-bottom: 65px;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 27px 0;
}
.contact h2 {
  font-size: clamp(44px, 5.3vw, 72px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -2.5px;
}
.contact h2 em {
  color: var(--accent);
}
.contact-orb {
  width: 98px;
  height: 98px;
  flex-shrink: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 46px;
  transition:
    background 0.2s,
    color 0.2s;
}
.contact-orb:hover {
  background: var(--accent);
  color: var(--paper);
}
.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-bottom p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.text-link {
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
}
.text-link [data-telegram-label] {
  color: var(--muted);
  font-size: 12px;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 106px;
}
.footer .wordmark {
  font-size: 28px;
  letter-spacing: -2px;
}
.footer > span {
  font-size: 11px;
  color: var(--muted);
}
.footer > a:last-child {
  font-size: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: var(--paper);
  padding: 12px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
/* Case study shares the same quiet visual language. */
.case {
  padding: 52px 0 80px;
}
.back-link {
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.case h1 {
  font-size: clamp(56px, 8vw, 100px);
  margin: 45px 0 20px;
}
.case .lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
}
.case-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 50px 0;
}
.case-details h2 {
  font-size: 25px;
  font-weight: 400;
}
.case-details p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}
.case-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.case-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
}
.case-cta p {
  color: var(--muted);
  font-size: 14px;
}
@media (min-width: 1600px) {
  .shell {
    padding: 0 90px;
  }
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 40px;
  }
  h1 {
    letter-spacing: -4px;
  }
  .hero-dot {
    right: 1%;
    font-size: 90px;
  }
  .approach {
    gap: 40px;
  }
  .approach h2 {
    font-size: 36px;
  }
  .domain-note {
    flex-wrap: wrap;
  }
  .domain-note p {
    max-width: 80%;
  }
  .domain-example {
    margin-left: 52px;
  }
  .contact h2 {
    font-size: 56px;
  }
  .contact-orb {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 640px) {
  .shell {
    padding: 0 22px;
  }
  .header {
    height: 86px;
  }
  .wordmark {
    font-size: 32px;
  }
  nav {
    gap: 20px;
    font-size: 12px;
  }
  nav a {
    gap: 8px;
  }
  .nav-contact {
    margin-left: 0;
  }
  nav a:nth-child(2) {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .small-line {
    width: 18px;
  }
  h1 {
    font-size: clamp(46px, 10.5vw, 66px);
    letter-spacing: -2.7px;
    margin: 30px 0 24px;
    line-height: 1.1;
  }
  h1 em {
    letter-spacing: -2px;
  }
  .hero-dot {
    font-size: 61px;
    right: 7px;
    bottom: 3px;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .hero-bottom p {
    font-size: 14px;
    line-height: 1.8;
  }
  .round-link {
    font-size: 13px;
    gap: 24px;
  }
  .circle-arrow {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .hero-footnote {
    margin-top: 28px;
    padding: 18px 0;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-footnote span:last-child {
    font-size: 12px;
  }
  .section {
    padding: 46px 0;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .count {
    font-size: 10px;
    margin-left: 5px;
  }
  .section-note {
    display: none;
  }
  .project-preview {
    padding: 23px 7% 0;
  }
  .preview-caption {
    margin: 0 -3% 24px;
    font-size: 8px;
  }
  .preview-caption span:last-child {
    max-width: 120px;
    font-size: 11px;
    text-align: right;
  }
  .browser-bar {
    height: 23px;
    padding: 0 8px;
    font-size: 7px;
  }
  .browser-frame {
    border-radius: 4px 4px 0 0;
  }
  .browser-frame img {
    aspect-ratio: 1.24;
  }
  .preview-open {
    right: 12px;
    bottom: 12px;
    font-size: 10px;
    padding: 9px 13px;
  }
  .project-info {
    padding: 18px 0;
    gap: 10px;
  }
  .project-info h3 {
    font-size: 20px;
  }
  .project-info p {
    max-width: 215px;
    font-size: 12px;
  }
  .project-right {
    gap: 0;
  }
  .tag {
    display: none;
  }
  .approach {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .approach h2 {
    font-size: 36px;
    margin: 20px 0 16px;
  }
  .approach-intro > p {
    font-size: 13px;
  }
  .steps li {
    padding: 20px 0;
    gap: 22px;
  }
  .steps h3 {
    font-size: 16px;
  }
  .steps p {
    font-size: 13px;
  }
  .domain-note {
    gap: 15px;
    align-items: flex-start;
    padding: 6px 0 26px;
  }
  .domain-note p {
    max-width: calc(100% - 40px);
    font-size: 12px;
  }
  .domain-symbol {
    line-height: 1.2;
  }
  .domain-example {
    margin-left: 40px;
    font-size: 11px;
  }
  .contact {
    padding-top: 50px;
  }
  .contact-row {
    margin: 22px 0;
    gap: 10px;
  }
  .contact h2 {
    font-size: clamp(32px, 7.6vw, 46px);
    letter-spacing: -1.5px;
  }
  .contact-orb {
    width: 52px;
    height: 52px;
    font-size: 30px;
  }
  .contact-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .contact-bottom p {
    font-size: 13px;
  }
  .text-link {
    font-size: 13px;
  }
  .footer {
    min-height: 90px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .footer > span {
    font-size: 9px;
    max-width: 140px;
    text-align: center;
  }
  .footer > a:last-child {
    font-size: 11px;
  }
  .case {
    padding-top: 30px;
  }
  .case .lead {
    font-size: 17px;
  }
  .case-details {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .case-details h2 {
    font-size: 23px;
  }
  .case-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
