:root {
  color-scheme: light;
  --ink: #25241f;
  --paper: #faf9f5;
  --muted: #67665f;
  --line: #d9d7cd;
  --accent: #ae553d;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 112px), 1180px); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); z-index: 30; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; min-height: 96px; flex-wrap: wrap; padding-block: 20px; }
.wordmark { font-family: var(--serif); font-size: 29px; letter-spacing: -.045em; line-height: 1.1; text-decoration: none; }
.wordmark span { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.site-header nav { display: flex; gap: 29px; align-items: center; flex-wrap: wrap; }
.site-header nav a { font-size: 14px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav .nav-contact { background: var(--ink); color: var(--paper); padding: 8px 19px; border-radius: 7px; min-height: 40px; }
.eyebrow { font-size: 13px; letter-spacing: .035em; color: var(--muted); }
.hero { padding-top: 100px; padding-bottom: 93px; text-align: center; }
.hero h1 { font-size: clamp(52px, 6.1vw, 84px); line-height: 1.06; letter-spacing: -.04em; }
.hero-description { font-size: 19px; color: var(--muted); line-height: 1.6; max-width: 600px; margin: 28px auto 0; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 29px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 9px 20px; font-size: 14px; line-height: 1.5; border-radius: 7px; text-decoration: none; border: 1px solid var(--line); transition: background .15s; }
.button-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-dark:hover,.nav-contact:hover { background: #49483f; }
.button-outline:hover { background: #eeede5; }
.landscape { margin: -48px auto 0; }
.landscape img { width: 100%; height: auto; aspect-ratio: 3.6/1; object-fit: cover; object-position: center bottom; }
.work-section { padding-top: 98px; padding-bottom: 105px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 40px; }
.section-heading h2 { font-size: 44px; margin-top: 16px; }
.section-heading>p { font-size: 15px; color: var(--muted); padding-bottom: 4px; }
.project { background: #f0efe8; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: stretch; }
.project>* { min-width: 0; }
.project-name { background: #e6e8dc; padding: 42px 44px 48px; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; color: #3c4736; }
.project-index { font-size: 13px; }
.budo-word { font-family: var(--serif); font-size: clamp(74px, 9vw, 136px); line-height: 1.15; letter-spacing: -.075em; overflow-wrap: anywhere; }
.project-category { font-family: var(--serif); font-size: 23px; line-height: 1.4; letter-spacing: -.025em; }
.project-description { padding: 44px 45px; }
.release-status { font-size: 12px; color: #655a4e; border: 1px solid #cfcdc1; display: inline-block; border-radius: 6px; padding: 4px 10px; margin-bottom: 23px; }
.project-description h3 { font-size: 33px; line-height: 1.18; margin-bottom: 20px; }
.project-description>p:not(.release-status) { max-width: 500px; color: var(--muted); }
.features { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 24px 0; gap: 8px 14px; font-size: 13px; color: #53564c; }
.features li { border-bottom: 1px solid #cdcec3; padding-bottom: 4px; }
.project-description .availability { font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 19px; font-size: 14px; min-height: 44px; margin-top: 7px; }
.studio-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 60px; padding-block: 85px 100px; }
.studio-section .eyebrow { margin-bottom: 22px; }
.studio-section h2 { font-size: 45px; }
.studio-description { max-width: 520px; color: var(--muted); }
.studio-description>p+p { margin-top: 23px; }
.studio-description .legal-identity { font-size: 14px; color: var(--ink); margin-top: 32px; }
.contact-section { background: #f0eee5; padding: 73px 0 80px; text-align: center; }
.contact-section h2 { font-size: 54px; margin: 22px 0; }
.contact-section p:not(.eyebrow) { color: var(--muted); }
.contact-email { display: inline-block; font-size: 19px; margin-top: 21px; overflow-wrap: anywhere; max-width: 100%; }
.contact-email span { display: inline-block; margin-left: 8px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 37px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 21px; color: var(--ink); letter-spacing: -.045em; text-decoration: none; }
.site-footer>a:last-child { min-height: 36px; display: inline-flex; align-items: center; }
@media(max-width:1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { padding-top: 80px; }
  .project-name { padding: 30px; }
  .project-description { padding: 32px; }
  .project-description h3 { font-size: 29px; }
  .desktop-break { display: none; }
  .studio-section { gap: 35px; }
  .studio-section h2 { font-size: 39px; }
}
@media(max-width:720px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { padding-block: 16px; min-height: 86px; gap: 16px; }
  .wordmark { font-size: 25px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 13px; }
  .site-header nav a:nth-child(2) { display: none; }
  .site-header nav .nav-contact { padding: 7px 12px; }
  .hero { padding-top: 64px; padding-bottom: 62px; }
  .hero h1 { font-size: clamp(45px, 8.6vw, 62px); }
  .hero-description { font-size: 17px; margin-top: 23px; max-width: 450px; }
  .hero-actions { margin-top: 25px; }
  .landscape { margin-top: -18px; }
  .landscape img { aspect-ratio: 2.2/1; }
  .work-section { padding-block: 62px 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 19px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 37px; }
  .section-heading>p br { display: none; }
  .project { grid-template-columns: minmax(0,1fr); }
  .project-name { min-height: 295px; padding: 29px; gap: 25px; }
  .budo-word { font-size: clamp(74px, 20vw, 110px); }
  .project-description { padding: 31px 27px; }
  .project-description h3 { font-size: 31px; }
  .project-category { font-size: 22px; }
  .studio-section { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 52px 60px; }
  .studio-section h2 { font-size: 38px; }
  .contact-section { padding: 52px 0 56px; }
  .contact-section h2 { font-size: 41px; }
  .contact-email { font-size: 17px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 28px; }
}
@media(max-width:440px) {
  .site-header nav a:first-child { display: none; }
  .hero h1 { font-size: 43px; }
  .hero { padding-top: 49px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none!important; }
}

/* Reserve the expanded wordmark lane so navigation never jumps during its morph. */
.logo-slot { flex: 0 0 238px; min-width: 0; }
sand-signal-logo { --ss-logo-height: 50px; display: inline-block; color: var(--ink); }
@media (max-width:720px) {
  .logo-slot { flex-basis: 210px; }
  sand-signal-logo { --ss-logo-height: 44px; }
}
@media (max-width:440px) {
  .header-inner { gap: 10px; flex-wrap: nowrap; }
  .logo-slot { flex-basis: 166px; }
  sand-signal-logo { --ss-logo-height: 35px; }
  .site-header nav { flex-shrink: 0; }
}

.screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.screenshot-gallery img { width: 100%; height: auto; border-radius: 12px; }
.screenshot-gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
@media(max-width:720px) {
  .screenshot-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 16px; margin-top: 24px; }
  .screenshot-gallery img { scroll-snap-align: start; }
}
