:root {
  color-scheme: light;
  --ink: #102d33;
  --ink-soft: #28484d;
  --turquoise: #47aaa9;
  --turquoise-bright: #73d0ca;
  --cream: #fff9ee;
  --paper: #f5ecdc;
  --gold: #d9b56e;
  --ruby: #952f46;
  --shadow: 0 22px 55px rgba(16, 45, 51, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(115, 208, 202, 0.18), transparent 28rem),
    var(--cream);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand em { color: var(--ruby); font-weight: 400; }

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 45, 51, 0.28);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font: 700 0.78rem/1 Georgia, serif;
}

.header-contact {
  font-size: 0.92rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

main { overflow: hidden; }

.hero {
  position: relative;
  width: min(1240px, calc(100% - 24px));
  min-height: min(740px, calc(100svh - 98px));
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-image,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-image { object-fit: cover; object-position: center; z-index: -2; }

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 27, 31, 0.95) 0%, rgba(7, 27, 31, 0.78) 37%, rgba(7, 27, 31, 0.18) 70%, rgba(7, 27, 31, 0.06) 100%),
    linear-gradient(0deg, rgba(7, 27, 31, 0.38), transparent 60%);
}

.hero-copy {
  max-width: 660px;
  padding: clamp(70px, 10vw, 138px) clamp(28px, 7vw, 92px);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow { color: var(--turquoise-bright); }
.section-kicker { color: #2b7d7d; }

h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { font-size: clamp(3rem, 7vw, 6.6rem); max-width: 760px; }
h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
}

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

.button {
  appearance: none;
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .link-card:focus-visible, .shop-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.button-primary { background: var(--turquoise-bright); color: #0b282e; }
.button-secondary { border-color: rgba(255,255,255,0.52); color: white; background: rgba(16,45,51,0.5); backdrop-filter: blur(8px); }

.intro,
.categories,
.treasure-gallery,
.follow,
.shop,
.contact,
footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.intro {
  padding: clamp(90px, 13vw, 160px) 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.intro h2 { max-width: 440px; }
.intro-copy { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); }
.intro-copy p { margin: 0 0 20px; }

.categories {
  padding: 0 0 clamp(90px, 12vw, 150px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
}

.category-heading h2 { max-width: 630px; }

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.category-list span {
  padding: 12px 18px;
  border: 1px solid rgba(16,45,51,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  color: var(--ink-soft);
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(16,45,51,0.05);
}

.treasure-gallery { padding: 0 0 clamp(95px, 13vw, 165px); }

.gallery-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 42px;
}

.gallery-heading h2 { max-width: 700px; }
.gallery-heading > p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #d9d0c1;
  box-shadow: 0 14px 30px rgba(16,45,51,0.1);
}

.gallery-card.gallery-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-card.gallery-tall { grid-row: span 2; aspect-ratio: 1 / 2; }

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.03);
  transition: transform 260ms ease;
}

.gallery-card.gallery-tall img { object-position: center 51%; }
.gallery-card.gallery-yolks img { object-position: center 58%; }
.gallery-card:hover img { transform: scale(1.07); }

.gallery-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(9,31,35,0.82);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  backdrop-filter: blur(8px);
}

.follow { padding: 78px 0 105px; }

.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading > p:last-child { margin: 22px 0 0; color: var(--ink-soft); font-size: 1.1rem; }

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

.link-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(16,45,51,0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.link-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -55px;
  bottom: -65px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
}

.link-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(16,45,51,0.14); }
.link-card.instagram { background: var(--ruby); color: white; }
.link-card.tiktok { background: var(--ink); color: white; }
.link-card.facebook { background: #d6f0ec; color: var(--ink); }
.link-label { font-size: 0.8rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.75; }
.link-card strong { margin-top: auto; font-family: Georgia, serif; font-size: 1.65rem; }
.link-card span:nth-of-type(2) { margin-top: 8px; max-width: 250px; opacity: 0.78; }
.link-card b { position: absolute; top: 24px; right: 26px; font-size: 1.3rem; }

.shop {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 8vw, 100px);
  padding: clamp(60px, 8vw, 100px);
  border-radius: 30px;
  background: var(--ink);
  color: white;
}

.shop .section-kicker { color: var(--turquoise-bright); }
.shop-copy p:last-child { margin: 24px 0 0; color: rgba(255,255,255,0.72); }
.shop-links { display: grid; align-content: center; }
.shop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: white;
  text-decoration: none;
  font: 500 1.55rem/1.15 Georgia, serif;
}
.shop-link:first-child { border-top: 1px solid rgba(255,255,255,0.18); }
.shop-link small { display: block; margin-bottom: 5px; color: var(--turquoise-bright); font: 800 0.72rem/1.2 ui-sans-serif, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.shop-link b { color: var(--gold); transition: transform 160ms ease; }
.shop-link:hover b { transform: translateX(5px); }

.contact { padding: clamp(100px, 14vw, 170px) 0; text-align: center; }
.contact h2 { max-width: 720px; margin-inline: auto; }
.contact > p:not(.section-kicker) { margin: 28px auto 0; font-size: 1.15rem; color: var(--ink-soft); }
.contact > p a { font-weight: 800; text-underline-offset: 4px; }
.contact-actions { justify-content: center; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-outline { border-color: rgba(16,45,51,0.35); }

footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(16,45,51,0.16);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 68px; }
  .hero { min-height: 700px; border-radius: 22px; }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,27,31,0.96) 0%, rgba(7,27,31,0.82) 52%, rgba(7,27,31,0.18) 100%); }
  .hero-copy { position: absolute; inset: auto 0 0; padding: 40px 26px; }
  h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .intro, .categories, .gallery-heading, .shop { grid-template-columns: 1fr; }
  .category-list { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 215px; }
}

@media (max-width: 520px) {
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 38px; height: 38px; }
  .header-contact { font-size: 0.85rem; }
  .hero { width: calc(100% - 16px); min-height: 680px; }
  .hero-copy { padding: 34px 22px; }
  .hero-actions .button { width: 100%; }
  .intro, .categories, .treasure-gallery, .follow, .shop, .contact, footer { width: min(100% - 30px, 1080px); }
  .intro { padding: 84px 0; }
  .shop { width: calc(100% - 16px); padding: 56px 24px; }
  .gallery-grid { gap: 9px; }
  .gallery-card { border-radius: 15px; }
  .gallery-card.gallery-wide { grid-column: span 2; }
  .gallery-card figcaption { left: 8px; right: 8px; bottom: 8px; padding: 8px 9px; font-size: 0.7rem; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
