@font-face { font-family: "Archivo"; font-weight: 100 900; font-display: swap; src: url(archivo-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 300 700; font-display: swap; src: url(cormorant-garamond-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400 800; font-display: swap; src: url(eb-garamond-latin-wght-normal.woff2) format("woff2"); }

:root {
  /* fixed brand colours */
  --night: #12101a;
  --stone: #efe7d8;
  /* accent: the orange capstone in the logo */
  --accent: #ea6630;
  --accent-hover: #f57e4c;
  --accent-bright: #ff8a57;
  --logo-navy: #0b1c30;
  /* gold is now used by the Scripture block only */
  --gold: #e9b44c;
  --gold-hover: #f5c869;
  --violet: #7c3aed;

  /* themed surfaces */
  --page: #f6f1e7;
  --surface: #fffdf8;
  --ink: #191622;
  --ink-soft: #55505f;
  --line: #e2d9c6;
  --accent-text: #a63f12;

  --sans: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #1a1714;
    --surface: #25211d;
    --ink: #f3ecdf;
    --ink-soft: #bcb2a2;
    --line: #3b352d;
    --accent-text: #ff8a57;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3 { font-weight: 750; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.032em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; color: #191622; padding: 8px 14px; border-radius: 6px; z-index: 20; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.accent { color: var(--accent-bright); }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 76px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 550; }
.site-nav a { text-decoration: none; padding: 8px 0; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .pill { border: 1px solid rgba(255,255,255,0.55); border-radius: 999px; padding: 8px 18px; background: rgba(18,16,26,0.25); }
.site-nav .pill:hover { background: rgba(255,255,255,0.14); text-decoration: none; }
.site-nav .pill[aria-current="page"] { background: #fff; color: #191622; border-color: #fff; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: background-color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-accent { background: var(--accent); color: #1a0b03; }
.button-accent:hover { background: var(--accent-hover); }
.button-ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(18,16,26,0.28); }
.button-ghost:hover { background: rgba(255,255,255,0.14); }

/* ---------- photo heroes ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; color: #fff; min-height: clamp(620px, 92vh, 860px); padding: 150px 0 110px; overflow: hidden; }
.hero picture, .band picture { position: absolute; inset: 0; z-index: -2; }
.hero picture img, .band picture img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,11,20,0.88) 0%, rgba(14,11,20,0.70) 42%, rgba(14,11,20,0.18) 80%, rgba(14,11,20,0.08) 100%),
    linear-gradient(180deg, rgba(14,11,20,0.55) 0%, rgba(14,11,20,0) 30%, rgba(14,11,20,0) 70%, rgba(18,16,26,0.75) 100%); }
.hero .eyebrow { color: var(--accent-bright); }
.hero h1 { max-width: 13em; }
.hero h1 .accent { display: block; }
.hero .lead { margin-top: 28px; max-width: 31em; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; color: rgba(255,255,255,0.92); }

.hero-short { min-height: clamp(420px, 62vh, 560px); align-items: flex-end; padding: 150px 0 72px; }

/* ---------- featured product ---------- */
.feature { position: relative; overflow: hidden; color: #f4f1fa; padding: 120px 0 112px;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(124,58,237,0.42), transparent 70%),
    radial-gradient(700px 460px at 0% 78%, rgba(124,58,237,0.20), transparent 70%),
    var(--night); }
.feature .eyebrow { color: var(--accent-bright); }
.feature-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 64px; align-items: center; }
.product-name { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-weight: 650; font-size: clamp(46px, 7vw, 82px); letter-spacing: -0.01em; line-height: 1; }
.product-name img { width: 0.95em; height: 0.95em; flex: none; filter: drop-shadow(0 14px 30px rgba(124,58,237,0.55)); }
.feature-lead { font-size: clamp(20px, 2.1vw, 25px); line-height: 1.45; color: #ddd7ea; }
.feature-head .actions { margin-top: 26px; }

.showcase { position: relative; margin-top: 64px; padding: 0 0 56px; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 40px 90px -20px rgba(0,0,0,0.65); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #2a2637; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #5d576f; flex: none; }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: #c9c3d8; background: #191622; border-radius: 6px; padding: 3px 28px; white-space: nowrap; }
.browser img { display: block; width: 100%; height: auto; }
.showcase > .browser { width: 88%; }
.phone { position: absolute; right: 0; bottom: 0; width: 23%; border-radius: 34px; padding: 9px; background: #0a090e; border: 1px solid #4a455a; box-shadow: 0 34px 70px -12px rgba(0,0,0,0.75); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.caption { margin-top: 20px; font-size: 13px; color: #a69fba; }

.points { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.points li { border-top: 2px solid rgba(234,102,48,0.85); padding-top: 20px; }
.points svg { width: 30px; height: 30px; color: var(--accent-bright); margin-bottom: 14px; display: block; }
.points p { margin-top: 8px; font-size: 16px; color: #c7c0d8; }

.split { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 56px; align-items: center; margin-top: 104px; }
.split h3 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.022em; line-height: 1.12; }
.split p { margin-top: 18px; color: #c7c0d8; }

/* ---------- other apps ---------- */
.others { padding: 112px 0; }
.others h2 { max-width: 14em; }
.tiles { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
/* The logo plate stays light in both themes: the Tag It wordmark is dark ink. */
.plate { width: 100%; min-height: 220px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 28px; }
/* The artwork's canvas has empty space on its right; shift it so the logo itself sits centred. */
.plate-tagit img { width: min(300px, 100%); height: auto; transform: translateX(14.5%); }
.lockup { display: flex; align-items: center; justify-content: center; gap: 18px; width: min(340px, 100%); }
.lockup img { width: 92px; height: auto; flex: none; }
.lockup span { font: 800 clamp(28px, 3.2vw, 38px)/1.1 var(--sans); color: #132b50; letter-spacing: -0.01em; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); border: 1px solid currentColor; border-radius: 999px; padding: 7px 16px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- closing photo band ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 132px 0; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,11,20,0.86), rgba(14,11,20,0.62) 55%, rgba(14,11,20,0.28)); }
.band .eyebrow { color: var(--accent-bright); }
.band h2 { max-width: 13em; }

/* ---------- about page ---------- */
.statement { padding: 112px 0; }
.statement .big { font-size: clamp(27px, 3.6vw, 44px); line-height: 1.28; font-weight: 600; letter-spacing: -0.022em; max-width: 22em; }
.statement .follow { margin-top: 32px; font-size: 20px; color: var(--ink-soft); }
.statement .follow a { color: var(--accent-text); font-weight: 700; }

.name { color: #f4f1fa; padding: 120px 0;
  background: radial-gradient(760px 560px at 18% 38%, rgba(234,102,48,0.18), transparent 70%), var(--night); }
.name .eyebrow { color: var(--accent-bright); }
.name-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.name h2 { font-size: clamp(30px, 3.8vw, 44px); }
.capstone-art { width: 100%; max-width: 420px; height: auto; margin: 0 auto; display: block; }
.scripture { margin-top: 40px; font-family: var(--serif); font-size: clamp(23px, 2.5vw, 30px); line-height: 1.5; color: #fbf6ea; }
.scripture p + p { margin-top: 6px; }
.scripture .poem { padding-left: 2.2em; text-indent: -0.45em; color: var(--gold-hover); }
.scripture .poem span { display: block; }
.scripture .poem span + span { padding-left: 1.5em; }
.scripture sup { font: 700 0.46em/0 var(--sans); color: #b6aec9; margin-right: 0.35em; vertical-align: super; }
.cite { margin-top: 24px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.notice { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.16); font-size: 12.5px; line-height: 1.65; color: #a69fba; max-width: 46em; }

.company { padding: 112px 0 0; }
.company-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px 72px; align-items: start; }
.company p:not(.eyebrow) { font-size: 21px; line-height: 1.6; }
.company p:not(.eyebrow) + p { margin-top: 18px; color: var(--ink-soft); }
.company a { color: var(--accent-text); font-weight: 700; }

.contact { padding: 112px 0; }
.contact-card { border-radius: 28px; background: var(--logo-navy); color: #fff; padding: 64px; display: grid; gap: 18px; justify-items: start; }
.contact-card .eyebrow { color: var(--accent-bright); margin: 0; line-height: 1.6; }
.contact-card p { color: #cfc8de; }
.email { font-size: clamp(16px, 5vw, 44px); font-weight: 750; letter-spacing: -0.02em; color: var(--accent-bright); text-decoration-thickness: 2px; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--logo-navy); color: #a8a2b6; font-size: 14px; padding: 56px 0 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid #1f3552; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-small { margin-top: 24px; display: grid; gap: 8px; font-size: 13px; line-height: 1.6; max-width: 62em; }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .feature-head, .split, .name-grid, .company-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; margin-top: 80px; }
  .points { grid-template-columns: 1fr 1fr; }
  .name-grid { gap: 48px; }
  .capstone-art { max-width: 300px; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; }
  .brand img { height: 56px; }
  .site-nav { gap: 16px; font-size: 14px; }
  .site-nav .wide-only { display: none; }
  .site-nav .pill { padding: 7px 14px; }
  .hero { min-height: 640px; align-items: flex-end; padding: 130px 0 56px; }
  .hero::after { background: linear-gradient(180deg, rgba(14,11,20,0.62) 0%, rgba(14,11,20,0.30) 24%, rgba(14,11,20,0.76) 54%, rgba(14,11,20,0.94) 100%); }
  .hero-short { min-height: 440px; padding-bottom: 44px; }
  .actions .button { flex: 1 1 100%; justify-content: center; }
  .feature, .others, .statement, .name, .contact { padding-top: 76px; padding-bottom: 76px; }
  .product-name { gap: 14px; font-size: 44px; }
  .showcase { margin-top: 44px; padding: 0; }
  .showcase > .browser { width: 100%; }
  .browser { border-radius: 10px; }
  .browser-bar { padding: 8px 12px; }
  .browser-bar i { width: 7px; height: 7px; }
  .browser-bar span { font-size: 10px; padding: 2px 14px; transform: translateX(-14px); }
  .phone { position: relative; width: 68%; max-width: 290px; margin: -36px auto 0; }
  .caption { text-align: center; }
  .points { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
  .plate { min-height: 170px; padding: 22px; }
  .lockup { gap: 12px; }
  .lockup img { width: 68px; }
  .lockup span { font-size: clamp(22px, 7.4vw, 30px); }
  .band { padding: 88px 0; }
  .band::after { background: rgba(14,11,20,0.70); }
  .company { padding-top: 76px; }
  .capstone-art { max-width: 240px; }
  .contact-card { padding: 36px 24px; border-radius: 20px; }
  .scripture .poem { padding-left: 1.2em; }
  .scripture .poem span { padding-left: 0.5em; text-indent: -0.5em; }
  .scripture .poem span + span { padding-left: 1.5em; }
}

@media (max-width: 480px) {
  .site-nav a:not(.pill) { display: none; }
}

@media (max-width: 350px) {
  .brand img { height: 48px; }
}
