/* HEDI TRADING LLC — wine + linen + olive (furniture) */
:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --ink: #2c1810;
  --ink-muted: #5c4a42;
  --accent: #722f37;
  --accent-2: #6b7b3c;
  --line: rgba(44, 24, 16, 0.1);
  --header-bg: rgba(250, 247, 242, 0.96);
  --footer-bg: #2c1810;
  --footer-ink: #d4c4b8;
  --shadow: 0 16px 48px rgba(44, 24, 16, 0.1);
  --radius: 6px;
  --font-display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(114, 47, 55, 0.08), transparent 55%),
    radial-gradient(700px 500px at 0% 100%, rgba(107, 123, 60, 0.1), transparent 50%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #4a1f25;
}

/* Header — minimal bar, underline nav */
.hedi-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent);
}

.hedi-header__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.hedi-logo img {
  height: 40px;
  width: auto;
}

.hedi-nav {
  display: flex;
  gap: 0.25rem;
}

.hedi-nav a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 1.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.hedi-nav a:hover,
.hedi-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hedi-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.35rem 0.65rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--ink);
}

/* Hero carousel — overlay text on slides */
.hedi-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hedi-hero__viewport {
  overflow: hidden;
}

.hedi-hero__track {
  display: flex;
  transition: transform 0.65s ease;
  will-change: transform;
}

.hedi-hero__slide {
  flex: 0 0 100%;
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
}

.hedi-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(420px, 72vh, 640px);
}

.hedi-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(44, 24, 16, 0.78) 0%, rgba(44, 24, 16, 0.35) 55%, rgba(44, 24, 16, 0.15) 100%);
}

.hedi-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hedi-hero__overlay-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  pointer-events: auto;
}

.hedi-hero__panes {
  position: relative;
  min-height: 12rem;
}

.hedi-hero__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hedi-hero__pane.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hedi-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9b896;
}

.hedi-hero__pane h1,
.hedi-hero__pane h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  max-width: 18ch;
}

.hedi-lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.hedi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hedi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hedi-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hedi-btn--primary:hover {
  background: #4a1f25;
  border-color: #4a1f25;
  color: #fff;
}

.hedi-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.hedi-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hedi-hero__prev,
.hedi-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.hedi-hero__prev:hover,
.hedi-hero__next:hover {
  background: #fff;
}

.hedi-hero__prev { left: 1rem; }
.hedi-hero__next { right: 1rem; }

.hedi-hero__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hedi-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hedi-hero__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

/* Sections */
.hedi-section {
  padding: 4rem 0;
}

.hedi-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hedi-section__head {
  margin-bottom: 2rem;
}

.hedi-section__head--center {
  text-align: center;
}

.hedi-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}

/* Product grid — fixed 4 columns */
.hedi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hedi-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hedi-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hedi-card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hedi-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.hedi-card__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Intro split */
.hedi-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hedi-intro__text h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.hedi-intro__text p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.hedi-intro__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Reviews */
.hedi-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hedi-review {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.hedi-review__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.hedi-review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hedi-review__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.hedi-review__role {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.hedi-review__stars {
  color: #c9a227;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.hedi-review__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Message form split */
.hedi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hedi-split__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hedi-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hedi-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hedi-field {
  display: block;
  margin-bottom: 1rem;
}

.hedi-field__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink-muted);
}

.hedi-field__input,
.hedi-field__textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}

.hedi-field__input:focus,
.hedi-field__textarea:focus {
  outline: 2px solid rgba(114, 47, 55, 0.35);
  border-color: var(--accent);
}

.hedi-form__hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Footer */
.hedi-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: 2rem;
}

.hedi-footer a {
  color: #e8d5c4;
}

.hedi-footer a:hover {
  color: #fff;
}

.hedi-footer__grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.hedi-footer__desc {
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 36ch;
}

.hedi-footer__social {
  display: flex;
  gap: 0.65rem;
}

.hedi-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #e8d5c4;
  transition: background 0.2s;
}

.hedi-social:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hedi-social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(0.85);
}

.hedi-footer__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
}

.hedi-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.7;
}

.hedi-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.hedi-footer__copy {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  font-size: 0.82rem;
  text-align: center;
  opacity: 0.75;
}

/* About page */
.hedi-about {
  padding: 3rem 0 4rem;
}

.hedi-about__grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hedi-about__copy h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.hedi-about__copy p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.hedi-about__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hedi-about__wide {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hedi-about__wide img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contact page */
.hedi-contact-wrap {
  padding-bottom: 3rem;
}

.hedi-contact-banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.hedi-contact-split {
  width: min(1180px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hedi-contact-split__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hedi-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hedi-contact-card h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--accent);
}

.hedi-contact-card dl {
  margin: 0;
}

.hedi-contact-card dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 0.2rem;
}

.hedi-contact-card dd {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.hedi-contact-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hedi-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hedi-reviews {
    grid-template-columns: 1fr;
  }

  .hedi-intro,
  .hedi-split,
  .hedi-about__grid,
  .hedi-contact-split {
    grid-template-columns: 1fr;
  }

  .hedi-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hedi-nav-toggle {
    display: block;
  }

  .hedi-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .hedi-nav.is-open {
    display: flex;
  }

  .hedi-header {
    position: relative;
  }

  .hedi-header__inner {
    flex-wrap: wrap;
    position: relative;
  }

  .hedi-grid-4 {
    grid-template-columns: 1fr;
  }

  .hedi-form__row {
    grid-template-columns: 1fr;
  }

  .hedi-hero__prev,
  .hedi-hero__next {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .hedi-split__media {
    order: -1;
  }

  .hedi-contact-split__media {
    order: -1;
  }
}
