/* 2026 site: homepage (UX work) and resume + contact */

:root {
  --ink: #000;
  --blue: #005F88;
  --plum: #5D304B;
  --coral: #FF6F61;
  --rule: #000;
  --col: 297px;
  --gap: 30px;
  --page: 952px;
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--coral); color: var(--ink); font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.2; -webkit-font-smoothing: antialiased; }
strong { font-weight: 700; }
a { color: inherit; }
a:hover, a:focus-visible { color: var(--coral); }

/* Coral frame: same rules as the original site (css/style.css .container) */
.container { background-color: #fff; margin: 3% auto; max-width: 94%; overflow: hidden; }
@media screen and (min-width: 768px) { .container { margin: 1.5% auto; max-width: 96.5%; } }
@media screen and (min-width: 1224px) { .container { margin: 1% auto; max-width: 98%; } }

.page { max-width: var(--page); margin: 0 auto; padding: 0 16px 40px; box-sizing: content-box; }

/* Labels (eyebrows) */
.eyebrow { margin: 0; color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.406; letter-spacing: .7px; text-transform: uppercase; }

/* Top nav */
/* Nav sits centered in the top margin band */
.site-nav { --band: 98px; display: flex; align-items: center; justify-content: flex-end; gap: var(--gap); height: var(--band); margin-bottom: -40px; }
.site-nav a { width: 134px; color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.406; letter-spacing: .7px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--plum); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--coral); }

/* Jump arrows */
.jump { display: block; width: 71px; height: 71px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.jump img { display: block; width: 71px; height: 71px; transition: transform .25s ease; }
.jump--up img { transform: rotate(180deg); }
.jump:hover img, .jump:focus-visible img { filter: invert(55%) sepia(60%) saturate(1500%) hue-rotate(320deg) brightness(102%); }
.jump-row { display: flex; justify-content: flex-end; padding-bottom: 20px; }
.jump-cell { min-height: 71px; }
/* When the arrow's spot is below the first screen, it floats at the bottom of the window until you scroll to it */
.jump.is-floating { position: fixed; z-index: 4; background: #fff; }
.jump-cell { width: var(--col); display: flex; justify-content: center; }

/* Homepage hero */
.hero { display: flex; flex-direction: column; gap: 40px; }
.hero-header { display: flex; align-items: center; gap: var(--gap); padding: 20px 0; }
.hero-logo { flex: none; width: var(--col); display: flex; justify-content: center; }
.hero-logo img { display: block; width: 197px; height: auto; }
.hero-intro { flex: 1; min-width: 0; font-family: 'Unna', serif; font-weight: 400; }
.hero-intro h1 { margin: 0; font-size: 48px; line-height: 1.2; font-weight: 400; }
.hero-intro p { margin: 0; font-size: 38px; line-height: 1.382; }

.principles { display: flex; align-items: center; justify-content: center; gap: var(--gap); padding: 20px 0; }
.principles-col { flex: none; width: var(--col); display: flex; flex-direction: column; gap: var(--gap); }
.principle { display: flex; flex-direction: column; gap: 10px; }
.principle p { margin: 0; }
.rosette { flex: none; width: 300px; height: 300px; }
.rosette img, .rosette-svg { display: block; width: 303px; height: 303px; margin: -1.5px; }
.rosette { position: relative; }
.petal { cursor: help; outline: none; transition: opacity .15s ease; }
.rosette:hover .petal, .rosette:focus-within .petal { opacity: .55; }
.rosette .petal:hover, .rosette .petal:focus-visible, .rosette .petal.is-active { opacity: 1; }
.petal:focus-visible path[fill] { stroke: var(--ink); stroke-width: 4; }
.rosette-tip { position: absolute; z-index: 5; left: 0; top: 0; padding: 8px 12px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.3; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; text-align: center; }
.rosette-tip strong { display: block; }
.lead-line { border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.lead-line.is-lit[data-lead="clarity"] { background: var(--coral); box-shadow: 0 0 0 2px var(--coral); color: var(--ink); }
.lead-line.is-lit[data-lead="evidence"] { background: #5D304B; box-shadow: 0 0 0 2px #5D304B; color: #fff; }
.lead-line.is-lit[data-lead="craft"] { background: #0F3C67; box-shadow: 0 0 0 2px #0F3C67; color: #fff; }
.lead-line.is-lit[data-lead="people"] { background: #226639; box-shadow: 0 0 0 2px #226639; color: #fff; }
@media (prefers-reduced-motion: reduce) { .petal, .lead-line { transition: none; } }

/* Shared section layout: content column plus right-hand arrow column */
.section { display: flex; gap: var(--gap); margin-top: 40px; padding-top: 61px; border-top: 1px solid var(--rule); }
.section-content { flex: none; width: 625px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; }
.section-aside { flex: none; width: var(--col); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; }
.section-title { margin: 0; font-family: 'Unna', serif; font-size: 48px; line-height: 1; font-weight: 400; }

.entry { display: flex; flex-direction: column; gap: 10px; }
.entry-body { display: flex; flex-direction: column; gap: 20px; }
.entry h3 { margin: 0; font-size: 25px; line-height: 1.406; font-weight: 400; }
.entry-text { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.entry-text p { margin: 0; }
.text-link { display: inline; padding: 0; border: 0; text-decoration: none; background: none; color: inherit; font: inherit; line-height: 1.2; text-align: left; cursor: pointer; }
.text-link span { text-decoration: underline; }
.text-link:hover, .text-link:focus-visible { color: var(--coral); }
.case-study-link { align-self: flex-start; margin-top: 10px; }

.greetings { display: grid; grid-template-columns: repeat(4, minmax(0, 150px)); gap: 10px; padding-top: 20px; }
.greetings img { display: block; width: 100%; height: auto; }

/* Resume + contact page */
.bio-header { display: flex; align-items: stretch; gap: var(--gap); padding: 20px 0; }
.bio-photo { flex: none; width: 134px; display: flex; justify-content: center; }
.bio-photo img { display: block; width: 126px; height: 126px; border-radius: 50%; }
.bio { flex: none; width: 461px; display: flex; flex-direction: column; gap: 30px; padding: 10px 0; }
.bio p { margin: 0; }
.bio p + p { margin-top: 19px; }
.bio-aside { flex: none; width: var(--col); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; }

.job { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.job p { margin: 0; }
.job-role { line-height: 1.406; }
.job-role strong { font-weight: 700; }
.job ul { margin: 0; padding: 0; list-style: disc; }
.job li { margin: 0 0 10px 24px; }
.job li:last-child { margin-bottom: 0; }
.job li .item { font-weight: 500; }
.history { display: flex; flex-direction: column; gap: 10px; }
.employer { display: flex; flex-direction: column; gap: 20px; }
.employer h3 { margin: 0; font-size: 25px; line-height: 1.406; font-weight: 400; }
.employer-roles { display: flex; flex-direction: column; }
.employer-roles p { margin: 0; line-height: 1.406; }
.education { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.education h3 { margin: 0; font-size: 25px; line-height: 1.406; font-weight: 400; }
.education p { margin: 0; }
.more-link { padding-top: 10px; }

/* Footer */
.site-footer { display: flex; align-items: center; gap: var(--gap); margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--rule); }
.site-footer nav { display: flex; gap: var(--gap); width: 441px; }
.site-footer nav a { width: 134px; text-decoration: none; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { text-decoration: underline; }
.copyright { flex: 1; margin: 0; font-family: 'Roboto Condensed', sans-serif; font-size: 19px; font-style: italic; font-weight: 300; line-height: 1.5; text-align: right; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Tablet and phone */
@media screen and (max-width: 1000px) {
  .site-nav { --band: 80px; }
  .page { padding-left: 32px; padding-right: 32px; }
  .site-nav a { width: auto; }
  .hero-header { flex-direction: column; align-items: flex-start; }
  .hero-logo { width: auto; justify-content: flex-start; }
  .hero-logo img { width: 140px; }
  .hero-intro h1 { font-size: 40px; }
  .hero-intro p { font-size: 30px; }
  .principles { flex-direction: column; align-items: flex-start; }
  .principles-col { width: 100%; }
  .rosette { order: -1; align-self: center; width: 240px; height: 240px; }
  .rosette img, .rosette-svg { width: 242px; height: 242px; margin: -1px; }
  .jump-row { justify-content: center; }
  .jump-cell { width: auto; }
  .section { flex-direction: column; padding-top: 48px; }
  .section-content { width: 100%; }
  .section-aside { width: 100%; justify-content: center; padding-bottom: 0; }
  .section-title { font-size: 40px; }
  .bio-header { flex-direction: column; }
  .bio-photo { width: auto; justify-content: flex-start; }
  .bio { width: 100%; }
  .bio-aside { width: 100%; justify-content: center; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer nav { width: auto; gap: 24px; }
  .site-footer nav a { width: auto; }
  .copyright { text-align: left; }
}

@media screen and (max-width: 560px) {
  .site-nav { gap: 20px; }
  .hero-intro p { font-size: 26px; }
  .greetings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
