/* Shared styles for the home, Tools, About and Follow pages. */
:root {
  --bg: #f0f0f0; --panel: #ffffff; --ink: #111111; --muted: #5c5c5c; --line: #d4d4d4;
  --accent: #500000; --accent-text: #500000; --accent-soft: #f3e6e6; --bar: #111111;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0d0d; --panel: #1a1a1a; --ink: #f2f2f2; --muted: #a6a6a6; --line: #333333; --accent-text: #e09a9a; --accent-soft: #2e1616; --bar: #000000; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 28px; }
h1 { margin: 0; font-size: 30px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.tool { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
a.tool:hover { border-color: var(--accent-text); }
a.tool:focus-visible, .tool h3 { margin: 0; font-size: 18px; }
.tool p { margin: 0; color: var(--muted); }
.tool ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.tool .open { margin-top: auto; align-self: flex-start; background: var(--accent); color: #fff; font-weight: 600; padding: 8px 14px; border-radius: 4px; }
.tool.soon { border-style: dashed; background: transparent; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); }
.news { margin: 0; color: var(--muted); font-size: 14px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-head a { color: var(--accent-text); font-weight: 600; font-size: 14px; text-decoration: none; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.blog-list a { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.blog-list a:hover { border-color: var(--accent-text); }
.blog-list img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line); }
.blog-list div { padding: 12px 16px 14px; }
.blog-list small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.blog-list h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.25; }
.feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.feed { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.feed h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.feed h3 a, .feed .follow { color: var(--accent-text); font-weight: 600; text-decoration: none; font-size: 14px; }
.feed .follow { align-self: flex-start; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 4px; }
.feed p { margin: 0; color: var(--muted); font-size: 14px; }
.social-feed { min-height: 120px; }
.follow-row { display: flex; flex-wrap: wrap; gap: 8px; }
footer { padding-top: 14px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 13px; color: var(--muted); }
footer a { color: var(--accent-text); font-weight: 600; text-decoration: none; }

/* Hero, in the style of www.yukisoda.com: full-bleed photo, dark gradient, spaced capitals. */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; background: #111; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.1) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 48px max(16px, env(safe-area-inset-right, 0px)) 44px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 14px; }
.kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-text); }
.hero .kicker { color: #e6c2c2; }
.hero h1 { font-size: clamp(38px, 8vw, 76px); line-height: .95; letter-spacing: .04em; }
.hero p.sub { margin: 0; font-size: clamp(16px, 2.2vw, 20px); color: #ececec; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-actions a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 2px; }
.hero-actions a.primary { background: var(--accent); border-color: var(--accent); }
.hero-actions a:hover { background: #fff; color: #111; border-color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.socials a { color: #d6d6d6; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.socials a:hover { color: #fff; }
.sec-title { margin: 4px 0 6px; font-size: clamp(24px, 4vw, 32px); line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.sec-intro { margin: 0 0 16px; color: var(--muted); max-width: 60ch; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.about img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.about-copy { padding: 22px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; }
.about-copy h2 { margin: 0; font-size: 28px; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
.about-copy p { margin: 0; }
.about-copy .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.about-copy .links a { color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } .about img { min-height: 0; aspect-ratio: 4 / 3; } .about-copy { padding: 0 18px 20px; } }

/* Shorter photo header for the inner pages. */
.hero.short { min-height: min(46vh, 420px); }
.hero.short h1 { font-size: clamp(34px, 6vw, 56px); }

/* Tiles that point to each part of the site. */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; background: #222; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.05) 70%); }
.tile:hover img { transform: scale(1.04); }
.tile div { position: relative; z-index: 1; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tile b { font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.tile span { font-size: 14px; color: #e3e3e3; }

/* About page: what I shoot, recent favorites, contact. */
.specialties { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.spec { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.spec img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--line); }
.spec div { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.spec h3 { margin: 0; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; }
.spec p { margin: 0; color: var(--muted); }
.spec a { color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; margin-top: 4px; }
.favorites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.fav { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: var(--line); }
.fav img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.fav figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #fff; background: rgba(0,0,0,.55); }
.bio { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.bio p { margin: 0; }
.bio .lead { font-size: 19px; }
.bio .closing { font-weight: 700; letter-spacing: .04em; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; }
.contact a { background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px; border-radius: 2px; }
.contact a.alt { background: transparent; color: var(--accent-text); border: 1px solid var(--line); }

/* Modern touches: softer corners, gentle shadows and lift on hover, clear focus rings. */
body { font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
.tool, .blog-list a, .feed, .about, .spec, .bio, .tile { border-radius: 12px; }
.tool, .blog-list a, .spec, .bio, .about, .feed { box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04); }
a.tool, .blog-list a, .spec, .tile { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.tool:hover, .blog-list a:hover, .tile:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.tool .open, .feed .follow, .contact a, .hero-actions a { border-radius: 999px; }
.tool .open::after { content: " \2192"; }
.fav { border-radius: 10px; }
.fav img { transition: transform .4s ease; }
.fav:hover img { transform: scale(1.04); }
a:focus-visible, button:focus-visible { outline: 3px solid #c58b8b; outline-offset: 3px; border-radius: 6px; }
.wrap { gap: 44px; padding-top: 40px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sec-intro a, .bio a { color: var(--accent-text); font-weight: 600; }
/* About page header: keep the top of the portrait in frame. */
.about-hero img { object-position: 50% 35%; }

/* Home page: the three ways in (clients, photographers, On Assignment) and the portfolio link. */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.door { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.door:hover { transform: translateY(-2px); border-color: var(--accent-text); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.door img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #222; }
.door > div { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.door h3 { margin: 0; font-size: 20px; }
.door p { margin: 0; }
.door > div > p:not(.kicker) { color: var(--muted); font-size: 14px; }
.door-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.door-actions a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.door-actions a.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.door-actions a:hover { border-color: var(--accent-text); }
.portfolio-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; transition: background .2s; }
.portfolio-band:hover { background: var(--accent); }
.portfolio-band small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #c9c9c9; }
.portfolio-band b { font-size: clamp(20px, 5vw, 28px); letter-spacing: .02em; }
.portfolio-band .go { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .door:hover { transform: none; } }

/* Home page: the tools showcase for photographers. */
.showcase { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 24px; }
.showcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.showcase-head > div:first-child { flex: 1 1 420px; }
.showcase-head .sec-intro { margin-bottom: 0; }
.showcase-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.showcase-cta a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.showcase-cta a.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.showcase-cta a:hover { border-color: var(--accent-text); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px 24px; }
.perks li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 3px solid var(--accent); }
.perks b { font-size: 16px; }
.perks span { color: var(--muted); font-size: 14px; }
.mini-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.mini-tools a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 10px; background: var(--bg); border: 1px solid transparent; color: inherit; text-decoration: none; transition: border-color .15s; }
.mini-tools a:hover { border-color: var(--accent-text); }
.mini-tools b { font-size: 15px; }
.mini-tools span { color: var(--muted); font-size: 13px; }
.mini-tools a.all b { color: var(--accent-text); }

/* About page: Yuki's portrait beside the bio. */
.bio.has-portrait { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 28px; align-items: start; }
.bio-copy { display: flex; flex-direction: column; gap: 12px; }
.portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #500000; position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.portrait span { display: none; }
.portrait.placeholder img { display: none; }
.portrait.placeholder span { display: grid; place-items: center; position: absolute; inset: 0; color: #fff; font-size: 56px; font-weight: 800; letter-spacing: .08em; }
@media (max-width: 640px) { .bio.has-portrait { grid-template-columns: 1fr; } .portrait { max-width: 240px; } }

/* Home page as Yuki Soda Photography: jump links under the hero, services extras, booking steps,
   The Wire strip and the contact band. */
.jump { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: #111; border-bottom: 1px solid rgba(255,255,255,.08); justify-content: center; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; color: #d9d9d9; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.jump a:hover { color: #fff; background: rgba(255,255,255,.1); }
@media (max-width: 860px) { .jump { flex-wrap: wrap; overflow: visible; gap: 2px; padding-top: 8px; padding-bottom: 8px; } .jump a { padding: 6px 10px; font-size: 11px; letter-spacing: .1em; } }
.home .bio .kicker { margin-bottom: -4px; }
.bio-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bio-links a { color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.perks.also { margin-top: 20px; }
.perks a { color: var(--accent-text); font-weight: 600; }
.steps-band { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 24px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 6px; }
.steps b { font-size: 17px; }
.steps span { color: var(--muted); font-size: 14px; }
.steps a { color: var(--accent-text); font-weight: 600; }
.press-strip { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); grid-template-areas: "lead a b" "lead c d" "cap . ."; gap: 12px; }
.press-strip > p.news { grid-column: 1 / -1; grid-row: 1; }
.press-strip > p.news a { color: var(--accent-text); font-weight: 600; }
.press-strip a { display: block; border-radius: 10px; overflow: hidden; background: var(--line); min-height: 0; }
.press-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.press-strip a:hover img { transform: scale(1.03); }
.press-strip .lead { grid-area: lead; }
.press-strip a:not(.lead) { aspect-ratio: 3 / 2; }
.press-strip .t1 { grid-area: a; } .press-strip .t2 { grid-area: b; } .press-strip .t3 { grid-area: c; } .press-strip .t4 { grid-area: d; }
.press-cap { grid-area: cap; margin: -2px 2px 0; font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .press-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "lead lead" "cap cap" "a b" "c d"; } .press-strip .lead { aspect-ratio: 3 / 2; } }
.contact-band { background: #111; color: #fff; border-radius: 16px; padding: clamp(24px, 5vw, 40px); }
.contact-band .sec-title { color: #fff; }
.contact-band .kicker { color: #e6c2c2; }
.contact-band .sec-intro { color: #d0d0d0; }
.contact-band .sec-intro a { color: #fff; }
.contact-band .contact a.alt { color: #fff; border-color: rgba(255,255,255,.35); }
.contact-band .contact a.alt:hover { border-color: #fff; }
@media (max-width: 420px) { .portfolio-band { flex-wrap: wrap; } .portfolio-band > span:first-child { min-width: 0; } .portfolio-band b { overflow-wrap: anywhere; } }
/* The HOSO band is a desktop app pitch, so phones skip it on the home page. */
@media (max-width: 760px) { .home .hoso-band { display: none; } }
/* Home page header on phones: one full-width booking button over two equal ones, the social links on one line,
   and no jump links (the menu button already covers them). */
@media (max-width: 700px) {
  .home .hero { min-height: min(86vh, 680px); }
  .home .hero-in { gap: 12px; padding-bottom: 32px; }
  .home .hero h1 { font-size: clamp(34px, 11vw, 48px); letter-spacing: .03em; }
  .home .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .home .hero-actions a { text-align: center; padding: 12px 8px; font-size: 12px; letter-spacing: .12em; }
  .home .hero-actions a.primary { grid-column: 1 / -1; }
  .home .socials { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .home .socials a { font-size: 11px; letter-spacing: .1em; }
  .home .jump { display: none; }
}
/* "Published on" links in the home page header: MaxPreps and High School on SI. */
.pubs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pubs span { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #bdbdbd; margin-right: 4px; }
.pubs a { color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); }
.pubs a::after { content: " \2197"; }
.pubs a:hover { background: #fff; color: #111; }
@media (max-width: 700px) { .pubs { display: grid; grid-template-columns: 1fr 1fr; } .pubs span { grid-column: 1 / -1; } .pubs a { text-align: center; } }
