:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --ink: #282b28;
  --muted: #666960;
  --line: #ddded6;
  --accent: #89684d;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { background: #e5d9c6; color: #252822; }
:focus-visible { outline: 3px solid #886039; outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.045em; }
.container { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(248 247 244 / 97%); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { font-size: 27px; font-weight: 730; letter-spacing: -1.4px; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark span { color: #686d61; font-weight: 430; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a, .footer-nav a { padding-block: 12px; font-size: 13px; font-weight: 550; text-decoration: none; transition: color 150ms ease; }
.main-nav a:hover, .footer-nav a:hover, .social-links a:hover { color: var(--accent); text-decoration: underline; }
.main-nav .nav-legal { color: var(--muted); font-size: 12px; }
.main-nav a[aria-current="page"] { text-decoration: underline; }
.menu-toggle { display: none; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; }
.small-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #8b8e74; vertical-align: 1px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 76px; padding-block: 100px 110px; }
.hero h1 { margin-block: 27px 24px; font-size: clamp(66px, 7.9vw, 106px); font-weight: 570; letter-spacing: -.066em; line-height: 1.02; }
.hero h1 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.06em; }
.hero-description { max-width: 450px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions, .project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.button { display: inline-flex; min-height: 49px; padding: 12px 21px; justify-content: center; align-items: center; gap: 25px; background: var(--ink); color: white; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.button:hover { background: #41463e; transform: translateY(-2px); box-shadow: 0 5px 12px rgb(33 40 34 / 9%); }
.button span { font-size: 19px; line-height: 1; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 16px; font-size: 13px; font-weight: 550; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.project-index { margin-top: 58px; }
.project-index > .eyebrow { margin-bottom: 17px; font-size: 10px; letter-spacing: 1.1px; }
.index-item { display: flex; align-items: center; gap: 15px; padding-block: 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-item img { width: 44px; height: 44px; border-radius: 12px; }
.index-item strong { display: block; font-size: 17px; font-weight: 650; line-height: 1.4; letter-spacing: -.3px; }
.index-item small { display: block; color: var(--muted); font-size: 12px; }
.index-arrow { margin-left: auto; color: var(--muted); transition: transform 180ms ease; }
.index-item:hover .index-arrow { transform: translate(3px, -3px); }
.index-note { margin-top: 21px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 31px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.project-list { display: grid; gap: 24px; }
.project { padding: 30px 40px 0; overflow: hidden; border: 1px solid #e1e3d9; border-radius: var(--radius); }
.project-topline { display: flex; justify-content: space-between; gap: 20px; color: #5b685a; font-size: 10px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 52px; padding-block: 41px 35px; }
.project-brand { display: flex; align-items: center; gap: 12px; }
.project-brand > img { width: 39px; height: 39px; border-radius: 10px; }
.project-brand h3 { font-size: 30px; font-weight: 720; letter-spacing: -1.2px; }
.project-tagline { max-width: 390px; margin-top: 25px; font-size: clamp(29px, 3.1vw, 40px); font-weight: 550; line-height: 1.14; letter-spacing: -1.4px; text-wrap: balance; }
.project-description { margin-top: 21px; color: #576052; font-size: 14px; line-height: 1.85; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin-block: 23px; list-style: none; }
.tags li { padding: 5px 9px; border: 1px solid rgb(61 79 49 / 16%); border-radius: 5px; color: #53614f; font-size: 10px; line-height: 1.5; }
.project-note { max-width: 410px; color: #485c47; font-size: 12px; font-weight: 550; line-height: 1.8; }
.project-actions { gap: 13px 20px; margin-top: 24px; }
.project-actions .text-link { font-size: 12px; }
.project-operator { padding-block: 17px 19px; border-top: 1px solid rgb(61 79 49 / 15%); color: #5e6659; font-size: 10px; line-height: 1.65; }
.project-featured { background: #edf0e7; }
.project-featured .project-body { min-height: 555px; padding-block: 52px; }
.project-featured .project-button { background: #294536; }
.project-featured .project-button:hover { background: #3d5c48; }
.coming-soon { color: #5e6659; font-size: 11px; }
.project-visual { min-width: 0; }
.project-featured .project-visual { position: relative; display: flex; align-items: center; min-height: 330px; padding-block: 36px; }
.project-featured .project-visual::before { content: ""; position: absolute; width: 330px; height: 330px; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid #d7dfcd; border-radius: 50%; box-shadow: 0 0 0 40px rgb(220 226 211 / 45%), 0 0 0 80px rgb(220 226 211 / 20%); }
.project-featured figure { z-index: 1; width: calc(100% + 38px); flex-shrink: 0; }
.screenshot-link { position: relative; display: block; border: 1px solid rgb(255 255 255 / 70%); border-radius: 14px; overflow: hidden; box-shadow: 0 15px 35px rgb(27 36 25 / 12%); cursor: zoom-in; transition: transform 200ms ease, box-shadow 200ms ease; }
.screenshot-link:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgb(27 36 25 / 17%); }
.project-featured .screenshot-link { background: #fbfaf6; padding: 35px 0 14px; }
.project-featured .screenshot-link::before { content: ""; position: absolute; top: 13px; left: 15px; width: 5px; height: 5px; background: #c7ccbf; border-radius: 50%; box-shadow: 10px 0 #c7ccbf, 20px 0 #c7ccbf; }
figcaption { margin-top: 15px; color: #64705e; font-size: 10px; text-align: center; }
.zoom-hint { position: absolute; bottom: 10px; right: 10px; display: grid; width: 25px; height: 25px; place-items: center; color: #354232; background: #fff; border: 1px solid #dbddd7; border-radius: 50%; font-size: 12px; }
.zoom-hint::before { content: ""; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; }
.zoom-hint::after { content: ""; width: 10px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.project-medium { background: #f0ece5; border-color: #e4ded4; }
.project-medium .project-topline, .project-medium .project-description, .project-medium .project-note, .project-medium .project-operator, .project-medium figcaption { color: #686154; }
.project-medium .project-body { gap: 60px; padding-top: 30px; }
.project-medium .project-visual { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 0 8px; }
.project-medium figure { width: 44%; max-width: 197px; }
.project-medium figure:first-child { transform: translateY(-12px) rotate(-4deg); }
.project-medium figure:last-child { transform: translateY(12px) rotate(4deg); }
.project-medium .screenshot-link { border: 5px solid #222822; border-radius: 22px; background: #17211b; }
.project-medium .tags li { color: #696154; border-color: #d8cfc1; }
.project-medium .project-operator { border-color: #dcd3c6; }
.project-compact { color: #faf8ff; background: #292632; border-color: #292632; }
.project-compact .project-topline, .project-compact .project-operator { color: #c1b9cc; }
.project-compact .project-body { grid-template-columns: minmax(0, 1fr) 260px; gap: 86px; padding-top: 28px; }
.project-compact .project-brand > img { display: none; }
.project-compact .project-brand h3 { font-size: 25px; }
.project-compact .project-tagline { max-width: 500px; margin-top: 18px; font-size: 30px; }
.project-compact .project-description { color: #d5cfdd; max-width: 560px; margin-top: 16px; }
.project-compact .project-note { color: #c6bdce; max-width: 560px; margin-top: 16px; font-size: 11px; font-weight: 400; }
.project-compact .project-button { background: #f3eef6; color: #302638; }
.project-compact .project-button:hover { background: #ded4e5; }
.project-compact .project-operator { border-color: #51495a; }
.project-compact :focus-visible { outline-color: #eed8b5; }
.project-art { padding: 24px; }
.project-art img { width: 100%; border-radius: 28px; box-shadow: 0 16px 45px rgb(0 0 0 / 20%); transform: rotate(5deg); }
.operator-note { max-width: 790px; margin: 24px auto 0; color: var(--muted); font-size: 11px; line-height: 1.9; text-align: center; }
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 115px; padding-block: 120px; }
.about-photo > img { width: 100%; border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.about-photo > p { margin-top: 17px; font-size: 12px; font-weight: 600; }
.about-photo > p > span { color: var(--muted); font-size: 11px; font-weight: 400; }
.about-copy > .eyebrow { margin-bottom: 15px; }
.about-copy .about-lead { margin-top: 24px; color: var(--ink); font-size: 22px; letter-spacing: -.4px; line-height: 1.5; }
.about-copy > p:not(.eyebrow, .about-lead) { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.social-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 23px; }
.social-links > a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 550; text-decoration: none; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-block: 65px 74px; border-top: 1px solid var(--line); }
.contact .eyebrow { margin-bottom: 17px; }
.contact-copy > p { max-width: 370px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.email-link { display: inline-block; padding-block: 15px; font-size: clamp(17px, 2.2vw, 28px); font-weight: 550; letter-spacing: -.8px; text-decoration: none; overflow-wrap: anywhere; }
.email-link:hover { text-decoration: underline; }
.email-link > span:last-child { margin-left: 16px; font-weight: 400; }
.contact-copy > .contact-note { color: var(--muted); font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 23px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.footer-top .wordmark { font-size: 21px; }
.footer-top p { margin-top: 12px; color: var(--muted); font-size: 11px; }
.footer-nav { display: flex; gap: 23px; flex-wrap: wrap; }
.footer-nav a { font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; color: var(--muted); font-size: 10px; }
.legal-page { max-width: 780px; padding-block: 50px 100px; }
.back-link { margin-bottom: 35px; }
.legal-page h1, .not-found h1 { margin-top: 12px; font-size: clamp(40px, 6vw, 68px); letter-spacing: -.06em; overflow-wrap: anywhere; }
.legal-intro { margin-top: 24px; color: var(--muted); font-size: 18px; }
.legal-page section { margin-top: 38px; }
.legal-page h2 { margin-bottom: 16px; font-size: 24px; line-height: 1.3; letter-spacing: -.5px; }
.legal-page section p + p { margin-top: 15px; }
.legal-page section p, .legal-page address { font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
address { font-style: normal; }
.not-found { padding-block: 110px 130px; }
.not-found > p:not(.eyebrow) { max-width: 520px; margin-block: 25px; color: var(--muted); }
.image-is-open { overflow: hidden; }
.image-dialog { position: fixed; max-width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 22px; overflow: auto; background: var(--paper); border: 0; border-radius: 16px; }
.image-dialog::backdrop { background: rgb(22 24 21 / 85%); }
.dialog-close { display: flex; align-items: center; gap: 18px; min-height: 44px; margin: 0 0 12px auto; padding: 4px 10px; background: transparent; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.dialog-close span { font-size: 24px; line-height: 1; }
.dialog-image img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 195px); margin-inline: auto; object-fit: contain; border-radius: 6px; }
#image-caption { max-width: 650px; margin: 12px auto 0; font-size: 12px; text-align: center; }

@media (min-width: 1600px) {
  .hero { padding-block: 120px; }
}

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .main-nav { gap: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr) 230px; gap: 35px; padding-block: 80px 90px; }
  .hero h1 { font-size: clamp(60px, 8vw, 90px); }
  .hero-description { font-size: 16px; }
  .project { padding-inline: 28px; }
  .project-body { gap: 28px; }
  .project-medium .project-body { gap: 35px; }
  .project-compact .project-body { grid-template-columns: minmax(0, 1fr) 180px; gap: 35px; }
  .project-art { padding: 12px; }
  .about { grid-template-columns: 250px minmax(0, 1fr); gap: 65px; padding-block: 90px; }
  .contact { gap: 50px; }
  .footer-top { flex-direction: column; gap: 15px; }
}

@media (max-width: 699px) {
  html { scroll-padding-top: 88px; }
  .site-header { position: static; }
  .js .site-header { position: sticky; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0 20px; }
  .wordmark { font-size: 25px; }
  .main-nav { display: none; width: 100%; flex-wrap: wrap; gap: 0 25px; padding-bottom: 14px; }
  .main-nav a { min-height: 44px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; padding-block: 12px 22px; border-top: 1px solid var(--line); }
  .js .menu-toggle { display: flex; min-height: 44px; align-items: center; gap: 13px; padding: 8px 0 8px 14px; border: 0; background: none; font-size: 12px; }
  .menu-symbol { display: block; width: 18px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  [aria-expanded="true"] .menu-symbol { height: 0; border-bottom: 0; transform: rotate(-45deg); }
  .hero { display: block; padding-block: 58px 56px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .hero h1 { margin-block: 23px; font-size: clamp(54px, 11.9vw, 80px); }
  .hero-description { max-width: 420px; font-size: 16px; }
  .hero-actions { gap: 22px; margin-top: 27px; }
  .button { min-height: 48px; padding-inline: 17px; font-size: 12px; gap: 21px; }
  .project-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 46px; border-top: 1px solid var(--line); }
  .project-index > .eyebrow, .index-note { display: none; }
  .index-item { flex-wrap: wrap; gap: 10px; padding-block: 20px 0; border: 0; }
  .index-item img { width: 34px; height: 34px; border-radius: 9px; }
  .index-item strong { font-size: 13px; }
  .index-item small { font-size: 9px; }
  .index-arrow { display: none; }
  .section-heading { gap: 18px; padding-bottom: 23px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > p { display: none; }
  .section-heading .eyebrow { font-size: 10px; }
  .project-list { gap: 18px; }
  .project { padding: 23px 23px 0; border-radius: 18px; }
  .project-topline { gap: 6px 14px; font-size: 9px; letter-spacing: .6px; flex-wrap: wrap; }
  .project-topline > span:last-child { white-space: nowrap; }
  .project-body, .project-compact .project-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px; }
  .project-featured .project-body { min-height: 0; padding-block: 28px; }
  .project-brand h3 { font-size: 28px; }
  .project-tagline { font-size: 34px; letter-spacing: -1.2px; max-width: 430px; margin-top: 21px; }
  .project-description { margin-top: 18px; font-size: 14px; }
  .tags { gap: 7px; margin-block: 19px; }
  .tags li { font-size: 10px; }
  .project-note { font-size: 12px; }
  .project-actions { align-items: flex-start; }
  .coming-soon { align-self: center; font-size: 11px; }
  .project-featured .project-visual { min-height: 185px; padding-block: 20px 4px; }
  .project-featured .project-visual::before { width: 200px; height: 200px; }
  .project-featured figure { width: 100%; }
  .project-featured .screenshot-link { padding-top: 27px; }
  .project-featured .screenshot-link::before { top: 10px; }
  .project-operator { font-size: 10px; }
  .project-medium .project-body { padding-block: 28px; gap: 20px; }
  .project-medium .project-visual { padding: 30px 4px 10px; gap: 17px; }
  .project-medium .screenshot-link { border-width: 4px; border-radius: 17px; }
  .project-medium figure { max-width: 180px; }
  .project-compact .project-body { position: relative; padding-top: 28px; }
  .project-compact .project-copy { padding-top: 6px; }
  .project-compact .project-tagline { margin-top: 31px; font-size: 29px; }
  .project-art { position: absolute; top: 10px; right: 0; width: 60px; padding: 0; }
  .project-art img { border-radius: 13px; }
  .project-compact .project-brand { min-height: 35px; padding-right: 70px; }
  .project-compact .project-description { font-size: 14px; }
  .operator-note { margin-top: 21px; font-size: 10px; text-align: left; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 72px; }
  .about-photo { max-width: 220px; }
  .about-photo > img { border-radius: 12px; }
  .about-photo > p { font-size: 11px; }
  .about-copy > .eyebrow { font-size: 10px; }
  .about-copy .about-lead { margin-top: 20px; font-size: 22px; }
  .about-copy > p:not(.eyebrow, .about-lead) { font-size: 14px; }
  .social-links { gap: 0 23px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 48px 55px; }
  .contact h2 { font-size: 38px; }
  .contact-copy > p { max-width: 410px; }
  .email-link { font-size: clamp(18px, 5.6vw, 27px); letter-spacing: -.7px; }
  .email-link > span:last-child { margin-left: 5px; }
  .footer-top { gap: 21px; }
  .footer-nav { gap: 0 23px; }
  .footer-bottom { margin-top: 24px; flex-direction: column; gap: 6px; }
  .legal-page { padding-block: 28px 65px; }
  .legal-page h1 { font-size: 44px; }
  .legal-intro { font-size: 16px; }
  .legal-page h2 { font-size: 23px; }
  .legal-page section p, .legal-page address { font-size: 14px; }
  .image-dialog { padding: 14px; }
  .not-found { padding-block: 70px 90px; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 50px; }
  .hero-actions { gap: 12px; }
  .hero-actions .text-link { gap: 7px; font-size: 12px; }
  .project { padding-inline: 18px; }
  .project-topline { gap: 6px 8px; }
  .project-tagline { font-size: 30px; }
  .index-item { display: block; }
  .index-item img { margin-bottom: 9px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 550ms ease-out both; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

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

@media print {
  .site-header { position: static; }
  .menu-toggle, .hero-actions, .image-dialog, .zoom-hint { display: none !important; }
  .container { width: 100%; }
  .project { break-inside: avoid; }
  body { background: white; }
}
