/* Ephoria Jewelry
   Colors: black #000000, panel #14110B, gold #B8913F, gold light #D9B96E, white #FFFFFF, muted #BDB6A9
   Type: Marcellus (headings), Figtree (body) */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #000000;
  color: #FFFFFF;
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #D9B96E; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 2px solid #D9B96E; outline-offset: 3px; }

h1, h2, h3 {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: #BDB6A9; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #B8913F; color: #000; padding: 8px 14px;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font: 600 0.95rem/1.2 "Figtree", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #B8913F;
  transition: background-color 0.2s, color 0.2s;
}
.btn-gold { background: #B8913F; color: #000000; }
.btn-gold:hover { background: #D9B96E; color: #000000; }
.btn-outline { background: transparent; color: #D9B96E; }
.btn-outline:hover { background: #B8913F; color: #000000; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 145, 63, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.brand span { font-family: "Marcellus", Georgia, serif; font-size: 1.3rem; letter-spacing: 0.04em; }
.brand:hover { color: #D9B96E; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: #FFFFFF; text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: #D9B96E; }
.nav-wa { padding: 9px 18px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: #FFFFFF; margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
figure { margin: 0; }

/* About */
.about { padding-top: 72px; }
.oval {
  position: relative;
  aspect-ratio: 9 / 11;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 10px;
  border: 2px solid #B8913F;
}
.oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.about-logo { width: 72px; margin-bottom: 24px; }
.about-text { max-width: 560px; }
.lead { font-size: 1.15rem; color: #FFFFFF; font-style: italic; margin-bottom: 1.2em; }
.about-text > p { color: #D6D0C5; }

.about-bullets {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 12px;
}
.about-bullets li {
  padding-left: 20px; position: relative; color: #D6D0C5;
}
.about-bullets li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border: 1.5px solid #B8913F; border-radius: 50%;
}
.about-bullets strong { color: #FFFFFF; }

.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px;
  margin: 24px 0; padding: 24px 0;
  border-top: 1px solid rgba(184, 145, 63, 0.4);
  border-bottom: 1px solid rgba(184, 145, 63, 0.4);
}
.facts dt { font-size: 0.85rem; color: #B8913F; }
.facts dd { margin: 0; font-weight: 500; }

.owner-name { font-family: "Marcellus", Georgia, serif; font-size: 1.5rem; margin: 0; color: #FFFFFF; }
.owner-role { margin: 0; color: #BDB6A9; font-size: 0.95rem; }

/* Products: 2x2 grid */
.products { background: #14110B; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.product h3 { margin-bottom: 0.35em; color: #FFFFFF; }
.product p { color: #BDB6A9; font-size: 0.97rem; max-width: 44ch; }
.products-cta { margin: 56px 0 0; }

/* Clients */
.clients-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.clients-text { max-width: 560px; }
.clients-text > p { color: #D6D0C5; }
.client-list { list-style: none; padding: 0; margin: 24px 0; }
.client-list li {
  padding: 12px 0 12px 22px;
  position: relative;
  color: #D6D0C5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.client-list li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 7px; height: 7px; border: 1.5px solid #B8913F; border-radius: 50%;
}
.client-list strong { color: #FFFFFF; font-weight: 600; }

/* Contact */
.contact { background: #14110B; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; }
.c-label { color: #B8913F; font-size: 0.9rem; }
.contact-list a { color: #FFFFFF; font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: #D9B96E; }

.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 0.9rem; margin-bottom: 6px; color: #D6D0C5; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid #4A4030;
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #D9B96E; outline: none;
  box-shadow: 0 0 0 2px rgba(217, 185, 110, 0.35);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { justify-self: start; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.97rem; }
.notice-success { background: rgba(184, 145, 63, 0.15); border: 1px solid #B8913F; color: #FFFFFF; }
.notice-error { background: rgba(200, 70, 60, 0.15); border: 1px solid #C8463C; color: #FFFFFF; }

.map-frame {
  position: relative; aspect-ratio: 4 / 3.4;
  border: 1px solid rgba(184, 145, 63, 0.5);
  overflow: hidden;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4); }
.map-link { display: inline-block; margin-top: 14px; font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid rgba(184, 145, 63, 0.35); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-inner img { width: 28px; }
.footer-inner p { margin: 0; color: #BDB6A9; font-size: 0.92rem; }
.footer-links { margin-left: auto !important; display: flex; gap: 20px; }
.footer-links a { color: #BDB6A9; text-decoration: none; }
.footer-links a:hover { color: #D9B96E; }

/* Tablet */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .two-col { gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile burger */
@media (max-width: 820px) {
  .burger { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 72px); height: calc(100dvh - 72px);
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #000000;
    padding: 16px 24px 32px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    overflow-y: auto;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav a:not(.btn) {
    width: 100%; padding: 18px 0;
    font-family: "Marcellus", Georgia, serif; font-size: 1.5rem;
    border-bottom: 1px solid rgba(184, 145, 63, 0.25);
  }
  .nav-wa { margin-top: 28px; padding: 14px 26px; }
  body.nav-open { overflow: hidden; }

  .two-col { grid-template-columns: 1fr; }
  .oval { max-width: 260px; }
  .about { padding-top: 48px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 60px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .footer-links { margin-left: 0 !important; }
  .contact-form .btn { justify-self: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav, .burger span, .btn { transition: none; }
}
