/* Norie Creative Studio — homepage */

:root {
  --bg: #F6F6F6;
  --bg-warm: #DCD8D1;
  --bg-cool: #EFF2F3;
  --accent-mist: #939DAC;
  --ink: #323232;
  --ink-warm: #5B5755;
  --accent-slate: #58687F;
  --stone: #827D79;
  --taupe: #A19A96;
  --white: #FFFFFF;

  --font-display: "ivyora-display", ui-serif, Georgia, serif;
  --font-body: "helvetica-neue-lt-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-label: "cofo-sans-mono-variable", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1120px;
  --narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.eyebrow {
  margin: 0 0 1.75rem;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.eyebrow.light { color: var(--accent-mist); }

.display {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.display em,
.hero-title em,
.proof-title em,
.top-bar-em,
.service-num {
  font-style: italic;
  font-weight: 300;
}

.display.light { color: var(--bg); }

.prose p {
  margin: 0 0 1.5rem;
  color: var(--ink-warm);
  font-size: 1.05rem;
}

.prose p:last-child { margin-bottom: 0; }

.text-link {
  display: inline-block;
  margin-top: 2.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link:hover {
  color: var(--accent-slate);
  border-color: var(--accent-slate);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-light {
  background: var(--bg);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
}

.btn-ghost {
  border: 1px solid rgba(246, 246, 246, 0.55);
  color: var(--bg);
}

.btn-ghost:hover {
  border-color: var(--bg);
  background: rgba(246, 246, 246, 0.08);
}

.btn-ghost-light {
  border: 1px solid rgba(246, 246, 246, 0.4);
  color: var(--bg);
}

.btn-ghost-light:hover {
  border-color: var(--bg);
  background: rgba(246, 246, 246, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.75rem;
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s var(--ease);
}

.top-bar:hover { background: var(--accent-slate); }

.top-bar-em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  display: inline-block;
  transform: translateY(-0.12em);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(50, 50, 50, 0.45) 0%, rgba(50, 50, 50, 0.25) 35%, rgba(50, 50, 50, 0.72) 100%),
    linear-gradient(90deg, rgba(50, 50, 50, 0.35) 0%, transparent 55%);
}

.hero-nav,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--space) 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: none;
  gap: 1.75rem;
  align-items: center;
  padding-top: 0.65rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.85;
  transition: opacity 0.25s var(--ease);
}

.nav-links a:hover { opacity: 1; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: var(--bg);
  margin-left: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.nav-open .nav-links {
  display: flex;
  position: absolute;
  top: 4.5rem;
  right: var(--space);
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(50, 50, 50, 0.92);
  backdrop-filter: blur(8px);
}

.hero-content {
  margin-top: auto;
  padding: 4rem var(--space) 4.5rem;
  max-width: 820px;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: heroIn 1s var(--ease) 0.2s forwards;
}

.hero-brand-mark {
  margin: 0 0 1.75rem;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--white);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 12vw, 8rem) 0;
}

.welcome {
  background: var(--bg);
}

.proof {
  background: var(--bg-warm);
}

.proof-title {
  max-width: 16ch;
}

.proof-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.proof-grid p {
  margin: 0;
  color: var(--ink-warm);
  font-size: 1.08rem;
  max-width: 36rem;
}

.services {
  background: var(--bg-cool);
}

.section-head {
  margin-bottom: 3.5rem;
  max-width: 48ch;
}

.service-list {
  border-top: 1px solid rgba(50, 50, 50, 0.15);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(50, 50, 50, 0.15);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-slate);
  padding-top: 0.2rem;
}

.service-body h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.15;
}

.service-body p {
  margin: 0;
  color: var(--ink-warm);
  max-width: 38rem;
}

.service-meta {
  margin: 0;
  grid-column: 2;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.service-cta {
  grid-column: 2;
  justify-self: start;
  margin-top: 0.25rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-slate);
  border-bottom: 1px solid var(--accent-slate);
  padding-bottom: 0.1rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-visual {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-warm);
  border-radius: 8px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.method li {
  padding-left: 1rem;
  border-left: 1px solid var(--accent-mist);
  color: var(--ink-warm);
  font-size: 0.98rem;
}

.method strong {
  color: var(--ink);
  font-weight: 600;
}

.cta-band {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}

.cta-lead {
  margin: 0 auto 0.25rem;
  max-width: 32rem;
  color: rgba(246, 246, 246, 0.82);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(246, 246, 246, 0.7);
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(246, 246, 246, 0.1);
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bg);
}

.footer-legal {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(246, 246, 246, 0.65);
}

.footer-note,
.footer-copy {
  margin: 0;
}

.footer-mail {
  display: inline-block;
  margin-top: 1rem;
  color: var(--bg);
  font-size: 0.9rem;
  transition: opacity 0.25s var(--ease);
}

.footer-mail:hover { opacity: 0.75; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 400;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover { color: var(--bg); }

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Desktop */
@media (min-width: 800px) {
  .nav-toggle { display: none; }

  .brand-logo {
    height: 36px;
  }

  .nav-links {
    display: flex;
    padding-top: 0;
  }

  .section-head {
    max-width: min(42rem, 100%);
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .service-row {
    grid-template-columns: 3rem 1fr auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .service-meta,
  .service-cta {
    grid-column: auto;
    margin-top: 0;
  }

  .service-meta {
    text-align: right;
    min-width: 8rem;
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: end;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    padding-left: max(var(--space), calc((100vw - var(--max)) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-content {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover { transform: none; }
}
