/* Velundari — corporate site.
   Layout: a single quiet column on near-black, each section opening with a
   thin crimson rule and a small-caps eyebrow. Deliberately single-theme: the
   brand direction is a dark one, so the page commits to it and sets every
   colour explicitly rather than inheriting a viewer's light mode. */

:root {
  /* Imperial Crimson, and the two greys the brand sits on. The neutrals are
     biased very slightly cool so they read as chosen rather than as #333. */
  --crimson:        #9e1b32;
  --crimson-bright: #c2203e;
  --crimson-dim:    rgba(158, 27, 50, 0.22);

  --ink:       #0a0a0b;
  --charcoal:  #141518;
  --charcoal-2:#1d1f24;
  --line:      rgba(247, 247, 245, 0.10);

  --white:     #f7f7f5;
  --soft:      #b6b7bd;
  --muted:     #8b8d94;

  --display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body:    'Source Sans 3', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --quote:   'Source Serif 4', Georgia, 'Times New Roman', serif;

  --measure: 34rem;
  --wide:    68rem;

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* The band above a sticky header on a phone, so nothing scrolls into view
   underneath the system bar. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--ink);
}

img, svg { max-width: 100%; }

a { color: var(--white); text-decoration-color: var(--crimson); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--crimson-bright); }
:focus-visible { outline: 2px solid var(--crimson-bright); outline-offset: 3px; }

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------------------------------------------------------------- identity */
.mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.mark svg { display: block; width: 26px; height: 26px; }
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--white);
}

/* ------------------------------------------------------------------ header */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.site-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: none;
}
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.4rem;
  background: var(--crimson);
}

/* ------------------------------------------------------------------- hero */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: clamp(3.5rem, 11vw, 8rem); }

.eyebrow {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--crimson);
  margin-bottom: 1.1rem;
}

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 6.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
  max-width: 24ch;
}
h1 em { font-style: normal; color: var(--crimson-bright); }

.identity-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 2.6rem 0 0.9rem;
}
.promise {
  font-family: var(--quote);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--white);
  margin: 0;
  max-width: var(--measure);
}

/* ---------------------------------------------------------------- sections */
section { border-bottom: 1px solid var(--line); }
section .wrap { padding-block: clamp(3rem, 8vw, 5.5rem); }
section:last-of-type { border-bottom: 0; }

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 1.1rem;
  max-width: 28ch;
}
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.005em;
  margin: 0 0 0.45rem;
}
p { margin: 0 0 1.1rem; max-width: var(--measure); color: var(--soft); }
p.lead { color: var(--white); font-size: 1.15rem; }
p:last-child { margin-bottom: 0; }

.alt { background: var(--charcoal); }

/* A heading column beside its prose, so a wide screen reads as composed
   rather than as a narrow column with an empty half. Collapses to one column
   below the breakpoint, where the heading simply sits above the text. */
.lede { display: grid; gap: 1.1rem; }
@media (min-width: 58rem) {
  .lede {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    column-gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }
  /* Row 1 only. Spanning rows would force the grid to create that many,
     stretching the section with empty space. The paragraphs auto-place
     down column 2 from row 1. */
  .lede > h2 { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  /* The grid gap already separates them; keeping the paragraph margin
     too would double the space between every pair. */
  .lede > p, .lede > .note, .lede > figure { grid-column: 2; margin-bottom: 0; }
}

/* --------------------------------------------------------------- the grid */
.grid { display: grid; gap: 1px; background: var(--line); margin-top: 2.5rem; }
@media (min-width: 46rem) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem) { .grid.two { grid-template-columns: repeat(2, 1fr); } }
.cell { background: var(--ink); padding: 1.9rem 1.6rem; min-width: 0; }
.alt .cell { background: var(--charcoal); }
.cell p { margin-bottom: 0; font-size: 0.98rem; }
.cell .n {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--crimson-bright);
  display: block;
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------- the figure */
/* An original drawing rather than stock photography: a counter, a queue of
   two, and the day's takings. It carries the palette and claims nothing about
   the product that is not true. */
.figure {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  background: var(--charcoal-2);
  padding: clamp(1.2rem, 4vw, 2.4rem);
}
.figure svg { width: 100%; height: auto; display: block; }
.figure figcaption {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: var(--measure);
}

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
label {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}
input, textarea {
  font: inherit;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  width: 100%;
  min-width: 0;
}
input:focus, textarea:focus { border-color: var(--crimson); outline: none; }
textarea { min-height: 7.5rem; resize: vertical; }

button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--crimson);
  border: 1px solid var(--crimson);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}
button:hover { background: var(--crimson-bright); border-color: var(--crimson-bright); }

dl.detail { margin: 0; display: grid; gap: 1.3rem; }
dl.detail dt {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
dl.detail dd { margin: 0; color: var(--white); }
dl.detail dd .sel { user-select: all; }

.note {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--crimson);
  background: var(--crimson-dim);
  font-size: 0.9rem;
  color: var(--white);
}
.note p { color: inherit; max-width: none; }

/* The contact address is the most important thing on its page, so it is set
   as the page's one large link rather than as another line of body text. */
a.big-link {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration-thickness: 2px;
  word-break: break-word;
}

.site-foot p.legal { color: var(--soft); }

/* ----------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid var(--line); background: var(--charcoal); }
.site-foot .wrap { padding-block: 2.5rem; display: grid; gap: 1.4rem; }
.site-foot p { font-size: 0.85rem; color: var(--muted); margin: 0; max-width: none; }
.foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot-links a { font-size: 0.85rem; color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
