:root {
  --paper: #F8F5E8;
  --shell: #FFFDF5;
  --mangrove-mist: #E1ECE4;
  --lagoon-mist: #D7EBE8;
  --ink: #173E31;
  --root: #315E46;
  --teal: #23837D;
  --blue: #4A9EB1;
  --channel: #176766;
  --leaf: #5C9448;
  --young: #91BD5B;
  --lime: #B7CE66;
  --sun: #E6B84F;
  --terracotta: #C9704F;
  --reed: #C9B171;
  --line: #D0DDD2;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--sticky-header-offset, 108px); }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 84% 8%, rgba(74,158,177,.12), transparent 24%),
    radial-gradient(circle at 7% 28%, rgba(145,189,91,.10), transparent 22%),
    var(--paper);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--channel); outline-offset: 4px; }
/* The skip link keeps its visible focus ring; focusing the noninteractive main target must not frame the whole page. */
main:focus { outline: none; }
img, svg { max-width: 100%; }
.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 28px; }
.skip {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--shell);
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(23,62,49,.15);
  background: rgba(248,245,232,.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 0; }
.brand img { display: block; flex: none; width: 43px; height: 43px; }
.brand-copy { min-width: 0; }
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; margin-top: 3px; font-size: 12px; color: var(--root); }
.header-navs { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 3vw, 36px); }
.section-nav, .language-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; }
.section-nav a, .language-nav a {
  padding-block: 10px;
  text-decoration: none;
  text-underline-offset: 5px;
}
.section-nav a:hover, .language-nav a:hover, .site-footer a:hover { color: var(--channel); text-decoration: underline; }
.language-nav { flex-wrap: nowrap; gap: 8px; }
.language-nav [aria-current="page"] { font-weight: 700; text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  min-height: 650px;
  gap: 16px;
}
.hero-copy { min-width: 0; padding-block: 80px 96px; position: relative; z-index: 1; }
.kicker {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--root);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.7;
  text-transform: uppercase;
}
.sun { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.04em; }
h1 { font-size: clamp(48px, 7.2vw, 91px); line-height: .99; margin: 18px 0 25px; }
h1 span { display: block; color: var(--root); }
.lede { max-width: 630px; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: var(--root); }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 19px;
  border-radius: 999px;
  border: 1px solid rgba(23,62,49,.22);
  background: rgba(255,253,245,.82);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(23,62,49,.05);
}
.button:hover { border-color: var(--channel); text-decoration: underline; text-underline-offset: 4px; }
.button-primary { background: var(--ink); color: var(--shell); }
.button-primary:hover { color: var(--shell); border-color: var(--ink); background: var(--channel); }
.hero-scene { position: relative; height: 520px; min-width: 0; }
.lagoon {
  position: absolute;
  inset: 43px 0 25px 27px;
  border: 1px solid rgba(23,62,49,.06);
  border-radius: 45% 55% 48% 52% / 42% 45% 55% 58%;
  background:
    radial-gradient(circle at 73% 20%, rgba(230,184,79,.23), transparent 11%),
    radial-gradient(circle at 23% 35%, rgba(145,189,91,.28), transparent 22%),
    linear-gradient(150deg, #E5EFE1 0%, #CDE5DD 48%, #BDDCDD 100%);
}
.hero-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-note {
  position: absolute;
  right: 8px;
  bottom: 43px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(23,62,49,.11);
  border-radius: 15px;
  background: rgba(255,253,245,.88);
  color: var(--root);
  font-size: 12px;
  line-height: 1.45;
}
.content-section { border-top: 1px solid rgba(23,62,49,.15); scroll-margin-top: 24px; }
.focus-section { padding-block: clamp(70px, 9vw, 110px); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.section-label { margin: 0 0 14px; color: var(--channel); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(38px, 4.5vw, 57px); line-height: 1.09; }
.section-heading > p, .identity-copy > p:last-child { margin: 0; color: var(--root); font-size: 17px; line-height: 1.7; }
.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.focus-list li {
  min-width: 0;
  min-height: 165px;
  padding: 22px 18px;
  border-top: 3px solid var(--teal);
  background: rgba(255,253,245,.55);
}
.focus-list li:nth-child(2) { border-top-color: var(--leaf); }
.focus-list li:nth-child(3) { border-top-color: var(--reed); }
.focus-index { color: var(--root); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.focus-list h3 { margin: 39px 0 0; font-size: clamp(27px, 3vw, 35px); line-height: 1.12; }
.identity-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  margin-bottom: 76px;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(23,62,49,.12);
  border-radius: 28px;
  background: linear-gradient(130deg, rgba(225,236,228,.92), rgba(215,235,232,.7));
  overflow: hidden;
}
.identity-art {
  position: relative;
  display: grid;
  min-height: 290px;
  place-items: center;
  isolation: isolate;
}
.identity-art::before {
  content: "";
  position: absolute;
  width: min(75%, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,253,245,.7);
  box-shadow: 0 0 0 36px rgba(255,253,245,.2);
}
.identity-orbit {
  position: absolute;
  width: min(94%, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(23,62,49,.17);
  border-radius: 50%;
}
.identity-art img { position: relative; display: block; width: 160px; height: 160px; }
.identity-copy h2 { margin-bottom: 22px; }
.identity-copy > p:last-child { max-width: 540px; }

.content-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin: 0 0 clamp(54px, 7vw, 82px);
  padding: 20px 0;
  border-block: 1px solid rgba(23,62,49,.15);
}
.content-nav .section-label { margin: 0; }
.content-nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.content-nav a {
  padding-block: 7px;
  color: var(--root);
  font-size: 14px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.content-nav a:hover { color: var(--channel); }
.collection-section { padding-block: clamp(70px, 9vw, 110px); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.content-card {
  min-width: 0;
  border: 1px solid rgba(23,62,49,.13);
  border-radius: 22px;
  background: rgba(255,253,245,.72);
  overflow: hidden;
}
.content-card--text { border-top: 3px solid var(--teal); }
.card-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--mangrove-mist);
}
.work-media { aspect-ratio: 16 / 10; }
.writing-media { aspect-ratio: 16 / 7; }
.card-media img,
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body { min-width: 0; padding: clamp(21px, 3vw, 30px); }
.card-eyebrow {
  margin: 0 0 10px;
  color: var(--channel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.content-card h3,
.photo-card h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.15;
}
.content-card h3 a {
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}
.content-card h3 a:hover { color: var(--channel); text-decoration-color: currentColor; }
.content-card .card-body > p:not(.card-eyebrow),
.photo-caption {
  overflow-wrap: anywhere;
  color: var(--root);
  line-height: 1.65;
}
.card-role { padding-top: 3px; }
.card-role strong { color: var(--ink); }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.tag-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mangrove-mist);
  color: var(--root);
  font-size: 12px;
}
.writing-list { display: grid; gap: 16px; }
.writing-card {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  align-items: stretch;
}
.writing-card.content-card--text { grid-template-columns: minmax(0, 1fr); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.photo-card {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(23,62,49,.13);
  border-radius: 20px;
  background: rgba(255,253,245,.7);
  overflow: hidden;
}
.photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--lagoon-mist);
}
.photo-card figcaption { padding: 20px; }
.photo-card h3 { font-size: 25px; }
.photo-meta {
  margin: 8px 0 0;
  color: var(--channel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.photo-caption > :first-child { margin-top: 12px; }
.photo-caption > :last-child { margin-bottom: 0; }

.site-footer {
  width: 100%;
  margin-top: clamp(64px, 9vw, 108px);
  border-top: 1px solid rgba(23,62,49,.15);
  background: linear-gradient(145deg, rgba(225,236,228,.84), rgba(248,245,232,.96));
  color: var(--root);
  font-size: 14px;
}
.footer-inner { padding-block: clamp(44px, 6vw, 76px) 25px; }
.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 74px);
  padding-bottom: clamp(42px, 6vw, 70px);
}
.footer-name {
  display: inline-block;
  color: var(--ink);
  font: 500 clamp(26px, 3vw, 35px)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  text-decoration: none;
}
.footer-role { margin: 8px 0 18px; font-size: 14px; font-weight: 600; }
.footer-positioning { max-width: 330px; margin: 0; line-height: 1.65; }
.footer-heading {
  margin: 2px 0 18px;
  color: var(--ink);
  font: 700 12px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-links { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-underline-offset: 4px; }
.site-footer a:hover { color: var(--channel); }
.footer-upwork { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.footer-soon {
  display: inline-block;
  border: 1px solid rgba(23,62,49,.14);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  color: var(--root);
  opacity: .8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(23,62,49,.17);
  color: var(--root);
  font-size: 12px;
}
.footer-bottom small { font-size: inherit; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .hero-copy { padding-block: 72px 12px; }
  .hero-scene { width: min(100%, 560px); height: 370px; margin-inline: auto; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .identity-section { grid-template-columns: minmax(0, 1fr); }
  .identity-copy { order: -1; }
  .identity-art { min-height: 260px; }
}
@media (max-width: 1000px) {
  html { --sticky-header-offset: 165px; }
  .site-header-inner { flex-wrap: wrap; align-items: center; padding-block: 14px; gap: 10px; }
  .header-navs { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; }
}
@media (max-width: 700px) {
  .section-nav { gap: 4px 14px; }
  .section-nav a { padding-block: 7px; }
}
@media (max-width: 600px) {
  html { --sticky-header-offset: 198px; }
  .shell { padding-inline: 18px; }
  .brand img { width: 38px; height: 38px; }
  .hero-copy { padding-top: 54px; }
  h1 { font-size: clamp(43px, 12vw, 64px); }
  .kicker { font-size: 11px; }
  .hero-scene { height: 285px; }
  .scene-note { right: 0; bottom: 14px; font-size: 10px; }
  .focus-section { padding-block: 66px; }
  .focus-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .focus-list li { min-height: 110px; }
  .focus-list h3 { margin-top: 18px; }
  .identity-section { padding: 28px 20px; border-radius: 22px; margin-bottom: 55px; }
  .identity-art { min-height: 240px; }
  .identity-art img { width: 130px; height: 130px; }
}

@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .content-nav { align-items: flex-start; flex-direction: column; }
  .content-nav-links { justify-content: flex-start; }
  .work-grid, .photo-grid { grid-template-columns: minmax(0, 1fr); }
  .writing-card { grid-template-columns: minmax(0, 1fr); }
  .writing-media { aspect-ratio: 16 / 9; }
}

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


/* Native bilingual contact form — no JS bundle or custom backend. */
.contact-section {
  padding-block: clamp(58px, 8vw, 104px);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(30px, 6vw, 94px);
}
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:not(.section-label) {
  max-width: 520px;
  color: var(--root);
  font-size: 17px;
  line-height: 1.7;
}
.contact-privacy { font-size: 13px !important; }
.contact-privacy a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-form {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(23,62,49,.15);
  border-radius: 24px;
  background: rgba(255,253,245,.82);
}
.contact-field { display: grid; gap: 8px; }
.contact-field label { color: var(--ink); font-size: 14px; font-weight: 650; }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(23,62,49,.3);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 14px;
}
.contact-field textarea { resize: vertical; min-height: 142px; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible, .contact-submit:focus-visible {
  outline: 3px solid var(--channel);
  outline-offset: 3px;
}
.contact-submit { cursor: pointer; font: inherit; justify-self: start; }
.contact-form-note { margin: 0; color: var(--root); font-size: 12px; line-height: 1.5; }
.contact-honeypot {
  position: absolute;
  left: -10000px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Permanent blog and gallery landing pages, including truthful empty states. */
.index-hero {
  padding-block: clamp(78px, 12vw, 140px);
  max-width: 900px;
}
.index-hero h1 {
  max-width: 900px;
  margin-top: 18px;
  margin-bottom: 24px;
  font-size: clamp(45px, 7vw, 82px);
}
.index-hero .lede { max-width: 660px; }
.index-empty {
  max-width: 740px;
  padding: clamp(24px, 5vw, 45px);
  border: 1px solid rgba(23,62,49,.15);
  border-radius: 22px;
  background: rgba(255,253,245,.7);
}
.index-empty h2 {
  font-size: clamp(28px, 4vw, 42px);
}
.index-empty p { color: var(--root); line-height: 1.7; }
.writing-card h2, .photo-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.15;
}
.writing-card h2 a {
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}
.writing-card h2 a:hover { color: var(--channel); text-decoration-color: currentColor; }
.photo-card h2 { font-size: 25px; }
.section-nav [aria-current="page"] {
  color: var(--channel);
  font-weight: 700;
  text-decoration: underline;
}

/* Progressive enhancement: native same-origin page transitions without a JS router.
   Unsupported browsers use normal navigation. Reduced motion uses no animation. */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: 140ms ease-in both page-fade-out;
  }
  ::view-transition-new(root) {
    animation: 240ms cubic-bezier(.22, 1, .36, 1) both page-fade-in;
  }
  @keyframes page-fade-out {
    to { opacity: 0; }
  }
  @keyframes page-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .section-nav a, .language-nav a, .brand, .site-footer a {
    transition: color 180ms ease, text-decoration-color 180ms ease;
  }
  .button {
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  }
  .button:hover { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) {
    animation: none !important;
  }
}

/* Bilingual About / Experience: real positioning only, no invented CV records. */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  align-items: center;
  gap: clamp(35px, 6vw, 86px);
  padding-block: clamp(78px, 10vw, 130px);
}
.about-hero h1 {
  max-width: 800px;
  font-size: clamp(44px, 6vw, 77px);
  line-height: 1.06;
  margin-bottom: 25px;
}
.about-hero .lede { font-size: clamp(19px, 2.2vw, 24px); }
.about-body {
  max-width: 720px;
  color: var(--root);
  line-height: 1.75;
  font-size: 17px;
}
.about-mark {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, rgba(255,253,245,.7), rgba(215,235,232,.92) 65%, rgba(145,189,91,.22));
  border: 1px solid rgba(23,62,49,.08);
}
.about-mark-orbit {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(23,62,49,.16);
  border-radius: 50%;
}
.about-mark img { width: min(43%, 150px); height: auto; position: relative; }
.about-specialties, .about-experience { padding-block: clamp(70px, 8vw, 105px); }
.about-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-skill-grid li {
  padding: 26px;
  border-top: 3px solid var(--teal);
  background: rgba(255,253,245,.64);
}
.about-skill-grid li:nth-child(2) { border-top-color: var(--leaf); }
.about-skill-grid li:nth-child(3) { border-top-color: var(--reed); }
.about-skill-grid h3 { margin: 28px 0 12px; font-size: clamp(26px, 3vw, 35px); }
.about-skill-grid p { color: var(--root); line-height: 1.65; }
.experience-timeline { margin: 0; padding: 0 0 0 22px; list-style: none; border-left: 1px solid var(--line); }
.timeline-entry { display: grid; grid-template-columns: minmax(140px, .3fr) minmax(0, 1fr); gap: 22px; padding: 0 0 36px 24px; position: relative; }
.timeline-entry::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--teal);
}
.timeline-period { margin: 0; color: var(--root); font-weight: 650; font-size: 13px; }
.timeline-detail h3 { margin: 0 0 8px; font-size: 29px; }
.timeline-detail p { margin: 6px 0 0; color: var(--root); line-height: 1.65; }
.timeline-pending {
  max-width: 720px;
  margin: 0;
  padding: 22px 24px;
  background: rgba(255,253,245,.62);
  border-left: 3px solid var(--reed);
  color: var(--root);
  line-height: 1.7;
}

/* A small closing invitation on blog and gallery, without another form. */
.listing-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px 48px;
  margin-block: clamp(38px, 7vw, 80px);
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid rgba(23,62,49,.12);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(225,236,228,.9), rgba(215,235,232,.6));
}
.listing-contact-cta h2 { font-size: clamp(30px, 3.4vw, 43px); }
.listing-contact-cta p:last-child { margin-bottom: 0; line-height: 1.65; color: var(--root); }
.listing-contact-cta .button { flex: none; }
@media (max-width: 900px) {
  .footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-intro { grid-column: 1 / -1; }
  .about-hero { grid-template-columns: minmax(0, 1fr); }
  .about-mark { display: none; }
}
@media (max-width: 700px) {
  .about-skill-grid { grid-template-columns: minmax(0, 1fr); }
  .listing-contact-cta { align-items: flex-start; flex-direction: column; }
  .timeline-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 14px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}


/* Owner-curated software gallery: brand prototype flow motifs + authentic evidence. */
.hero-detail {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--root);
  font-size: 16px;
  line-height: 1.7;
}
.featured-work { padding-block: clamp(65px, 9vw, 114px); }
.featured-heading { margin-bottom: clamp(28px, 4vw, 47px); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 30px);
}
.featured-project {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23,62,49,.14);
  border-radius: 23px;
  background: rgba(255,253,245,.74);
  box-shadow: 0 14px 45px rgba(23,62,49,.045);
}
.featured-project--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
}
.featured-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: clamp(204px, 22vw, 286px);
  border-bottom: 1px solid rgba(23,62,49,.09);
  background: linear-gradient(145deg, var(--mangrove-mist), var(--lagoon-mist));
}
.featured-visual-label {
  position: absolute;
  z-index: 4;
  bottom: 15px;
  left: 17px;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border: 1px solid rgba(23,62,49,.1);
  border-radius: 999px;
  background: rgba(255,253,245,.88);
  color: var(--root);
  font-size: 11px;
  letter-spacing: .02em;
  line-height: 1.25;
}
.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
}
.featured-image--contain {
  position: relative;
  z-index: 2;
  object-fit: contain;
  width: min(73%, 390px);
  height: min(62%, 176px);
  filter: drop-shadow(0 16px 24px rgba(23,62,49,.1));
}
.featured-screenshot-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: 13px;
  width: 100%;
  height: 100%;
  padding: 22px 18px 43px;
}
.featured-screenshot {
  display: block;
  position: relative;
  min-width: 0;
  z-index: 2;
  border-radius: 11px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.featured-screenshot:first-child { transform: rotate(-2deg) translateY(-5px); }
.featured-screenshot:nth-child(2) { transform: rotate(2deg) translateY(7px); }
.featured-screenshot:hover { transform: translateY(-5px); }
.featured-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 1px solid rgba(23,62,49,.18);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 15px 28px rgba(23,62,49,.15);
}
.featured-screenshot::after {
  content: "↗";
  position: absolute;
  right: 7px;
  top: 7px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,253,245,.94);
  color: var(--ink);
  font-size: 16px;
}
.featured-project-copy { padding: clamp(22px, 3vw, 31px); }
.featured-project-topline {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.featured-project-topline .card-eyebrow { margin: 4px 0 0; }
.featured-status {
  flex: none;
  border: 1px solid rgba(23,62,49,.16);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--root);
  background: rgba(225,236,228,.6);
  font-size: 11px;
  line-height: 1.3;
}
.featured-status--building {
  background: rgba(230,184,79,.11);
  border-color: rgba(181,129,26,.24);
}
.featured-project h3 {
  margin: 14px 0 10px;
  font: 500 clamp(26px, 3vw, 35px)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.featured-description {
  margin: 0;
  min-height: 70px;
  color: var(--root);
  font-size: 15px;
  line-height: 1.65;
}
.featured-project .tag-list { margin-top: 19px; }
.featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 21px;
  margin-top: 21px;
}
.featured-links a {
  font-size: 13px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.featured-links a:hover { color: var(--channel); }
.featured-coming {
  margin: 20px 0 0;
  color: var(--root);
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
}
.featured-project--wide .featured-visual {
  height: auto;
  min-height: 340px;
  border-bottom: 0;
  border-right: 1px solid rgba(23,62,49,.1);
}
.featured-project--wide .featured-description { min-height: 0; }
.featured-project--wide .featured-project-copy { align-self: center; }

/* Water and NLP doodles inherit the path language of the uploaded portfolio prototype. */
.featured-visual--water {
  background:
    radial-gradient(circle at 77% 20%, rgba(230,184,79,.18), transparent 13%),
    linear-gradient(180deg, #CAE4E0 0 49%, #DEEBCF 49% 100%);
}
.featured-visual--backend {
  background:
    linear-gradient(135deg, rgba(35,131,125,.15), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(35,131,125,.065) 16px 17px),
    #E1ECE4;
}
.featured-visual--knowledge {
  background:
    radial-gradient(circle at 76% 26%, rgba(230,184,79,.22), transparent 13%),
    radial-gradient(circle at 24% 34%, rgba(145,189,91,.28), transparent 17%),
    linear-gradient(145deg,#EEF0DF,#DDEBE3);
}
.featured-visual--claims {
  background:
    radial-gradient(circle at 17% 63%, rgba(74,158,177,.16), transparent 20%),
    radial-gradient(circle at 80% 27%, rgba(201,112,79,.17), transparent 17%),
    linear-gradient(140deg,#D7EBE8,#E4ECDC);
}
.featured-doodle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  transform: scale(1.12);
}
.featured-visual--backend .featured-doodle { transform: scale(.82) rotate(7deg); opacity: .74; }
.featured-visual--knowledge .featured-doodle { transform: scale(1.05) rotate(-8deg); }
.featured-visual--claims .featured-doodle { transform: scale(.92) rotate(9deg); }
.featured-visual--biocall {
  background:
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(35,131,125,.06) 14px 15px),
    linear-gradient(138deg,#D7EBE8,#E1ECE4 65%,#E8EBCF);
}
.featured-visual--alp-ui {
  background: linear-gradient(145deg,#E5EDE7,#D6E7E0 55%,#CCE2E4);
}
.featured-visual--toolbox {
  background: linear-gradient(140deg,#EDF0E4,#D2E6DE 58%,#DFEBD0);
}
.featured-visual--marisma {
  background:
    radial-gradient(circle at 26% 27%, rgba(255,253,245,.9), transparent 28%),
    radial-gradient(circle at 73% 75%, rgba(145,189,91,.22), transparent 34%),
    linear-gradient(145deg,#D3E9E3,#E7EDD8);
}
.featured-marisma-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.featured-marisma-screenshot .featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.featured-marisma-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 50px;
  height: 50px;
  padding: 7px;
  border: 1px solid rgba(23,62,49,.12);
  border-radius: 12px;
  background: rgba(255,253,245,.96);
  box-shadow: 0 7px 20px rgba(23,62,49,.1);
  pointer-events: none;
}
.featured-visual--vandens {
  background: linear-gradient(145deg,#CDE6E3,#DFECD6);
}
.featured-visual--vandens .featured-image { object-position: 50% 46%; }
.featured-visual--vandens::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 65%, rgba(23,62,49,.08));
}

.trajectory-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 30px 50px;
  margin-block: clamp(40px, 7vw, 80px);
  padding: clamp(32px, 5vw, 57px);
  border: 1px solid rgba(23,62,49,.14);
  border-radius: 25px;
  background: linear-gradient(125deg, rgba(225,236,228,.88), rgba(215,235,232,.66));
  overflow: hidden;
}
.trajectory-copy h2 { max-width: 700px; }
.trajectory-copy p:not(.section-label) { max-width: 620px; margin: 18px 0 23px; color: var(--root); font-size: 17px; line-height: 1.7; }
.trajectory-art { display: grid; place-items: center; min-width: 0; }
.trajectory-art .featured-doodle { position: static; height: auto; max-height: 220px; }
@media (prefers-reduced-motion: no-preference) {
  /* Readable, continuous flow: highlights travel along the water paths;
     organic forms drift very slightly in place, without shifting text or screenshots. */
  .hero-current,
  .featured-doodle .doodle-current {
    animation: estuary-current 14s linear infinite;
  }
  .featured-doodle .doodle-current { animation-duration: 16s; }
  .hero-scene svg path:not(.hero-current) {
    animation: estuary-breeze 10s ease-in-out infinite alternate;
  }
  .hero-scene svg path:nth-of-type(2n):not(.hero-current) {
    animation-duration: 13s;
    animation-delay: -5s;
  }
  .featured-doodle .doodle-flow {
    animation: estuary-breeze 11s ease-in-out infinite alternate;
  }
  .featured-doodle .doodle-flow--leaf { animation-duration: 15s; animation-delay: -6s; }
  .featured-doodle .doodle-flow--young { animation-duration: 17s; animation-delay: -8s; }
  .lagoon { animation: lagoon-tide 11s ease-in-out infinite alternate; }
  @keyframes estuary-current {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -395; }
  }
  @keyframes estuary-breeze {
    from { transform: translate(0, 0); opacity: .82; }
    to { transform: translate(6px, -5px); opacity: 1; }
  }
  @keyframes lagoon-tide {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(5px) scale(1.018); }
  }
}
@media (max-width: 760px) {
  .featured-grid { grid-template-columns: minmax(0, 1fr); }
  .featured-project--wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .featured-project--wide .featured-visual { min-height: 240px; height: 250px; border-right: 0; border-bottom: 1px solid rgba(23,62,49,.1); }
  .featured-description { min-height: 0; }
  .trajectory-section { grid-template-columns: minmax(0, 1fr); }
  .trajectory-art { display: none; }
}
@media (max-width: 380px) {
  .featured-screenshot-pair { gap: 7px; padding: 16px 10px 43px; }
  .featured-project-copy { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lagoon, .hero-scene svg path, .featured-doodle .doodle-flow,
  .hero-current, .featured-doodle .doodle-current {
    animation: none !important;
  }
  .featured-screenshot { transition: none; }
}

/* Preserve whole application screenshots and give logos readable breathing room. */
.featured-visual--biocall,
.featured-visual--alp-ui { height: clamp(235px, 27vw, 310px); }
.featured-visual--toolbox .featured-image--contain {
  width: min(88%, 470px);
  height: auto;
  max-height: 175px;
}
.featured-marisma-screenshot:focus-visible,
.featured-screenshot:focus-visible {
  outline: 3px solid var(--channel);
  outline-offset: -3px;
}


/* November 2026 editorial revision: concise developer identity and compact project cards. */
.brand-wordmark {
  display: inline-block;
  color: var(--channel);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 750;
  letter-spacing: -.048em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-tld {
  color: #758d81;
  font-weight: 450;
  letter-spacing: -.055em;
  text-shadow: 1px 1px 2px rgba(23,62,49,.15);
}
.footer-name {
  color: var(--channel);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: -.048em;
}
.footer-name .brand-tld { font-size: .84em; }
.hero { min-height: 565px; }
.hero h1 {
  font-size: clamp(48px, 6.4vw, 80px);
  line-height: 1.06;
  letter-spacing: -.045em;
  overflow-wrap: normal;
}
.hero-detail { max-width: 600px; }
.featured-heading { margin-bottom: 26px; }
.featured-grid { gap: clamp(14px, 1.7vw, 20px); }
.featured-project {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(23,62,49,.035);
}
.featured-project-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 19px 14px;
}
.featured-project-topline h3 {
  margin: 0;
  flex: 1 1 165px;
  font: 600 clamp(20px, 2vw, 24px)/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
}
.featured-status {
  font-size: 11px;
  margin-top: 0;
  background: rgba(225,236,228,.75);
  white-space: nowrap;
}
.featured-project-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: stretch;
  min-width: 0;
}
.featured-project-layout .featured-visual {
  width: 100%;
  min-height: 250px;
  height: auto;
  border-right: 1px solid rgba(23,62,49,.09);
  border-bottom: 0;
}
.featured-visual-label { display: none; }
.featured-project-layout .featured-project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 3px 18px 18px;
  min-width: 0;
}
.featured-subtitle {
  margin: 0;
  color: var(--ink);
  font: 700 14px/1.42 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.015em;
}
.featured-project-layout .featured-description {
  min-height: 0;
  margin: 0;
  color: var(--root);
  font-size: 13px;
  line-height: 1.55;
}
.featured-stack { width: 100%; margin-top: auto; padding-top: 7px; }
.featured-stack-label {
  color: var(--root);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.featured-project .tag-list {
  margin: 7px 0 0;
  gap: 5px;
}
.featured-project .tag-list li {
  font-size: 10px;
  padding: 4px 8px;
}
.featured-project-layout .featured-links {
  margin-top: 3px;
  gap: 7px 13px;
}
.featured-project-layout .featured-links a { font-size: 12px; }
.featured-project-layout .featured-coming { margin: 2px 0 0; font-size: 12px; }
.featured-project-layout .featured-screenshot-pair {
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 16px 10px;
}
.featured-project-layout .featured-screenshot img { max-height: none; }
.featured-project-layout .featured-image--contain {
  width: 88%;
  height: auto;
  max-height: 165px;
}
.featured-project-layout .featured-marisma-screenshot .featured-image {
  object-fit: contain;
  background: rgba(255,253,245,.8);
}
.featured-project-layout .featured-marisma-mark { width: 40px; height: 40px; }
.featured-project--vandens {
  grid-column: auto;
  display: block;
}
.featured-project--vandens .featured-project-layout {
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
}
.featured-project--vandens .featured-project-layout .featured-visual {
  min-height: 250px;
  height: auto;
  border-right: 1px solid rgba(23,62,49,.09);
  border-bottom: 0;
}
.featured-project--vandens .featured-project-copy { align-self: stretch; }
.featured-project--vandens .featured-description { min-height: 0; }

/* Work history is readable directly from the owner-provided CV, with no faux cards. */
.about-hero--compact {
  display: block;
  max-width: 950px;
  padding-block: clamp(50px, 7vw, 88px);
}
.about-hero--compact h1 { font-size: clamp(35px, 4vw, 55px); margin: 0 0 18px; }
.about-hero--compact .about-body { max-width: 880px; margin: 0; line-height: 1.75; }
.about-experience, .about-education, .about-languages { padding-block: clamp(48px, 7vw, 80px); }
.about-experience > h2, .about-education > h2, .about-languages > h2 {
  margin-bottom: clamp(30px, 5vw, 44px);
  font-size: clamp(30px, 3.5vw, 42px);
}
.timeline-detail h3 { font-size: clamp(21px, 2.5vw, 28px); }
.timeline-org { font-weight: 650; color: var(--ink) !important; }
.timeline-note { font-size: 13px; font-style: italic; }
.timeline-responsibilities {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding-left: 20px;
  color: var(--root);
  font-size: 14px;
  line-height: 1.62;
}
.timeline-responsibilities li { padding-left: 3px; }
.timeline-entry { padding-bottom: clamp(28px, 4vw, 44px); }
.language-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.language-qualifications li {
  border: 1px solid rgba(23,62,49,.17);
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(255,253,245,.74);
  font-size: 13px;
}
.contact-invites {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.contact-invites li {
  border: 1px solid rgba(23,62,49,.18);
  background: rgba(225,236,228,.65);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}
@media (max-width: 1120px) and (min-width: 761px) {
  .featured-project-layout,
  .featured-project--vandens .featured-project-layout { grid-template-columns: minmax(0, 1fr); }
  .featured-project-layout .featured-visual,
  .featured-project--vandens .featured-project-layout .featured-visual {
    height: 192px;
    min-height: 192px;
    border-right: 0;
    border-bottom: 1px solid rgba(23,62,49,.09);
  }
  .featured-project-layout .featured-project-copy { padding: 17px 18px 20px; }
}
@media (max-width: 760px) {
  .featured-project-layout,
  .featured-project--vandens .featured-project-layout {
    grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  }
  .featured-project-layout .featured-visual,
  .featured-project--vandens .featured-project-layout .featured-visual {
    min-height: 220px;
    height: auto;
    border-right: 1px solid rgba(23,62,49,.09);
    border-bottom: 0;
  }
}
@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero h1 { font-size: clamp(43px, 10vw, 61px); }
  .featured-project-layout,
  .featured-project--vandens .featured-project-layout { grid-template-columns: minmax(0, 1fr); }
  .featured-project-layout .featured-visual,
  .featured-project--vandens .featured-project-layout .featured-visual {
    height: 200px; min-height: 200px;
    border-right: 0; border-bottom: 1px solid rgba(23,62,49,.09);
  }
  .featured-project-layout .featured-project-copy { padding: 17px 18px 20px; }
}


/* 2026-11-14 owner refinements — roomier image-led portfolio cards and subtle canopy. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hero h1 { font-size: clamp(37px, 4.55vw, 59px); letter-spacing: -.037em; }
.hero { min-height: 490px; }
.hero-scene--canopy {
  display: grid;
  place-items: center;
  height: clamp(240px, 31vw, 410px);
  overflow: visible;
  background: none;
}
.hero-scene--canopy::before,
.hero-scene--canopy::after { content: none; }
.canopy-mark { display: block; height: auto; aspect-ratio: 1; }
.canopy-mark--hero {
  width: clamp(165px, 19vw, 235px);
  max-width: 75%;
  opacity: .78;
  filter: drop-shadow(0 8px 15px rgba(23,62,49,.055));
}
.trajectory-art .canopy-mark--trajectory {
  width: clamp(118px, 14vw, 170px);
  max-width: 72%;
  opacity: .63;
}
.featured-visual .canopy-mark--card {
  width: clamp(125px, 18vw, 195px);
  max-width: 44%;
  opacity: .67;
}
.featured-heading > p { display: none; }
.featured-grid {
  gap: clamp(22px, 2.7vw, 32px);
}
.featured-project {
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(23,62,49,.045);
}
.featured-project-topline { padding: 23px 25px 18px; }
.featured-project-topline h3 {
  font-size: clamp(22px, 2.25vw, 28px);
  letter-spacing: -.025em;
}
.featured-project-layout,
.featured-project--vandens .featured-project-layout {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.featured-project-layout .featured-visual,
.featured-project--vandens .featured-project-layout .featured-visual {
  width: 100%;
  height: clamp(265px, 25vw, 335px);
  min-height: 265px;
  border-right: 0;
  border-bottom: 1px solid rgba(23,62,49,.09);
}
.featured-project-layout .featured-project-copy,
.featured-project--vandens .featured-project-layout .featured-project-copy {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  padding: 24px clamp(22px, 3vw, 30px) 29px;
}
.featured-project-layout .featured-description {
  font-size: 14px;
  line-height: 1.72;
  min-height: 0;
}
.featured-project-layout .featured-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.4;
}
.featured-project-layout .featured-screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  width: 100%;
  height: 100%;
  align-items: center;
  gap: clamp(12px, 2vw, 23px);
  padding: 20px clamp(16px, 3vw, 29px);
}
.featured-project-layout .featured-screenshot {
  transform: none;
  width: 100%;
}
.featured-project-layout .featured-screenshot:first-child,
.featured-project-layout .featured-screenshot:nth-child(2) { transform: none; }
.featured-project-layout .featured-screenshot img {
  width: 100%;
  height: auto;
  max-height: 285px;
  object-fit: contain;
  background: #fff;
}
.featured-project-layout .featured-image--contain {
  width: min(86%, 470px);
  height: auto;
  max-height: 235px;
}
.featured-visual--knowledge .featured-image,
.featured-visual--claims .featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.featured-project-layout .featured-marisma-screenshot .featured-image {
  object-fit: contain;
  padding: 12px;
}
.featured-stack { margin-top: 7px; }
.featured-project .tag-list { gap: 7px; }
.featured-project .tag-list li { font-size: 11px; padding: 6px 9px; }
.featured-project-layout .featured-links { margin-top: 8px; }
.featured-project-layout .featured-links a { font-size: 13px; }
.thesis-preprint {
  display: inline-block;
  margin-left: 5px;
  color: var(--channel);
  font-weight: 650;
  text-underline-offset: 4px;
}
.contact-form .contact-privacy {
  margin-top: 4px;
  max-width: none;
  font-size: 12px !important;
  line-height: 1.6;
}
.index-empty { margin: clamp(55px, 10vw, 128px) auto; }
.github-cta .github-mark { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) {
  .hero-scene--canopy { height: 235px; }
  .featured-project-layout .featured-visual,
  .featured-project--vandens .featured-project-layout .featured-visual {
    height: clamp(235px, 53vw, 345px);
    min-height: 235px;
  }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(34px, 7.8vw, 47px); }
  .featured-project-layout .featured-visual,
  .featured-project--vandens .featured-project-layout .featured-visual {
    height: 246px;
    min-height: 246px;
  }
  .featured-project-layout .featured-screenshot-pair { gap: 10px; padding: 15px 12px; }
}


/* Public domain contact details: one tiny copy interaction reused across the site. */
.site-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: none;
  min-width: 0;
}
.email-copy {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 9px;
  color: var(--root);
  font-size: 13px;
  line-height: 1.5;
}
.email-copy-address {
  font-variant-ligatures: none;
  white-space: nowrap;
  user-select: text;
}
.email-symbol { color: var(--channel); font-weight: 600; }
.email-copy-button {
  appearance: none;
  border: 1px solid rgba(23,62,49,.25);
  border-radius: 999px;
  padding: 3px 11px;
  background: rgba(255,253,245,.86);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.email-copy-button:hover { background: #dcebe2; border-color: var(--channel); }
.email-copy-button:focus-visible {
  outline: 3px solid var(--channel);
  outline-offset: 3px;
}
.email-copy-feedback {
  color: var(--channel);
  font-size: 12px;
  font-weight: 650;
}
.email-copy--header { font-size: 11px; padding-left: 3px; }
.email-copy--header .email-copy-button { padding: 2px 9px; font-size: 11px; }
.email-copy--footer { display: flex; margin-top: 17px; }
.email-copy--footer .email-copy-button { background: #fffdf5; }
.email-copy--privacy { vertical-align: baseline; }
.contact-direct-email {
  margin-top: 23px;
  display: grid;
  gap: 5px;
}
.contact-direct-label { margin: 0; font-size: 13px; color: var(--root); font-weight: 650; }
.contact-direct-email .email-copy { font-size: 15px; }
.section-nav a.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #173e31;
  color: #fffdf5;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(23,62,49,.12);
}
.section-nav a.nav-contact:hover {
  background: #2b6653;
  color: #fff;
  text-decoration: none;
}
.section-nav a.nav-contact:focus-visible { outline: 3px solid #e6b84f; outline-offset: 3px; }
@media (max-width: 1180px) {
  html { --sticky-header-offset: 180px; }
  .site-header-inner { flex-wrap: wrap; padding-block: 12px; gap: 11px; }
  .header-navs { width: 100%; justify-content: space-between; gap: 12px 22px; }
}
@media (max-width: 700px) {
  html { --sticky-header-offset: 218px; }
  .section-nav a.nav-contact { padding: 8px 14px; }
  .site-header-inner { gap: 7px; }
}
@media (max-width: 390px) {
  html { --sticky-header-offset: 245px; }
  .email-copy--header { font-size: 10px; }
}

/* Full-size BioCall and alp-ui views: one readable screenshot at a time.
   Native radio inputs provide touch, pointer and keyboard switching without JS. */
.featured-project-layout .featured-screenshot-pair.featured-screenshot-switcher {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.featured-screenshot-stage {
  width: 100%;
  height: calc(100% - 42px);
  overflow: hidden;
}
.featured-project-layout .featured-screenshot-stage .featured-screenshot {
  display: none;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}
.featured-screenshot-stage .featured-screenshot::after { right: 12px; top: 12px; }
.featured-screenshot-choice:first-child:checked ~ .featured-screenshot-stage .featured-screenshot:first-child,
.featured-screenshot-choice:nth-child(2):checked ~ .featured-screenshot-stage .featured-screenshot:nth-child(2) {
  display: block;
}
.featured-project-layout .featured-screenshot-stage .featured-screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 46%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.featured-screenshot-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 5px 10px;
  background: rgba(255,253,245,.94);
  border-top: 1px solid rgba(23,62,49,.12);
}
.featured-screenshot-tab {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(23,62,49,.18);
  border-radius: 999px;
  color: var(--ink);
  font: 600 11px/1.3 Inter, ui-sans-serif, system-ui, sans-serif;
  padding: 5px 12px;
  cursor: pointer;
}
.featured-screenshot-choice:first-child:checked ~ .featured-screenshot-controls .featured-screenshot-tab:first-child,
.featured-screenshot-choice:nth-child(2):checked ~ .featured-screenshot-controls .featured-screenshot-tab:nth-child(2) {
  background: #173e31;
  border-color: #173e31;
  color: #fffdf5;
}
.featured-screenshot-choice:focus-visible ~ .featured-screenshot-controls { outline: 2px solid var(--channel); outline-offset: -2px; }
.featured-project--biocall .featured-project-layout .featured-visual {
  height: clamp(300px, 29vw, 415px);
  min-height: 300px;
}
@media (max-width: 760px) {
  .featured-project--biocall .featured-project-layout .featured-visual {
    height: clamp(265px, 64vw, 375px);
    min-height: 265px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .email-copy-button, .featured-screenshot-tab { transition: none; }
}


/* Put the public email beside (not underneath) the darizae.dev wordmark. */
.site-identity {
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
}
.email-copy--header {
  position: relative;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding-left: 0;
  gap: 6px;
}
.email-copy--header .email-copy-feedback {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .site-identity { gap: 7px; max-width: 100%; }
  .site-identity .brand { gap: 5px; flex: none; }
  .site-identity .brand img { width: 27px; height: 27px; }
  .site-identity .brand-wordmark { font-size: 16px; }
  .email-copy--header { font-size: 10px; gap: 3px; min-width: 0; }
  .email-copy--header .email-copy-button { font-size: 10px; padding: 2px 5px; }
}
@media (max-width: 360px) {
  .site-identity { gap: 5px; }
  .site-identity .brand img { width: 22px; height: 22px; }
  .site-identity .brand-wordmark { font-size: 15px; }
  .email-copy--header { font-size: 9px; gap: 2px; }
  .email-copy--header .email-copy-button { font-size: 9px; padding: 2px 4px; }
}

/* Original Vandens screenshots: show the full design / 3D screen without cropping. */
.featured-project--vandens .featured-screenshot-stage .featured-screenshot img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
