:root {
  --ink: #2c3530;
  --ink-soft: #5a645e;
  --paper: #faf7f2;
  --paper-deep: #f0ebe3;
  --sage: #6f9f84;
  --sage-deep: #4f7d64;
  --rose: #c97b8a;
  --sky: #6fa3c9;
  --lilac: #9a84b8;
  --gold: #c9a85a;
  --line: rgba(44, 53, 48, 0.12);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.wordmark img {
  width: 40px;
  height: 40px;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.15rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(44, 53, 48, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.12rem;
  font-weight: 500;
}

.nav a {
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 500;
  font-size: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--ink);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 160ms ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(44, 53, 48, 0.08);
  z-index: 20;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(111, 159, 132, 0.1);
}

.nav-cta {
  color: var(--sage-deep) !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

/* Hero — one composition, brand first, full-bleed atmosphere */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6.5rem 1.5rem 4rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(126, 201, 154, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(201, 123, 138, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(111, 163, 201, 0.3), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 85%, rgba(154, 132, 184, 0.22), transparent 50%),
    linear-gradient(165deg, #f7f1e8 0%, #eef5f0 45%, #f5ebe8 100%);
}

.bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.bloom-a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background: rgba(126, 201, 154, 0.45);
  top: 8%;
  left: -6%;
}

.bloom-b {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  background: rgba(201, 123, 138, 0.4);
  top: 5%;
  right: -4%;
  animation-delay: -6s;
}

.bloom-c {
  width: min(48vw, 480px);
  height: min(48vw, 480px);
  background: rgba(111, 163, 201, 0.35);
  bottom: -10%;
  left: 30%;
  animation-delay: -11s;
}

.petal-drift {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 75%, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2.5px);
  animation: sparkle 12s linear infinite;
  opacity: 0.7;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(18px, -24px) scale(1.06); }
}

@keyframes sparkle {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}

.hero-stage {
  width: min(1140px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-inner {
  width: min(720px, 100%);
  text-align: center;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-photo {
  position: relative;
  margin: 0;
  animation: rise 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-photo-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.92);
  color: var(--sage-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.72),
    0 28px 64px rgba(44, 53, 48, 0.2);
}

.hero-photo figcaption {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: min(420px, 78vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 18px 40px rgba(79, 125, 100, 0.12));
}

.hero-headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
  background: linear-gradient(
    100deg,
    #5a8fc0 0%,
    #6f9a7e 35%,
    #9a7ab8 70%,
    #c48494 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 560;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sage-deep);
  color: #f8fbf8;
}

.btn-primary:hover {
  background: #3f6a54;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(44, 53, 48, 0.28);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

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

.section-inner-wide {
  width: min(1100px, 100%);
}

/* Product gallery */
.featured-piece {
  background:
    radial-gradient(ellipse 70% 60% at 12% 20%, rgba(201, 168, 176, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 50% at 92% 80%, rgba(111, 159, 132, 0.16), transparent 50%),
    linear-gradient(180deg, #f4eee6 0%, #faf7f2 100%);
}

.featured-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
}

.featured-photo {
  margin: 0;
}

.featured-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f3eee6;
  border-radius: 10px;
  box-shadow: 0 22px 52px rgba(44, 53, 48, 0.14);
}

.featured-copy p {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  max-width: 32rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  font-style: italic;
  color: var(--sage-deep);
}

.featured-copy .price {
  margin: -0.35rem 0 1.15rem;
}

.product .price {
  margin: 0.4rem 0 0;
  font-size: 1.25rem;
}

.shop {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 25%),
    var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.35rem;
}

.product {
  margin: 0;
  scroll-margin-top: 5rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.product.is-in {
  opacity: 1;
  transform: translateY(0);
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.product figcaption {
  padding: 0.85rem 0.15rem 0;
}

.product h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  font-style: italic;
}

.product p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.product-actions {
  margin-top: 0.85rem;
}

.product-actions .btn {
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.92rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.section h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.15;
}

.section-lede {
  margin: 0 0 2.5rem;
  max-width: 36rem;
  color: var(--ink-soft);
}

.creations {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 30%),
    var(--paper);
}

.creation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.creation-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.creation-list li.is-in {
  opacity: 1;
  transform: translateY(0);
}

.creation-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
}

.creation-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* Custom panel — interaction/content block, not a card cluster */
.custom {
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(154, 132, 184, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 80%, rgba(126, 201, 154, 0.2), transparent 50%),
    var(--paper-deep);
}

.custom-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.custom-copy p {
  color: var(--ink-soft);
  max-width: 34rem;
}

.custom-copy .btn {
  margin-top: 0.5rem;
}

.custom-visual {
  margin: 0;
  display: grid;
  place-items: center;
}

.custom-visual img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-inner {
  max-width: 560px;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(79, 125, 100, 0.35);
  outline-offset: 1px;
  border-color: var(--sage);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-note {
  margin: 0;
  color: var(--sage-deep);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  background: #f3eee7;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.45rem;
}

.site-footer .fine {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-solo {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-solo .hero-inner {
  text-align: center;
}

.hero-solo .hero-logo {
  width: min(360px, 78vw);
  margin-left: auto;
  margin-right: auto;
}

.hero-solo .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-solo .hero-actions {
  justify-content: center;
}

/* Resin page — full-page glossy pour with gold leaf */
.page-resin {
  background: #f3ebe3;
}

.resin-sheet {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #f3ebe3;
  background-image:
    url("../assets/resin/flakes.svg"),
    url("../assets/resin/pour-surface.png");
  background-repeat: repeat, no-repeat;
  background-size: 520px, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
}

.resin-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.12) 100%
  );
}

.page-resin .site-header,
.page-resin main,
.page-resin .site-footer {
  position: relative;
  z-index: 1;
}

.page-resin .site-header {
  z-index: 10;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.88), rgba(255, 252, 248, 0.55) 70%, transparent);
}

.resin-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.15;
  color: var(--ink);
}

.page-resin .hero {
  padding-bottom: 3rem;
}

.page-resin .section {
  background: transparent;
}

.resin-panel {
  padding: 2rem clamp(1.25rem, 4vw, 2.4rem);
  background: rgba(250, 247, 242, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(44, 53, 48, 0.1);
}

.page-resin .hero-inner {
  text-align: center;
  margin-inline: auto;
}

.page-resin .hero-lede,
.page-resin .hero-actions {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

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

.resin-card {
  margin: 0;
  padding: 1.2rem 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
}

.resin-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
}

.resin-card p {
  margin: 0;
  color: var(--ink-soft);
}

.page-resin .site-footer,
.resin-footer {
  background: rgba(243, 238, 231, 0.72);
  backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 760px) {
  .wordmark span {
    display: none;
  }

  .nav > a:not(.nav-cta) {
    display: none;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
  }

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

  .page-resin .hero-inner,
  .page-resin .hero-actions {
    text-align: center;
    justify-content: center;
  }

  .page-resin .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

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

  .featured-inner {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    text-align: center;
  }

  .featured-copy p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .creation-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .custom-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .custom-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .custom-visual {
    order: -1;
  }

  .custom-copy .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bloom,
  .petal-drift,
  .hero-inner,
  .hero-photo {
    animation: none !important;
  }
  .creation-list li,
  .product {
    opacity: 1;
    transform: none;
  }
}
