/* Aussie AI Dude — Gemini 4 Argon Light Workbench Variant */
:root {
  color-scheme: light;
  --paper: #FAF6EE;
  --paper-warm: #F2ECE1;
  --card: #FFFFFF;
  --ink: #14202E;
  --ink-2: #394656;
  --ink-3: #566373;
  --gum: #1F6B52;
  --gum-dark: #164F3C;
  --gum-soft: #E1EFE9;
  --ochre: #9A4A12;
  --ochre-bright: #E3892B;
  --wattle: #FFD84A;
  --sky: #0369A1;
  --danger: #B42318;
  --line: rgba(20, 32, 46, 0.15);
  --line-strong: #14202E;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(20, 32, 46, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--gum);
  border-bottom: 1.5px solid var(--line-strong);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.4rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 230px; height: auto; }
.nav-wrap { margin-left: auto; }
.nav { display: flex; align-items: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center;
  padding: .45rem .95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: .92rem; font-weight: 600; text-decoration: none;
  transition: transform .14s, box-shadow .14s, background .14s;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: var(--gum-soft);
  box-shadow: 2px 2px 0 var(--line-strong);
  transform: translate(-1px, -1px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; padding: .65rem 1.25rem;
  border: 1.5px solid var(--line-strong); border-radius: 8px;
  font: 700 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .14s, box-shadow .14s, background .14s;
}
.btn-ink {
  background: var(--gum); color: #FFFFFF; border-color: var(--line-strong);
  box-shadow: 3px 3px 0 var(--line-strong);
}
.btn-ink:hover {
  background: var(--gum-dark); color: #FFFFFF;
  box-shadow: 4px 4px 0 var(--ochre-bright);
  transform: translate(-1px, -1px);
}
.btn-ink:active {
  box-shadow: 1px 1px 0 var(--line-strong);
  transform: translate(2px, 2px);
}
.btn:disabled {
  cursor: default; transform: none;
  background: var(--gum); color: #FFFFFF;
  box-shadow: none;
}

/* Hero & Newsletter Dispatch */
.hero {
  padding: 3.25rem 0 3.5rem;
  border-bottom: 1.5px solid var(--line-strong);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem; align-items: center;
}
.hero-grid > * { min-width: 0; }
.index-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .7rem;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--card); color: var(--gum);
  box-shadow: 2px 2px 0 var(--gum-soft);
}
.index-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ochre-bright); border: 1px solid var(--line-strong);
}
.hero h1 {
  margin: 1rem 0 1.1rem;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.35rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.lede {
  color: var(--ink-2);
  font-size: 1.12rem;
  max-width: 37rem;
}
.hero-ledger {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin: 1.4rem 0 0; padding: 0; list-style: none;
}
.hero-ledger li {
  padding: .32rem .7rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: .84rem; font-weight: 600;
}

/* Dispatch Signup Card */
.signup-card {
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--line-strong);
}
.signup-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.5rem;
  background: var(--gum-soft);
  border-bottom: 1.5px solid var(--line-strong);
  color: var(--gum);
}
.signup-dots { display: inline-flex; gap: 5px; }
.signup-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--line-strong);
}
.signup-dots i:first-child { background: var(--ochre-bright); }
.signup-dots i:nth-child(2) { background: var(--wattle); }
.signup-body { padding: 1.65rem 1.75rem 1.6rem; background: var(--card); }
.signup-card h2 {
  font-family: var(--serif); font-size: 1.9rem;
  margin: 0 0 .45rem;
}
.signup-body > p { color: var(--ink-2); font-size: .98rem; }
.beehiiv-embed { display: block; width: 100%; border: 0; margin-top: 1rem; }
.signup-card form { margin-top: 1.15rem; }
.form-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; }
.form-row { display: flex; gap: .6rem; }
.form-row input {
  flex: 1; min-width: 0; min-height: 48px; padding: .7rem .9rem;
  border: 1.5px solid var(--line-strong); border-radius: 8px;
  background: var(--paper); color: var(--ink); font: inherit;
}
.form-row input::placeholder { color: var(--ink-3); }
.form-row input:focus { outline: 3px solid var(--sky); outline-offset: 1px; background: var(--card); }
.form-row input[aria-invalid="true"] { border-color: var(--danger); }
.form-msg { min-height: 1.4rem; margin-top: .55rem; font-size: .92rem; font-weight: 600; }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-ok { color: var(--gum); }
.demo-note { margin-top: .65rem; color: var(--ink-3); font-size: .81rem; }

/* Social Strip */
.social {
  padding: 2.25rem 0;
  background: var(--paper-warm);
  border-bottom: 1.5px solid var(--line-strong);
}
.social-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.social-label { color: var(--ink); }
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem; margin: 0; padding: 0; list-style: none;
}
.social-links a,
.social-soon {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: .65rem; row-gap: .1rem;
  align-items: center;
  padding: .75rem .9rem;
  border-radius: 10px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(20, 32, 46, 0.14);
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.social-links a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ochre-bright);
}
.social-soon {
  background: var(--paper);
  border-style: dashed;
  box-shadow: none;
  color: var(--ink-3);
}
.social-links svg {
  grid-row: span 2;
  width: 20px; height: 20px;
  fill: currentColor; color: var(--gum);
}
.social-soon svg { fill: none; color: var(--ink-3); }
.social-name { font-weight: 700; font-size: .94rem; color: var(--ink); line-height: 1.2; }
.social-soon .social-name { color: var(--ink-2); }
.social-handle { color: var(--ink-3); font-size: .78rem; line-height: 1.25; overflow-wrap: anywhere; }

/* Sections & Posts */
.section { padding: 3.5rem 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: 2rem;
  padding-bottom: 1.25rem; border-bottom: 1.5px solid var(--line);
}
.section-head h2, .page-head h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
.section-head p { color: var(--ink-2); max-width: 42rem; margin-top: .35rem; }
.preview-note { color: var(--ink-3); font-size: .85rem; max-width: 46rem; }

.entries {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.entry {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(20, 32, 46, 0.14);
  transition: transform .15s, box-shadow .15s;
}
.entry:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gum);
}
.entry-art {
  position: relative; aspect-ratio: 16 / 9;
  border-bottom: 1.5px solid var(--line-strong);
}
.entry-art svg { width: 100%; height: 100%; }
.entry-tag {
  position: absolute; left: .75rem; top: .75rem;
  padding: .24rem .55rem; border-radius: 5px;
  background: var(--card); border: 1.5px solid var(--line-strong); color: var(--ink);
}
.thumbnail-note {
  position: absolute; right: .65rem; bottom: .65rem;
  padding: .2rem .5rem; border-radius: 4px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font-size: .72rem; font-weight: 600;
}
.entry-body {
  display: flex; flex-direction: column; gap: .7rem;
  flex: 1; padding: 1.35rem 1.4rem 1.45rem;
}
.article-date { color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.entry h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.24; }
.entry h3 a, .ledger h2 a { text-decoration: none; }
.entry h3 a:hover, .ledger h2 a:hover { color: var(--gum); text-decoration: underline; text-underline-offset: 4px; }
.entry p { color: var(--ink-2); font-size: .96rem; }
.text-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem 0; color: var(--gum); font-weight: 700; text-underline-offset: 4px;
}
.text-link:hover { color: var(--ink); }
.entry-body > .text-link { margin-top: auto; padding-top: .6rem; border-top: 1px dashed var(--line); }

/* About Section */
.about {
  border-top: 1.5px solid var(--line-strong);
  border-bottom: 1.5px solid var(--line-strong);
  background: var(--paper-warm);
}
.about-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2.5rem; align-items: center;
  width: 100%;
  padding: 2rem;
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 5px 5px 0 rgba(20, 32, 46, 0.14);
}
.portrait-placeholder {
  margin: 0;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gum);
  box-shadow: 4px 4px 0 var(--line-strong);
}
.portrait-placeholder svg { width: 100%; height: auto; display: block; }
.about-copy { display: grid; gap: .75rem; }
.about-copy h2 { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.35rem); }
.about-copy p { color: var(--ink-2); font-size: 1.05rem; }

/* Blog Archive Ledger */
.page-head {
  padding: 3.5rem 0 2.25rem;
  background: var(--paper-warm);
  border-bottom: 1.5px solid var(--line-strong);
}
.page-head h1 { margin: .8rem 0 .85rem; font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.page-head p { color: var(--ink-2); font-size: 1.08rem; max-width: 42rem; }
.ledger { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.ledger > li {
  background: var(--card);
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(20, 32, 46, 0.12);
}
.ledger article {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 1.75rem; align-items: center; padding: 1.35rem;
}
.ledger article > * { min-width: 0; }
.ledger .entry-art { border: 1.5px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.ledger h2 { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: .45rem 0 .55rem; }
.ledger p { color: var(--ink-2); max-width: 44rem; }
.tag-line { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--ink-3); }
.tag-line .cat { color: var(--ochre); font-weight: 700; }
.section-foot { margin-top: 2rem; }
.archive-signup { margin-bottom: 3rem; }

/* Single Article / Transcript Preview */
.article-wrap { width: min(100% - 2.5rem, 760px); margin-inline: auto; padding-bottom: 3.5rem; }
.article-head { padding: 2.5rem 0 1.75rem; }
.article-head h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.1rem); margin: .9rem 0; line-height: 1.15; }
.article-head .tag-line { margin-top: .85rem; }
.article-intro { color: var(--ink-2); font-size: 1.08rem; margin-bottom: .75rem; }
.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .65rem; padding: 1.5rem; text-align: center;
  background: var(--gum-soft);
  border: 2px dashed var(--gum);
  border-radius: 10px;
}
.video-placeholder h2 { font: 700 1.65rem var(--serif); }
.video-placeholder p { color: var(--ink-2); max-width: 28rem; }
.play-symbol { font-size: 2rem; color: var(--gum); }
.transcript {
  padding: 2.25rem 0; font-size: 1.06rem; line-height: 1.75;
  border-bottom: 1.5px solid var(--line);
}
.transcript h2 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: .9rem; }
.transcript .placeholder-copy {
  border-left: 4px solid var(--ochre-bright);
  padding: .65rem 1rem;
  background: var(--card);
  border-radius: 0 8px 8px 0;
  color: var(--ink-2);
}
.article-signup { margin-top: 2.25rem; }

/* Footer */
.foot {
  padding: 2.25rem 0;
  background: var(--paper);
  color: var(--ink-2);
  font-size: .92rem;
}
.foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem;
}
.foot .brand img { width: 250px; height: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot nav a {
  color: var(--ink); font-weight: 600;
  text-underline-offset: 4px; padding: .4rem 0;
}
.foot nav a:hover { color: var(--gum); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .entries { grid-template-columns: 1fr 1fr; }
  .ledger article { grid-template-columns: 220px 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 2rem, var(--max)); }
  .top-inner { min-height: 3.6rem; padding: .4rem 0; }
  .brand img { width: 185px; }
  .hero { padding: 1.15rem 0 1.75rem; }
  .hero-grid { gap: 1rem; }
  .hero h1 { font-size: clamp(1.2rem, 5.2vw, 1.95rem); margin: .55rem 0 .5rem; }
  .lede { font-size: .96rem; line-height: 1.48; }
  .hero-ledger { display: none; }
  .signup-bar { padding: .4rem 1.1rem; }
  .signup-body { padding: 1rem 1.1rem; }
  .signup-card h2 { font-size: 1.45rem; margin-bottom: .25rem; }
  .signup-card form { margin-top: .65rem; }
  .form-row { flex-direction: column; gap: .5rem; }
  .form-row input, .btn { min-height: 44px; }
  .entries { grid-template-columns: 1fr; }
  .social-links { grid-template-columns: 1fr 1fr; }
  .about-card {
    grid-template-columns: 1fr;
    gap: 1.25rem; padding: 1.35rem;
    justify-items: center; text-align: center;
  }
  .about-card .portrait-placeholder { width: min(100%, 190px); }
  .ledger article { grid-template-columns: 1fr; gap: 1rem; }
  .article-wrap { width: calc(100% - 2rem); }
  .video-placeholder { aspect-ratio: auto; min-height: 210px; }
}
