/* Public home. The full portfolio uses styles.css. */

:root {
  --navy: #0B2A55; --blue: #1F5FAF; --ink: #10192B; --muted: #4A5468;
  --cream: #F6F1E7; --sand: #EDE4D6; --white: #FFFFFF; --yellow: #FFD23F;
  --serif: 'Newsreader', Georgia, serif; --sans: 'IBM Plex Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; margin: 0; }
body { font: 17px/1.65 var(--sans); color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); letter-spacing: -.01em; }
.btn { display: inline-block; padding: 15px 26px; background: var(--navy); color: var(--white); text-decoration: none;
  font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: background .2s; }
.btn:hover { background: var(--blue); }
.btn.light { background: var(--white); color: var(--navy); }
.btn.light:hover { background: var(--cream); }
.link { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* Header */
header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.head { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; }
.brand span { font: 400 20px/1 var(--serif); color: var(--navy); }
nav { display: flex; align-items: center; gap: 36px; }
nav a { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
nav a:hover { color: var(--blue); }
nav .btn { padding: 12px 18px; color: var(--white); }

/* Strengths */
.section { padding: 120px 0; }
.intro { max-width: 760px; }
.intro h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; margin-top: 18px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 72px; }
.three h3 { font-size: 25px; margin-bottom: 12px; }
.three p { color: var(--muted); }
.three .no { font: 500 12px/1 var(--mono); color: var(--blue); letter-spacing: .14em; display: block; margin-bottom: 20px; }

/* Flagship: the blueprint returns as a quiet grid on navy */
.flagship { background-color: var(--navy); color: var(--white);
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.flagship .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.flagship .kicker { color: var(--yellow); }
.flagship h2 { color: var(--white); font-size: clamp(38px, 4.4vw, 58px); line-height: 1.08; margin: 18px 0 24px; }
.flagship .q { font: italic 300 24px/1.45 var(--serif); color: #DCE5F3; margin-bottom: 28px; }
.flagship p { color: #C9D4E6; max-width: 32em; }
.facts { display: flex; gap: 48px; margin: 40px 0 44px; }
.facts b { display: block; font: 300 44px/1 var(--serif); color: var(--white); }
.facts span { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9FB2D2; }
.flagship .actions { display: flex; gap: 28px; align-items: center; }
.flagship .link { color: var(--white); }
.stack img { width: 100%; max-width: 460px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }

/* Process */
.process .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
.process .pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.process blockquote { font: 300 clamp(30px, 3.4vw, 44px)/1.2 var(--serif); color: var(--navy); margin: 20px 0 28px; }
.process p { color: var(--muted); max-width: 30em; }

/* Work */
.work { background: var(--cream); }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 56px; }
.card, .paper { text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.card:hover img { opacity: .88; }
.card h3 { font-size: 24px; margin: 22px 0 6px; }
.card p { color: var(--muted); font-size: 15px; }
.locked { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid #D9CDBA; }
.locked p { color: var(--muted); max-width: 36em; }

/* Papers */
.papers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
.paper img { width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; box-shadow: 0 18px 40px rgba(11,42,85,.14); }
.paper h3 { font-size: 21px; line-height: 1.3; margin: 24px 0 8px; }
.paper span { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.contact h2 { color: var(--white); font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; margin: 18px 0 24px; }
.contact .kicker { color: var(--yellow); }
.contact p { color: #C9D4E6; max-width: 30em; margin-bottom: 40px; }
.contact dl div { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact dt { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9FB2D2; margin-bottom: 10px; }
.contact dd { font: 400 21px/1.4 var(--serif); }
.contact dd a { text-decoration: none; }
footer { background: var(--navy); color: #9FB2D2; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
footer .wrap { display: flex; justify-content: space-between; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid rgba(255,255,255,.12); }
footer nav a { color: #9FB2D2; }

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .head { height: 68px; }
  header nav a:not(.btn) { display: none; }
  .flagship .wrap, .process .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .section { padding: 80px 0; }
  .three, .cards, .papers { grid-template-columns: 1fr; gap: 44px; margin-top: 48px; }
  .facts { gap: 28px; }
  .flagship .actions { flex-wrap: wrap; gap: 20px; }
  .row-head, .locked { flex-direction: column; align-items: start; }
  footer .wrap { flex-direction: column; gap: 20px; }
}

/* Hero: a photo fading into navy, like the LinkedIn banner */
.hero2 { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero2 .bg { position: absolute; left: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero2:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,85,.04) 22%, rgba(11,42,85,.82) 52%, var(--navy) 64%); }
.hero2 .wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; min-height: 640px; }
.hero2 .copy { max-width: 540px; text-align: right; }
.hero2 .kicker { color: var(--yellow); }
.hero2 h1 { color: var(--white); font-size: clamp(42px, 5vw, 68px); line-height: 1.06; margin: 22px 0 24px; }
.hero2 p { color: #C9D4E6; font-size: 19px; }
.hero2 .actions { display: flex; justify-content: flex-end; align-items: center; gap: 28px; margin-top: 40px; }
.hero2 .link { color: var(--white); }
.about { background: var(--cream); }
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 88px; align-items: center; }
.about img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0%; }
.about h2 { font-size: clamp(36px, 4vw, 52px); margin: 18px 0 22px; }
.about p { color: var(--muted); font-size: 18px; max-width: 32em; }
@media (max-width: 860px) {
  .hero2 .bg { width: 100%; height: 58%; }
  .hero2:after { background: linear-gradient(180deg, rgba(11,42,85,.04) 25%, rgba(11,42,85,.85) 52%, var(--navy) 60%); }
  .hero2 .wrap { min-height: 760px; align-items: flex-end; padding-bottom: 56px; }
  .hero2 .copy { text-align: left; } .hero2 .actions { justify-content: flex-start; flex-wrap: wrap; gap: 20px; }
  .about .wrap { grid-template-columns: 1fr; gap: 40px; }
}
.blurb { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 38em; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }
.paper:hover h3, .card:hover h3 { color: var(--blue); }
@media (max-width: 860px) { .wrap { padding: 0 16px; } nav { gap: 16px; } }
