:root {
  --paper: #fffdf8;
  --ink: #282422;
  --muted: #6d6661;
  --line: #e9ddd4;
  --mint: #5ebca9;
  --rose: #f1788b;
  --yellow: #f4c95d;
  --shadow: 0 24px 80px rgba(48, 39, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.84);
  border-bottom: 1px solid rgba(233, 221, 212, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: 0 10px 24px rgba(48, 39, 32, 0.09);
}

.nav-links a {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 64svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px clamp(18px, 5vw, 72px) 44px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(0deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0));
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #f3eee9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.05);
}

.hero-copy {
  max-width: 720px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(233, 221, 212, 0.82);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 26px 80px rgba(48, 39, 32, 0.16);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #866f61;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 16px 18px 8px;
  font-size: 18px;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #443d39;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--mint);
  box-shadow: 0 16px 34px rgba(50, 151, 132, 0.27);
}

.button.secondary {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(48, 39, 32, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metrics div {
  min-height: 120px;
  display: grid;
  align-content: center;
  padding: 20px clamp(18px, 4vw, 44px);
  background: white;
}

.metrics b {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-lead,
.section p,
article p {
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

article {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(48, 39, 32, 0.08);
}

article img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: #f5f8fa;
}

article p {
  margin: 0 18px 20px;
}

.request {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  background: #f6faf9;
  border-block: 1px solid #dfecea;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid #dce9e6;
  color: #37675e;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(55, 103, 94, 0.08);
}

.tags span:nth-child(3n + 1) {
  color: #a94c5c;
  border-color: #f4d5da;
}

.tags span:nth-child(3n + 2) {
  color: #816a25;
  border-color: #f2e1ad;
}

.final-cta {
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
  background: white;
}

.final-cta p {
  max-width: 620px;
}

.final-cta .actions {
  justify-content: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 68svh;
    padding-top: 96px;
  }

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

  .hero-media img:nth-child(3) {
    display: none;
  }

  .metrics,
  .work-grid,
  .request {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: 94px;
  }
}

@media (max-width: 540px) {
  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media img:nth-child(n + 2) {
    display: none;
  }

  .hero-copy {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}





