/* Yorimichi works — base styles
   Quiet, editorial, restrained. No gradients, no glass, no heavy shadow. */

:root {
  --bg: #faf9f6;
  --bg-alt: #f2f0ea;
  --ink: #232220;
  --ink-soft: #55524c;
  --line: #ddd9d0;
  --accent: #a15c3f;
  --accent-ink: #7c4530;
  --max: 1160px;
  --measure: 720px;
  --radius: 6px;
  --font: Inter, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.measure {
  max-width: var(--measure);
}

section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: none;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
  font-weight: 600;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(140%) blur(4px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.nav a:hover {
  color: var(--accent-ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

/* Hero */

.hero {
  padding-top: 120px;
  padding-bottom: 88px;
  overflow: hidden;
}

.hero .eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 12px;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.hero .lede {
  max-width: var(--measure);
}

/* Reveal-on-load: subtle, respects reduced motion */

.reveal {
  animation: reveal-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--d, 0) * 90ms);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-accent {
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

.btn-accent:hover {
  background: var(--accent-ink);
  color: #fff;
}

/* Business grid */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
  margin-top: 48px;
}

.grid-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.grid-item .index {
  font-size: 0.8rem;
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Works */

.works-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}

.work-row {
  display: grid;
  grid-template-columns: 1.1fr 2fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.works-list .work-row:last-child {
  border-bottom: 1px solid var(--line);
}

.work-row h3 {
  margin: 0;
}

.work-row p {
  margin: 0;
}

.status {
  justify-self: end;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Philosophy */

.philosophy blockquote {
  margin: 0 0 24px;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  border-left: 2px solid var(--accent-ink);
  padding-left: 20px;
}

/* Contact */

.contact-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.contact-box p {
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--accent-ink);
}

.copyright {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Privacy page */

.legal h1 {
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 40px;
}

.legal ol,
.legal ul {
  color: var(--ink-soft);
  padding-left: 20px;
}

.legal li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--accent-ink);
}

/* Responsive */

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }


  .grid {
    grid-template-columns: 1fr;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .status {
    justify-self: start;
  }
}
