:root {
  color-scheme: light;
  --paper: #f8f4ee;
  --ink: #292b28;
  --muted: #74766f;
  --line: #dedbd2;
  --orange: #ed8858;
  --orange-dark: #b85131;
  --cream: #fffaf3;
  font-family: 'Segoe UI', 'Yu Gothic UI', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 5px; border-radius: 3px; }
::selection { background: #f5c3a9; color: var(--ink); }
.page-shell { width: min(100% - 96px, 1260px); margin: 0 auto; }

.site-header { height: 106px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.055em; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 26px; line-height: 1; padding-bottom: 5px; }
.brand-dot, .footer-brand span { color: var(--orange-dark); }
.brand-name { font-size: 19px; }
.brand-name span { font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: 41px; font-size: 13px; font-weight: 700; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--orange-dark); }
.nav-github { border: 1px solid #b9bab1; border-radius: 99px; padding: 10px 18px; }
.nav-github span { margin-left: 9px; font-size: 16px; }
.language-switch { display: flex; align-items: center; gap: 2px; border: 1px solid #b9bab1; border-radius: 99px; padding: 3px; }
.language-switch button { border: 0; border-radius: 99px; background: transparent; color: var(--muted); padding: 7px 10px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.language-switch button:hover { color: var(--ink); }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.hero { min-height: 625px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; position: relative; border-bottom: 1px solid var(--line); padding: 62px 0 79px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-left: 29px; }
.eyebrow, .section-label { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 32px; }
.eyebrow-line { display: inline-block; height: 1px; width: 29px; background: var(--orange-dark); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(52px, 5.6vw, 81px); letter-spacing: -.075em; line-height: 1.34; font-weight: 700; margin-bottom: 26px; }
.hero h1 em { color: var(--orange-dark); font-style: normal; }
.hero-description { font-size: 15px; line-height: 2.1; color: #555851; margin-bottom: 34px; }
.primary-link { display: inline-flex; align-items: center; gap: 47px; background: var(--ink); color: #fff; border-radius: 99px; font-size: 13px; font-weight: 700; padding: 16px 21px 16px 26px; transition: background .2s ease, transform .2s ease; }
.primary-link:hover { background: var(--orange-dark); transform: translateY(-2px); }
.primary-link > span[aria-hidden="true"] { font-size: 20px; font-weight: 400; line-height: .8; }
.hero-index { position: absolute; bottom: 30px; left: 29px; color: #9d9d92; font-size: 11px; letter-spacing: .16em; }

.hero-art { min-height: 485px; position: relative; display: grid; place-items: center; }
.art-orbit { position: absolute; border: 1px solid #e2d7c9; border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { width: 545px; height: 390px; }
.orbit-two { width: 425px; height: 295px; }
.art-sun { position: absolute; top: 56px; right: 43px; width: 208px; height: 208px; border-radius: 50%; background: #f0ae84; box-shadow: inset -26px -20px 0 #e89d76; }
.art-sun span { position: absolute; width: 280px; height: 280px; border: 1px solid #e5d4c4; border-radius: 50%; top: -36px; left: -36px; }
.art-card { width: 232px; height: 296px; border-radius: 14px; position: absolute; box-shadow: 0 19px 37px rgba(94, 74, 55, .14); }
.art-card-back { background: #e9c6a9; transform: translate(42px, 0) rotate(15deg); }
.art-card-front { background: #fffdf8; transform: translate(-18px, 3px) rotate(-10deg); border: 1px solid #e8e1d7; padding: 23px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.art-card-kicker, .art-card-bottom { font-size: 11px; letter-spacing: .07em; font-weight: 700; }
.art-card-flower { align-self: center; font-size: 130px; line-height: 1; color: var(--orange); text-shadow: 0 8px 0 #f7d8bc; }
.art-card-bottom { align-self: stretch; display: flex; justify-content: space-between; }
.art-card-bottom span { font-size: 20px; line-height: 10px; }
.art-spark { position: absolute; color: var(--orange-dark); }
.spark-one { top: 72px; left: 85px; font-size: 27px; }
.spark-two { right: 34px; bottom: 67px; font-size: 31px; }

.section { scroll-margin-top: 36px; }
.works { padding: 93px 29px 109px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 39px; }
.section-label { margin-bottom: 17px; }
.section-label span { color: #b7aba1; margin: 0 7px; }
h2 { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -.075em; line-height: 1.45; margin-bottom: 12px; }
.section-intro { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.section-number { color: #d9d3c9; font-size: 64px; font-weight: 700; letter-spacing: -.07em; line-height: 1; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { min-width: 0; display: flex; flex-direction: column; background: #fffdf9; border: 1px solid #e6e0d6; border-radius: 10px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(75, 59, 38, .09); border-color: #ddb99d; }
.card-site-link { display: flex; flex-direction: column; flex: 1; }
.card-visual { height: 197px; position: relative; overflow: hidden; display: grid; place-items: center; }
.tabby-visual { background: #f1d5bd; }
.tabby-visual:before, .tabby-visual:after { content: ''; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; position: absolute; }
.tabby-visual:before { left: -120px; top: -135px; }.tabby-visual:after { right: -165px; bottom: -186px; }
.tabby-sheet, .tabby-form { position: absolute; width: 86px; height: 94px; background: #fffaf5; border-radius: 6px; box-shadow: 0 7px 15px rgba(110,65,39,.12); display: flex; flex-direction: column; gap: 9px; padding: 19px 11px; }
.tabby-sheet span { height: 8px; border-radius: 2px; background: #efd8c7; }.tabby-sheet span:nth-child(2) { width: 72%; }.tabby-sheet span:nth-child(3) { width: 85%; }
.sheet-back { transform: translate(-80px,-11px) rotate(-10deg); background: #e8a57d; }.sheet-back span { background: #f6d8bf; }
.sheet-front { transform: translate(-67px,6px) rotate(5deg); }
.tabby-arrow { position: absolute; z-index: 1; color: var(--orange-dark); font-size: 42px; transform: translate(9px,4px); }
.tabby-form { transform: translate(86px,5px) rotate(8deg); width: 101px; height: 100px; padding: 18px 12px; gap: 7px; }
.tabby-form span { height: 15px; width: 100%; border-radius: 3px; border: 1px solid #dfc6b4; background: #fff; }
.card-visual.generated { background: #e8e9de; }
.card-visual.generated:before { content: ''; width: 145px; height: 145px; border: 1px solid #bfc5b5; border-radius: 50%; position: absolute; transform: translate(-55px, -17px); }
.card-visual.generated:after { content: '↗'; font-size: 96px; font-weight: 400; line-height: 1; color: #829b84; transform: translate(15px,5px); }
.project-card:nth-child(3n) .card-visual.generated { background: #e4dfed; }.project-card:nth-child(3n) .card-visual.generated:after { color: #9383a8; }
.project-card:nth-child(4n) .card-visual.generated { background: #f0e4c8; }.project-card:nth-child(4n) .card-visual.generated:after { color: #bb9b65; }
.card-content { padding: 22px 25px 25px; display: flex; flex-direction: column; flex: 1; }
.card-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.card-kind { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.card-arrow { font-size: 22px; line-height: 1; }
.card-content h3 { font-size: 23px; letter-spacing: -.035em; line-height: 1.4; margin-bottom: 10px; overflow-wrap: anywhere; }
.card-content p { color: #666961; font-size: 13px; line-height: 1.8; margin-bottom: 23px; flex: 1; overflow-wrap: anywhere; }
.card-cta { font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--ink); width: fit-content; padding-bottom: 4px; }
.card-cta span[aria-hidden="true"] { margin-left: 18px; }
.card-source { display: flex; justify-content: space-between; padding: 13px 25px 14px; border-top: 1px solid #eee9e1; color: #777970; font-size: 11px; transition: color .2s; }
.card-source:hover { color: var(--orange-dark); }
.projects-status { color: var(--muted); margin: 20px 0 0; font-size: 12px; min-height: 19px; }
.projects-status:empty { display: none; }
.projects-status a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }

.about { margin: 0 29px 94px; border-radius: 10px; background: #e9ede4; min-height: 337px; display: grid; grid-template-columns: 230px 1fr 100px; gap: 23px; align-items: center; padding: 45px 51px; position: relative; overflow: hidden; }
.about:before { content: ''; width: 430px; height: 430px; border: 1px solid #d5decf; border-radius: 50%; position: absolute; top: -241px; left: -150px; }
.about-stamp { width: 150px; height: 150px; border: 1px solid #9aa99a; border-radius: 50%; display: grid; place-items: center; transform: rotate(-13deg); margin-left: 20px; color: #759177; position: relative; }
.about-stamp:before { content: ''; position: absolute; inset: 8px; border: 1px dashed #a8b8a6; border-radius: 50%; }
.about-stamp span:first-child { font-size: 25px; font-weight: 700; letter-spacing: -.06em; }
.about-stamp .stamp-star { position: absolute; bottom: 20px; font-size: 17px; }
.about-content { position: relative; z-index: 1; }
.about-content .section-label { color: #64816b; }
.about-content h2 { font-size: clamp(25px, 2.4vw, 34px); margin-bottom: 15px; line-height: 1.55; }
.about-content p:not(.section-label) { color: #5e6a60; font-size: 13px; line-height: 1.9; max-width: 650px; }
.about-links { display: flex; gap: 23px; margin-top: 19px; }.about-links a { font-size: 13px; font-weight: 700; border-bottom: 1px solid #677b69; padding-bottom: 4px; }.about-links a span { margin-left: 14px; }.about-links a:hover { color: var(--orange-dark); }
.about-number { align-self: start; justify-self: end; color: #d1dcd0; }
.site-footer { min-height: 105px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8b8c84; font-size: 11px; }
.footer-brand { font-size: 19px; font-weight: 700; letter-spacing: -.055em; color: var(--ink); }.site-footer p { margin: 0; }

@media (max-width: 1000px) {
  .page-shell { width: min(100% - 56px, 1260px); }
  .hero-copy { padding-left: 8px; }.hero-art { transform: scale(.85); margin-left: -40px; margin-right: -40px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works { padding-left: 8px; padding-right: 8px; }.about { margin-left: 8px; margin-right: 8px; grid-template-columns: 180px 1fr 45px; padding: 40px 35px; }
  .about-stamp { margin-left: 0; }
}
@media (max-width: 700px) {
  .page-shell { width: min(100% - 36px, 1260px); }
  .site-header { height: 74px; }.brand-mark { width: 34px; height: 34px; font-size: 22px; }.brand-name { font-size: 16px; }.brand-name span { display: none; }
  .header-actions { gap: 0; }.site-nav { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 68px 0 34px; min-height: 0; }
  .hero-copy { padding: 0 6px; }.eyebrow { font-size: 9px; margin-bottom: 22px; }.eyebrow-line { width: 19px; }
  .hero h1 { font-size: clamp(47px, 10vw, 68px); line-height: 1.34; margin-bottom: 21px; }.hero-description { font-size: 13px; line-height: 1.95; margin-bottom: 25px; }.desktop-break { display: none; }
  .hero-art { height: 330px; min-height: 330px; width: 100%; transform: scale(.68); margin: -25px 0 -56px; }.hero-index { display: none; }
  .works { padding: 66px 6px 75px; }.section-heading { margin-bottom: 28px; }.section-number { font-size: 46px; }.section-label { font-size: 10px; }.section-intro { font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 17px; }.card-visual { height: 190px; }
  .about { margin: 0 6px 69px; display: block; padding: 39px 28px 43px; }.about-stamp { width: 99px; height: 99px; margin: 0 0 23px; }.about-stamp span:first-child { font-size: 18px; }.about-stamp .stamp-star { bottom: 12px; font-size: 12px; }.about-number { position: absolute; right: 25px; top: 27px; }.about-content h2 { font-size: 25px; }.about-content p:not(.section-label) { font-size: 12px; }
  .site-footer { flex-wrap: wrap; padding: 24px 6px 28px; gap: 9px; }.site-footer p { order: 3; width: 100%; }.site-footer > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
