/* fbnk.me shared stylesheet */

:root {
  --background: #30372b;
  --text: #eee6d2;
  --muted: #aaa993;
  --muted-hover: #d0c7ae;
  --line: rgba(238, 230, 210, 0.18);
  --line-strong: rgba(238, 230, 210, 0.30);
  --surface: rgba(238, 230, 210, 0.04);
  --surface-hover: rgba(238, 230, 210, 0.07);
  --focus: #f6eed8;
  --site-max-width: 1180px;
  --max-width: var(--site-max-width);
  --reading-width: 760px;
  --content-width: 780px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(15, 18, 13, 0.22);
  --page-gutter: 3rem;
  --header-padding: 1.75rem;
  --main-padding-top: clamp(4.5rem, 9vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--muted-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 3px;
}

.page,
.page-shell {
  width: min(calc(100% - var(--page-gutter)), var(--site-max-width));
  margin-inline: auto;
}

.home-page .page,
.legal-page .page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page > .site-header,
.page > .masthead,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: var(--header-padding) 0;
  border-bottom: 1px solid var(--line);
}

.homelab-page > .site-header {
  padding: 0;
}

.brand {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: none;
  text-decoration: none;
}

.brand span {
  color: inherit;
}

.back-link,
.back,
.location {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: color 160ms ease;
}

.back-link:hover,
.back:hover {
  color: var(--text);
}

.subpage main,
.legal-page main {
  padding: var(--main-padding-top) 0 4rem;
}

.legal-page main {
  width: min(100%, 900px);
  flex: 1;
  padding: clamp(4rem, 6vw, 6rem) 0 4rem;
}

.site-footer,
.home-page footer,
.legal-page footer,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 4.5rem;
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.045em;
}

.homelab-page .site-footer {
  margin-top: 0;
  padding: 0;
  border-top: 0;
}

.homelab-page .footer-inner {
  margin-top: 0;
}

.site-footer p,
.home-page footer p,
.legal-page footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links a,
.footer-inner a {
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-credit {
  flex: 1 1 320px;
  text-align: center;
}

.homelab-page {
  font-size: 17px;
  line-height: 1.72;
  --accent: #b7d889;
  --accent-muted: rgba(183, 216, 137, 0.16);
}

.ai-page {
  --accent: #c58cff;
  --accent-muted: rgba(197, 140, 255, 0.15);
}

body.homelab-page .brand span {
  color: var(--accent);
}

body.homelab-page main {
  padding: clamp(4rem, 6vw, 6rem) 0 6rem;
}

.making-page {
  font-size: 17px;
  line-height: 1.72;
  --accent: #d8b66f;
  --accent-muted: rgba(216, 182, 111, 0.14);
}

.travel-page {
  --accent: #8fd3ff;
  --accent-muted: rgba(143, 211, 255, 0.15);
}

.home-page a {
  text-decoration: none;
}

body.home-page .topic {
  --topic-accent: var(--text);
}

body.home-page .topic-ai {
  --topic-accent: #c58cff;
}

body.home-page .topic-homelab {
  --topic-accent: #b7d889;
}

body.home-page .topic-making {
  --topic-accent: #d8b66f;
}

body.home-page .topic-photography {
  --topic-accent: #ef8f83;
}

body.home-page .topic-travel {
  --topic-accent: #8fd3ff;
}

body.home-page .topic-link::before {
  color: var(--topic-accent);
}

body.home-page .topic-title,
body.home-page .topic-arrow {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

body.home-page .topic-link:hover .topic-title,
body.home-page .topic-link:focus-visible .topic-title,
body.home-page .topic-link:hover .topic-arrow,
body.home-page .topic-link:focus-visible .topic-arrow {
  color: var(--topic-accent);
}

.home-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vh 0 9vh;
}


/* home-page */

body.home-page .page {
  position: relative;
}

body.home-page .home-hero {
  display: block;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

body.home-page .intro {
  max-width: 700px;
  margin: 0;
}

body.home-page .home-portrait {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  right: 9rem;
  width: 52px;
  height: 52px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #000;
}

body.home-page .home-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
}

body.home-page .intro h1 {
margin: 0 0 14px;
      font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(2rem, 5.6vw, 5rem);
      font-weight: 400;
      line-height: 0.95;
      letter-spacing: -0.045em;
}

body.home-page .intro p {
max-width: 620px;
      margin: 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.7vw, 1.25rem);
      line-height: 1.55;
}

body.home-page .topics {
margin: 0;
      padding: 0;
      list-style: none;
      border-top: 1px solid var(--line);
}

body.home-page .topic {
border-bottom: 1px solid var(--line);
}

body.home-page .topic-link {
position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr) 28px;
      align-items: baseline;
      gap: 28px;
      padding: clamp(20px, 3vw, 33px) 0;
      transition:
        transform 180ms ease,
        color 180ms ease;
}

body.home-page .topic-link::before {
content: "—";
      position: absolute;
      left: -1.7em;
      opacity: 0;
      transform: translateX(-10px);
      transition:
        opacity 180ms ease,
        transform 180ms ease;
}

body.home-page .topic-link:hover,
body.home-page .topic-link:focus-visible {
transform: translateX(10px);
}

body.home-page .topic-link:hover::before,
body.home-page .topic-link:focus-visible::before {
opacity: 1;
      transform: translateX(0);
}

body.home-page .topic-title {
font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(1.4rem, 3.35vw, 3.2rem);
      font-weight: 400;
      line-height: 1;
      letter-spacing: -0.035em;
}

body.home-page .topic-description {
color: var(--muted);
      font-size: clamp(0.88rem, 1.4vw, 1rem);
      letter-spacing: 0.02em;
      transition: color 180ms ease;
}

body.home-page .topic-link:hover .topic-description,
body.home-page .topic-link:focus-visible .topic-description {
color: var(--muted-hover);
}

body.home-page .topic-arrow {
color: var(--muted);
      font-size: 1.2rem;
      text-align: right;
      transform: translate(-4px, 1px);
      transition:
        color 180ms ease,
        transform 180ms ease;
}

body.home-page .topic-link:hover .topic-arrow,
body.home-page .topic-link:focus-visible .topic-arrow {
color: var(--topic-accent);
      transform: translate(0, -2px);
}

body.home-page .footer-links a:hover,
body.home-page .footer-links a:focus-visible {
color: var(--text);
}

@media (max-width: 760px) {
body.home-page .home-hero {
  display: block;
}

body.home-page .intro {
  margin: 0;
}

body.home-page .home-portrait {
  top: 0.55rem;
  right: 7.3rem;
  width: 42px;
  height: 42px;
}

body.home-page .topic-link {
grid-template-columns: minmax(0, 1fr) 22px;
        gap: 12px 16px;
        padding: 24px 0;
}

body.home-page .topic-description {
grid-column: 1;
        grid-row: 2;
}

body.home-page .topic-arrow {
grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
}

body.home-page .topic-link::before {
display: none;
}

body.home-page .topic-link:hover,
body.home-page .topic-link:focus-visible {
transform: none;
}
}

@media (prefers-reduced-motion: reduce) {
body.home-page *,
body.home-page *::before,
body.home-page *::after {
transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
}
}

/* ai-page */

body.ai-page .brand span {
  color: var(--accent);
}

body.ai-page main {
  padding: clamp(4rem, 6vw, 6rem) 0 4rem;
}

body.ai-page .hero-line {
  width: 64px;
  height: 2px;
  margin-top: 2.25rem;
  background: var(--accent);
}


body.ai-page .hero {
max-width: 920px;
}

body.ai-page .eyebrow {
margin: 0 0 1rem;
      color: var(--accent);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
}

body.ai-page h1 {
max-width: 900px;
      margin: 0;
      font-size: clamp(2.7rem, 7vw, 5.9rem);
      font-weight: 500;
      letter-spacing: -0.058em;
      line-height: 0.96;
}

body.ai-page .hero-intro {
max-width: 760px;
      margin: 1.9rem 0 0;
      color: var(--muted);
      font-size: clamp(1rem, 2vw, 1.2rem);
      line-height: 1.7;
}

body.ai-page .hero-intro p {
margin: 0;
}

body.ai-page .hero-intro p + p {
margin-top: 1rem;
}

body.ai-page .journey {
margin-top: clamp(4.5rem, 10vw, 8rem);
      border-top: 1px solid var(--line);
}

body.ai-page .chapter {
display: grid;
      grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
      gap: clamp(2rem, 6vw, 6rem);
      padding: clamp(2.5rem, 6vw, 5rem) 0;
      border-bottom: 1px solid var(--line);
}

body.ai-page .chapter-heading {
align-self: start;
      position: sticky;
      top: 1.5rem;
}

body.ai-page .chapter-number {
display: block;
      margin-bottom: 1rem;
      color: var(--accent);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
}

body.ai-page h2 {
margin: 0;
      font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(1.8rem, 3.8vw, 3.25rem);
      font-weight: 400;
      letter-spacing: -0.04em;
      line-height: 1.02;
}

body.ai-page .chapter-content {
max-width: var(--reading-width);
      color: var(--muted);
      font-size: clamp(1rem, 1.5vw, 1.08rem);
      line-height: 1.75;
}

body.ai-page .chapter-content p {
margin: 0;
}

body.ai-page .chapter-content p + p {
margin-top: 1.1rem;
}

body.ai-page .chapter-content strong {
color: var(--text);
      font-weight: 600;
}

body.ai-page .detail {
margin-top: 1.8rem;
      padding: 1.25rem 1.35rem;
      border: 1px solid var(--line);
      border-radius: 14px;
      background:
        linear-gradient(135deg, var(--accent-muted), transparent 58%),
        var(--surface);
}

body.ai-page .detail-label {
display: block;
      margin-bottom: 0.65rem;
      color: var(--accent);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
}

body.ai-page .detail p {
margin: 0;
      font-size: 0.95rem;
      line-height: 1.65;
}

body.ai-page .closing {
margin-top: clamp(5rem, 10vw, 8rem);
      padding: clamp(2.25rem, 5vw, 4rem);
      border: 1px solid var(--line-strong);
      border-radius: 20px;
      background:
        linear-gradient(135deg, var(--accent-muted), transparent 52%),
        var(--surface);
}

body.ai-page .closing h2 {
max-width: 620px;
      font-size: clamp(2rem, 5vw, 4.2rem);
}

body.ai-page .closing-text {
max-width: 760px;
      margin-top: 1.6rem;
      color: var(--muted);
      font-size: clamp(1rem, 1.6vw, 1.1rem);
      line-height: 1.75;
}

body.ai-page .closing-text p {
margin: 0;
}

body.ai-page .closing-text p + p {
margin-top: 1.1rem;
}

@media (max-width: 760px) {
body.ai-page main {
  padding: 3.75rem 0 4rem;
}

body.ai-page .chapter {
grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 0;
}

body.ai-page .chapter-heading {
position: static;
}

body.ai-page .chapter-number {
margin-bottom: 0.7rem;
}

body.ai-page .closing {
margin-inline: calc(50% - 50vw);
        padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
        border-right: 0;
        border-left: 0;
        border-radius: 0;
}
}

@media (prefers-reduced-motion: reduce) {
body.ai-page *,
body.ai-page *::before,
body.ai-page *::after {
transition-duration: 0.01ms !important;
}
}

/* homelab-page */

body.homelab-page .back-link:hover {
color: var(--text);
}

body.homelab-page .hero {
max-width: 900px;
      margin-bottom: 84px;
}

body.homelab-page .eyebrow,
body.homelab-page .section-label {
margin: 0 0 14px;
      color: var(--accent);
      font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
}

body.homelab-page h1,
body.homelab-page h2,
body.homelab-page h3 {
margin-top: 0;
      color: var(--text);
      letter-spacing: -0.035em;
      line-height: 1.12;
}

body.homelab-page h1 {
max-width: 850px;
      margin-bottom: 26px;
      font-size: clamp(3rem, 8vw, 6.3rem);
      font-weight: 680;
}

body.homelab-page h2 {
margin-bottom: 22px;
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 650;
}

body.homelab-page h3 {
margin-bottom: 14px;
      font-size: 1.14rem;
      font-weight: 650;
}

body.homelab-page .hero-copy {
max-width: 720px;
      margin: 0;
      color: var(--muted-hover);
      font-size: clamp(1.1rem, 2vw, 1.32rem);
}

body.homelab-page .hero-line {
width: 64px;
      height: 2px;
      margin-top: 36px;
      background: var(--accent);
      border: 0;
}

body.homelab-page .content-section {
margin-top: 88px;
}

body.homelab-page .text-column {
max-width: var(--content-width);
}

body.homelab-page .text-column p {
margin: 0 0 1.25em;
}

body.homelab-page .text-column p:last-child {
margin-bottom: 0;
}

body.homelab-page .lead-in {
font-size: 1.12rem;
      color: var(--muted-hover);
}

body.homelab-page .specs {
display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin: 34px 0;
}

body.homelab-page .spec {
min-height: 132px;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: var(--surface);
}

body.homelab-page .spec-label {
display: block;
      margin-bottom: 8px;
      color: var(--accent);
      font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
}

body.homelab-page .spec-value {
display: block;
      color: var(--text);
      font-size: 0.98rem;
      line-height: 1.45;
}

body.homelab-page .architecture {
margin: 50px 0 0;
}

body.homelab-page .architecture-frame {
overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(9, 15, 15, 0.65);
      box-shadow: var(--shadow);
}

body.homelab-page .architecture img {
width: 100%;
      height: auto;
}

body.homelab-page .architecture figcaption {
margin-top: 14px;
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.5;
}

body.homelab-page .service-grid {
display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 34px;
}

body.homelab-page .service-card {
padding: 26px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      transition:
        transform 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease;
}

body.homelab-page .service-card:hover {
transform: translateY(-2px);
      border-color: var(--line-strong);
      background: var(--surface-hover);
}

body.homelab-page .service-card h3 {
display: flex;
      align-items: center;
      gap: 10px;
      color: var(--accent);
}

body.homelab-page .service-card h3::before {
width: 8px;
      height: 8px;
      flex: 0 0 auto;
      border: 1px solid var(--accent);
      border-radius: 50%;
      content: "";
}

body.homelab-page .service-list {
margin: 0;
      padding: 0;
      list-style: none;
}

body.homelab-page .service-list li + li {
margin-top: 18px;
}

body.homelab-page .service-list strong {
display: block;
      margin-bottom: 3px;
      color: var(--text);
      font-size: 0.98rem;
}

body.homelab-page .service-list span {
color: var(--muted);
      font-size: 0.93rem;
      line-height: 1.55;
}

body.homelab-page .closing {
max-width: 850px;
      padding: 44px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        linear-gradient(
          135deg,
          rgba(183, 216, 137, 0.1),
          rgba(238, 230, 210, 0.025)
        );
}

body.homelab-page .closing p:last-child {
margin-bottom: 0;
      color: var(--accent);
      font-size: 1.08rem;
      font-weight: 650;
}

body.homelab-page .footer-inner a {
text-decoration: none;
}

@media (max-width: 900px) {
body.homelab-page .hero {
margin-bottom: 68px;
}

body.homelab-page .specs {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 680px) {
body.homelab-page main {
  padding: 3.75rem 0 4.5rem;
}

body.homelab-page .hero {
margin-bottom: 58px;
}

body.homelab-page .content-section {
margin-top: 68px;
}

body.homelab-page .specs,
body.homelab-page .service-grid {
grid-template-columns: 1fr;
}

body.homelab-page .spec {
min-height: 0;
}

body.homelab-page .architecture {
margin-top: 38px;
}

body.homelab-page .architecture-frame {
overflow-x: auto;
}

body.homelab-page .architecture img {
min-width: 760px;
}

body.homelab-page .closing {
padding: 28px;
}
}

@media (prefers-reduced-motion: reduce) {
body.homelab-page .service-card {
transition: none;
}
}

/* making-page */

body.making-page .brand span {
  color: var(--accent);
}

body.making-page main {
  padding: clamp(4rem, 6vw, 6rem) 0 4rem;
}

body.making-page .hero-line {
  width: 64px;
  height: 2px;
  margin-top: 2.25rem;
  background: var(--accent);
}


body.making-page .back-link:hover {
color: var(--text);
}

body.making-page .hero {
max-width: 940px;
}

body.making-page .eyebrow,
body.making-page .section-label,
body.making-page .panel-label {
margin: 0 0 1rem;
      color: var(--accent);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
}

body.making-page h1,
body.making-page h2,
body.making-page h3 {
margin-top: 0;
      color: var(--text);
      letter-spacing: -0.04em;
      line-height: 1.05;
}

body.making-page h1 {
max-width: 900px;
      margin-bottom: 1.6rem;
      font-size: clamp(2.8rem, 7vw, 5.9rem);
      font-weight: 540;
      letter-spacing: -0.058em;
      line-height: 0.96;
}

body.making-page h2 {
margin-bottom: 1.4rem;
      font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(2rem, 4.8vw, 3.6rem);
      font-weight: 400;
}

body.making-page h3 {
margin-bottom: 0.75rem;
      font-size: 1.1rem;
      font-weight: 650;
      letter-spacing: -0.02em;
}

body.making-page .hero-intro {
max-width: 760px;
      margin: 0;
      color: var(--muted-hover);
      font-size: clamp(1.05rem, 2vw, 1.24rem);
      line-height: 1.7;
}

body.making-page .project {
display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
      gap: clamp(2.25rem, 7vw, 6rem);
      margin-top: clamp(4.75rem, 10vw, 8.5rem);
      padding-top: clamp(2.8rem, 6vw, 4.8rem);
      border-top: 1px solid var(--line);
}

body.making-page .project-copy {
max-width: var(--reading-width);
      color: var(--muted);
      font-size: clamp(1rem, 1.5vw, 1.08rem);
}

body.making-page .project-copy p {
margin: 0;
}

body.making-page .project-copy p + p {
margin-top: 1.15rem;
}

body.making-page .project-copy strong {
color: var(--text);
      font-weight: 600;
}

body.making-page .project-links {
display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      margin-top: 2rem;
}

body.making-page .project-link {
display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      min-height: 46px;
      padding: 0.7rem 1rem;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      color: var(--text);
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease;
}

body.making-page .project-link:hover {
transform: translateY(-2px);
      border-color: var(--accent);
      background: var(--accent-muted);
}

body.making-page .project-link span {
color: var(--accent);
      font-size: 1rem;
}

body.making-page .project-panel {
align-self: start;
      position: sticky;
      top: 1.5rem;
      overflow: hidden;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius);
      background:
        linear-gradient(145deg, var(--accent-muted), transparent 42%),
        var(--surface);
      box-shadow: var(--shadow);
}

body.making-page .camera-display {
position: relative;
      min-height: 230px;
      padding: 1.35rem;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(rgba(238, 230, 210, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 230, 210, 0.025) 1px, transparent 1px);
      background-size: 24px 24px;
}

body.making-page .camera-display::before,
body.making-page .camera-display::after {
position: absolute;
      width: 34px;
      height: 34px;
      content: "";
}

body.making-page .camera-display::before {
top: 1.35rem;
      left: 1.35rem;
      border-top: 1px solid var(--accent);
      border-left: 1px solid var(--accent);
}

body.making-page .camera-display::after {
right: 1.35rem;
      bottom: 1.35rem;
      border-right: 1px solid var(--accent);
      border-bottom: 1px solid var(--accent);
}

body.making-page .camera-name {
position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 200px;
      text-align: center;
}

body.making-page .camera-name small {
margin-bottom: 0.55rem;
      color: var(--accent);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
}

body.making-page .camera-name strong {
font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(2rem, 5vw, 3.3rem);
      font-weight: 400;
      letter-spacing: -0.045em;
      line-height: 0.95;
}

body.making-page .camera-name span {
margin-top: 0.8rem;
      color: var(--muted);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.68rem;
      letter-spacing: 0.11em;
      text-transform: uppercase;
}

body.making-page .status {
padding: 1.5rem;
}

body.making-page .status-list {
margin: 0;
      padding: 0;
      list-style: none;
}

body.making-page .status-item {
display: grid;
      grid-template-columns: 14px minmax(0, 1fr);
      gap: 0.8rem;
      align-items: start;
}

body.making-page .status-item + .status-item {
margin-top: 1.15rem;
}

body.making-page .status-dot {
width: 10px;
      height: 10px;
      margin-top: 0.42rem;
      border: 1px solid var(--muted);
      border-radius: 50%;
}

body.making-page .status-item.done .status-dot {
border-color: var(--accent);
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(216, 182, 111, 0.11);
}

body.making-page .status-item.current .status-dot {
border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(216, 182, 111, 0.11);
}

body.making-page .status-label {
display: block;
      color: var(--text);
      font-size: 0.94rem;
      font-weight: 600;
      line-height: 1.4;
}

body.making-page .status-value {
display: block;
      margin-top: 0.15rem;
      color: var(--muted);
      font-size: 0.83rem;
      line-height: 1.45;
}

body.making-page .closing {
max-width: 900px;
      margin-top: clamp(5rem, 10vw, 8rem);
      padding: clamp(2.25rem, 5vw, 4rem);
      border: 1px solid var(--line-strong);
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, var(--accent-muted), transparent 54%),
        var(--surface);
}

body.making-page .closing h2 {
max-width: 700px;
      margin-bottom: 1.2rem;
      font-size: clamp(2rem, 5vw, 4.1rem);
}

body.making-page .closing p {
max-width: 720px;
      margin: 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.6vw, 1.1rem);
      line-height: 1.75;
}

body.making-page .closing p + p {
margin-top: 1rem;
}

body.making-page .closing p:last-child {
color: var(--accent);
      font-weight: 650;
}

@media (max-width: 860px) {
body.making-page .project {
grid-template-columns: 1fr;
}

body.making-page .project-panel {
position: static;
        max-width: 620px;
}
}

@media (max-width: 760px) {
body.making-page main {
  padding: 3.75rem 0 4rem;
}

body.making-page .project {
margin-top: 4rem;
        padding-top: 3rem;
}

body.making-page .project-links {
align-items: stretch;
        flex-direction: column;
}

body.making-page .project-link {
justify-content: space-between;
        width: 100%;
        border-radius: 12px;
}

body.making-page .closing {
margin-inline: calc(50% - 50vw);
        padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
        border-right: 0;
        border-left: 0;
        border-radius: 0;
}
}

@media (prefers-reduced-motion: reduce) {
body.making-page *,
body.making-page *::before,
body.making-page *::after {
transition-duration: 0.01ms !important;
}
}

/* travel-page */

body.travel-page .brand span {
  color: var(--accent);
}

body.travel-page main {
  padding: clamp(4rem, 6vw, 6rem) 0 4rem;
}

body.travel-page .hero-line {
  width: 64px;
  height: 2px;
  margin-top: 2.25rem;
  background: var(--accent);
}


body.travel-page .eyebrow {
margin: 0 0 1rem;
      color: var(--accent);
      font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
}

body.travel-page h1 {
max-width: 880px;
      margin: 0;
      font-size: clamp(2.5rem, 7vw, 5.75rem);
      font-weight: 500;
      letter-spacing: -0.055em;
      line-height: 0.98;
}

body.travel-page .intro {
max-width: 680px;
      margin: 1.75rem 0 0;
      color: var(--muted);
      font-size: clamp(1rem, 2vw, 1.18rem);
      line-height: 1.65;
}

body.travel-page .map-section {
margin-top: clamp(3.5rem, 8vw, 6.5rem);
}

body.travel-page .map-meta {
display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1.5rem;
      margin-bottom: 1.25rem;
}

body.travel-page .map-count {
margin: 0;
      color: var(--text);
      font-size: clamp(1.05rem, 2vw, 1.35rem);
}

body.travel-page .map-count strong {
  color: var(--accent);
}

body.travel-page .map-instruction {
margin: 0;
      color: var(--muted);
      font-size: 0.82rem;
      text-align: right;
}

body.travel-page .map-shell {
position: relative;
}

body.travel-page .map-viewport {
overflow-x: auto;
      overflow-y: hidden;
      padding: clamp(1rem, 2.5vw, 2rem);
      border: 1px solid var(--line);
      border-radius: 18px;
      background:
        linear-gradient(145deg, var(--accent-muted), transparent 38%),
        var(--surface);
      scrollbar-color: var(--muted) transparent;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
}

body.travel-page .world-map {
display: block;
      width: 100%;
      min-width: 760px;
      height: auto;
      overflow: visible;
}

body.travel-page .country {
fill: var(--background);
      stroke: var(--text);
      stroke-width: 0.75;
      vector-effect: non-scaling-stroke;
      transition: fill 160ms ease, opacity 160ms ease, stroke-width 160ms ease;
}

body.travel-page .country.visited {
fill: rgba(143, 211, 255, 0.62);
}

body.travel-page .azores-island {
stroke-width: 0.45;
}

body.travel-page .country:hover,
body.travel-page .country.is-active {
fill: #b9e7ff;
      stroke-width: 1.15;
      cursor: pointer;
}

body.travel-page .map-tooltip {
position: absolute;
      z-index: 5;
      left: 0;
      top: 0;
      max-width: min(280px, calc(100vw - 3rem));
      padding: 0.55rem 0.72rem;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: rgba(48, 55, 43, 0.97);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
      color: var(--text);
      font-size: 0.82rem;
      line-height: 1.25;
      opacity: 0;
      pointer-events: none;
      transform: translate(12px, calc(-100% - 12px));
      transition: opacity 120ms ease;
      white-space: nowrap;
}

body.travel-page .map-tooltip.visible {
opacity: 1;
      border-color: rgba(143, 211, 255, 0.5);
}

body.travel-page .legend {
display: flex;
      flex-wrap: wrap;
      gap: 0.8rem 1.35rem;
      margin-top: 1rem;
      color: var(--muted);
      font-size: 0.84rem;
}

body.travel-page .legend-item {
display: inline-flex;
      align-items: center;
      gap: 0.5rem;
}

body.travel-page .legend-swatch {
width: 0.85rem;
      height: 0.85rem;
      border: 1px solid var(--text);
      border-radius: 2px;
      background: var(--background);
}

body.travel-page .legend-swatch.visited {
background: rgba(143, 211, 255, 0.62);
}

body.travel-page .visited-list {
margin-top: clamp(3.5rem, 7vw, 5.5rem);
      padding-top: 2rem;
      border-top: 1px solid var(--line);
}

body.travel-page .visited-list h2 {
margin: 0;
      font-size: clamp(1.35rem, 3vw, 2rem);
      font-weight: 500;
      letter-spacing: -0.025em;
}

body.travel-page .country-list {
display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.7rem 1.5rem;
      margin: 1.5rem 0 0;
      padding: 0;
      color: var(--muted);
      list-style: none;
      font-size: 0.92rem;
}

body.travel-page .country-list li {
position: relative;
      padding-left: 1rem;
}

body.travel-page .country-list li::before {
position: absolute;
      left: 0;
      content: "·";
      color: var(--accent);
}

@media (max-width: 760px) {
body.travel-page main {
  padding: 3.75rem 0 4rem;
}

body.travel-page .map-meta {
align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
}

body.travel-page .map-instruction {
text-align: left;
}

body.travel-page .map-viewport {
margin-inline: calc(50% - 50vw);
        padding: 1rem max(1rem, calc((100vw - var(--max-width)) / 2));
        border-left: 0;
        border-right: 0;
        border-radius: 0;
}

body.travel-page .country-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 430px) {
body.travel-page .country-list {
grid-template-columns: 1fr;
}
}

@media (prefers-reduced-motion: reduce) {
body.travel-page *,
body.travel-page *::before,
body.travel-page *::after {
transition-duration: 0.01ms !important;
}
}

/* Cross-page alignment: header and hero */

body.subpage .brand,
body.subpage .back-link {
  line-height: 1.2;
}

body.subpage .hero,
body.travel-page main > section:first-child {
  max-width: 920px;
}

body.subpage .eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;
}

body.subpage h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

body.ai-page .hero-intro,
body.homelab-page .hero-copy,
body.making-page .hero-intro,
body.travel-page .intro {
  max-width: 760px;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}

/* legal-page */

body.legal-page h1 {
margin: 0 0 52px;
      font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(2.2rem, 5vw, 4.4rem);
      font-weight: 400;
      line-height: 1;
      letter-spacing: -0.04em;
}

body.legal-page h2 {
margin: 46px 0 14px;
      font-family:
        Iowan Old Style, Baskerville, "Times New Roman", serif;
      font-size: clamp(1.35rem, 2.4vw, 1.9rem);
      font-weight: 400;
      line-height: 1.2;
}

body.legal-page p,
body.legal-page address,
body.legal-page li {
color: var(--muted);
      font-size: 1rem;
      line-height: 1.7;
}

body.legal-page p {
margin: 0 0 18px;
}

body.legal-page address {
font-style: normal;
      margin-bottom: 28px;
}

body.legal-page .footer-links a[aria-current="page"] {
  color: var(--text);
}

body.legal-page main > h1:first-child {
  margin-bottom: 3rem;
}


@media (max-width: 760px) {
  .home-page main {
    justify-content: flex-start;
    padding-top: 6vh;
  }
}

/* Shared responsive rules */
@media (max-width: 760px) {
  .homelab-page {
    font-size: 16px;
  }

  .legal-page main {
    padding: 3.75rem 0 4rem;
  }

  :root {
    --page-gutter: 2rem;
    --header-padding: 1.25rem;
    --main-padding-top: 3.75rem;
  }

  .site-footer,
  .home-page footer,
  .legal-page footer,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .footer-credit {
    flex-basis: auto;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}