/* Isabella · style kit v4
   Fonts: Arsenal (display), Assistant (body), Open Sans (labels)
   Palette: white, baby blue, sky, burgundy, navy */

@import url("https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;1,400&family=Assistant:wght@400;500&family=Open+Sans:wght@400;500&display=swap");

:root {
  /* Colors */
  --is-white: #FFFFFF;
  --is-baby-blue: #8CB0C8;
  --is-sky: #5E8FB0;
  --is-burgundy: #6E1420;
  --is-navy: #000D31;
  --is-navy-soft: #3A4557;
  --is-grey: #C0C0C0;
  --is-border: #E6E6E6;
  --is-pale: #EDF2F7;
  --is-pale-mid: #D9E4EF;

  /* Fonts */
  --is-font-display: "Arsenal", Georgia, "Times New Roman", serif;
  --is-font-body: "Assistant", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --is-font-ui: "Open Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --is-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Space */
  --is-space-4: 4px;
  --is-space-8: 8px;
  --is-space-12: 12px;
  --is-space-16: 16px;
  --is-space-24: 24px;
  --is-space-32: 32px;
  --is-space-48: 36px;
  --is-space-64: 64px;
  --is-space-96: 96px;

  /* Geometry */
  --is-header-height: 71px;
  --is-container: 1400px;
  --is-prose: 820px;
  --is-section: 96px;
  --is-border-width: 1px;

  /* Motion */
  --is-ease: ease;
  --is-state-ms: 180ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Body */
body {
  background: var(--is-white);
  color: var(--is-grey);
  font-family: var(--is-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

/* Links */
a {
  color: var(--is-navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* Header system — one style per level */
h1, .is-h1 {
  font-family: var(--is-font-display);
  font-style: italic;
  font-weight: 400;
  font-variant-caps: normal;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--is-navy);
}
h1 .period, .is-h1 .period { color: var(--is-burgundy); }

.is-eyebrow {
  font-family: var(--is-font-ui);
  font-style: normal;
  font-weight: 400;
  font-variant-caps: small-caps;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: var(--is-burgundy);
}

h2, .is-h2 {
  font-family: var(--is-font-display);
  font-style: italic;
  font-weight: 400;
  font-variant-caps: normal;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0.005em;
  color: var(--is-sky);
}

h3, .is-h3 {
  font-family: var(--is-font-display);
  font-style: normal;
  font-weight: 400;
  font-variant-caps: small-caps;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--is-navy);
}

.is-lead {
  font-family: var(--is-font-display);
  font-style: italic;
  font-weight: 400;
  font-variant-caps: normal;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.005em;
  color: var(--is-navy-soft);
}

.is-small {
  font-size: 13px;
  line-height: 1.55;
  color: var(--is-grey);
}

.is-mono {
  font-family: var(--is-font-mono);
  font-size: 12px;
  letter-spacing: 0;
}

/* Layout */
.is-wrap {
  width: 100%;
  max-width: var(--is-container);
  margin-inline: auto;
  padding-inline: 40px;
}
.is-prose {
  max-width: var(--is-prose);
  margin-inline: auto;
}
.is-section {
  padding-block: var(--is-section);
}
.is-rule {
  border: 0;
  border-top: 1px solid var(--is-border);
}
.is-center { text-align: center; }

/* Header bar */
.is-header {
  height: var(--is-header-height);
  border-bottom: 1px solid var(--is-border);
  display: flex;
  align-items: center;
  background: var(--is-white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.is-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.is-header__nav {
  display: flex;
  gap: 28px;
  font-family: var(--is-font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.is-header__nav a { color: var(--is-grey); }
.is-header__nav--right { justify-content: flex-end; }
.is-header__logo {
  font-family: var(--is-font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--is-navy);
  text-align: center;
  white-space: nowrap;
}
.is-header__logo .period { color: var(--is-burgundy); }

/* Buttons — baby blue, white text, weight 500 */
.is-button {
  display: inline-block;
  font-family: var(--is-font-ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  background: var(--is-baby-blue);
  color: var(--is-white);
  border: 1px solid var(--is-baby-blue);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--is-state-ms) var(--is-ease),
              border-color var(--is-state-ms) var(--is-ease);
}
.is-button:hover {
  background: var(--is-burgundy);
  border-color: var(--is-burgundy);
  text-decoration: none;
}

/* Fields */
.is-field {
  width: 100%;
  padding: 12px 14px;
  background: var(--is-white);
  color: var(--is-navy);
  border: 1px solid var(--is-border);
  border-radius: 0;
  font-family: var(--is-font-body);
  font-size: 14px;
}
.is-field:focus-visible {
  outline: 2px solid var(--is-sky);
  outline-offset: 2px;
  border-color: var(--is-sky);
}

/* Chips and swatches */
.is-chip {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--is-border);
}

/* Image placeholder — sky gradient, white text, weight 500 */
.is-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #A8C4D8, var(--is-sky));
  border: 1px solid var(--is-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--is-white);
  font-family: var(--is-font-ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Cards */
.is-card {
  background: var(--is-white);
  border: 1px solid var(--is-border);
  padding: 24px;
}

/* Focus */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--is-sky);
  outline-offset: 3px;
}

/* Accessibility */
@media (pointer: coarse) {
  .is-button { min-height: 44px; }
  .is-field  { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Print */
@media print {
  body { background: white; color: var(--is-navy); }
  .is-button, .is-placeholder { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
