/* A white page, generous images, and a small amount of supporting text. */
:root {
  --paper: #fff;
  --soft: #f5f6f7;
  --line: #e5e7eb;
  --muted: #626974;
}

html, body { background: #fff; }
body { overflow-wrap: break-word; }
[hidden] { display: none !important; }
.site-header { background: #fff; }
.nav-wrap { border-color: var(--line); }
.desktop-nav { margin-left: auto; margin-right: 40px; }
.desktop-nav a { font-size: 13px; }
.mobile-nav { background: #fff; }
.mobile-nav a { font-family: Manrope, Arial, sans-serif; font-size: 18px; }
.nav-contact { border: 0; padding-right: 0; }
.container { max-width: 1360px; }
.site-header .container { max-width: 1660px; }
.plain-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink); background: transparent; padding: 0; }
.plain-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.plain-link:hover, .plain-footer a:hover, .detail-next a:hover, .plain-contact-email:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

.home-collection { padding-block: 64px 30px; }
.home-collection + .home-collection { padding-top: 62px; }
.collection-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.collection-heading h2, .home-skills h2 { font-family: Manrope, Arial, sans-serif; font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -.04em; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 25px; }
.work-tile { min-width: 0; }
.work-tile > a { display: block; }
/* Every card image spans the full frame width, even with a saved logo/artwork layout. */
.tile-image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; padding: 0; border: 1px solid #e9ebee; border-radius: 4px; background: #f6f7f8; }
.tile-image img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; max-height: none; margin: 0; transform-origin: top center; transition: transform .25s ease; }
.tile-image--wordmark { background: #f8fafb; }
.tile-image--artwork { background: #171322; }
.tile-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; }
.tile-caption h3 { font-family: Manrope, Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.tile-caption svg { width: 16px; height: 16px; flex-shrink: 0; color: #6d7580; }
.work-tile p { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.work-tile a:hover h3 { color: var(--blue); }
.design-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.design-tile { scroll-margin-top: 30px; }
.design-grid .tile-image { aspect-ratio: 8 / 5; }
.design-grid .tile-image--wordmark { background: #fff; }
.experiments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.experiments-grid .tile-caption h3 { font-size: 16px; }
.experiments-grid .tile-caption { align-items: flex-start; }
.experiments-grid .tile-caption svg { margin-top: 3px; }
.home-skills { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; border-top: 1px solid var(--line); margin-top: 68px; padding-block: 50px 66px; }
.home-skills .plain-link { font-size: 12px; margin-top: 15px; color: var(--muted); }
.plain-skills { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 0; list-style: none; margin: 0; padding: 0; }
.plain-skills li { font-size: 15px; line-height: 1.8; white-space: nowrap; }
.plain-skills li:not(:last-child)::after { content: '/'; display: inline-block; color: #c2c6cc; margin: 0 16px; }
.plain-footer { background: #fff; }
.plain-footer-inner { border-top: 1px solid var(--line); padding-block: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; }
.plain-footer p { color: var(--muted); }
.plain-footer p span { margin-left: 20px; }
.plain-footer a { display: inline-flex; align-items: center; gap: 12px; }
.plain-footer svg { width: 15px; height: 15px; }

.simple-page { padding-block: 66px 84px; min-height: calc(100svh - 166px); }
.simple-heading { margin-bottom: 44px; }
.simple-heading h1, .detail-heading h1, .simple-about h1, .simple-contact h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.5vw, 68px); line-height: 1.08; letter-spacing: -.04em; }
.simple-heading > p { font-size: 15px; color: var(--muted); margin-top: 16px; }
.heading-with-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.simple-page > .experiments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1060px; gap: 42px 30px; }
.simple-page > .experiments-grid .tile-caption h3 { font-size: 20px; }
.detail-heading { padding-block: 40px 46px; }
.detail-back { font-size: 12px; margin-bottom: 50px; color: var(--muted); }
.detail-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.detail-type { font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.detail-heading h1 { font-size: clamp(36px, 4.1vw, 60px); }
.detail-description { padding-top: 3px; }
.detail-description > p:first-child { font-size: 16px; line-height: 1.85; max-width: 560px; }
.detail-description .detail-tools { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 18px; }
.detail-description > span { display: block; font-size: 12px; margin-top: 7px; color: var(--muted); }
.live-site-button, .work-tile > .live-site-button { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 20px; min-height: 46px; max-width: 100%; font-size: 13px; line-height: 1.5; white-space: normal; }
.live-site-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.work-tile > .live-site-button { margin-top: 16px; }
.detail-preview { margin-block: 0 56px; }
/* The main image always spans its frame, including items saved with a logo layout. */
.detail-image { display: block; width: 100%; overflow: hidden; padding: 0; min-height: 0; max-height: none; border: 1px solid var(--line); border-radius: 4px; background: #f6f7f8; }
.detail-image img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; margin: 0; }
.detail-image--wordmark { background: #f8fafb; }
.detail-image--artwork { background: #171322; }
.detail-preview figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.detail-preview figcaption a { white-space: nowrap; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 28px; margin-bottom: 60px; }
.detail-gallery figure { margin: 0; min-width: 0; }
.detail-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; }
.detail-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detail-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.detail-next { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 28px 48px; border-top: 1px solid var(--line); }
.detail-next > a:last-child { text-align: right; }
.detail-next span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.detail-next strong { font-size: 20px; font-weight: 500; display: flex; align-items: center; gap: 16px; }
.detail-next svg { width: 19px; height: 19px; flex-shrink: 0; }

.skills-columns { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12%; padding-top: 16px; }
.skills-columns h2 { font-family: Manrope, Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 25px; }
.capability-names { list-style: none; margin: 0; padding: 0; }
.capability-names li { font-size: 22px; line-height: 1.5; letter-spacing: -.025em; margin-bottom: 18px; }
.skills-columns .plain-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 24px; }
.skills-columns .plain-skills li { white-space: normal; font-size: 16px; }
.skills-columns .plain-skills li::after { display: none; }
.simple-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); max-width: 1100px; align-items: center; gap: 9%; margin-inline: auto; }
.simple-about > img { width: 100%; height: auto; max-height: 590px; object-fit: cover; border-radius: 4px; }
.simple-about h1 { margin-bottom: 30px; }
.simple-about p:not(.detail-type) { font-size: 16px; line-height: 1.85; margin-top: 18px; max-width: 520px; }
.about-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.plain-experience { max-width: 1140px; }
.plain-experience article { display: grid; grid-template-columns: 1fr 1.8fr; gap: 7%; padding-block: 28px; border-top: 1px solid var(--line); }
.plain-experience h2, .plain-experience h3 { font-family: Manrope, Arial, sans-serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.5; font-size: 20px; }
.plain-experience h3 { font-size: 18px; }
.plain-experience p { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 640px; }
.simple-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.simple-contact h1 { margin-bottom: 38px; }
.plain-contact-email { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(15px, 1.6vw, 22px); }
.plain-contact-email svg { width: 19px; height: 19px; flex-shrink: 0; }
.plain-copy { display: block; margin-top: 12px; padding: 4px 0; color: var(--muted); background: transparent; font-size: 12px; }
.plain-copy:hover { color: var(--blue); }
.contact-location { margin-top: 42px; color: var(--muted); font-size: 14px; line-height: 2; }
.plain-form { max-width: 560px; width: 100%; }
.plain-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 26px; }
.plain-form input, .plain-form textarea { display: block; width: 100%; margin-top: 9px; padding: 10px 0; border: 0; border-bottom: 1px solid #bdc3cc; background: #fff; color: var(--ink); font: inherit; font-size: 16px; border-radius: 0; }
.plain-form textarea { resize: vertical; }
.plain-form .button { font-size: 13px; min-height: 48px; }
.plain-form .button svg { width: 18px; height: 18px; }
.plain-form .form-note { font-size: 11px; margin-top: 13px; line-height: 1.6; }
.plain-form .form-result { background: #f7f9fb; border-color: var(--line); padding: 18px; font-size: 13px; }
.plain-form .form-result p { margin: 0 0 12px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .work-tile a:hover .tile-image img { transform: scale(1.025); }
}
@media (max-width: 1100px) {
  .desktop-nav { gap: 22px; margin-right: 26px; }
  .desktop-nav a { font-size: 12px; }
  .experiments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 25px; }
  .work-grid { gap: 32px 20px; }
  .tile-caption h3 { font-size: 16px; }
  .home-skills { grid-template-columns: 1fr 2fr; gap: 32px; }
  .plain-skills li { font-size: 14px; }
}
@media (max-width: 900px) {
  .desktop-nav, .nav-contact { display: none; }
  .menu-toggle { display: block; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-intro { gap: 36px; }
  .detail-description > p:first-child { font-size: 14px; }
  .skills-columns { gap: 50px; }
  .capability-names li { font-size: 20px; }
  .simple-about { gap: 7%; }
  .simple-about p:not(.detail-type) { font-size: 14px; }
  .simple-contact { gap: 7%; }
}
@media (max-width: 600px) {
  .home-collection { padding-block: 30px 14px; }
  .home-collection + .home-collection { padding-top: 38px; }
  .design-grid { grid-template-columns: 1fr; gap: 28px; }
  .collection-heading { margin-bottom: 22px; }
  .collection-heading h2, .home-skills h2 { font-size: 23px; }
  .collection-heading .plain-link { font-size: 12px; gap: 8px; }
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
  .tile-caption { margin-top: 12px; }
  .tile-caption h3 { font-size: 18px; }
  .experiments-grid, .simple-page > .experiments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .experiments-grid .tile-caption h3, .simple-page > .experiments-grid .tile-caption h3 { font-size: 14px; }
  .experiments-grid .tile-caption { gap: 8px; }
  .experiments-grid .tile-caption svg { width: 12px; height: 12px; }
  .experiments-grid .work-tile p { font-size: 11px; }
  .home-skills { display: block; margin-top: 44px; padding-block: 32px 40px; }
  .home-skills .plain-skills { margin-top: 23px; }
  .plain-skills li { font-size: 13px; }
  .plain-skills li:not(:last-child)::after { margin-inline: 10px; }
  .plain-footer-inner { display: block; padding-block: 24px; font-size: 11px; }
  .plain-footer p span { margin-left: 14px; }
  .plain-footer a { margin-top: 12px; }
  .simple-page { padding-block: 40px 54px; }
  .simple-heading { margin-bottom: 32px; }
  .simple-heading > p { font-size: 14px; }
  .heading-with-link { align-items: flex-start; flex-direction: column; gap: 20px; }
  .detail-heading { padding-block: 28px; }
  .detail-back { margin-bottom: 30px; }
  .detail-intro { grid-template-columns: 1fr; gap: 22px; }
  .detail-description > p:first-child { font-size: 15px; }
  .detail-description .detail-tools { margin-top: 12px; font-size: 11px; }
  .detail-type { margin-bottom: 10px; }
  .detail-preview { margin-bottom: 36px; }
  .detail-preview figcaption { font-size: 10px; gap: 12px; }
  .detail-gallery { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .detail-next { padding-block: 24px 32px; }
  .detail-next strong { font-size: 16px; gap: 9px; }
  .detail-next .plain-link { font-size: 12px; }
  .detail-next span { font-size: 10px; }
  .skills-columns { grid-template-columns: 1fr; gap: 34px; padding-top: 0; }
  .skills-columns h2 { margin-bottom: 19px; }
  .capability-names li { font-size: 19px; margin-bottom: 12px; }
  .skills-columns .plain-skills { gap: 12px 20px; }
  .skills-columns .plain-skills li { font-size: 15px; }
  .simple-about { grid-template-columns: 1fr; gap: 32px; }
  .simple-about > img { max-height: 420px; object-position: top; }
  .simple-about h1 { margin-bottom: 22px; }
  .simple-about p:not(.detail-type) { font-size: 15px; }
  .about-links { gap: 24px; margin-top: 25px; }
  .plain-experience article { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .plain-experience h2 { font-size: 18px; }
  .plain-experience h3 { font-size: 16px; }
  .plain-experience p { font-size: 13px; }
  .simple-contact { grid-template-columns: 1fr; gap: 44px; }
  .simple-contact h1 { margin-bottom: 26px; }
  .plain-contact-email { font-size: 17px; gap: 10px; }
  .contact-location { margin-top: 24px; font-size: 13px; }
  .plain-form { border-top: 1px solid var(--line); padding-top: 30px; }
}
@media print {
  .plain-footer, .detail-next { display: none; }
  .simple-page { padding: 20px 0; }
  .plain-experience article { break-inside: avoid; }
}
