/* Dobó Roast — ploutspagn.world
   Dark roast brown specialty coffee (Debrecen) */

:root {
  --roast-deep: #140c08;
  --roast-ink: #1c100a;
  --roast-mid: #2a1810;
  --roast-bark: #3d2418;
  --roast-bean: #5c3824;
  --cream: #f3e6d4;
  --cream-soft: #e8d5bc;
  --cream-dim: #c4a88a;
  --copper: #c4783a;
  --copper-hot: #e0924e;
  --ember: #a34f28;
  --foam: #faf6f0;
  --line: rgba(243, 230, 212, 0.12);
  --line-strong: rgba(243, 230, 212, 0.22);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Literata", "Georgia", serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cream-soft);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 120, 58, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(163, 79, 40, 0.12), transparent 50%),
    linear-gradient(180deg, var(--roast-ink) 0%, var(--roast-deep) 40%, #0e0906 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--copper-hot);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cream);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--foam);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 36rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--copper);
  color: var(--roast-deep);
  border-color: var(--copper);
}

.btn-primary:hover {
  background: var(--copper-hot);
  color: var(--roast-deep);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 12, 8, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--foam);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-mark span {
  color: var(--copper);
  font-weight: 500;
  font-style: italic;
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.3s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--foam);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: 1.25rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding-bottom: 1rem;
  border-top: 1px solid var(--line);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--cream-soft);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile,
  .nav-mobile.open {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.35) 0%, rgba(20, 12, 8, 0.55) 40%, rgba(14, 9, 6, 0.96) 100%),
    linear-gradient(90deg, rgba(20, 12, 8, 0.7) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0 4.5rem;
  animation: rise-in 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--foam);
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-brand em {
  font-style: italic;
  font-weight: 500;
  color: var(--copper);
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  color: var(--cream);
  max-width: 22ch;
  margin-bottom: 0.85rem;
}

.hero .lead {
  max-width: 32rem;
}

@keyframes hero-drift {
  from {
    transform: scale(1.05) translateY(0);
  }
  to {
    transform: scale(1.12) translateY(-2%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 2.75rem 0;
}

.section-roast {
  background:
    linear-gradient(180deg, rgba(61, 36, 24, 0.35), transparent),
    var(--roast-mid);
  border-block: 1px solid var(--line);
}

.section-ember {
  position: relative;
  overflow: hidden;
}

.section-ember::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(196, 120, 58, 0.18), transparent 70%);
  pointer-events: none;
}

.section-head {
  margin-bottom: 2.25rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .split-reverse .split-text {
    order: 2;
  }

  .split-reverse .split-media {
    order: 1;
  }
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  box-shadow: var(--shadow);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 1rem -0.75rem -0.75rem 1rem;
  border: 1px solid var(--line-strong);
  z-index: -1;
}

.prose p {
  color: var(--cream-dim);
}

/* Roast paths — filter / espresso */
.paths-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .paths-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.path-panel {
  position: relative;
  padding: 2rem 1.75rem;
  background: linear-gradient(160deg, var(--roast-bark) 0%, var(--roast-ink) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.path-panel:hover {
  border-color: rgba(196, 120, 58, 0.45);
}

.path-panel h3 {
  margin-bottom: 0.35rem;
}

.path-panel p {
  color: var(--cream-dim);
  margin-bottom: 1.25rem;
}

.path-panel .path-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

.path-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: 1.25rem;
}

/* Hours strip */
.hours-bar {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(196, 120, 58, 0.12), transparent 60%),
    var(--roast-bark);
  border: 1px solid var(--line-strong);
}

@media (min-width: 800px) {
  .hours-bar {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--cream-soft);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list span:last-child {
  color: var(--copper-hot);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Lot / coffee grid */
.lot-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .lot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lot {
  border-top: 2px solid var(--copper);
  padding-top: 1.25rem;
}

.lot h3 {
  font-size: 1.2rem;
}

.lot .origin {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.lot p {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.lot .notes {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lot .notes span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  padding: 0.25rem 0.55rem;
}

/* Feature band */
.feature-band {
  display: grid;
  gap: 0;
}

@media (min-width: 860px) {
  .feature-band {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.feature-band img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.feature-copy {
  padding: 2.5rem 2rem;
  background: var(--roast-mid);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-left: 0;
}

@media (max-width: 859px) {
  .feature-copy {
    border-left: 1px solid var(--line);
    border-top: 0;
  }
}

/* Page heroes (inner) */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: none;
}

.page-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.25), rgba(14, 9, 6, 0.92));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 2.75rem;
  animation: rise-in 0.7s var(--ease) both;
}

.page-hero-plain {
  padding: 3.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero-plain h1 {
  margin-bottom: 0.4rem;
}

.page-hero-plain p {
  color: var(--cream-dim);
  max-width: 40rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-details dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 1.25rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.35rem 0 0;
  color: var(--cream-soft);
}

.contact-details a {
  text-decoration: none;
  color: var(--cream);
}

.contact-details a:hover {
  color: var(--copper-hot);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--roast-ink);
  border: 1px solid var(--line-strong);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--copper);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

.form-check input {
  width: auto;
  margin-top: 0.3rem;
}

#form-success {
  display: none;
  padding: 1.5rem;
  border: 1px solid rgba(196, 120, 58, 0.4);
  background: rgba(196, 120, 58, 0.1);
  color: var(--cream);
}

/* Legal */
.legal-content {
  padding: 2.5rem 0 5rem;
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--cream-dim);
}

.legal-content li {
  margin-bottom: 0.45rem;
}

.legal-content p {
  color: var(--cream-dim);
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--copper);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  background: var(--roast-ink);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo-mark {
  font-size: 1.35rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
  max-width: 28ch;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

.site-footer a {
  display: block;
  color: var(--cream-dim);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--foam);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  display: inline;
  margin: 0;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(26, 16, 10, 0.97);
  border-top: 1px solid var(--line-strong);
  padding: 1.25rem 0;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: var(--cream-dim);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(0, 0, 0, 0.65);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#cookie-modal.open {
  display: flex;
}

.cookie-modal-box {
  width: min(100%, 420px);
  background: var(--roast-mid);
  border: 1px solid var(--line-strong);
  padding: 1.75rem;
}

.cookie-modal-box h3 {
  margin-bottom: 0.5rem;
}

.cookie-modal-box > p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.cookie-option label {
  display: block;
  font-weight: 600;
  color: var(--cream);
}

.cookie-option small {
  display: block;
  color: var(--cream-dim);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.cookie-modal-box .cookie-actions {
  margin-top: 1.25rem;
}

/* Misc */
.muted {
  color: var(--cream-dim);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line-strong);
}

.timeline li {
  padding: 0 0 1.75rem 1.5rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--copper);
  border-radius: 50%;
}

.timeline strong {
  display: block;
  color: var(--foam);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.timeline p {
  color: var(--cream-dim);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
