:root {
  --bg: #efede8;
  --surface: #fbfaf7;
  --surface-soft: #f4f1eb;
  --surface-muted: #e2ddd4;
  --text: #1f1d19;
  --muted: #6e675e;
  --muted-strong: #504a43;
  --line: rgba(31, 29, 25, 0.12);
  --line-strong: rgba(31, 29, 25, 0.18);
  --accent: #6f5940;
  --accent-dark: #3c3125;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(22, 20, 17, 0.07);
  --shadow-soft: 0 8px 22px rgba(22, 20, 17, 0.05);
  --container: 1120px;
  --radius-lg: 8px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.site-title {
  display: grid;
  gap: 2px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-title span:first-child {
  font-size: 12px;
  font-weight: 650;
}

.site-title span:last-child {
  font-size: 10px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer-links a,
.text-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.text-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 36px;
  align-items: center;
  padding: 42px 0 46px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  font-weight: 320;
}

.hero-lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.hero-media {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.statement-band {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
}

.statement-inner {
  padding: 26px 0;
}

.statement-inner p {
  display: grid;
  gap: 4px;
  max-width: 820px;
  margin: 0;
}

.statement-inner span {
  color: var(--muted-strong);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.22;
  font-weight: 300;
}

.statement-inner strong {
  color: var(--text);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: 360;
}

.section {
  padding: 62px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 48px;
}

.section-kicker h2,
.section-head h2,
.context-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.14;
  font-weight: 340;
}

.about-content {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.about-content p,
.context-content p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.78;
}

.works-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 32px;
  align-items: end;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 286px), 1fr));
  gap: 22px;
  margin-top: 32px;
}

.work-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.work-card.is-hidden {
  display: none;
}

.work-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: var(--surface-muted);
}

.work-visual img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.work-visual-image::after,
.work-visual-tone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(31, 29, 25, 0.16));
}

.work-visual-tone {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)), linear-gradient(145deg, #d7d0c5, #f7f4ee 46%, #b8ad9e);
}

.work-visual-violin {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)), linear-gradient(145deg, #cfc5b8, #f8f5ef 48%, #74685a);
}

.work-body {
  display: grid;
  gap: 13px;
  padding: 21px;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
}

.work-body h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.14;
  font-weight: 430;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.context-section {
  padding-bottom: 72px;
}

.context-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 42px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.context-content {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #d9d3c9;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.footer-title,
.footer-subtitle {
  margin: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 650;
}

.footer-subtitle {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .context-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
    height: 300px;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    min-height: 64px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero-grid {
    padding: 34px 0 38px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .statement-inner {
    padding: 22px 0;
  }

  .section {
    padding: 50px 0;
  }

  .works-grid {
    gap: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-title {
    letter-spacing: 0.08em;
  }

  .site-title span:first-child {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 250px;
    height: 250px;
  }

  .work-visual,
  .work-visual img {
    min-height: 220px;
    height: 220px;
  }

  .context-panel {
    padding: 24px;
  }
}