/* BILUN marketing site — navy + antique gold + cream (bilun.tech) */

:root {
  --text-primary: #1a2638;
  --text-secondary: #3a4456;
  --text-muted: #8590a4;
  --surface-base: #ffffff;
  --surface-soft: #e5e2da;
  --surface-tint: #efead8;
  --border-subtle: #e5e2da;
  --gold: #9c7a3e;
  --gold-hover: #8b6a33;
  --shadow-1: 0 1px 0 rgba(26, 38, 56, 0.04);
  --shadow-2: 0 4px 12px rgba(26, 38, 56, 0.06);
  --r-md: 8px;
  --r-lg: 12px;
  --max-w: 68rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--surface-base);
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--surface-base);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  color: var(--text-primary);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
}

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-base);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.site-logo img {
  display: block;
  height: 2.75rem;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: var(--r-md);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--surface-tint);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--gold);
  color: #fff;
}

.btn--primary:hover {
  background: var(--gold-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-hover);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 18ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 42rem;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section__header {
  margin-bottom: 2rem;
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  max-width: 40rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: var(--surface-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-1);
}

.section--soft .card {
  border-color: rgba(26, 38, 56, 0.08);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card p {
  margin: 0;
  font-size: 0.925rem;
}

/* Page header (inner pages) */

.page-header {
  padding: 3rem 0 1.5rem;
}

.page-header h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--text-primary);
}

.page-header p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.05rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}

.contact-panel {
  background: var(--surface-soft);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.contact-panel h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-panel p,
.contact-panel li {
  margin: 0 0 0.65rem;
  font-size: 0.925rem;
}

.contact-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  font: inherit;
  color: var(--text-primary);
  background: var(--surface-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  margin-top: 2rem;
}

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

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }
}
