:root {
  --bg-deep: #08211c;
  --line: rgba(232, 224, 205, 0.14);
  --gold: #d6b892;
  --gold-soft: rgba(214, 184, 146, 0.65);
  --taupe: #ada191;
  --ink: #f2ede1;
  --ink-dim: rgba(242, 237, 225, 0.62);
  --ink-faint: rgba(242, 237, 225, 0.38);
  --script: "Parisienne", "Snell Roundhand", cursive;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

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

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}

.rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: none;
}

/* ---------- Background texture ---------- */

.bg-motif {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background: url("images/logo.svg") no-repeat right -2vw top 52vh;
  background-size: 44vw auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw 10vh;
}

.hero__mark {
  display: block;
  width: 62px;
  height: auto;
  margin-bottom: 1.6rem;
  opacity: 0.92;
  animation: mark-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__word {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.2rem, 7.5vw, 4.6rem);
  letter-spacing: 0.3em;
  /* letter-spacing adds a trailing gap, which throws off optical centring */
  text-indent: 0.3em;
  line-height: 1;
  color: var(--gold);
  animation: fade-up 1.1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__by {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--taupe);
  animation: fade-up 1.1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__divider {
  width: 56px;
  height: 1px;
  background: var(--gold-soft);
  margin: 1.9rem auto;
  animation: widen 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__tag {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  animation: fade-up 1.1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__scroll {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  animation: fade-up 1.1s 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold-soft), transparent);
  animation: pulse-line 2.2s ease-in-out infinite;
}

@keyframes mark-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 0.92; transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes widen {
  from { width: 0; opacity: 0; }
  to { width: 56px; opacity: 1; }
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Section shell ---------- */

.section {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 7.5rem 6vw;
}

.section__head {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section__head .eyebrow {
  display: block;
  margin-bottom: 0.9rem;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

.about__frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 10px;
}

.about__frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.94) contrast(1.02);
}

.about__eyebrow {
  margin-bottom: 1.4rem;
}

.about__body p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-dim);
  max-width: 46ch;
  margin-bottom: 1.3rem;
}

.about__body p:last-of-type {
  margin-bottom: 2.1rem;
}

.about__sig {
  font-family: var(--script);
  font-size: 3rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.about__role {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Portfolio / launching soon ---------- */

.portfolio {
  text-align: center;
}

/* no grid follows the copy any more, so the head needs no trailing gap */
.portfolio .section__head {
  margin-bottom: 0;
}

.portfolio__title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  margin-bottom: 1.8rem;
}

.portfolio__copy {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--taupe);
  line-height: 1.8;
  font-size: 1rem;
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  transition: color 0.25s ease;
}

.contact__link:hover,
.contact__link:focus-visible {
  color: var(--gold);
}

.contact__link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 3.2rem 6vw;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer__mark {
  display: block;
  width: 30px;
  height: auto;
  opacity: 0.7;
  margin: 0 auto 1rem;
}

.footer__copy {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .about__body p {
    margin-left: auto;
    margin-right: auto;
  }

  .about__eyebrow {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 5rem 7vw;
  }

  .section__head {
    margin-bottom: 3rem;
  }

  .hero__word {
    letter-spacing: 0.1em;
  }

  .contact__links {
    flex-direction: column;
    gap: 1.2rem;
  }
}
