/* ==========================================================================
   LPumpa Designs — site stylesheet
   Design template established on the under-construction splash page.

   Palette + letterspacing are taken from the original LPumpa brand
   stylesheet (css/pumpa.css). Layout, scale and type treatment follow the
   reference site maradanika.com: white ground, wide margins, light weights,
   generously letterspaced uppercase labels.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* brand */
  --gold:        #cf9f51;
  --gold-deep:   #b4873c;
  --cream:       #fffeec;
  --cream-deep:  #e8e5d5;

  /* neutrals */
  --ink:         #222222;
  --body:        #444444;
  --muted:       #9f958a;
  --rule:        #e5e2da;
  --ground:      #ffffff;

  /* type */
  --font-sans:   "Montserrat", "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --track-label: 0.24em;   /* uppercase micro-labels */
  --track-word:  0.34em;   /* the wordmark */

  /* rhythm */
  --gutter:      clamp(1.5rem, 6vw, 6rem);
  --stack:       clamp(2rem, 5vw, 3.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Base ---------- */
body {
  min-height: 100svh;
  background: var(--ground);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 3rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
}

/* ---------- Decorative monogram watermark ---------- */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}
.watermark img {
  width: auto;
  /* Sized so the whole monogram reads — never cropped by the viewport. */
  height: min(74vh, 88vw);
  opacity: 0.06;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
}
.brand__mark {
  width: auto;
  height: clamp(46px, 6vw, 62px);
}
.brand__word {
  font-size: clamp(0.72rem, 1.5vw, 0.92rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-word);
  color: var(--ink);
  /* letterspacing adds trailing space; pull it back so it optically centers */
  margin-right: calc(var(--track-word) * -1);
  white-space: nowrap;
}

/* Nav styles are defined now so the finished site inherits them. */
.site-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.site-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 220ms ease, border-color 220ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* ---------- Splash body ---------- */
.splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 9vh, 7rem) 0;
}

.eyebrow {
  font-size: clamp(0.62rem, 1.3vw, 0.72rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--gold-deep);
  margin-right: calc(var(--track-label) * -1);
}

.splash__headline {
  margin-top: var(--stack);
  max-width: 20ch;
  font-size: clamp(1.75rem, 5.2vw, 3.65rem);
  font-weight: 200;
  line-height: 1.24;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-wrap: balance;
}
.splash__headline em {
  font-style: normal;
  color: var(--gold-deep);
}

.rule {
  width: clamp(48px, 8vw, 84px);
  margin: var(--stack) 0 0;
  border: 0;
  border-top: 1px solid var(--gold);
  opacity: 0.75;
}

/* ---------- Contact ---------- */
.contact { margin-top: var(--stack); }

.contact__label {
  font-size: clamp(0.62rem, 1.3vw, 0.72rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--muted);
  margin-right: calc(var(--track-label) * -1);
}

.contact__list {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

.contact__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.contact__key {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--muted);
  margin-right: calc(var(--track-label) * -1);
  transition: color 220ms ease;
}
.contact__val {
  font-size: clamp(0.95rem, 2vw, 1.18rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  transition: color 220ms ease, border-color 220ms ease;
  overflow-wrap: anywhere;
}
.contact__link:hover .contact__val,
.contact__link:focus-visible .contact__val { color: var(--gold-deep); border-bottom-color: var(--gold); }
.contact__link:hover .contact__key,
.contact__link:focus-visible .contact__key { color: var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.site-footer p {
  font-size: 0.66rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--muted);
  margin-right: calc(var(--track-label) * -1);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 6px;
}

/* ---------- Reveal-on-load ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.is-ready [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* No-JS: never leave content hidden. */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 34rem) {
  .site-header { justify-content: center; }
  .contact__list { gap: 2rem; }
}

/* ---------- Short viewports ----------
   The splash is meant to sit in a single screen. On laptop-height windows
   the stack tightens rather than pushing the footer below the fold. */
@media (max-height: 800px) {
  :root { --stack: clamp(1.1rem, 3vh, 2rem); }
  .splash { padding: clamp(1.25rem, 4vh, 3rem) 0; }
  .splash__headline { font-size: clamp(1.6rem, 4.1vw, 3rem); }
  .contact__list { margin-top: 1.25rem; }
}

@media (max-height: 560px) {
  :root { --stack: 0.9rem; }
  .brand__mark { height: 40px; }
  .splash { padding: 1rem 0; }
  .splash__headline { font-size: clamp(1.35rem, 3.4vw, 2rem); }
}

/* ---------- Motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .watermark img { transition: none !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .watermark { display: none; }
  body { color: #000; }
}
