@font-face {
  font-family: Bricolage;
  src: url('/assets/fonts/bricolage-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --brand: #5a263b;
  --ink: #341c2b;
  --accent: #ecc5b3;
  --paper: #f8f0e7;
  --muted: #705363;
  --line: #d5bdba;
  --line-on-accent: #b9938a;
  --line-on-dark: #946b7c;
  --action-hover: #f5d8c8;
  --conversation: #f3e9e3;
  --message-out: #ead8d5;
  --message-in: #fffbf6;
  --conversation-note: #e6d8d3;
  --display: Bricolage, 'Trebuchet MS', sans-serif;
  --body: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-synthesis: none;
  scroll-behavior: smooth;
  scrollbar-color: var(--muted) var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
::selection { background: var(--brand); color: var(--paper); }
.opening > .site-header ::selection, .hero ::selection, .document-hero ::selection, .contact ::selection, .site-footer ::selection { background: var(--accent); color: var(--ink); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
p { line-height: 1.7; }
svg { display: block; }
a:not(.wordmark) svg, .conversation-note svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.opening { background: var(--brand); color: var(--paper); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 5; padding: 16px 24px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 116px; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; text-decoration: none; }
.wordmark .brand-wordmark { width: 170px; height: 55px; fill: currentColor; stroke: none; }
nav { display: flex; align-items: center; gap: 38px; }
nav a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-contact { border-bottom: 1px solid currentColor; }
.hero { display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; column-gap: 48px; padding-top: 60px; }
.hero-copy { padding-bottom: 66px; }
h1 { font-size: clamp(64px, 7.15vw, 96px); line-height: .99; letter-spacing: -.04em; }
.hero-copy > p { max-width: 455px; margin-top: 30px; font-size: 19px; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 58px; padding: 15px 23px; background: var(--accent); color: var(--ink); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; margin-top: 32px; transition: background-color 180ms ease, color 180ms ease; }
.button:hover { background: var(--action-hover); }
.button:focus-visible { outline-color: var(--ink); }
.opening .button:focus-visible { outline-color: var(--paper); }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-start; padding: 0 0 55px; }
.hero-mark { width: 100%; max-height: 430px; overflow: visible; animation: rail-settle 1s cubic-bezier(.16, 1, .3, 1) both; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-on-dark); min-height: 89px; font-size: 12px; font-weight: 600; gap: 20px; }
.hero-foot a { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; text-decoration: none; }
.hero-foot a:hover { text-decoration: underline; }
.section { padding-block: 118px 128px; }
.services-section { background: var(--paper); color: var(--ink); }
.services { display: grid; grid-template-columns: 1fr 1.12fr; gap: 100px; }
h2 { font-size: clamp(38px, 4.1vw, 54px); line-height: 1.09; letter-spacing: -.035em; }
.section-intro > p { max-width: 350px; margin-top: 26px; font-size: 16px; }
.service { padding-block: 28px 30px; border-top: 1px solid var(--line); }
.service:first-child { padding-top: 0; border-top: 0; }
.service:last-child { padding-bottom: 0; }
.service h3 { font-size: 27px; line-height: 1.25; letter-spacing: -.025em; }
.service p { max-width: 490px; margin-top: 13px; font-size: 15px; }
.service-detail { display: block; margin-top: 17px; color: var(--muted); font-size: 12px; font-weight: 600; }
.work { background: var(--accent); color: var(--ink); padding-block: 72px 92px; }
.work-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; padding-bottom: 47px; border-bottom: 1px solid var(--line-on-accent); }
.work-heading h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.work-heading p { font-size: 12px; }
.project { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 84px; padding-top: 55px; }
.project-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.project-name-row h3 { font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.project-name-row h3 span { color: var(--brand); }
.status { font-size: 11px; border: 1px solid var(--muted); border-radius: 20px; padding: 5px 10px; white-space: nowrap; }
.project-copy h4 { font-size: 43px; line-height: 1.12; letter-spacing: -.035em; margin-bottom: 24px; }
.project-copy > p { max-width: 485px; font-size: 15px; }
.project-copy > p + p { margin-top: 15px; }
.project-foot { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-on-accent); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; font-weight: 600; }
.project-foot a { display: inline-flex; align-items: center; gap: 5px; }
.project-foot a svg { width: 12px; height: 12px; }
.hogger-demo { max-width: 470px; width: 100%; justify-self: end; transform: rotate(2deg); }
.conversation { background: var(--conversation); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px #341c2b1c; }
.conversation-header { display: flex; align-items: center; gap: 13px; padding: 22px 26px; background: var(--brand); color: var(--paper); }
.hogger-avatar { display: grid; place-items: center; width: 44px; height: 44px; background: var(--accent); color: var(--ink); border-radius: 50%; font: 700 34px/1 var(--display); padding-bottom: 4px; }
.conversation-header strong { display: block; font-size: 17px; font-weight: 700; }
.conversation-header div > span { display: block; margin-top: 3px; font-size: 10px; color: var(--accent); }
.conversation-heart { margin-left: auto; width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.messages { padding: 26px 25px 30px; display: flex; flex-direction: column; gap: 12px; }
.message { max-width: 87%; border-radius: 10px; padding: 12px 15px 8px; font-size: 13px; }
.message p { line-height: 1.6; }
.message > span { display: flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 9px; margin-top: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.message svg { width: 15px; height: 10px; stroke: currentColor; stroke-width: 1.4; }
.message-out { background: var(--message-out); align-self: flex-end; border-top-right-radius: 2px; }
.message-in { background: var(--message-in); align-self: flex-start; border-top-left-radius: 2px; }
.conversation-note { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--conversation-note); font-size: 10px; padding: 14px 12px; }
.conversation-note svg { width: 13px; height: 15px; }
figcaption { font-size: 12px; line-height: 1.6; margin-top: 18px; text-align: center; transform: rotate(-2deg); }
.contact { background: var(--ink); color: var(--paper); padding-block: 100px 108px; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 70px; }
.contact h2 { font-size: clamp(52px, 5.8vw, 80px); line-height: 1.01; letter-spacing: -.035em; }
.contact-inner > div > p { max-width: 355px; font-size: 14px; margin-top: 24px; }
.contact-action { padding-bottom: 4px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 20px; border-bottom: 1px solid var(--line-on-dark); text-decoration: none; font-family: var(--display); font-size: 30px; line-height: 1.2; letter-spacing: -.025em; }
.contact-link svg { width: 36px; height: 36px; flex-shrink: 0; }
.contact-link:hover { color: var(--accent); }
.contact-inner .contact-action > p { font-size: 12px; }
.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; align-items: center; gap: 32px; padding-block: 30px; border-top: 1px solid var(--line-on-dark); font-size: 11px; }
.footer-inner .wordmark { margin-right: 20px; }
.footer-inner .brand-wordmark { width: 140px; height: 45px; }
.footer-inner p { margin-right: auto; }
.footer-github { display: flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; }
.footer-github:hover { text-decoration: underline; }
.footer-github svg { width: 14px; height: 14px; }
.footer-policy { display: inline-flex; align-items: center; min-height: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-weight: 600; }
.document-hero { background: var(--brand); color: var(--paper); padding-block: 66px 70px; }
.document-hero h1 { font-size: clamp(60px, 7vw, 90px); }
.document-hero p { margin-top: 24px; font-size: 18px; }
.document-layout { display: grid; grid-template-columns: 1fr 2.3fr; gap: 80px; padding-block: 75px 95px; }
.document-aside { font-size: 13px; line-height: 1.8; }
.document-aside p + p { margin-top: 25px; }
.document-aside > a, .document-aside > .status { display: inline-block; margin-top: 25px; }
.document-body { max-width: 72ch; }
.document-body section + section { margin-top: 45px; }
.document-body h2 { font-size: 29px; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 17px; }
.document-body p, .document-body li { font-size: 15px; line-height: 1.85; }
.document-body p + p { margin-top: 16px; }
.document-body ul { padding-left: 22px; margin-block: 16px; }
.document-body li + li { margin-top: 8px; }
.document-body > .text-link { margin-top: 45px; }

@keyframes rail-settle { from { transform: translateY(-14px); } to { transform: translateY(0); } }

@media (min-width: 1600px) {
  .hero { padding-top: 82px; }
  .hero-copy { padding-bottom: 94px; }
  .hero-art { padding-bottom: 72px; }
}

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero { grid-template-columns: 1.7fr 1fr; column-gap: 20px; padding-top: 45px; }
  h1 { font-size: clamp(58px, 7.5vw, 78px); }
  .hero-copy > p { font-size: 17px; max-width: 365px; }
  .hero-art { align-items: center; }
  .services { gap: 60px; }
  .project { gap: 45px; }
  .project-copy h4 { font-size: 35px; }
  .work-heading { align-items: flex-start; }
  .work-heading p { max-width: 180px; }
  .project-name-row { gap: 12px; }
  .status { font-size: 10px; }
  .messages { padding: 20px 16px; }
  .conversation-header { padding: 20px; }
  .contact-inner { gap: 50px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 44px); }
  .site-header { min-height: 90px; gap: 15px; }
  .wordmark .brand-wordmark { width: 140px; height: 45px; }
  nav { gap: 18px; }
  nav a { font-size: 12px; gap: 8px; }
  nav a:first-child { display: none; }
  nav a svg { width: 15px; height: 15px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 0 24px; padding-top: 39px; }
  .hero-copy { display: contents; }
  .hero-copy h1, .hero-copy > p { grid-column: 1 / -1; }
  h1 { font-size: clamp(48px, 11vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
  .hero-copy > p { font-size: 16px; max-width: 330px; margin-top: 23px; }
  .button { margin-top: 27px; padding-inline: 18px; min-height: 55px; font-size: 12px; gap: 29px; }
  .hero-copy .button { grid-column: 1; align-self: center; margin: 27px 0 33px; gap: 12px; line-height: 1.6; }
  .hero-copy .button svg { flex-shrink: 0; }
  .hero-art { display: block; grid-column: 2; grid-row: 3; align-self: center; padding: 0; margin: 26px 0 33px; }
  .hero-mark { width: 100%; height: 115px; }
  .hero-foot { min-height: 80px; font-size: 10px; align-items: center; }
  .hero-foot > span { max-width: 150px; line-height: 1.6; }
  .hero-foot a { gap: 12px; max-width: 170px; line-height: 1.6; }
  .hero-foot a svg { width: 18px; height: 18px; flex-shrink: 0; }
  .section { padding-block: 70px 76px; }
  .services { display: block; }
  h2 { font-size: 39px; }
  .section-intro > p { font-size: 15px; max-width: 440px; margin-top: 21px; }
  .service-list { margin-top: 44px; }
  .service h3 { font-size: 25px; }
  .service p { font-size: 14px; }
  .service-detail { font-size: 11px; }
  .work { padding-block: 48px 57px; }
  .work-heading { display: block; padding-bottom: 28px; }
  .work-heading h2 { font-size: 27px; max-width: 320px; }
  .work-heading p { max-width: none; margin-top: 12px; font-size: 11px; }
  .project { display: flex; flex-direction: column; align-items: stretch; gap: 40px; padding-top: 34px; }
  .project-name-row { margin-bottom: 27px; gap: 20px; }
  .project-name-row h3 { font-size: 42px; }
  .status { font-size: 10px; }
  .project-copy h4 { font-size: 39px; }
  .project-copy > p { font-size: 14px; max-width: none; }
  .project-foot { margin-top: 26px; padding-top: 19px; font-size: 10px; }
  .hogger-demo { align-self: center; width: calc(100% - 12px); max-width: 440px; transform: rotate(1deg); }
  figcaption { transform: rotate(-1deg); }
  .conversation-header { padding: 18px 22px; }
  .messages { padding: 24px 20px; }
  .message { font-size: 12px; }
  .contact { padding-block: 65px 60px; }
  .contact-inner { display: block; }
  .contact h2 { font-size: 58px; }
  .contact-inner > div > p { margin-top: 20px; font-size: 14px; max-width: 310px; }
  .contact-action { margin-top: 35px; }
  .contact-link { font-size: 28px; }
  .contact-link svg { width: 29px; height: 29px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 15px; padding-block: 24px 28px; font-size: 10px; }
  .footer-inner p { grid-column: 1; grid-row: 2; }
  .footer-github { grid-column: 2; grid-row: 1; justify-self: end; }
  .footer-inner > span { grid-column: 2; grid-row: 2; }
  .footer-policy { grid-row: 3; }
  .document-hero { padding-block: 45px 48px; }
  .document-hero p { font-size: 16px; }
  .document-layout { display: block; padding-block: 40px 65px; }
  .document-aside { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 36px; }
  .document-aside p + p, .document-aside > a, .document-aside > .status { margin-top: 14px; }
  .document-body h2 { font-size: 27px; }
  .document-body p, .document-body li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
