/* Theme — committed hybrid: Editorial (A) + Now widgets (C), Lora headings */

/* Direction A — Editorial: bigger type, full-bleed moments, varied rhythm */

.display { font-size: clamp(56px, 12vw, 168px); }
.hero { padding-bottom: clamp(40px, 6vw, 80px); }
.row h2 { font-size: clamp(36px, 5vw, 60px); }
.row__media img { aspect-ratio: 3 / 2; }

/* full-bleed image band */
.band { position: relative; margin-top: clamp(44px, 7vw, 80px); }
.band img { display: block; width: 100%; height: clamp(400px, 56vw, 660px); object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,36,5,0.66), rgba(43,36,5,0) 55%);
}
.band__label { position: absolute; z-index: 1; left: clamp(20px, 4.5vw, 56px); bottom: clamp(22px, 4vw, 48px); }
.band__label h2 {
  font-family: var(--rounded); font-weight: 800;
  font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.02em;
  color: var(--cream); margin: 0;
}
.band__label .tagline { color: rgba(251,246,230,0.85); font-size: 18px; margin-top: 8px; }
.band__label .link { color: var(--cream); border-color: var(--cream); margin-top: 14px; }

/* text-only quote row */
.quote {
  padding: clamp(56px, 9vw, 110px) 0;
  border-top: 1px solid rgba(58, 48, 5, 0.22);
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.quote .big {
  font-family: var(--rounded); font-weight: 800;
  font-size: clamp(48px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.025em;
  color: var(--gold-glow); margin: 0;
}
.quote .tagline { font-size: 19px; color: var(--ink); }

/* featured project card */
.project {
  margin-top: clamp(20px, 3vw, 36px);
  background: var(--mustard-deep);
  border-radius: var(--radius);
  padding: clamp(26px, 4.5vw, 52px);
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: clamp(24px, 4vw, 52px); align-items: center;
}
.project__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.project .kicker { color: rgba(251,246,230,0.7); }
.project h2 {
  font-family: var(--rounded); font-weight: 800;
  font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -0.02em; line-height: 1.02;
  color: var(--cream); margin: 0;
}
.project p:not(.kicker) { color: rgba(251,246,230,0.88); font-size: 18px; margin: 0; }
.project .link { color: var(--cream); border-color: var(--cream); }
.project img {
  display: block; width: 100%; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(43, 36, 5, 0.35);
}
.project__decisions {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.project__decisions li {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(247, 239, 210, 0.78);
}
.project__decisions li strong { color: var(--cream); font-weight: 600; }

/* bigger footer */
.footer--big .wrap {
  flex-direction: column; align-items: flex-start; gap: 14px;
  padding-top: 48px; padding-bottom: 56px;
}
.footer--big .name {
  font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.02em;
  font-weight: 800; font-family: var(--rounded);
}
.footer--big .links { flex-wrap: wrap; }

@media (max-width: 720px) {
  .project { grid-template-columns: 1fr; }
}


/* Hybrid — Direction A editorial bones + "Now" widget strip from C.
   Lora reincorporated as the heading serif; palette unchanged. */

:root {
  --serif: "Lora", Georgia, serif;
}

/* ——— Lora takes over display duty ——— */
.display,
.row h2,
.block h2,
.quote .big,
.band__label h2,
.project h2,
.work h2,
.footer--big .name {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.display em,
.quote .big em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-glow);
}
.quote .big em { color: var(--ink); }
.nav__home {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 18px;
  white-space: nowrap;
}

/* ——— home-page monogram + blinking cursor ——— */
.nav--mark { align-items: center; }
.nav a.nav__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-glow);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a.nav__mark:hover { background: var(--cream); color: var(--ink); }
.display .cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.72em;
  margin-left: 0.1em;
  background: var(--gold-glow);
  vertical-align: baseline;
  animation: cdp-blink 1.15s step-end infinite;
}
@keyframes cdp-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .display .cursor { animation: none; }
}

/* ——— "Now" widget strip ——— */
.now {
  padding-bottom: clamp(48px, 7vw, 84px);
}
.now__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.now__head .note { font-size: 13px; color: var(--ink-soft); }
.now__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  background: var(--mustard-deep);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  min-height: 186px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.15s ease;
}
a.tile:hover { transform: translateY(-3px); }
.tile__src {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 210, 0.62);
}
.tile__big {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-wrap: balance;
}
.tile__sub {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(247, 239, 210, 0.75);
}
/* running: mini week bars */
.tile .bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
}
.tile .bars span {
  flex: 1;
  border-radius: 3px;
  background: var(--gold-glow);
  opacity: 0.9;
}
.tile .bars span.rest { background: rgba(247, 239, 210, 0.22); height: 14% !important; }
/* reading: progress meter */
.tile .meter {
  margin-top: auto;
  height: 6px;
  border-radius: 3px;
  background: rgba(247, 239, 210, 0.22);
  overflow: hidden;
}
.tile .meter i {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 3px;
  background: var(--gold-glow);
}
/* writ tile goes ink, like the app itself */
.tile--writ { background: var(--ink); }
.tile--writ .tile__src { color: rgba(227, 198, 95, 0.75); }

/* ——— lightweight work section ——— */
.work {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 6.5vw, 80px) 0;
  border-top: 1px solid rgba(58, 48, 5, 0.22);
}
.work__intro { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.work h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  color: var(--ink);
}
.work__intro p:not(.kicker) { color: var(--ink-soft); font-size: 18px; max-width: 380px; }
.roles { display: flex; flex-direction: column; }
.role {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(58, 48, 5, 0.16);
}
.role:first-child { border-top: 1px solid rgba(58, 48, 5, 0.16); }
.role__what { display: flex; flex-direction: column; gap: 2px; }
.role__title { font-weight: 600; font-size: 18px; color: var(--ink); }
.role__org { font-size: 15px; color: var(--ink-soft); }
.role__when {
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.roles .more {
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
/* work blog posts */
.posts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.posts .kicker { margin-bottom: 6px; }
.post {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(58, 48, 5, 0.12);
  text-decoration: none;
}
.post__title { font-weight: 600; font-size: 16.5px; color: var(--ink); }
.post__date {
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.post:hover .post__title { color: var(--cream); }

/* ——— scroll-progress ring ——— */
.scrollring {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  z-index: 60;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(58, 48, 5, 0.28);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.scrollring.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.scrollring svg {
  position: absolute;
  inset: 3px;
  width: 40px;
  height: 40px;
  transform: rotate(-90deg);
}
.scrollring circle { fill: none; stroke-width: 2.5; }
.scrollring__track { stroke: rgba(58, 48, 5, 0.15); }
.scrollring__fill {
  stroke: var(--mustard-deep);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}
.scrollring__arrow { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1; }
.scrollring:hover .scrollring__arrow { color: var(--mustard-deep); }
@media (prefers-reduced-motion: reduce) {
  .scrollring, .scrollring__fill { transition: none; }
}

/* ——— plans horizons ——— */
.horizons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid rgba(58, 48, 5, 0.22);
}
.horizon {
  background: var(--mustard-deep);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.horizon .kicker { color: rgba(247, 239, 210, 0.62); }
.horizon h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--cream);
  margin: 0;
}
.horizon p:not(.kicker) {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(247, 239, 210, 0.78);
  margin: 0;
}
@media (max-width: 720px) {
  .horizons { grid-template-columns: 1fr; }
}

/* ——— hobbies photo gallery ——— */
.photos {
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid rgba(58, 48, 5, 0.22);
}
.photos__intro { max-width: 520px; margin-bottom: 26px; }
.photos__intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 10px 0 12px;
}
.photos__intro p:not(.kicker) { color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin: 0; }
.photogrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(140px, 16vw, 230px);
  grid-auto-flow: dense;
  gap: 12px;
}
.photogrid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.photogrid img.wide { grid-column: span 2; }
@media (max-width: 720px) {
  .photogrid { grid-template-columns: repeat(2, 1fr); }
}

/* ——— small-screen tuning ——— */
@media (max-width: 540px) {
  .nav__links { font-size: 14px; gap: 10px 14px; }
  .role { flex-wrap: wrap; }
  .scrollring { right: 16px; bottom: 16px; }
  .project { padding: 24px 20px; }
}

/* ——— responsive ——— */
@media (max-width: 980px) {
  .now__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .work { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 540px) {
  .now__grid { grid-template-columns: 1fr; }
}
