/* Art by Orea - public site styles */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1f1b18;
  --ink-2: #4a423b;
  --muted: #7a7067;
  --line: #e8e1d7;
  --accent: #9c5230;       /* copper */
  --accent-ink: #7c3f22;
  --accent-soft: #f3e6dc;
  --dark: #1c1916;
  --dark-ink: #f2ece3;
  --dark-muted: #b9ada0;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); font-size: .92rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font: 500 .95rem/1 var(--sans); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 53px; width: auto; }
.site-nav { display: flex; gap: 34px; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: .35em; }
.hero-copy .lede { margin-bottom: 2rem; }
.hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px -30px rgba(60, 30, 10, .45); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 24px 0 88px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.text-link { font-weight: 500; text-decoration: none; white-space: nowrap; }

.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 20px; }
.collection { text-decoration: none; color: var(--ink); display: block; }
.collection-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--line); margin-bottom: 14px; }
.collection-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.collection:hover .collection-img img { transform: scale(1.05); }
.collection-name { display: block; font: 600 1.4rem/1.2 var(--serif); }
.collection-count { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.collection:hover .collection-name { color: var(--accent); }

/* Craft (dark band) */
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .eyebrow { color: #d69a72; }
.craft { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.craft-intro p { color: var(--dark-muted); font-size: 1.08rem; }
.craft-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.craft-steps li { counter-increment: step; padding: 22px 0 22px 64px; border-top: 1px solid rgba(255, 255, 255, .12); position: relative; }
.craft-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.craft-steps li::before {
  content: "0" counter(step); position: absolute; left: 0; top: 24px;
  font: 500 1.5rem/1 var(--serif); color: #d69a72;
}
.craft-steps h3 { margin-bottom: .2em; }
.craft-steps p { margin: 0; color: var(--dark-muted); }

/* Recent grid */
.recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.recent-item { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.recent-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.recent-item:hover img { transform: scale(1.04); }

/* CTA */
.cta { background: var(--accent-soft); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; color: var(--ink-2); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; transition: all .2s;
}
.filters a:hover { border-color: var(--ink-2); color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.masonry { columns: 4 260px; column-gap: 16px; }
.tile { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 10px; overflow: hidden; position: relative; background: var(--line); }
.tile img { width: 100%; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.03); }
.tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-size: .9rem; font-weight: 500;
  opacity: 0; transition: opacity .3s;
}
.tile:hover .tile-caption, .tile:focus-visible .tile-caption { opacity: 1; }
.empty { padding: 48px 0; color: var(--muted); font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.ticks { padding: 0; list-style: none; }
.ticks li { padding-left: 22px; position: relative; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ticks strong { color: var(--ink); font-weight: 600; }
.about-pics { display: grid; gap: 16px; position: sticky; top: 100px; }
.about-pics a { display: block; border-radius: var(--radius); overflow: hidden; }
.about-pics a:first-child { aspect-ratio: 4 / 3; }
.about-pics a:not(:first-child) { aspect-ratio: 1; }
.about-pics { grid-template-columns: 1fr 1fr; }
.about-pics a:first-child { grid-column: 1 / -1; }
.about-pics img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: #fff; }
.form button { justify-self: start; }
.g-recaptcha { min-height: 78px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
.notice p { margin: 0; }
.notice-ok { background: #eef5ea; color: #2f5a22; }
.notice-ok h2 { color: #2f5a22; font-size: 1.8rem; }
.notice-err { background: #fbeceb; color: #8a2b21; }
.contact-side h2 { font-size: 1.6rem; }
.contact-side dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 20px; }
.contact-side dt { font-weight: 600; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.contact-side dd { margin: 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 53px; width: auto; filter: invert(1) brightness(.95); margin-bottom: 14px; }
.footer-note { margin: 0; }
.footer-h { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--dark-ink); margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--dark-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(18, 15, 13, .96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 6px; object-fit: contain; }
.lb-caption { color: #e9e1d6; margin-top: 14px; font-size: .95rem; text-align: center; min-height: 1.4em; }
.lb button {
  position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 24px; line-height: 1; display: grid; place-items: center;
}
.lb button:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 30px; left: 24px; color: #a99d90; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .craft, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 32px; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .recent-grid { grid-template-columns: repeat(2, 1fr); }
  .about-pics { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; }
  .brand img { height: 44px; }
  .nav-toggle {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .page-head { padding: 44px 0 20px; }
  .collections { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .collection-name { font-size: 1.2rem; }
  .collection:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .collection:last-child:nth-child(odd) .collection-img { aspect-ratio: 16 / 9; }
  .masonry { columns: 2; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters a { white-space: nowrap; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
