
:root {
  --focus-color: #74C885;
  --bg: #111411;
  --panel: #161b16;
  --text: #eae5dc;
  --muted: #b6b1a7;
  --line: rgba(255,255,255,0.08);
  --accent: #315a3d;
  --accent-2: #3c6c4a;
  --shadow: 0 18px 48px rgba(0,0,0,0.28);
  --radius: 18px;
  --max: 1200px;
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0f120f 0%, #131814 100%);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  backdrop-filter: blur(18px);
  background: rgba(15,18,15,0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: "Cormorant Infant", serif;
  font-size: clamp(1.9rem, 2.2vw, 2.1rem);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.brand-tag {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  position: relative;
  min-height: 90svh;
  display: grid;
  align-items: end;
}

.hero-media img {
  border-radius: 0;
  max-height: 90svh;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
}

.hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: 54px;
}

.hero-copy .lede,
.hero-copy h1,
.hero-copy .eyebrow,
.hero-copy .button {
  max-width: 820px;
}

.hero-copy h1 {
  font-family: "Cormorant Infant", serif;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.98;
  margin: 0 0 16px;
  text-shadow: 0 6px 24px rgba(0,0,0,0.34);
}

.hero-copy .lede {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #f0ece4;
  margin-bottom: 24px;
  max-width: 580px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: #d0c8bb;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.button:hover {
  background: var(--accent-2);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero .button {
  margin-top: 18px;
}

.intro {
  padding: 72px 16px 22px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  max-width: 950px;
}

.piece {
  padding: 44px 0;
}

.piece-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0px 16px;
}

.piece-heading h2, .contact h2 {
  margin: 0;
  font-family: "Cormorant Infant", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

.piece-heading p:last-child, .contact p:last-child {
  color: var(--muted);
  max-width: 870px;
}

.piece-actions {
  display: flex;
  gap: 30px;
  margin-top: 18px;
  margin-left: 42px;
  flex-wrap: wrap;
}

.action-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price,
.price-subtle {
  margin: 0 0 8px 18px;
  font-size: 1.02rem;
}

.price {
  color: #74C885; /* light green */
}

.price-subtle {
  color: #bbb;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.btn.primary {
  border: 1px solid #315a3d;
  background: #315a3d;
  color: #fff;
}

.btn.secondary {
  border: 1px solid #4f7a5b;  /* mid green */
  color: #5f8f6d;  /* glow green */
  background: transparent;
}

.btn.sold {
  background: #555;
  color: #ccc;
  pointer-events: none;
}

.btn.primary:hover {
  background: #3f6d4d;
  border-color: #3f6d4d;
}

.btn.secondary:hover {
  border-color: #5f8f6d;
  color: #74C885;  /* brightest accent for interaction */
}

.gallery {
  display: grid;
  gap: 18px;
  align-items: start;
}

.gallery-tray,
.gallery-table {
  grid-template-columns: repeat(12, 1fr);
}

.gallery-tray .wide,
.gallery-table .wide {
  grid-column: span 12;
}

.gallery-tray .gallery-card:nth-child(2),
.gallery-table .gallery-card:nth-child(2) {
  grid-column: span 6;
}

.gallery-tray .gallery-card:nth-child(3),
.gallery-table .gallery-card:nth-child(3) {
  grid-column: span 6;
}

.gallery-tray .tall,
.gallery-table .tall {
  grid-column: span 5;
}

.gallery-tray .gallery-card:last-child:not(.tall),
.gallery-table .gallery-card:last-child:not(.tall) {
  grid-column: span 7;
}

.gallery-humidor,
.gallery-bed {
  grid-template-columns: repeat(12, 1fr);
}

.gallery-humidor .wide,
.gallery-bed .wide {
  grid-column: span 12;
}

.gallery-humidor .gallery-card:not(.wide),
.gallery-bed .gallery-card:not(.wide) {
  grid-column: span 6;
}

.gallery-humidor {
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 18px;
}

.gallery-humidor .gallery-card {
  padding: 8px;
}

.gallery-humidor .wide {
  grid-column: 1 / -1;
}

.gallery-humidor .humidor-closed {
  grid-column: 1 / span 6;
  grid-row: 2;
}

.gallery-humidor .humidor-handle {
  grid-column: 1 / span 6;
  grid-row: 3;
}

.gallery-humidor .humidor-latch {
  grid-column: 7 / -1;
  grid-row: 2 / span 2;
  align-self: stretch;
  height: auto;
  display: flex;
}

.gallery-humidor .humidor-latch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: start;
  height: fit-content;
}

.gallery-card img {
  outline: none;
  transition: box-shadow 160ms ease;
  aspect-ratio: auto;  
  border-radius: 12px;
}

.objects-section {
  padding-bottom: 60px;
}

.split-objects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.object-card {
  display: grid;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.object-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Infant", serif;
  font-size: 1.8rem;
}

.object-card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: 28px 0 96px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.site-footer {
  padding: 0 0 40px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
  padding: 14px 16px;
  align-items: start;
  flex-direction: column;
}
.site-nav {
  gap: 12px;
  font-size: 0.9rem;
}
.hero {
  min-height: auto;
}
.hero-copy {
  position: static;
  padding: 28px 16px 0;
}
.hero-media img {
  max-height: none;
}
.gallery-tray,
.gallery-table,
.gallery-humidor,
.gallery-bed,
.split-objects {
  grid-template-columns: 1fr;
}
.gallery-tray .gallery-card,
.gallery-table .gallery-card,
.gallery-humidor .gallery-card,
.gallery-bed .gallery-card,
.gallery-tray .wide,
.gallery-table .wide,
.gallery-humidor .wide,
.gallery-bed .wide,
.gallery-tray .tall,
.gallery-table .tall {
  grid-column: auto;
}
}

.footer-links {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}


/* cache-busted interaction cleanup 
img,
button,
.button,
.gallery-card,
.gallery-card img,
.object-card,
.object-card img {
  border-radius: 18px;
}*/

.hero-media img {
  border-radius: 0;
}

img,
.gallery-card img,
.object-card img,
.button,
button,
a {
  outline: none !important;
}

.gallery-card img,
.object-card img {
  border: 0 !important;
  box-shadow: none;
  transition: box-shadow 140ms ease;
}

.gallery-card img:hover,
.object-card img:hover,
.gallery-card img:focus,
.object-card img:focus,
.gallery-card img:focus-visible,
.object-card img:focus-visible {
  border: 0 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px var(--focus-color) !important;
}

.button,
button {
  border-radius: 999px !important;
}



@media (max-width: 900px) {

  /* FORCE featured images to behave like heroes */
  #beds .gallery-card.wide,
  #housewares .gallery-card.wide,
  #tables .gallery-card.wide {
    grid-column: 1 / -1;
    width: 100%;
}
  #beds .gallery-card.wide img,
  #housewares .gallery-card.wide img,
  #tables .gallery-card.wide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top;
}
  /* Table leg visibility fix */
  #tables .gallery-card.tall img {
    height: 320px;
    object-fit: cover;
}
}

/* ===== MOBILE FIX: FORCE CLEAN STACK ===== */
@media (max-width: 768px) {

  /* 1. Kill all multi-column layouts */
  .gallery,
  .gallery-beds,
  .gallery-housewares,
  .gallery-tables,
  .gallery-humidor,
  .gallery-turnings {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

  /* 2. Kill any special positioning hacks (humidor, etc.) */
  .gallery * {
    grid-column: auto !important;
    grid-row: auto !important;
}

  /* 3. Make every card full width */
  .card,
  .gallery .card {
    width: 100% !important;
    max-width: 100% !important;
}

  /* 4. FIX THE BIG ONE — images must fill their containers */
  .card img,
  .gallery img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

  /* 5. Remove weird tall/narrow crops */
  .gallery img {
    aspect-ratio: auto !important;
}

  /* 6. Clean spacing */
  .gallery {
    gap: 16px !important;
}

 /* Use more of the screen width on mobile */
  .wrap {
    width: min(calc(100% - 32px), var(--max));
}

  /* Slightly tighter cards on mobile */
  .gallery-card,
  .object-card {
    padding: 8px;
}

  /* Do NOT let featured images extend beyond the normal card width */
  #beds .gallery-card.wide,
  #housewares .gallery-card.wide,
  #tables .gallery-card.wide {
    width: auto !important;
    max-width: 100% !important;
}

  /* Keep the hero-like crop, but contained */
  #beds .gallery-card.wide img,
  #housewares .gallery-card.wide img,
  #tables .gallery-card.wide img {
    width: 100% !important;
    height: 320px;
    object-fit: cover;
    object-position: top;
}

  #beds .gallery,
  #housewares .gallery,
  #tables .gallery,
  #humidors .gallery {
    width: calc(100% + 50px);
    margin-left: -25px;
    margin-right: -25px;
}

.button,
.cta,
a.button {
    font-size: 13.5px;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    max-width: 100%;
    width: auto;
    display: inline-block;
    white-space: normal;
    text-align: center;
}

.piece-actions {
  margin-left: 0;
}

.price,
.price-subtle {
  margin-left: 17px;
}

.split-objects .object-card + .object-card {
    margin-top: 20px;
}
}

