/* UI Kit — Website v2 (Moodboard direction) */
@import url('../colors_and_type.css');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* EYEBROW — Cinzel uppercase, bronze rule */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-400);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

/* DIAMOND DIVIDER — recurring brand motif */
.diamond-rule {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--bronze-400);
  width: fit-content;
}
.diamond-rule::before, .diamond-rule::after {
  content: ""; height: 1px; width: 64px; background: currentColor;
}
.diamond-rule .diamond {
  width: 8px; height: 8px;
  background: currentColor;
  transform: rotate(45deg);
}
.diamond-rule.lg::before, .diamond-rule.lg::after { width: 120px; }

/* BUTTONS */
.btn {
  border: none;
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-primary {
  background: var(--bronze-400);
  color: var(--black);
  box-shadow: var(--shadow-bronze);
}
.btn-primary:hover { background: var(--bronze-300); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-ghost {
  background: transparent;
  color: var(--sand-100);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--bronze-400); color: var(--bronze-400); }

/* SECTIONS */
.section { padding: 140px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.deeper { background: var(--bg-deeper); }
.section.inset { background: var(--bg-inset); }

/* DISPLAY HEADINGS — Norse runic caps (short, punchy lines only) */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 160px);
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-1);
  text-wrap: balance;
}
.h-display em {
  font-style: normal;
  color: var(--bronze-400);
  font-family: var(--font-display);
  font-weight: 400;
}

/* SECTION HEADINGS — Cinzel engraved Roman caps (legible for full sentences) */
h2.h-section {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2.h-section em { font-family: var(--font-heading); font-weight: 600; }

/* NORSE accent — opt-in class for short runic flourishes inside Cinzel headings */
.norse {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 58ch;
}

.muted { color: var(--fg-3); }

.rule {
  height: 1px;
  background: var(--border);
  width: 100%;
  border: 0;
}

/* CARDS */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  transition: border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.card:hover {
  border-color: var(--bronze-400);
  transform: translateY(-3px);
}
.card.signature {
  background: linear-gradient(180deg, var(--black-card) 0%, var(--black-soft) 100%);
  border-color: var(--bronze-600);
}

/* INPUTS */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 16px 18px;
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  background: var(--black-soft);
  color: var(--fg-1);
  outline: none;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out);
}
input::placeholder, textarea::placeholder { color: var(--fg-3); }
input:focus, textarea:focus { border-color: var(--bronze-400); }

label .field-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-400);
  display: block;
  margin-bottom: 8px;
}

/* HERO ATMOSPHERE — pitch black with bronze glow */
.hero-frame {
  position: relative;
  isolation: isolate;
  background: var(--black);
  overflow: hidden;
}
.hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 100% 10%, rgba(166, 124, 82, 0.22) 0%, transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(15, 31, 38, 0.55) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.86  0 0 0 0 0.78  0 0 0 0 0.63  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* SECTION DIVIDERS */
.section + .section { border-top: 1px solid var(--border); }

/* Bronze hover state for icon labels */
.icon-cell {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px 12px;
  color: var(--bronze-400);
  transition: transform var(--dur-base) var(--ease-out);
}
.icon-cell:hover { transform: translateY(-2px); }
.icon-cell .label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-2);
}
