/* Drawn Atlas portal tokens — shared across mockup screens.
   Source: approved Figma v1 (cream / ink / terracotta). */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-italic.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-italic.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: block;
}


@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("fonts/patrick-hand.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "IM FELL English";
  src: url("fonts/im-fell-english.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "IM FELL English";
  src: url("fonts/im-fell-english-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}

:root {
  --bg: #f7f1e8;
  --surface: #fffbf6;
  --ink: #1c1410;
  --muted: #6b5e55;
  --subtle: #c9bfb3;
  --accent: #9a3412;
  --on-accent: #fffbf6;
  --line: #e7e0d6;
  --icon-bg: #f0e6d8;
  --plus: #a3968a;
  --pin-gold: #b88a4a;
  --pin-edge: #78562a;
  --pin-highlight: rgba(255, 236, 200, 0.8);
  --tape-kraft: #c49a78;
  --home-bar: rgba(28, 20, 16, 0.2);

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;

  --radius-2: 2px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-pill: 999px;

  --font-sans: "DM Sans", sans-serif;
  --font-serif: "Playfair Display", serif;

  --shadow-card: 0 8px 24px rgba(28, 20, 16, 0.08);
  --shadow-photo: 0 2px 6px rgba(28, 20, 16, 0.12);
  --shadow-pin: 0 2px 3px rgba(28, 20, 16, 0.35);
  --shadow-sheet: 0 -8px 32px rgba(28, 20, 16, 0.16);

  --phone-w: 390px;
  --phone-h: 844px;
}

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

html,
body {
  width: var(--phone-w);
  height: var(--phone-h);
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
}

.t-status {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.15px;
}

.t-progress {
  font-family: var(--font-sans);
  font-weight: 550;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0;
}

.t-button {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 0;
}

.t-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.1px;
}

.t-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
}

.t-card-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
}

.t-brand {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.4px;
}

.t-tagline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
}

.icon {
  display: block;
  flex-shrink: 0;
}

.t-caption {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.t-optional {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.2px;
  color: var(--muted);
}

.t-field {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
}

.t-chip {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
}
