/* Flock Directories — landing page styles */

:root {
  --ink: #202426;
  --muted: #6f716d;
  --paper: #f1efe8;
  --card: #faf8f2;
  --line: #20242629;
  --accent: #c6ad73;
  --green: #24292b;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

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

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  width: min(1240px, 100% - 72px);
  margin-inline: auto;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 52px;
  height: 52px;
}

.brand-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brand-badge img,
.brand-lockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup {
  display: inline-flex;
  width: 92px;
  height: 112px;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}

nav a {
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.58;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

.nav-cta span {
  color: var(--accent);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  min-height: 710px;
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px #c6ad7338;
}

h1 {
  max-width: 750px;
  font-size: clamp(62px, 6.2vw, 94px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.07em;
}

h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 585px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 22px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.button-primary {
  background: var(--accent);
}

.button-primary span {
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
}

/* Hero visual: a preview of what the company actually ships — a focused
   directory, with the rest of the network stacked behind it. */
.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
  height: 570px;
  padding-bottom: 96px;
}

.visual-panel {
  position: absolute;
  inset: 26px 8px;
  border-radius: 26px;
  background: var(--green);
}

.panel-orb {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background: var(--accent);
  mix-blend-mode: multiply;
}

.network-preview {
  position: relative;
  z-index: 3;
  width: min(340px, 80%);
}

.preview-stack {
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff2b;
  border-radius: 16px;
  background: #ffffff0d;
}

.stack-one {
  transform: translate(13px, 15px) rotate(1.5deg);
}

.stack-two {
  transform: translate(26px, 30px) rotate(3deg);
}

.preview-card {
  position: relative;
  z-index: 2;
  padding: 17px 18px 8px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 26px 55px #0000003d;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.preview-bar .brand-badge {
  width: 26px;
  height: 26px;
}

.preview-host {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.preview-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 7px 7px 7px 13px;
  border-radius: 9px;
  background: #2024260f;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.preview-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.preview-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px 2px;
}

.preview-list li + li {
  border-top: 1px solid var(--line);
}

.row-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.row-open .row-mark {
  border: 1px dashed #20242647;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 17px;
  font-style: normal;
}

.row-label strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.row-label em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.row-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.row-state.is-live {
  color: var(--ink);
}

.row-state.is-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px #20242626;
}

.visual-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  bottom: 52px;
  left: 40px;
  z-index: 3;
  color: #fff;
}

.visual-note::before {
  content: "";
  width: 22px;
  height: 2px;
  margin-bottom: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.visual-note strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.visual-note span {
  color: #ffffffbf;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

/* Approach */

.intro {
  padding: 110px 0 120px;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 50px;
  color: #789086;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.intro h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro-grid > div > p {
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.5;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.principles span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* Network */

.network {
  padding: 120px 0 128px;
  background: var(--green);
  color: #fff;
}

.network .section-kicker {
  color: var(--accent);
}

.network-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.network-heading h2,
.build-intro h2,
.cta-panel h2 {
  font-size: clamp(50px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.network-heading > p {
  max-width: 460px;
  margin-bottom: 6px;
  color: #ffffffa8;
  font-size: 16px;
  line-height: 1.7;
}

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

.directory-card {
  display: block;
  position: relative;
  min-height: 360px;
  padding: 22px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.25s, border-radius 0.25s;
}

/* Only cards that go somewhere react to the pointer. */
a.directory-card:hover {
  border-radius: 20px;
  transform: translateY(-6px);
}

.directory-card::after {
  content: "";
  position: absolute;
  top: -75px;
  right: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid #10251d2e;
  border-radius: 50%;
  box-shadow: 0 0 0 32px #ffffff17, 0 0 0 68px #ffffff12;
}

.directory-card.lime {
  background: #c9b06f;
}

.directory-card.forest {
  background: #dedbd1;
}

.directory-card.clay {
  background: #c99078;
}

.directory-card.blue {
  background: #a7babb;
}

.directory-card.sand {
  background: #d8c49d;
}

.directory-card.mint {
  background: #a6b7aa;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-status.is-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px #20242626;
}

.card-mark {
  display: grid;
  place-items: center;
  position: absolute;
  top: 88px;
  left: 50%;
  width: 96px;
  height: 96px;
  border-radius: 50% 50% 46% 54%;
  background: var(--green);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 30px;
  font-style: italic;
  box-shadow: 0 16px 35px #10251d2e;
  transform: translateX(-50%) rotate(-5deg);
}

.forest .card-mark,
.blue .card-mark,
.sand .card-mark {
  background: #fff;
  color: var(--green);
}

.card-copy {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 24px;
  left: 22px;
}

.card-copy p {
  margin-bottom: 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-copy h3 {
  max-width: 270px;
  font-size: 27px;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.card-domain {
  display: block;
  max-width: 270px;
  margin-top: 11px;
  color: #20242699;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Open slot — an invitation, not a fake portfolio entry. */
.directory-card.open-slot {
  border: 1px dashed #ffffff3d;
  background: #ffffff0a;
  color: #fff;
}

.directory-card.open-slot::after {
  display: none;
}

.open-slot .card-mark {
  background: #ffffff14;
  color: #ffffff8f;
  border: 1px dashed #ffffff33;
  border-radius: 50%;
  font-family: inherit;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  box-shadow: none;
}

.open-slot .card-copy p,
.open-slot .card-topline {
  color: #ffffff96;
}

.open-slot .card-domain {
  color: var(--accent);
}

a.open-slot:hover {
  border-color: #ffffff70;
  background: #ffffff14;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
  font-size: 20px;
}

.portfolio-note {
  margin-top: 24px;
  color: #ffffff73;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Build */

.build-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  padding: 125px 0;
}

.build-intro .section-kicker {
  color: #789086;
}

.build-intro h2 {
  max-width: 520px;
}

.build-list article {
  display: grid;
  grid-template-columns: 48px 1fr 1.1fr;
  align-items: baseline;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.build-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.build-list span {
  color: #829087;
  font-size: 10px;
}

.build-list h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
}

.build-list p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Contact */

.cta-wrap {
  padding-bottom: 110px;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 535px;
  padding: 60px 20px;
  overflow: hidden;
  background: #c9b27a;
  text-align: center;
}

.cta-panel h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
}

.cta-panel .section-kicker {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.cta-panel .button {
  position: relative;
  z-index: 2;
  background: var(--green);
  color: #fff;
}

.cta-logo {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  margin-bottom: 25px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 16px 34px #20242624;
}

.cta-logo .brand-badge {
  width: 66px;
  height: 66px;
}

.cta-orbit {
  position: absolute;
  border: 1px solid #10251d2b;
  border-radius: 50%;
}

.orbit-a {
  top: -290px;
  left: -250px;
  width: 650px;
  height: 650px;
}

.orbit-b {
  right: -250px;
  bottom: -330px;
  width: 580px;
  height: 580px;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-footer > p {
  text-align: center;
}

.footer-owner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.footer-owner:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-lockup {
  align-self: center;
}

/* Responsive */

@media (width <= 850px) {
  .shell {
    width: min(100% - 36px, 700px);
  }

  .site-header {
    height: 78px;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 72px 0 40px;
  }

  .hero-visual {
    height: 520px;
    padding-bottom: 92px;
  }

  .network-preview {
    width: min(340px, 70%);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .network-heading,
  .build-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Keep the open slot from stranding itself on its own row. */
  .directory-card.open-slot {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .open-slot .card-mark {
    top: 60px;
    left: auto;
    right: 22px;
    width: 76px;
    height: 76px;
    font-size: 26px;
    transform: rotate(-5deg);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .site-footer > p {
    text-align: left;
  }

  .site-footer > div {
    justify-content: flex-start;
  }
}

@media (width <= 520px) {
  .brand {
    font-size: 15px;
  }

  .nav-cta {
    padding: 11px 14px;
  }

  .nav-cta span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 57px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    height: 470px;
    padding-bottom: 88px;
  }

  .visual-panel {
    inset: 18px 0;
    border-radius: 20px;
  }

  .panel-orb {
    width: 124px;
    height: 124px;
  }

  .network-preview {
    width: min(340px, 84%);
  }

  .stack-two {
    display: none;
  }

  .visual-note {
    bottom: 30px;
    left: 24px;
  }

  .intro {
    padding: 80px 0;
  }

  .network {
    padding: 82px 0;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-card {
    min-height: 330px;
  }

  .build-section {
    padding: 85px 0;
  }

  .build-list article {
    grid-template-columns: 32px 1fr;
    gap: 14px;
  }

  .build-list p {
    grid-column: 2;
  }

  .cta-wrap {
    width: 100%;
    padding-bottom: 70px;
  }

  .cta-panel {
    min-height: 500px;
  }

  .site-footer {
    width: min(100% - 36px, 700px);
  }
}

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

  .directory-card {
    transition: none;
  }
}
