:root {
  --coffee: #604034;
  --sand: #d2c1a7;
  --cream: #f8ecd3;
  --ivory: #f9f3e2;
  --text: #53372d;
  --line: rgba(96, 64, 52, 0.2);
  --line-strong: rgba(96, 64, 52, 0.35);
  --shadow: 0 24px 60px rgba(96, 64, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210, 193, 167, 0.35), transparent 32%),
    linear-gradient(180deg, var(--ivory) 0%, #fffdf8 100%);
}

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

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

.site-header,
.hero,
.highlights,
.section,
.site-footer {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.brand {
  width: min(230px, 52vw);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(249, 243, 226, 0.78);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.menu-toggle span {
  position: absolute;
  left: 0.85rem;
  width: 1.55rem;
  height: 1.5px;
  background: var(--coffee);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 1.05rem;
}

.menu-toggle span:nth-child(2) {
  top: 1.55rem;
}

.menu-toggle span:nth-child(3) {
  top: 2.05rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--coffee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding: 2rem 0 4rem;
}

.hero-copy,
.hero-panel,
.highlights article,
.service-card,
.method-grid article,
.ritual-card {
  animation: rise 700ms ease both;
}

.hero-copy h1,
.section-heading h2,
.ritual-card h2 {
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  max-width: 10ch;
}

.eyebrow,
.panel-label,
.method-grid span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.intro,
.service-card p,
.method-grid p,
.ritual-card p,
.panel-card li,
.highlights p {
  font-size: 1.02rem;
  line-height: 1.72;
}

.intro {
  max-width: 36rem;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: var(--ivory);
  background: var(--coffee);
  box-shadow: var(--shadow);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(248, 236, 211, 0.55);
}

.hero-panel {
  position: relative;
  min-height: 34rem;
}

.hero-mark {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 28rem);
  margin-left: auto;
  opacity: 0.08;
  transform-origin: center;
  animation: water-orbit 52s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.panel-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 27rem);
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(249, 243, 226, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.panel-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-card li + li {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 5rem;
}

.highlights article,
.service-card,
.method-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 244, 0.8);
  box-shadow: var(--shadow);
}

.highlights article {
  padding: 1.4rem;
}

.highlights span,
.service-card h3,
.method-grid h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.highlights span {
  display: inline-block;
  margin-bottom: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlights p,
.service-card p,
.method-grid p,
.ritual-card p {
  margin: 0;
}

.section {
  padding: 2rem 0 5rem;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

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

.service-card {
  padding: 1.6rem;
}

.service-card h3,
.method-grid h3 {
  margin: 0 0 0.85rem;
}

.service-note {
  background:
    linear-gradient(145deg, rgba(96, 64, 52, 0.95), rgba(96, 64, 52, 0.84)),
    var(--coffee);
  color: var(--ivory);
}

.method {
  position: relative;
}

.method::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(210, 193, 167, 0.18));
  z-index: -1;
}

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

.method-grid article {
  padding: 1.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.6rem;
}

.contact-card-primary {
  background:
    linear-gradient(145deg, rgba(96, 64, 52, 0.95), rgba(96, 64, 52, 0.84)),
    var(--coffee);
  color: var(--ivory);
}

.contact-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-card a {
  width: fit-content;
}

.text-link {
  position: relative;
  padding-bottom: 0.2rem;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.method-grid span {
  display: inline-flex;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.ritual-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 36px;
  background: var(--coffee);
  color: var(--ivory);
  overflow: hidden;
}

.ritual-card img {
  width: 100%;
  opacity: 0.9;
}

.site-footer {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 1rem 0 3rem;
}

.site-footer img {
  width: min(260px, 58vw);
}

.site-footer p {
  text-align: center;
  margin: 0;
  margin-top: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-meta {
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes water-orbit {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  25% {
    transform: translate3d(0.35rem, -0.2rem, 0) rotate(90deg) scale(1.02);
  }

  50% {
    transform: translate3d(0.1rem, 0.3rem, 0) rotate(180deg) scale(0.985);
  }

  75% {
    transform: translate3d(-0.3rem, 0.08rem, 0) rotate(270deg) scale(1.015);
  }

  to {
    transform: translate3d(0, 0, 0) rotate(360deg) scale(1);
  }
}

@media (max-width: 980px) {
  .hero,
  .services-grid,
  .method-grid,
  .contact-grid,
  .highlights,
  .ritual-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero-panel {
    min-height: 28rem;
  }

  .ritual-card {
    padding: 1.8rem;
  }

  .ritual-card img {
    width: 120px;
  }
}

@media (max-width: 680px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header,
  .hero,
  .highlights,
  .section,
  .site-footer {
    width: calc(100% - 1.5rem);
  }

  .site-header {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 1rem;
    right: 0.75rem;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding: 6rem 1.5rem 2rem;
    background:
      radial-gradient(circle at top, rgba(210, 193, 167, 0.2), transparent 28%),
      rgba(96, 64, 52, 0.97);
    color: var(--ivory);
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }

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

  body.menu-open .menu-toggle {
    border-color: rgba(249, 243, 226, 0.3);
    background: transparent;
  }

  body.menu-open .menu-toggle span {
    background: var(--ivory);
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(0.5rem) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-45deg);
  }

  .site-nav a {
    font-size: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 1;
    max-width: 11ch;
  }

  .hero {
    gap: 2rem;
    padding: 0.5rem 0 3rem;
  }

  .hero-copy {
    padding-top: 1rem;
  }

  .intro,
  .service-card p,
  .method-grid p,
  .ritual-card p,
  .panel-card li,
  .highlights p {
    font-size: 0.98rem;
  }

  .intro {
    margin-top: 1rem;
    max-width: 32ch;
  }

  .hero-actions {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .button {
    width: 100%;
    min-height: 3rem;
    padding: 0.78rem 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  .hero-panel {
    min-height: 22rem;
  }

  .panel-card {
    padding: 1.35rem;
  }

  .panel-card,
  .highlights article,
  .service-card,
  .method-grid article,
  .contact-card,
  .ritual-card {
    border-radius: 24px;
  }
}
