:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --text: #111111;
  --muted: #666666;
  --subtle: #8a8a8a;
  --border: #e6e6e6;
  --border-strong: #d1d1d1;
  --surface: #ffffff;
  --max-width: 1120px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover,
.contact-links a:hover {
  color: var(--text);
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 40px 0 88px;
}

.alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.hero {
  padding-top: 120px;
  padding-bottom: 72px;
}

.hero-grid,
.two-column,
.now-grid,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 72px;
  align-items: start;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hero-aside {
  padding-top: 48px;
}

.hero-aside p,
.statement p,
.contact-card p {
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.button:hover {
  border-color: var(--text);
}

.button.primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.statement {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.statement p {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  color: var(--text);
}

.entry,
.project-card,
.expertise-block,
.contact-card {
  background: var(--surface);
}

.entry {
  border-top: 1px solid var(--border-strong);
  padding-top: 28px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.entry-header p,
.entry-header span,
.entry > p,
.impact-list,
.project-card p,
.expertise-block p,
.now-list {
  color: var(--muted);
}

.entry-header p {
  margin-bottom: 0;
}

.entry-header span {
  white-space: nowrap;
  font-size: 14px;
}

.impact-list,
.now-list {
  margin: 28px 0 0;
  padding-left: 20px;
}

.impact-list li,
.now-list li {
  margin-bottom: 10px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 56px;
}

.project-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 48px;
  padding: 34px;
}

.project-card p {
  max-width: 720px;
  margin-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  background: #fafafa;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.expertise-block {
  padding: 28px;
}

.expertise-block p {
  margin-bottom: 0;
  font-size: 15px;
}

.now-list {
  margin-top: 0;
  font-size: 18px;
}

.contact-section {
  padding-bottom: 120px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-card p {
  max-width: 620px;
  margin-bottom: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: end;
  color: var(--muted);
  font-weight: 650;
}

.contact-links a {
  width: fit-content;
  border-bottom: 1px solid var(--border-strong);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a0a0a;
    --bg-alt: #101010;
    --text: #f5f5f5;
    --muted: #a1a1a1;
    --subtle: #7a7a7a;
    --border: #242424;
    --border-strong: #333333;
    --surface: #0a0a0a;
  }

  .site-header {
    background: rgba(10, 10, 10, 0.9);
  }

  .button.primary {
    background: var(--text);
    color: var(--bg);
  }

  .tags li {
    background: #111111;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 32px 0 64px;
  }

  .hero {
    padding-top: 88px;
    padding-bottom: 52px;
  }

  .hero-grid,
  .two-column,
  .now-grid,
  .contact-card,
  .project-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-aside {
    padding-top: 0;
  }

  h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .project-card {
    padding: 26px;
  }

  .tags {
    justify-content: flex-start;
  }

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

  .entry-header {
    flex-direction: column;
    gap: 6px;
  }

  .contact-section {
    padding-bottom: 88px;
  }
}
