/* MILA Brand Services — site styles (2026-11-18) */
:root {
  --ink: #141514;
  --paper: #F4F1EA;
  --text-soft: #CFCBC2;
  --text-muted: #B9B5AC;
  --rule: rgba(244, 241, 234, 0.3);
  --rule-faint: rgba(244, 241, 234, 0.22);
  --field-line: rgba(244, 241, 234, 0.45);
  --gutter: clamp(20px, 4.2vw, 60px);
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --text: 'Jost', 'Avenir Next', 'Avenir', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--paper); }
a:hover { color: #A8A49B; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--ink); padding: 10px 16px; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
}
.emblem { display: inline-flex; padding: 6px 0; color: var(--paper); }
.emblem svg { width: 38px; height: 38px; }
.nav { display: flex; gap: 0 40px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 16px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }

/* Home */
.hero-image {
  position: absolute; top: 0; right: 0;
  width: 64%; height: 100%;
  object-fit: cover; display: block;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(20,21,20,0.55) 58%, rgba(20,21,20,0.2) 100%);
}
.home-main {
  position: relative; z-index: 1;
  flex: 1 1 auto;
  padding: 32px var(--gutter) 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.eyebrow {
  margin: 0;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #C9C5BC;
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(84px, 11.5vw, 172px);
  line-height: 0.84;
  letter-spacing: -0.01em;
}
.intro {
  margin: 6px 0 0;
  max-width: 30em;
  font-weight: 300;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  color: #E4E0D8;
}
.pillars {
  margin: 28px 0 0; padding: 0; list-style: none;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 40px;
}
.pillars li { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.pillars h2 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.pillars p { margin: 0; font-size: 16px; color: var(--text-soft); }
.cta {
  align-self: flex-start;
  margin-top: 12px; padding: 12px 0;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  text-underline-offset: 8px;
}

/* Footer */
.site-footer { position: relative; z-index: 1; padding: 0 var(--gutter) 32px; }
.site-footer .row {
  border-top: 1px solid var(--rule-faint);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.site-footer .note { text-transform: none; letter-spacing: 0.04em; color: var(--text-muted); }
.site-footer a { text-decoration: none; }

.backdrop-emblem.home { left: auto; right: -160px; bottom: auto; top: 50%; transform: translateY(-50%); width: min(900px, 80%); }
@media (max-width: 760px) { .backdrop-emblem.home { right: -220px; width: 140%; opacity: 0.8; } }

/* Contact */
.backdrop-emblem {
  position: absolute; left: -140px; bottom: -200px;
  width: min(760px, 90%); height: auto; color: #000;
}
.contact-main {
  position: relative; z-index: 1;
  flex: 1 1 auto;
  padding: 56px var(--gutter) 72px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px 96px;
}
.contact-lead { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-lead h1 {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 6vw, 92px); line-height: 0.98; letter-spacing: -0.015em;
}
.contact-lead .lead { margin: 0; font-size: 16px; color: var(--text-soft); }
.details { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-soft); }
.details a { align-self: flex-start; padding: 10px 0; text-underline-offset: 6px; overflow-wrap: anywhere; }

.form {
  flex: 1 1 420px; min-width: 0; max-width: 560px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px 32px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field.wide { grid-column: 1 / -1; }
.field .optional { letter-spacing: 0.04em; text-transform: none; }
.field .hint { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; min-width: 0;
  min-height: 48px; padding: 0;
  border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0;
  background: transparent; color: var(--paper);
  font-family: var(--text); font-size: 17px; letter-spacing: 0;
}
.field textarea { padding: 12px 0; line-height: 1.5; resize: vertical; }
.field input::placeholder { color: #7E7A73; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding-top: 6px;
}
.button {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 32px;
  border: 0; border-radius: 0;
  background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 15px; font-weight: 500;
  cursor: pointer;
}
.button:hover { background: #E4E0D8; }
.form-note { flex: 1 1 220px; margin: 0; font-size: 12px; color: var(--text-muted); }
.form-note a { display: inline-block; padding: 12px 0; text-underline-offset: 4px; }
.status { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--text-soft); min-height: 1.5em; }
.preview-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--text-soft); }
.nav, .pillars h2, .field, .cta, .text-main h2 { font-size: 14px; }

/* Text page (privacy) */
.text-main { position: relative; z-index: 1; flex: 1 1 auto; padding: 40px var(--gutter) 80px; }
.text-main article { max-width: 42em; }
.text-main h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 0 0 24px; }
.text-main h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin: 40px 0 10px; }
.text-main p, .text-main li { color: #E4E0D8; font-weight: 300; font-size: 16px; line-height: 1.6; }
.draft-flag { display: inline-block; margin: 0 0 20px; padding: 6px 12px; border: 1px solid var(--rule); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* Phone */
@media (max-width: 760px) {
  .hero-image { width: 100%; opacity: 0.45; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,21,20,0.65) 0%, rgba(20,21,20,0.9) 60%, var(--ink) 100%); }
  .home-main { justify-content: flex-start; padding-top: 24px; }
  .nav { gap: 0 24px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
