/* ============================================================
   GFMCloud hub styles
   Vibe: Ethereal Glass, warmed. Charcoal base, single brass accent.
   Layout: editorial split hero into an asymmetric bento.
   Committed dark. No build step: this file is the source.
   ============================================================ */

:root {
  /* Base: warm charcoal, never pure black */
  --ink-900: #0b0b0c;
  --ink-850: #111113;
  --ink-800: #17171a;
  --ink-700: #1f1f23;
  --line:    rgba(255, 255, 255, 0.08);
  --line-2:  rgba(255, 255, 255, 0.14);

  /* Type */
  --fg:      #f4f2ee;
  --fg-mid:  rgba(244, 242, 238, 0.66);
  /* 0.55 is the floor that keeps the small mono labels above 4.5:1 on --ink-900 */
  --fg-dim:  rgba(244, 242, 238, 0.55);

  /* Single accent: brass */
  --brass:      #d9a441;
  --brass-soft: rgba(217, 164, 65, 0.14);
  --brass-line: rgba(217, 164, 65, 0.32);

  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.625rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);

  --shell: min(1240px, 100% - 3rem);

  --font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

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

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--fg);
  color: var(--ink-900);
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus { left: 1rem; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Atmosphere ──────────────────────────────────────────────── */

/* Fixed, pointer-events-none, never inside a scrolling container. */
.aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58rem 40rem at 78% -8%,  rgba(217, 164, 65, 0.10), transparent 62%),
    radial-gradient(46rem 34rem at 4% 22%,   rgba(96, 128, 116, 0.09), transparent 60%),
    radial-gradient(60rem 48rem at 50% 108%, rgba(217, 164, 65, 0.05), transparent 66%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer, .island { position: relative; z-index: 1; }

/* ── Fluid island nav ────────────────────────────────────────── */

.island {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1.25rem 1.5rem 0;
  display: flex;
  justify-content: center;
}

.island__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  max-width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}

.island__mark { display: flex; align-items: center; gap: 0.6rem; }

.island__glyph {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.5rem;
  background: var(--brass);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.8rem;
}

.island__word {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.island__links {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--fg-mid);
}
.island__links a { transition: color 0.3s var(--ease); }
.island__links a:hover { color: var(--fg); }

.island__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.island__cta:hover { background: rgba(255, 255, 255, 0.1); }
.island__cta:active { transform: scale(0.98); }

/* Button-in-button trailing icon */
.island__cta-icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink-900);
  transition: transform 0.35s var(--ease);
}
.island__cta-icon svg { width: 0.85rem; height: 0.85rem; }
.island__cta:hover .island__cta-icon { transform: translate(2px, -2px) scale(1.06); }

@media (max-width: 640px) {
  .island__links { display: none; }
  .island__inner { width: 100%; justify-content: space-between; }
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  width: var(--shell);
  margin: 0 auto;
  min-height: min(88dvh, 46rem);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 5rem;
  padding: 7rem 0 8rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--brass-line);
  background: var(--brass-soft);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brass);
}

.hero__name {
  margin: 0;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero__name-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg-dim);
}

.hero__blurb {
  margin: 2.25rem 0 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  color: var(--fg-mid);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  background: var(--fg);
  color: var(--ink-900);
  font-weight: 600;
}
.btn--primary:hover { background: #fff; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.1);
  transition: transform 0.4s var(--ease);
}
.btn__icon svg { width: 0.95rem; height: 0.95rem; }
.btn--primary:hover .btn__icon { transform: translateY(2px) scale(1.06); }

.btn--ghost {
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--line-2);
  color: var(--fg-mid);
  font-family: var(--mono);
  font-size: 0.875rem;
}
.btn--ghost:hover { color: var(--fg); border-color: var(--fg-dim); }

/* Ledger, Double-Bezel: outer shell, inner core */
.hero__ledger {
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.ledger__label,
.ledger__foot {
  margin: 0;
  padding: 0.85rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
}
.ledger__foot {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.6875rem;
  line-height: 1.5;
  padding-top: 0.75rem;
}

.ledger {
  margin: 0;
  padding: 0.5rem 1.25rem;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  background: var(--ink-850);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.ledger__row:last-child { border-bottom: 0; }

.ledger__row dt {
  font-size: 0.875rem;
  color: var(--fg-mid);
}
.ledger__row dd { margin: 0; }

.num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--brass);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 4rem 0 5rem;
    min-height: 0;
  }
}

/* ── Sections ────────────────────────────────────────────────── */

.section {
  width: var(--shell);
  margin: 0 auto;
  padding: 6rem 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.section__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  font-weight: 600;
}

.section__note {
  margin: 0;
  max-width: 42ch;
  font-size: 0.9375rem;
  color: var(--fg-dim);
}

/* ── Bento ───────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.card { grid-column: span 6; }
.card--feature { grid-column: span 12; }

/* Double-Bezel: outer tray, inner plate */
.card__link {
  display: grid;
  height: 100%;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.card__link:hover {
  transform: translateY(-6px);
  border-color: var(--brass-line);
  background: rgba(217, 164, 65, 0.05);
}
.card__link:active { transform: translateY(-2px) scale(0.995); }

.card--feature .card__link {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0.5rem;
}

/* Screenshot in minimal browser chrome */
.shot {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  background: var(--ink-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.shot__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.shot__dots { display: flex; gap: 0.35rem; }
.shot__dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.shot__url {
  flex: 1;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--fg-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot__frame { overflow: hidden; }

.shot__frame img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out);
}
.card__link:hover .shot__frame img { transform: scale(1.03); }

/* Feature card: crop the shot to fill its taller column */
.card--feature .shot { display: flex; flex-direction: column; }
.card--feature .shot__frame { flex: 1; min-height: 0; }
.card--feature .shot__frame img { height: 100%; object-fit: cover; object-position: top left; }

.card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem 1.5rem;
}
.card--feature .card__body { justify-content: center; padding: 2.5rem 2rem; }

.card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brass);
  box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.5);
  animation: pulse 2.8s var(--ease) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(217, 164, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0); }
}

.card__title {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}
.card--feature .card__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.card__desc {
  margin: 0;
  max-width: 46ch;
  font-size: 0.9375rem;
  color: var(--fg-mid);
}
.card--feature .card__desc { font-size: 1.0625rem; }

.card__go {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brass);
}

.card__arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.card__link:hover .card__arrow { transform: translateX(5px); }

@media (max-width: 900px) {
  .bento { gap: 1rem; }
  .card, .card--feature { grid-column: span 12; }
  .card--feature .card__link { grid-template-columns: 1fr; }
  .card--feature .shot__frame img { height: auto; object-fit: contain; }
  .card--feature .card__body { padding: 1.75rem 1.5rem 1.5rem; }
}

/* ── About ───────────────────────────────────────────────────── */

.section--about { padding-bottom: 8rem; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

.about__lead {
  margin: 2rem 0 0;
  max-width: 50ch;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--fg);
}

/* 60ch sits under the 65ch readability ceiling while still filling the column,
   which 46ch left visibly short of the gutter. */
.about__body {
  margin: 1.25rem 0 0;
  max-width: 60ch;
  font-size: 0.9375rem;
  color: var(--fg-mid);
}

/* Resume slot: real, reserved, honest about its state */
.slot {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}

.slot__tag {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
}

.slot__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--fg-mid);
}

.slot__state {
  margin: 1.25rem 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--brass);
}

.contact { margin-top: 1.5rem; }

.contact__label {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.35rem;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.contact__link:hover { color: var(--brass); border-color: var(--brass-line); }
.contact__arrow { transition: transform 0.4s var(--ease); }
.contact__link:hover .contact__arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .section { padding: 4rem 0; }
  .section--about { padding-bottom: 5rem; }
}

/* ── Footer ──────────────────────────────────────────────────── */

.footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer__brand {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--fg-dim);
}

/* ── Scroll reveal ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .pulse { animation: none; }
  .card__link:hover { transform: none; }
  .shot__frame img, .card__arrow, .btn__icon, .island__cta-icon { transition: none; }
}
