:root {
  --bg: #f2ebdf;
  --bg-soft: rgba(255, 255, 255, 0.62);
  --surface: rgba(251, 246, 239, 0.76);
  --surface-strong: rgba(34, 38, 31, 0.92);
  --text: #1f241d;
  --muted: #5f655d;
  --line: rgba(31, 36, 29, 0.12);
  --accent: #bd5d3f;
  --accent-soft: #dc9a74;
  --deep: #304136;
  --shadow: 0 22px 60px rgba(35, 31, 24, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(220, 154, 116, 0.28), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(48, 65, 54, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f0e5 0%, var(--bg) 44%, #efe5d6 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

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

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

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(248, 241, 232, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(35, 31, 24, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep), #1b211b);
  color: #f6efe3;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
  font-size: 0.9rem;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 0.25s ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-dark {
  color: #fff7ef;
  background: linear-gradient(135deg, var(--deep), #20291f);
  box-shadow: 0 10px 22px rgba(48, 65, 54, 0.25);
}

.button-accent {
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), #9b4127);
  box-shadow: 0 14px 26px rgba(189, 93, 63, 0.22);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(31, 36, 29, 0.14);
}

.hero,
.section,
.ticker {
  margin-bottom: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.section,
.ticker,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.section,
.site-footer {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.hero-text,
.style-card p,
.process-step p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(31, 36, 29, 0.08);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-stats dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-panel::before {
  inset: auto -80px -90px auto;
  width: 240px;
  height: 240px;
  background: rgba(189, 93, 63, 0.15);
}

.hero-panel::after {
  inset: -70px auto auto -60px;
  width: 220px;
  height: 220px;
  background: rgba(48, 65, 54, 0.14);
}

.hero-card {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-card-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 28px;
  color: #fff6ef;
  background:
    linear-gradient(180deg, rgba(10, 10, 9, 0.1), rgba(10, 10, 9, 0.7)),
    radial-gradient(circle at 30% 30%, rgba(220, 154, 116, 0.2), transparent 25%),
    url("assets/cover.jpg") center center / cover;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 245, 234, 0.14);
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.08), transparent 20%),
    repeating-linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.02) 0 10px,
      transparent 10px 22px
    );
}

.hero-card-main > * {
  position: relative;
  z-index: 1;
}

.hero-card-label {
  margin-bottom: 18px;
  color: rgba(255, 246, 239, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-card-main h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.hero-card-note {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(31, 36, 29, 0.08);
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(48, 65, 54, 0.1);
  color: var(--deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-portrait {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: calc(var(--radius-lg) - 8px);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(31, 36, 29, 0.08);
}

.hero-portrait img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(35, 31, 24, 0.16);
}

.hero-portrait-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-portrait-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.ticker {
  overflow: hidden;
  border-radius: 999px;
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding-left: 28px;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  position: relative;
  padding-right: 28px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
}

.ticker-track span::after {
  content: "•";
  position: absolute;
  right: 8px;
  color: var(--accent);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-35%);
  }
}

.section {
  padding: 38px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.style-grid,
.process-grid,
.contact-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.style-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.style-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.26)),
    linear-gradient(135deg, rgba(220, 154, 116, 0.08), rgba(48, 65, 54, 0.08));
  border: 1px solid rgba(31, 36, 29, 0.08);
}

.style-number {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.style-card h3,
.process-step h3,
.contact-card strong,
.art-card h3 {
  font-size: 2rem;
}

.style-card p {
  margin: 12px 0 0;
}

.showcase-grid {
  grid-template-columns: 1.2fr 0.9fr 1fr;
}

.art-card {
  min-height: 390px;
  padding: 18px;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  position: relative;
}

.art-card::before,
.art-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
}

.art-card-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 248, 240, 0.16);
  background: linear-gradient(180deg, transparent, rgba(11, 12, 10, 0.48));
}

.art-card-ink {
  background:
    linear-gradient(180deg, rgba(13, 14, 11, 0.08), rgba(13, 14, 11, 0.72)),
    url("assets/cover.jpg") center center / cover;
}

.art-card-ink::before {
  inset: 16px auto auto 24px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 248, 240, 0.22);
}

.art-card-flora {
  background:
    linear-gradient(180deg, rgba(28, 18, 14, 0.12), rgba(28, 18, 14, 0.68)),
    url("assets/avatar.jpg") center 34% / cover;
}

.art-card-flora::before {
  inset: auto 22px 22px auto;
  width: 160px;
  height: 160px;
  background: rgba(246, 238, 227, 0.12);
}

.art-card-signal {
  background:
    linear-gradient(180deg, rgba(18, 23, 20, 0.16), rgba(18, 23, 20, 0.72)),
    url("assets/service-cover.jpg") center center / cover;
}

.art-card-signal::after {
  inset: 22px auto auto 20px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 247, 238, 0.24);
}

.art-card h3,
.art-tag {
  color: #fff7ef;
}

.art-tag,
.contact-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(31, 36, 29, 0.08);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: #fff7ef;
  font-weight: 800;
}

.process-step p {
  margin: 12px 0 0;
}

.quote-block {
  padding: 56px 38px;
  background:
    radial-gradient(circle at 82% 20%, rgba(220, 154, 116, 0.18), transparent 18%),
    linear-gradient(135deg, rgba(48, 65, 54, 0.92), rgba(25, 29, 24, 0.94));
}

.quote-block blockquote {
  max-width: 14ch;
  color: #fff7ef;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.28)),
    linear-gradient(135deg, rgba(220, 154, 116, 0.08), rgba(48, 65, 54, 0.08));
  border: 1px solid rgba(31, 36, 29, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(35, 31, 24, 0.08);
}

.contact-card strong {
  display: block;
}

.contact-card p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .reveal,
  .button,
  .contact-card {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1040px) {
  .hero,
  .showcase-grid,
  .style-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-card-main h2,
  .section-heading h2,
  .quote-block blockquote {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .site-header {
    position: static;
    border-radius: 28px;
    padding: 16px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy,
  .hero-panel,
  .section,
  .quote-block,
  .site-footer {
    padding: 24px;
  }

  .hero-stats,
  .showcase-grid,
  .style-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .hero-card-main {
    min-height: 280px;
  }

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

  .hero-portrait img {
    width: 100%;
    max-width: 160px;
    height: auto;
    aspect-ratio: 1;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
