/* Wooden Styles — closely modeled on Alivar luxury furniture layout */

:root {
  --white: #ffffff;
  --off: #f7f7f5;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e6e6e4;
  --soft: rgba(17, 17, 17, 0.55);
  --header: 78px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  background: #111;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.wrap {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.label.light { color: rgba(255,255,255,0.7); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

/* ——— HEADER (Alivar centered logo) ——— */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header.is-solid {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.header__bar {
  height: 100%;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header__nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header__nav--right { justify-content: flex-end; }

.header__nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.header.is-solid .header__nav a { color: var(--ink); }
.header__nav a:hover { opacity: 1; }

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.header__logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 1px;
}

.header__logo span {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
}

.header.is-solid .header__logo span { color: var(--ink); }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.burger i {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

.header.is-solid .burger i { background: var(--ink); }

/* ——— LANGUAGE SWITCH ——— */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.18);
}

.header.is-solid .lang-switch,
.header.is-open .lang-switch {
  border-color: #d8d8d8;
  background: #f3f3f3;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch__btn:hover { opacity: 0.85; }

.lang-switch__btn.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.header.is-solid .lang-switch__btn,
.header.is-open .lang-switch__btn {
  opacity: 1;
  background: transparent;
}

.header.is-solid .lang-switch__btn.is-active,
.header.is-open .lang-switch__btn.is-active {
  background: var(--ink);
}

.lang-switch__flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  background: #000;
}

.lang-switch__flag img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  transform: scale(1.25);
}

.lang-switch__code {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.lang-switch__btn.is-active .lang-switch__code {
  color: #fff;
}

.header.is-solid .lang-switch__code,
.header.is-open .lang-switch__code {
  color: #8a8a8a;
}

.header.is-solid .lang-switch__btn.is-active .lang-switch__code,
.header.is-open .lang-switch__btn.is-active .lang-switch__code {
  color: #fff;
}

.lang-switch--header-mobile {
  display: none;
  margin-left: auto;
}

.lang-switch--footer {
  margin: 18px 0 0;
  margin-left: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch--footer .lang-switch__btn {
  opacity: 0.55;
}

.lang-switch--footer .lang-switch__btn.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch--footer .lang-switch__code {
  color: rgba(255, 255, 255, 0.45);
}

.lang-switch--footer .lang-switch__btn.is-active .lang-switch__code {
  color: #fff;
}

.lang-switch--footer .lang-switch__flag img {
  transform: none;
}

.drawer {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 90;
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 40px 28px;
  gap: 22px;
}

.drawer[hidden] {
  display: none !important;
}

.drawer a {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
}

/* ——— HERO ——— */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  background: #111;
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide img {
  transform: scale(1.04);
  transition: transform 8s linear;
}

.hero__slide.is-active img {
  transform: scale(1.1);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.45) 100%);
}

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18vh;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.hero__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.85;
}

.hero__caption h1 {
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  text-transform: none;
}

.hero__caption h1 {
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero__sub {
  margin: 16px auto 28px;
  max-width: 420px;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.9;
}

.hero__cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.65);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.hero__cta:hover {
  background: #fff;
  color: #111;
}

.hero__ui {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.hero__arrow:hover { background: rgba(255,255,255,0.15); }

.hero__dots {
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.hero__dot.is-active { background: #fff; }

/* ——— FOCUS ON ——— */
.focus {
  padding: 100px 0 80px;
  background: var(--white);
}

.focus__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.focus__head h2 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 20px;
}

.focus__lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  font-weight: 300;
}

.focus__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.focus__card {
  display: block;
}

.focus__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--off);
}

.focus__img img {
  transition: transform 0.8s var(--ease);
}

.focus__card:hover .focus__img img {
  transform: scale(1.05);
}

.focus__meta {
  padding: 18px 2px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.focus__meta h3 {
  font-size: 22px;
  font-weight: 500;
}

.focus__meta span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— COLLECTION editorial ——— */
.collection {
  padding: 40px 0 100px;
  background: var(--white);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(34px, 4.5vw, 48px);
}

.section-head--left {
  text-align: left;
  margin-bottom: 36px;
}

.editorial {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  min-height: 420px;
}

.editorial__main,
.editorial__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ddd;
  color: #fff;
}

.editorial__main { min-height: 420px; }

.editorial__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.editorial__main img,
.editorial__item img {
  transition: transform 1s var(--ease);
}

.editorial__main:hover img,
.editorial__item:hover img {
  transform: scale(1.04);
}

.editorial__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.editorial__cap h3 {
  font-size: 20px;
  color: #fff;
}

.editorial__cap span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ——— EXCELLENCE / CONTRACT ——— */
.excellence {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.excellence__media {
  position: absolute;
  inset: 0;
}

.excellence__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.62));
}

.excellence__content {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
  max-width: 640px;
  margin-left: max(24px, calc((100% - 1280px) / 2 + 24px));
  margin-right: 24px;
}

.excellence__content h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 18px;
}

.excellence__content p {
  margin: 0 0 28px;
  font-weight: 300;
  font-size: 16px;
  max-width: 480px;
  opacity: 0.92;
}

.btn-outline {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

/* ——— TAILORING ——— */
.tailor {
  padding: 100px 0;
  background: var(--off);
}

.tailor__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.tailor__visual {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #222;
}

.tailor__copy h2 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 16px;
}

.tailor__copy > p {
  margin: 0 0 36px;
  color: var(--muted);
  font-weight: 300;
  max-width: 460px;
}

.plus-list {
  display: grid;
  gap: 22px;
}

.plus-list article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.plus-list span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.plus-list h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.plus-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

/* ——— REELS ——— */
.reels {
  padding: 90px 0;
  background: var(--white);
}

.reels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.reel {
  margin: 0;
  overflow: hidden;
}

.reel video,
.reel img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  max-height: none;
  background: var(--off);
  object-fit: cover;
}

.reel figcaption {
  padding-top: 14px;
}

.reel strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}

.reel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
}

/* ——— MOODS ——— */
.moods {
  padding: 0 0 100px;
  background: var(--white);
}

.moods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mood {
  display: block;
}

.mood img {
  aspect-ratio: 16 / 11;
  margin-bottom: 18px;
  background: var(--off);
}

.mood h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.mood p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  max-width: 320px;
}

/* ——— CONTACT ——— */
.contact {
  padding: 90px 0 100px;
  background: var(--off);
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact__intro h2 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 14px;
}

.contact__intro > p {
  margin: 0 0 32px;
  color: var(--muted);
  font-weight: 300;
}

.contact__data {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact__data li {
  font-family: var(--serif);
  font-size: 20px;
}

.contact__data span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact__form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  display: grid;
  gap: 18px;
}

.row {
  display: grid;
  gap: 8px;
}

.row label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.row input,
.row textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  outline: none;
  resize: vertical;
}

.row input:focus,
.row textarea:focus {
  border-bottom-color: var(--ink);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.btn-dark {
  justify-self: start;
  margin-top: 8px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-dark:hover:not(:disabled) { opacity: 0.82; }
.btn-dark:disabled { opacity: 0.55; cursor: wait; }

.form-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--off);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.form-status[hidden] { display: none !important; }
.form-status.is-success {
  border-color: #c8d5c8;
  background: rgba(47, 90, 58, 0.06);
  color: #2f5a3a;
}
.form-status.is-error {
  border-color: #e2c4c0;
  background: rgba(138, 58, 48, 0.06);
  color: #8a3a30;
}

.status-icon {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ——— FOOTER ——— */
.footer {
  background: #111;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer__brand > img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}

.footer__brand p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  max-width: 220px;
}

.footer__col h4 {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.footer__col a,
.footer__col span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 300;
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .focus__rail { grid-template-columns: repeat(2, 1fr); }
  .editorial {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 100%;
  }
  .editorial__main { min-height: 280px; }
  .editorial__item { min-height: 200px; }
  .tailor__grid { grid-template-columns: 1fr; gap: 36px; }
  .tailor__visual { aspect-ratio: 16 / 11; }
  .reels__grid { grid-template-columns: repeat(2, 1fr); }
  .moods__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header: 64px; }

  .header__nav { display: none; }

  .lang-switch--header-mobile {
    display: inline-flex;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .burger[aria-expanded="true"] i:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .burger[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
  }

  .burger[aria-expanded="true"] i:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .header__bar {
    width: calc(100% - 28px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 0;
  }

  .header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-self: unset;
  }

  .header__logo img {
    width: 38px;
    height: 38px;
  }

  .header__logo span {
    font-size: 9px;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .header.is-open {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
  }

  .header.is-open .header__logo span {
    color: var(--ink);
  }

  .header.is-open .burger i {
    background: var(--ink);
  }

  .drawer {
    padding: 28px 24px 40px;
    gap: 18px;
    overflow-y: auto;
  }

  .drawer a {
    font-size: 26px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero__caption { bottom: 14vh; }
  .focus { padding: 72px 0 56px; }
  .focus__rail { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reels__grid { grid-template-columns: 1fr 1fr; }
  .excellence__content {
    margin-left: 24px;
    padding-bottom: 56px;
  }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .contact__form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide img { transition: none; transform: none !important; }
}
