/* Harbor & Hem — premium cool vintage */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Syne:wght@500;600;700&display=swap");

:root {
  --bg: #141210;
  --bg-elev: #1c1916;
  --bone: #f3ebe1;
  --bone-dim: #c9bfb3;
  --oxblood: #9a3b3b;
  --oxblood-soft: #c45c5c;
  --brass: #b08d57;
  --line: rgba(243, 235, 225, 0.12);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 500;
  color: var(--bone);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(154, 59, 59, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(176, 141, 87, 0.08), transparent 50%),
    linear-gradient(180deg, #1a1613 0%, var(--bg) 40%, #0f0d0c 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: relative;
  z-index: 2;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wordmark span {
  color: var(--oxblood-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  color: var(--bone-dim);
  transition: color 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--bone);
}

/* Hero — home only */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4.5rem);
  display: grid;
  align-items: end;
  padding: 0 0 4.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.25) 0%, rgba(20, 18, 16, 0.55) 45%, rgba(20, 18, 16, 0.92) 100%),
    url("https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=2000&q=80")
      center 30% / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

.hero-copy {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  animation: rise 1.1s var(--ease) both;
}

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

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero .tagline {
  margin: 0 0 2rem;
  max-width: 18ch;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--bone-dim);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--bone);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}

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

/* Page shell */
.page {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 5rem;
  animation: rise 0.8s var(--ease) both;
}

.page-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.page h1 {
  margin: 0 0 1.25rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
}

.lede {
  margin: 0 0 2.5rem;
  max-width: 38rem;
  color: var(--bone-dim);
  font-size: 1.05rem;
}

.prose {
  max-width: 38rem;
  color: var(--bone-dim);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose a {
  color: var(--bone);
  border-bottom: 1px solid var(--oxblood);
}

/* Shop grid — interaction containers only */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem 1.5rem;
}

.piece {
  display: block;
}

.piece-media {
  aspect-ratio: 3 / 4;
  background: var(--bg-elev);
  margin-bottom: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.piece-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.92;
}

.piece:hover .piece-media img {
  transform: scale(1.04);
  opacity: 1;
}

.piece-name {
  margin: 0;
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}

.piece:hover .piece-name {
  color: var(--oxblood-soft);
}

.piece-meta {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
}

.piece-status {
  color: var(--brass);
}

/* Forms (mailto) */
.field-list {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin: 2rem 0;
}

.field-list label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.field-list input,
.field-list textarea,
.field-list select {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--bone);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
}

.field-list input:focus,
.field-list textarea:focus,
.field-list select:focus {
  outline: 1px solid var(--brass);
  border-color: transparent;
}

/* Team */
.team {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.team-member {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.team-member h3 {
  margin: 0 0 0.2rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.team-member .role {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.team-member p {
  margin: 0;
  color: var(--bone-dim);
  max-width: 36rem;
}

.team-member a {
  color: var(--bone-dim);
  border-bottom: 1px solid var(--line);
}

/* Contact list */
.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-list .label {
  min-width: 8rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.contact-list a:hover {
  color: var(--oxblood-soft);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 85vh;
    padding-bottom: 3rem;
  }
}
