:root {
  color-scheme: light;
  --paper: #f6f0e7;
  --ink: #221c19;
  --muted: #5d5049;
  --brick: #9d3e27;
  --plum: #382038;
  --rule: #d8cabd;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(1344px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; padding: 12px; background: white; transform: translateY(-150%); z-index: 4; }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; border-bottom: 1px solid var(--rule); background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
section[id], article[id], #main { scroll-margin-top: 94px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 23px; letter-spacing: -.055em; text-decoration: none; }
.mark { position: relative; display: inline-block; width: 23px; height: 23px; background: var(--brick); clip-path: polygon(0 0, 100% 0, 100% 64%, 64% 100%, 0 100%); }
.mark::after { content: ""; position: absolute; width: 11px; height: 4px; inset: 9px auto auto 6px; background: var(--paper); transform: rotate(-45deg); }
.nav, .languages { display: flex; align-items: center; }
.nav { gap: clamp(14px, 2.8vw, 42px); }
.nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.nav a:hover { color: var(--brick); }
.languages { gap: 4px; }
.languages a { padding: 6px 8px; font-size: 12px; text-decoration: none; font-weight: 750; }
.languages a[aria-current] { color: var(--paper); background: var(--plum); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); gap: clamp(26px, 4vw, 68px); align-items: center; padding-block: clamp(54px, 8vw, 116px); }
h1, h2, h3 { font-weight: 770; }
h1 { font-size: clamp(39px, 4.55vw, 76px); line-height: 1.02; letter-spacing: -.065em; }
h1 span, h1 em { display: block; }
h1 em { font-style: normal; color: var(--brick); }
.hero p { max-width: 53ch; margin-block: 27px 30px; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: fit-content; padding: 14px 17px; min-height: 50px; border: 1px solid transparent; color: #fff8ef; background: var(--brick); font-weight: 730; text-decoration: none; cursor: pointer; }
.button:hover { background: #78301f; }
.button span { font-size: 19px; line-height: 1; }
.hero-image { background: #eee1d1; border: 1px solid var(--rule); }
.hero-image a { display: block; }
.hero-image figcaption { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; background: var(--paper); padding: 12px 15px; border-top: 1px solid var(--rule); }
figcaption { font-size: 13px; color: var(--muted); }
.hero-image figcaption span:first-child { font-weight: 730; color: var(--ink); }
.section { padding-block: clamp(45px, 6.4vw, 99px); border-top: 1px solid var(--rule); }
h2 { margin-bottom: 32px; font-size: clamp(40px, 5.9vw, 85px); line-height: .99; letter-spacing: -.065em; }
h3 { font-size: clamp(21px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -.035em; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service { background: #f0e6d9; padding: clamp(18px, 2.4vw, 35px); }
.service-icon { display: grid; place-items: center; width: 45px; height: 45px; background: var(--plum); color: #f6e9dd; margin-bottom: 22px; }
.service-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.service p, .project p, .process p { color: var(--muted); line-height: 1.55; margin-top: 10px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.project { min-width: 0; border: 1px solid var(--rule); }
.project figure { background: #eee1d1; }
.project img { aspect-ratio: 3 / 2; object-fit: cover; }
.project figcaption { padding: 9px 15px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
.feature img { aspect-ratio: 3 / 2; }
.project-copy { padding: clamp(18px, 3vw, 42px); }
.project .tag { display: inline-block; margin: 0 0 12px; padding: 3px 8px; background: #e9dbeb; color: var(--plum); font-size: 13px; font-weight: 750; }
.workflow { display: grid; align-items: center; min-height: 290px; aspect-ratio: 3 / 2; padding: 18px clamp(16px, 4vw, 65px); color: #fff5e9; background: var(--plum); }
.workflow ol { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.workflow li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid #977c91; line-height: 1.2; }
.workflow li::before { content: "↓"; color: #f3ad8e; }
.workflow li:first-child::before { content: "●"; font-size: 11px; }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; gap: 22px; }
.process li { border-top: 2px solid var(--brick); padding-top: 20px; }
.contact { background: var(--plum); color: #f9eee4; padding-block: clamp(50px, 7vw, 108px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 6vw, 92px); }
.contact h2 { margin-bottom: 18px; }
.contact p { color: #e7d7e3; line-height: 1.5; }
form { display: grid; align-content: start; gap: 8px; }
form label { font-weight: 700; }
form :is(input, textarea, select) { width: 100%; border: 1px solid #ae98a9; border-radius: 0; background: #fff9f4; color: var(--ink); padding: 11px; margin-bottom: 10px; }
form textarea { resize: vertical; }
form .privacy { font-size: 13px; }
form .button { margin-top: 4px; background: #f0b194; color: #35201c; }
form .button:hover { background: #ffc6ab; }
form button:disabled { cursor: wait; }
.feedback:empty { display: none; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-block: 24px; color: var(--muted); font-size: 14px; }
.footer .brand { color: var(--ink); }
@media (max-width: 1040px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 14px; }
  section[id], article[id], #main { scroll-margin-top: 125px; }
  .nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 18px; }
  .languages { grid-column: 2; grid-row: 1; }
  .hero, .services, .projects, .feature, .process ol, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 43px; }
  .workflow { min-height: 235px; aspect-ratio: auto; }
}
