/* ============================================
   PORTAWORK — umbrella brand landing page
   The parent of Ecommerce / Resume / Marketplace
   ============================================ */

:root {
  --navy: #15315A;
  --navy-soft: #1F3F6E;
  --navy-deep: #0D2342;
  --terra: #C8552E;
  --terra-soft: #D4633C;
  --cyan: #7BB8E0;
  --gold: #D4933A;

  --base: #FAFAF7;
  --raised: #FFFFFF;
  --sunken: #F0EFEA;
  --text: #1A1A1A;
  --mute: #5C5C57;
  --line: #E5E3DE;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--base);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(21, 49, 90, 0.012) 1px, transparent 1px),
    radial-gradient(rgba(200, 85, 46, 0.010) 1px, transparent 1px);
  background-size: 28px 28px, 64px 64px;
  background-position: 0 0, 14px 14px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: none; background: none; }

::selection { background: var(--terra); color: var(--base); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 2px; }


/* ============ HEADER ============ */

.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 22px 40px;
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand__symbol { width: 40px; height: 40px; object-fit: contain; }

.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.2s var(--ease);
}

.nav a:hover { color: var(--terra); }

.nav a.nav__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
}

.nav a.nav__live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2E7D5B;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 91, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(46, 125, 91, 0); }
}


/* ============ HERO: the dot archway ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero__arch {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(860px, 96vw);
  height: min(760px, 84vh);
  pointer-events: none;
}

.hero__arch svg { width: 100%; height: 100%; overflow: visible; }

/* dotted arch strokes: round dashes = pellets */
.hero__arch path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 0.1 26;
  stroke-dashoffset: 900;
  animation: dots-in 2.6s var(--ease) 0.3s forwards;
}

.hero__arch .arch-a { stroke: url(#archgrad); stroke-width: 13; }
.hero__arch .arch-b { stroke: var(--terra); stroke-width: 7; opacity: 0.5; stroke-dasharray: 0.1 34; animation-delay: 0.7s; }
.hero__arch .arch-c { stroke: var(--navy); stroke-width: 4;  opacity: 0.25; stroke-dasharray: 0.1 20; animation-delay: 1s; }

@keyframes dots-in { to { stroke-dashoffset: 0; } }

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 44px 30px;
  /* soft halo lifts the text off the arch dots without hiding them */
  background: radial-gradient(ellipse 62% 58% at center, rgba(250, 250, 247, 0.95) 45%, rgba(250, 250, 247, 0) 78%);
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

.hero__eyebrow::before, .hero__eyebrow::after {
  content: '';
  width: 26px; height: 1px;
  background: var(--terra);
  opacity: 0.55;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: var(--navy);
  opacity: 0;
  animation: rise 1s var(--ease) 0.8s forwards;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--terra);
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 50ch;
  opacity: 0;
  animation: rise 1s var(--ease) 1s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  opacity: 0;
  animation: rise 1s var(--ease) 1.2s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}

.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-soft); transform: translateY(-1px); }

.btn--ghost { color: var(--navy); border: 1px solid var(--navy); background: var(--base); }
.btn--ghost:hover { background: var(--sunken); }

.btn__arrow { transition: transform 0.15s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
  opacity: 0;
  animation: rise 1s var(--ease) 1.8s forwards;
}


/* ============ MANIFESTO ============ */

.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--base) 0%, var(--sunken) 100%);
  padding: 88px 32px;
  text-align: center;
}

.manifesto__quote {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2;
  color: var(--navy);
}

.manifesto__quote strong { font-style: normal; font-weight: 600; color: var(--terra); }


/* ============ PRODUCTS: the three doors ============ */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 32px;
}

.section__head {
  max-width: 720px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); opacity: 0.55; }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--navy);
}

.section__title em { font-style: italic; font-weight: 400; color: var(--terra); }

.section__lede { font-size: 17px; color: var(--mute); max-width: 56ch; }

.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 920px) { .doors { grid-template-columns: 1fr; } }

.door {
  position: relative;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.door--live:hover {
  transform: translateY(-4px);
  border-color: var(--terra);
  box-shadow: 0 16px 40px -20px rgba(21, 49, 90, 0.25);
}

.door__arch { width: 64px; height: 78px; }

.door__arch svg { width: 100%; height: 100%; overflow: visible; }

.door__arch path {
  fill: none;
  stroke: var(--terra);
  stroke-width: 2;
  stroke-linecap: round;
}

.door--soon .door__arch path { stroke: var(--navy); opacity: 0.4; stroke-dasharray: 3 7; }

.door__status {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.door__status--live { background: rgba(46, 125, 91, 0.1); color: #2E7D5B; border: 1px solid rgba(46, 125, 91, 0.35); }
.door__status--soon { background: var(--sunken); color: var(--mute); border: 1px solid var(--line); }

.door__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.door__name span { color: var(--terra); font-style: italic; font-weight: 400; }

.door__desc { font-size: 15px; line-height: 1.6; color: var(--mute); flex: 1; }

.door__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.door__cta:hover .btn__arrow { transform: translateX(4px); }

.door__soon-note {
  font-size: 13px;
  color: var(--mute);
  margin-top: 4px;
}


/* ============ VISION SPLIT ============ */

.vision { background: var(--navy); color: var(--base); position: relative; overflow: hidden; }

.vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(200, 85, 46, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(123, 184, 224, 0.10) 0%, transparent 45%);
  pointer-events: none;
}

.vision .section { position: relative; }

.vision .section__title { color: var(--base); }

.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

@media (max-width: 820px) { .vision__grid { grid-template-columns: 1fr; } }

.vision__col {
  border-top: 2px solid var(--terra);
  padding-top: 24px;
}

.vision__col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--base);
}

.vision__col p { font-size: 15.5px; line-height: 1.7; color: rgba(250, 250, 247, 0.78); max-width: 52ch; }

.vision__col ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vision__col li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: rgba(250, 250, 247, 0.85);
}

.vision__col li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 1.5px;
  background: var(--terra);
}


/* ============ NOTIFY ============ */

.notify { padding: 110px 32px; }

.notify__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.notify__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.notify__title em { font-style: italic; font-weight: 400; color: var(--terra); }

.notify__sub { font-size: 16px; color: var(--mute); max-width: 52ch; }

.notify__form {
  display: flex;
  gap: 10px;
  width: min(480px, 100%);
  margin-top: 10px;
}

@media (max-width: 520px) { .notify__form { flex-direction: column; } }

.notify__input {
  flex: 1;
  padding: 15px 18px;
  font-size: 15px;
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.notify__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21, 49, 90, 0.08); }

.notify__note { font-size: 12.5px; color: var(--mute); }


/* ============ FOOTER ============ */

.footer {
  border-top: 1px solid var(--line);
  background: var(--sunken);
  padding: 44px 32px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .brand__symbol { width: 30px; height: 30px; }
.footer .brand__word { font-size: 19px; }

.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--mute);
}

.footer__meta { font-size: 13px; color: var(--mute); }


/* ============ RESPONSIVE ============ */

@media (max-width: 720px) {
  .header { padding: 16px 20px; }
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .hero { padding: 110px 20px 70px; }
  .section { padding: 76px 20px; }
  .manifesto { padding: 64px 20px; }
  .notify { padding: 76px 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
