/* Harbor Lane Books — intarcoerc.pro */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;0,7..72,700;1,7..72,400&display=swap");

:root {
  --hl-forest: #2f4a3c;
  --hl-forest-deep: #243a30;
  --hl-forest-soft: #3d5c4c;
  --hl-parchment: #f2ede4;
  --hl-parchment-dark: #e6dfd3;
  --hl-clay: #b07d62;
  --hl-clay-deep: #94684f;
  --hl-ink: #1c2a24;
  --hl-muted: #5a6b62;
  --hl-line: rgba(47, 74, 60, 0.16);
  --hl-white: #faf8f4;
  --hl-shadow: 0 18px 40px rgba(28, 42, 36, 0.12);
  --hl-radius: 4px;
  --hl-font-display: "Literata", Georgia, serif;
  --hl-font-body: "Figtree", system-ui, sans-serif;
  --hl-max: 1120px;
  --hl-header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--hl-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hl-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(176, 125, 98, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(47, 74, 60, 0.08), transparent 45%),
    linear-gradient(180deg, var(--hl-parchment) 0%, #ebe6dc 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hl-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hl-clay-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--hl-font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hl-forest-deep);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.container {
  width: min(100% - 2rem, var(--hl-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 237, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hl-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--hl-header-h);
}

.brand {
  font-family: var(--hl-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--hl-forest);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--hl-clay-deep);
  text-decoration: none;
}

.brand span {
  display: block;
  font-family: var(--hl-font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hl-muted);
  margin-top: 0.15rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--hl-line);
  background: var(--hl-white);
  color: var(--hl-forest);
  font-family: var(--hl-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  border-radius: var(--hl-radius);
}

.menu-toggle:hover {
  background: var(--hl-parchment-dark);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hl-ink);
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--hl-clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-main a[aria-current="page"] {
  color: var(--hl-forest);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: var(--hl-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hl-ken 28s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28, 42, 36, 0.25) 0%, rgba(28, 42, 36, 0.55) 45%, rgba(36, 58, 48, 0.88) 100%),
    linear-gradient(90deg, rgba(36, 58, 48, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 38rem;
  animation: hl-rise 0.9s ease-out both;
}

.hero-brand {
  font-family: var(--hl-font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--hl-white);
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(250, 248, 244, 0.92);
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--hl-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.35rem;
  border-radius: var(--hl-radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--hl-clay);
  color: var(--hl-white);
  border-color: var(--hl-clay);
}

.btn-primary:hover {
  background: var(--hl-clay-deep);
  border-color: var(--hl-clay-deep);
  color: var(--hl-white);
}

.btn-ghost {
  background: transparent;
  color: var(--hl-white);
  border-color: rgba(250, 248, 244, 0.55);
}

.btn-ghost:hover {
  background: rgba(250, 248, 244, 0.12);
  color: var(--hl-white);
}

.btn-outline {
  background: transparent;
  color: var(--hl-forest);
  border-color: var(--hl-forest);
}

.btn-outline:hover {
  background: var(--hl-forest);
  color: var(--hl-white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(47, 74, 60, 0.06);
  border-block: 1px solid var(--hl-line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
}

.section-head p {
  color: var(--hl-muted);
  font-size: 1.05rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--hl-line);
  background:
    linear-gradient(135deg, rgba(47, 74, 60, 0.08), transparent 55%),
    var(--hl-parchment);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  margin-bottom: 0.65rem;
}

.page-hero p {
  color: var(--hl-muted);
  max-width: 36rem;
  margin: 0;
  font-size: 1.1rem;
}

/* Shop teaser */
.shop-teaser {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.shop-teaser-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  min-height: 320px;
}

.shop-teaser-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.shop-teaser:hover .shop-teaser-media img {
  transform: scale(1.04);
}

.shop-teaser-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.shop-teaser-copy p {
  color: var(--hl-muted);
}

/* Feature list / events grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-item {
  padding: 0;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--hl-muted);
  margin-bottom: 0.75rem;
}

.feature-item .meta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hl-clay);
  margin-bottom: 0.4rem;
}

.event-list {
  display: grid;
  gap: 1.5rem;
}

.event-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hl-line);
}

.event-date {
  font-family: var(--hl-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hl-forest);
  line-height: 1.35;
}

.event-date small {
  display: block;
  font-family: var(--hl-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--hl-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Picks */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.pick-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.pick-item .byline {
  font-size: 0.9rem;
  color: var(--hl-clay);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.pick-item p {
  color: var(--hl-muted);
}

/* Subscriptions */
.plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.plan {
  padding: 1.75rem 0;
  border-top: 2px solid var(--hl-forest);
}

.plan h3 {
  font-size: 1.35rem;
}

.plan .price {
  font-family: var(--hl-font-display);
  font-size: 1.6rem;
  color: var(--hl-forest);
  margin: 0.5rem 0 1rem;
}

.plan p {
  color: var(--hl-muted);
  font-size: 0.98rem;
}

.plan ul {
  color: var(--hl-muted);
  padding-left: 1.1rem;
  margin-bottom: 1.25rem;
}

.plan li {
  margin-bottom: 0.35rem;
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.story-grid img {
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pull-quote {
  font-family: var(--hl-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--hl-forest);
  line-height: 1.4;
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--hl-clay);
}

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
}

.contact-details {
  color: var(--hl-muted);
}

.contact-details strong {
  display: block;
  font-family: var(--hl-font-display);
  font-size: 1.1rem;
  color: var(--hl-forest-deep);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-block {
  margin-bottom: 1.5rem;
}

.contact-block a {
  color: var(--hl-forest);
  text-decoration: none;
  font-weight: 500;
}

.contact-block a:hover {
  color: var(--hl-clay-deep);
  text-decoration: underline;
}

.form-stack {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hl-forest);
}

.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--hl-font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius);
  background: var(--hl-white);
  color: var(--hl-ink);
  width: 100%;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--hl-forest-soft);
  outline-offset: 1px;
  border-color: var(--hl-forest-soft);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: rgba(47, 74, 60, 0.1);
  border: 1px solid var(--hl-forest-soft);
  border-radius: var(--hl-radius);
  color: var(--hl-forest-deep);
  margin-bottom: 1rem;
}

.form-success.show {
  display: block;
  animation: hl-rise 0.4s ease-out;
}

/* Newsletter */
.newsletter {
  background: var(--hl-forest);
  color: var(--hl-parchment);
  padding: 3.5rem 0;
}

.newsletter h2 {
  color: var(--hl-white);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.newsletter p {
  color: rgba(242, 237, 228, 0.85);
  max-width: 32rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 32rem;
}

.newsletter-form input[type="email"] {
  flex: 1 1 14rem;
  font-family: var(--hl-font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--hl-radius);
  background: var(--hl-white);
  color: var(--hl-ink);
}

.newsletter-form .btn {
  flex: 0 0 auto;
}

.newsletter .form-success {
  background: rgba(242, 237, 228, 0.12);
  border-color: rgba(242, 237, 228, 0.35);
  color: var(--hl-parchment);
  margin-top: 1rem;
}

/* Legal */
.legal-content {
  max-width: 42rem;
  padding: 3rem 0 4.5rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content p,
.legal-content li {
  color: var(--hl-muted);
}

.legal-content .updated {
  font-size: 0.9rem;
  color: var(--hl-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--hl-forest-deep);
  color: rgba(242, 237, 228, 0.82);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--hl-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hl-white);
  margin-bottom: 0.65rem;
}

.site-footer a {
  color: rgba(242, 237, 228, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--hl-white);
  text-decoration: underline;
}

.footer-col h3 {
  font-family: var(--hl-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.55);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242, 237, 228, 0.15);
  font-size: 0.88rem;
}

.footer-copy {
  margin-left: auto;
  color: rgba(242, 237, 228, 0.55);
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  z-index: 200;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 420px;
  margin-inline: auto;
  background: var(--hl-white);
  border: 1px solid var(--hl-line);
  box-shadow: var(--hl-shadow);
  border-radius: var(--hl-radius);
  padding: 1.25rem 1.35rem;
}

#cookie-banner.show {
  display: block;
  animation: hl-rise 0.45s ease-out;
}

#cookie-banner h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

#cookie-banner p {
  font-size: 0.92rem;
  color: var(--hl-muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hl-line);
}

#cookie-panel.open {
  display: block;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--hl-muted);
}

.cookie-option input {
  margin-top: 0.2rem;
  accent-color: var(--hl-forest);
}

.cookie-option strong {
  display: block;
  color: var(--hl-ink);
  font-weight: 600;
}

/* Animations */
@keyframes hl-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hl-ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.reveal {
  animation: hl-rise 0.75s ease-out both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

/* Responsive */
@media (max-width: 900px) {
  .shop-teaser,
  .story-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .plan-list {
    grid-template-columns: 1fr;
  }

  .picks-grid {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--hl-parchment);
    border-bottom: 1px solid var(--hl-line);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--hl-shadow);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--hl-line);
  }

  .nav-main a::after {
    display: none;
  }

  .hero {
    min-height: min(78vh, 620px);
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }
}
