:root {
  --ink: #111111;
  --muted-ink: #3d3a34;
  --green: #416d58;
  --green-dark: #254d3b;
  --paper: #f3eee4;
  --paper-deep: #e7dfd1;
  --line: rgba(65, 109, 88, 0.42);
  --shadow: rgba(44, 51, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.72), transparent 30%),
    radial-gradient(circle at 85% 4%, rgba(101, 125, 102, 0.12), transparent 25%),
    linear-gradient(100deg, rgba(42, 76, 57, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(var(--paper), #eee8dc 54%, #f3efe7);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  line-height: 1.8;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(76, 83, 64, 0.16) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.5px);
  background-size: 19px 17px, 23px 21px;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: absolute;
  top: clamp(24px, 5vw, 58px);
  left: clamp(24px, 5vw, 70px);
  right: clamp(20px, 5vw, 70px);
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: block;
  width: clamp(128px, 15vw, 180px);
}

.brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  padding: clamp(188px, 22vw, 310px) clamp(24px, 5vw, 70px) clamp(90px, 12vw, 150px);
}

.hero::before {
  position: absolute;
  left: -8%;
  bottom: -4%;
  width: min(48vw, 560px);
  height: min(28vw, 320px);
  content: "";
  opacity: 0.26;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(65, 109, 88, 0.42), transparent 45%),
    radial-gradient(ellipse at 60% 52%, rgba(65, 109, 88, 0.24), transparent 44%);
  filter: blur(10px);
  transform: rotate(-8deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  display: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.17em;
}

.hero .rule,
.center-rule {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--green);
}

.hero .rule {
  margin: clamp(26px, 3vw, 40px) 0 26px;
}

.hero-copy p:not(.eyebrow) {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 23px);
  letter-spacing: 0.28em;
}

.temple-art {
  position: absolute;
  right: max(-160px, -8vw);
  bottom: -3%;
  z-index: 1;
  width: min(70vw, 900px);
  margin: 0;
  opacity: 0.88;
  filter: sepia(0.14) saturate(0.78) contrast(0.94);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    radial-gradient(ellipse at 64% 60%, #000 0 45%, rgba(0, 0, 0, 0.72) 59%, transparent 76%);
  mask-image:
    radial-gradient(ellipse at 64% 60%, #000 0 45%, rgba(0, 0, 0, 0.72) 59%, transparent 76%);
}

.temple-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.scroll-cue {
  position: absolute;
  left: clamp(24px, 5vw, 74px);
  bottom: clamp(34px, 7vw, 100px);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: var(--green-dark);
  font: 700 10px/1 "Avenir Next", "Helvetica Neue", sans-serif;
  letter-spacing: 0.38em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 58px;
  background: linear-gradient(var(--green), rgba(65, 109, 88, 0.08));
}

.scroll-cue i::after {
  display: block;
  width: 7px;
  height: 7px;
  margin: 56px 0 0 -3px;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

.section-band {
  position: relative;
  padding: clamp(78px, 9vw, 118px) 24px;
}

.about::before {
  position: absolute;
  left: 0;
  top: -110px;
  width: min(36vw, 430px);
  height: 340px;
  content: "";
  opacity: 0.2;
  background:
    radial-gradient(circle at 25% 30%, var(--green) 0 5px, transparent 6px),
    radial-gradient(circle at 42% 46%, var(--green) 0 4px, transparent 5px),
    radial-gradient(circle at 60% 28%, var(--green) 0 5px, transparent 6px),
    linear-gradient(42deg, transparent 0 45%, var(--green) 46% 47%, transparent 48%);
  background-size: 86px 78px, 92px 86px, 80px 72px, 100% 100%;
  filter: blur(0.3px);
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(680px, calc(100% - 48px));
  text-align: center;
}

h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 500;
  letter-spacing: 0.3em;
}

.about .center-rule,
.section-heading .center-rule {
  margin: 18px auto 0;
}

.about p {
  margin: 28px 0 0;
  font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: 0.17em;
}

.services {
  padding: clamp(58px, 7vw, 90px) 24px clamp(76px, 9vw, 116px);
  background: rgba(255, 252, 246, 0.62);
  box-shadow: inset 0 30px 80px rgba(64, 59, 52, 0.06);
}

.section-heading {
  text-align: center;
}

.section-heading p {
  margin: 2px 0 0;
  color: var(--muted-ink);
  font: 600 12px/1.4 Optima, "Avenir Next", sans-serif;
  letter-spacing: 0.42em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(20px, 3vw, 38px);
  margin-top: clamp(44px, 5vw, 64px);
}

.service-item {
  min-width: 0;
  text-align: center;
}

.service-item svg {
  width: clamp(42px, 4.6vw, 58px);
  height: auto;
  margin: 0 auto 20px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.service-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.service-item p {
  margin: 12px 0 0;
  color: var(--muted-ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 24px clamp(42px, 5vw, 70px);
}

.footer-landscape {
  position: absolute;
  inset: auto 0 0;
  height: clamp(120px, 18vw, 210px);
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 25% 100%, rgba(32, 69, 50, 0.78), transparent 53%),
    radial-gradient(ellipse at 46% 100%, rgba(59, 91, 67, 0.54), transparent 58%),
    radial-gradient(ellipse at 78% 100%, rgba(27, 68, 47, 0.78), transparent 54%),
    linear-gradient(0deg, rgba(21, 58, 38, 0.58), transparent 74%);
  filter: blur(0.6px);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  width: min(780px, calc(100% - 24px));
  margin: 0 auto;
}

.footer-inner::before {
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 76px;
  content: "";
  background: rgba(65, 109, 88, 0.4);
}

address {
  margin: 0;
  font-style: normal;
}

.profile,
.location {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile svg,
.location svg {
  flex: 0 0 56px;
  width: 56px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile small,
.profile em {
  display: block;
  color: var(--muted-ink);
  font-style: normal;
  letter-spacing: 0.14em;
}

.profile strong {
  display: block;
  margin: 2px 0;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.location {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
    padding-top: 205px;
  }

  .temple-art {
    right: -18%;
    bottom: 2%;
    width: min(104vw, 760px);
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 44px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 28px 22px 0;
  }

  .brand {
    width: 132px;
  }

  .hero {
    min-height: 660px;
    padding: 56px 22px 88px;
  }

  .hero h1 {
    letter-spacing: 0.1em;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 18em;
    letter-spacing: 0.12em;
  }

  .scroll-cue {
    display: none;
  }

  .temple-art {
    right: -44%;
    bottom: 2%;
    width: 125vw;
    opacity: 0.62;
  }

  .about p br {
    display: none;
  }

  .services {
    padding-left: 0;
    padding-right: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 18px;
  }

  .service-item h3 {
    font-size: 14px;
  }

  .service-item p {
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner::before {
    display: none;
  }

  .profile,
  .location {
    justify-content: flex-start;
  }
}
