/* ═══════════════════════════════════════════
   unimoments — shared styles
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  /* Brand orange — from unimoments logo */
  --orange:       #C85E14;
  --orange-dark:  #9A420B;
  --orange-deep:  #7C3410;
  --orange-light: #FEF0E6;
  --orange-mid:   #F97316;
  --orange-glow:  #FFB071;
  /* Neutrals */
  --ink:    #1C1917;
  --ink-2:  #44403C;
  --ink-3:  #78716C;
  --ink-4:  #A8A29E;
  --line:   #E7E5E4;
  --line-2: #F5F5F4;
  --cream:  #FAF8F5;
  --white:  #FFFFFF;
  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;
  /* Layout */
  --gx: clamp(1.25rem, 5vw, 4.5rem);
  --nav-h: 68px;
  --t: 200ms ease;
  --t-slow: 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--orange); color: #fff; }

.skip { position: absolute; left: -9999px; top: 0; padding: .75rem 1.5rem; background: var(--orange); color: #fff; font-weight: 600; z-index: 999; }
.skip:focus { left: 0; }

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 1rem; left: 1rem; right: 1rem;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.4rem;
  border-radius: 16px;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 6px 32px rgba(28, 25, 23, 0.09);
}
.nav-logo-img { height: 40px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); transition: color var(--t); position: relative; padding-bottom: 2px;
}
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform var(--t); transform-origin: left; border-radius: 2px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: .75rem; }
.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.3rem; background: var(--orange); color: #fff;
  font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  border-radius: 10px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200, 94, 20, .35); }

.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; top: calc(var(--nav-h) + 1.6rem); left: 1rem; right: 1rem;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 64px rgba(28, 25, 23, .16);
  padding: .75rem;
  z-index: 99;
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 1.1rem; border-radius: 10px;
  font-size: .95rem; font-weight: 600; color: var(--ink-2);
  transition: background var(--t), color var(--t);
}
.mobile-menu a:hover { background: var(--orange-light); color: var(--orange-dark); }
.mobile-menu a svg { width: 14px; height: 14px; color: var(--ink-4); }
.mobile-menu .mm-cta {
  margin-top: .5rem; justify-content: center; gap: .5rem;
  background: var(--orange); color: #fff;
  font-size: .8rem; letter-spacing: .07em; text-transform: uppercase;
}
.mobile-menu .mm-cta:hover { background: var(--orange-dark); color: #fff; }
.mobile-menu .mm-cta svg { color: #fff; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav .nav-cta { display: none; }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 2rem; border-radius: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  transition: background var(--t), transform var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
}
.btn svg { width: 14px; height: 14px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn-fill { background: var(--orange); color: #fff; }
.btn-fill:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(200, 94, 20, .3); }
.btn-outline { background: transparent; color: var(--ink-2); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink-3); color: var(--ink); }

/* ═══ SECTION BASICS ═══ */
.section { padding: clamp(4rem, 8vw, 6.5rem) var(--gx); }

.sec-label {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.1rem;
}
.sec-label::before { content: ''; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.sec-label.centered::before { display: none; }

.sec-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 1rem;
  text-wrap: balance;
}
.sec-heading em { font-style: italic; color: var(--orange); }
.sec-sub { font-size: 1.05rem; color: var(--ink-3); line-height: 1.75; max-width: 54ch; text-wrap: pretty; }

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 580ms cubic-bezier(.4, 0, .2, 1), transform 580ms cubic-bezier(.4, 0, .2, 1); }
.reveal.on { opacity: 1; transform: none; }
.d1 { transition-delay: 100ms; } .d2 { transition-delay: 220ms; } .d3 { transition-delay: 340ms; } .d4 { transition-delay: 460ms; }

/* ═══ FOOTER ═══ */
.footer { background: #0C0A09; padding: 3.5rem var(--gx) 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
  padding-bottom: 2.5rem; border-bottom: 1px solid #292524; margin-bottom: 1.5rem;
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .87rem; line-height: 1.7; color: #78716C; max-width: 300px; }
.footer-links { display: flex; gap: clamp(2rem, 5vw, 4.5rem); flex-wrap: wrap; }
.footer-col h4 { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #57534E; margin-bottom: .9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: .87rem; color: #A8A29E; transition: color var(--t); }
.footer-col ul a:hover { color: #FAFAF9; }
.footer-btm { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .76rem; color: #57534E; }
.footer-social { display: flex; gap: .6rem; }
.soc-btn { width: 34px; height: 34px; border-radius: 9px; background: #1C1917; border: 1px solid #292524; display: flex; align-items: center; justify-content: center; color: #78716C; transition: background var(--t), color var(--t); }
.soc-btn:hover { background: #292524; color: #E7E5E4; }
.soc-btn svg { width: 15px; height: 15px; }

/* Orange emphasis in headings: keep the colour, drop the italic */
h1 em, h2 em, h3 em, .result-title em, .page-title em { font-style: normal !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
