@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root { --ink: #171717; --muted: #77736c; --line: #d9d5ce; --paper: #f2f0eb; --white: #fbfaf7; --accent: #e6512e; --logo-blue: #79a0ab; --olive: #667260; --blue: #42677a; --gold: #ae7c3e; --serif: 'Playfair Display', Georgia, serif; --sans: 'DM Sans', sans-serif; --mono: 'DM Mono', monospace; }
* { box-sizing: border-box; } body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); } button, input, select, textarea { font: inherit; } button { cursor: pointer; }
.site-header { height: 78px; padding: 0 5vw; border-bottom: 1px solid var(--logo-blue); display: flex; align-items: center; justify-content: space-between; gap: 24px; } .wordmark { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; } .wordmark img { display: block; width: 56px; height: 56px; } .wordmark span { font: 500 14px var(--mono); letter-spacing: .02em; } .header-meta { color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; display: flex; align-items: center; gap: 10px; } .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); } .add-button { border: 1px solid var(--ink); background: var(--ink); color: var(--white); padding: 12px 17px; font-size: 12px; font-weight: 600; transition: .2s; } .add-button span { font-size: 18px; line-height: 0; vertical-align: -1px; margin-right: 5px; } .add-button:hover { background: var(--accent); border-color: var(--accent); }
main { max-width: 1440px; margin: auto; padding: 0 5vw; } .intro { padding: 76px 0 87px; border-bottom: 1px solid var(--line); } .kicker, .small-label { font: 10px var(--mono); letter-spacing: .1em; color: var(--muted); } .intro-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; } h1 { margin: 0; font: 600 clamp(52px, 8vw, 115px)/.9 var(--serif); letter-spacing: -.04em; } h1 em { color: var(--accent); font-style: italic; } .intro-copy { max-width: 340px; font-size: 15px; line-height: 1.55; padding-bottom: 5px; } .intro-copy p { margin: 0 0 35px; } .intro-note { display: flex; gap: 13px; color: var(--muted); font: 9px/1.5 var(--mono); letter-spacing: .06em; } .rule { width: 44px; height: 1px; background: var(--accent); margin-top: 6px; }
.toolbar { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--ink); } .toolbar-title { display: flex; gap: 18px; align-items: baseline; } .toolbar-title strong { font: 600 13px var(--mono); } .filters { display: flex; gap: 17px; align-items: center; flex-wrap: wrap; justify-content: end; } .filter { border: 0; background: transparent; padding: 4px 0; color: var(--muted); font-size: 12px; } .filter span { color: var(--line); margin-left: 5px; } .filter.is-active { color: var(--ink); font-weight: 700; } .filter.is-active span { color: var(--accent); }
.timeline-wrap { padding: 32px 0 80px; } .timeline { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); column-gap: clamp(25px, 5vw, 76px); } .timeline::before { content: ''; position: absolute; top: -32px; bottom: 0; left: 50%; width: 1px; background: var(--logo-blue); z-index: 0; } .timeline-row { grid-column: 1 / 4; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); column-gap: clamp(25px, 5vw, 76px); min-height: 173px; position: relative; animation: rise .5s both; } .timeline-row::after { content: ''; position: absolute; width: 13px; height: 13px; left: calc(50% - 7px); top: 19px; border: 3px solid var(--paper); outline: 1px solid var(--ink); border-radius: 50%; background: var(--accent); z-index: 2; } .timeline-row.left .event-card { grid-column: 1; } .timeline-row.right .event-card { grid-column: 3; } .event-card { align-self: start; margin-top: 0; padding: 16px 0 26px; border-top: 1px solid var(--line); position: relative; z-index: 1; } .event-card::after { content: ''; position: absolute; top: 24px; width: 28px; border-top: 1px solid var(--logo-blue); } .left .event-card::after { right: -28px; } .right .event-card::after { left: -28px; } .event-date { font: 10px var(--mono); color: var(--accent); letter-spacing: .04em; margin-bottom: 11px; } .event-card h3 { margin: 0 0 8px; font: 600 24px/1.05 var(--serif); letter-spacing: -.02em; } .event-card p { margin: 0; max-width: 410px; font-size: 13px; line-height: 1.5; color: #5f5c56; } .event-meta { display: flex; gap: 12px; margin-top: 15px; color: var(--muted); font: 10px var(--mono); align-items: center; } .location::before { content: '⌖'; color: var(--ink); font-size: 14px; margin-right: 4px; } .category-tag { margin-left: auto; color: var(--ink); font-weight: 500; } .category-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; background: var(--olive); } .tag-work::before { background: var(--blue); } .tag-side_hustle::before { background: var(--gold); } .event-actions { position: absolute; right: 0; top: 14px; display: flex; gap: 7px; opacity: 0; transition: opacity .2s; } .event-card:hover .event-actions, .event-card:focus-within .event-actions { opacity: 1; } .icon-button { border: 0; background: var(--white); color: var(--muted); font: 10px var(--mono); padding: 4px; } .icon-button:hover { color: var(--accent); } .loading { grid-column: 1 / 4; text-align: center; padding: 70px; color: var(--muted); font: 11px var(--mono); } .loading span { animation: blink 1s infinite; } .loading span:nth-child(2) { animation-delay: .2s; } .loading span:nth-child(3) { animation-delay: .4s; }
.site-footer { border-top: 1px solid var(--ink); margin: 0 5vw; padding: 22px 0 32px; display: flex; justify-content: space-between; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; } .site-footer a { color: var(--ink); }
.editor { border: 1px solid var(--ink); background: var(--white); color: var(--ink); width: min(650px, calc(100% - 30px)); padding: 0; box-shadow: 14px 14px 0 var(--accent); } .editor::backdrop { background: rgba(23,23,23,.35); } .editor form { padding: 30px; } .modal-top, .form-actions { display: flex; justify-content: space-between; align-items: center; } .close-button { border: 0; background: transparent; font-size: 28px; line-height: 1; } .editor h2 { font: 600 38px var(--serif); letter-spacing: -.03em; margin: 30px 0 25px; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; } label { font: 10px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } label input, label select, label textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 11px; font: 13px var(--sans); text-transform: none; outline: 0; } label textarea { resize: vertical; } label input:focus, label select:focus, label textarea:focus { border-color: var(--ink); } label small { display: block; margin-top: 5px; text-transform: none; color: var(--muted); } .full { grid-column: 1 / -1; } .form-error { color: var(--accent); font-size: 12px; min-height: 18px; margin: 16px 0 0; } .form-actions { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 3px; } .text-button { border: 0; background: transparent; color: var(--muted); font-size: 12px; } .submit-button { border: 1px solid var(--ink); background: var(--ink); color: var(--white); padding: 12px 17px; font-size: 12px; } .submit-button span { color: var(--accent); margin-left: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } @keyframes blink { 50% { opacity: .2; } }
.main-nav { display: flex; gap: 22px; margin-left: auto; } .main-nav a { color: var(--muted); text-decoration: none; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; } .main-nav a:hover, .main-nav .nav-active { color: var(--ink); } .main-nav .nav-active::after { content: ''; display: block; width: 100%; height: 2px; background: var(--accent); margin-top: 7px; }
.portfolio-hero { min-height: 300px; padding: 42px 0 30px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--ink); background: transparent; } .portfolio-hero h1 { margin-top: 31px; } .hero-side { width: 260px; padding-top: 36px; } .hero-side p { font-size: 15px; line-height: 1.5; margin: 0 0 42px; } .arrow-link { color: var(--ink); font: 11px var(--mono); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 8px; } .arrow-link span { color: var(--accent); margin-left: 13px; font-size: 16px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 12px 0; } .work-toolbar > div { display: flex; gap: 18px; align-items: baseline; } .work-toolbar strong { font: 12px var(--mono); } .sort-button { background: transparent; border: 0; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; } .sort-button span { color: var(--accent); font-size: 17px; margin-left: 7px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 62px 30px; padding: 18px 0 105px; } .project-card { animation: rise .5s both; } .project-card:nth-child(2) { animation-delay: .1s; } .project-card:nth-child(3) { animation-delay: .2s; } .project-image { aspect-ratio: 1.22; background: #d4d0c7; position: relative; overflow: hidden; background-size: cover; background-position: center; } .project-1 .project-image { background-color: #bfc5b7; } .project-2 .project-image { background-color: #c9d2d4; } .project-image::before, .project-image::after { content: ''; position: absolute; border: 1px solid rgba(23,23,23,.25); transform: rotate(28deg); } .project-image::before { width: 42%; height: 76%; left: 30%; top: 12%; } .project-image::after { width: 23%; height: 48%; left: 39%; top: 26%; border-color: rgba(23,23,23,.45); } .project-image.has-image::before, .project-image.has-image::after { display: none; } .project-index { position: absolute; left: 17px; top: 15px; z-index: 2; font: 11px var(--mono); } .image-placeholder { position: absolute; right: 18px; bottom: 15px; text-align: right; font: 9px/1.25 var(--mono); letter-spacing: .08em; } .project-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; opacity: 0; transition: opacity .2s; z-index: 3; } .project-image:hover .project-actions { opacity: 1; } .project-actions .icon-button { background: var(--white); color: var(--ink); padding: 7px; } .project-info { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); padding-top: 16px; margin-top: 11px; } .project-info h2 { font: 600 27px/1.05 var(--serif); margin: 0 0 9px; } .project-info p { color: var(--muted); font-size: 12px; line-height: 1.4; max-width: 330px; margin: 0; } .project-meta { min-width: 100px; text-align: right; color: var(--muted); font: 10px/1.7 var(--mono); text-transform: uppercase; } .project-meta span { display: block; } .project-meta span:first-child { color: var(--ink); }
.about-strip { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 27px 0 31px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 25px; } .about-strip p { max-width: 350px; font: 22px/1.2 var(--serif); margin: 0; } .about-strip .arrow-link { justify-self: end; }
.contact-hero { min-height: 285px; padding: 42px 0 50px; border-bottom: 0; background: transparent; } .contact-hero h1 { margin: 32px 0 0; } .contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 12px 0 100px; } .contact-details a { position: relative; display: block; color: var(--ink); text-decoration: none; border-top: 1px solid var(--ink); padding: 17px 35px 17px 0; } .contact-details a:hover { color: var(--accent); } .contact-details strong { display: block; margin-top: 13px; font: 600 clamp(20px, 2.5vw, 34px) var(--serif); } .contact-arrow { position: absolute; right: 0; top: 13px; color: var(--accent); font-size: 20px; }
.detail-cover { width: min(64%, 760px); margin-left: auto; margin-right: auto; } .detail-cover img { max-height: 360px; } .gallery-viewport { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #d4d0c7; margin-top: 30px; } .gallery-slide { display: none; width: 100%; height: 100%; margin: 0; } .gallery-slide.is-active { display: block; animation: rise .35s both; } .gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; } .gallery-controls { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink); margin-top: 12px; padding-top: 12px; } .gallery-arrow { border: 0; background: transparent; color: var(--ink); font: 25px var(--sans); padding: 0 8px; } .gallery-arrow:hover { color: var(--accent); } .gallery-counter { color: var(--muted); font: 10px var(--mono); } .gallery-counter strong { color: var(--ink); }
.upload-label input[type="file"] { padding: 8px; }
.project-card { cursor: pointer; } .project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; } .detail-page main { max-width: 1440px; } .header-back { color: var(--ink); font: 10px var(--mono); text-decoration: none; text-transform: uppercase; } .detail-heading { display: block; padding: 42px 0 58px; border-bottom: 1px solid var(--ink); } .detail-heading h1 { width: 100%; font-size: clamp(58px, 8vw, 110px); margin: 28px 0 0; } .detail-summary { display: none; } .detail-cover { margin: 38px 0 0; background: #d4d0c7; } .detail-cover img { width: 100%; max-height: 720px; object-fit: cover; display: block; } .detail-body { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8vw; border-top: 1px solid var(--ink); margin-top: 70px; padding: 25px 0 75px; } .detail-copy { white-space: pre-line; max-width: 620px; font: 22px/1.45 var(--serif); } .detail-copy p { font: 14px/1.6 var(--sans); color: var(--muted); margin-top: 28px; } .detail-gallery { border-top: 1px solid var(--ink); padding: 25px 0 70px; } .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; } .gallery-grid figure { margin: 0; background: #d4d0c7; } .gallery-grid figure:first-child { grid-column: 1 / -1; } .gallery-grid img { width: 100%; display: block; max-height: 680px; object-fit: cover; } .next-project { display: block; border-top: 1px solid var(--ink); padding: 25px 0 70px; color: var(--ink); font: 11px var(--mono); text-decoration: none; }
@media (max-width: 700px) { .site-header { padding: 0 20px; height: 68px; } .header-meta { display: none; } .add-button { padding: 9px 10px; } main { padding: 0 20px; } .intro { padding: 53px 0 58px; } .intro-grid { display: block; margin-top: 25px; } h1 { font-size: 65px; } .intro-copy { margin-top: 35px; } .toolbar { display: block; } .filters { justify-content: start; margin-top: 18px; gap: 12px; } .timeline-head { grid-template-columns: 75px 1fr; } .timeline-head span:last-child { display: none; } .timeline, .timeline-row { grid-template-columns: 67px 1px minmax(0, 1fr); column-gap: 14px; } .timeline-row { min-height: 190px; } .timeline-row::after { left: 61px; } .timeline-row.left .event-card, .timeline-row.right .event-card { grid-column: 3; } .event-card::after, .left .event-card::after, .right .event-card::after { left: -14px; right: auto; width: 14px; } .event-card h3 { font-size: 22px; } .event-actions { opacity: 1; top: 10px; } .event-meta { flex-wrap: wrap; } .category-tag { margin-left: 0; width: 100%; } .site-footer { margin: 0 20px; display: block; line-height: 2.5; } .site-footer span, .site-footer a { display: block; } .editor { box-shadow: 7px 7px 0 var(--accent); } .editor form { padding: 23px; } }
@media (max-width: 700px) { .main-nav { margin-left: auto; gap: 10px; } .main-nav a { font-size: 8px; } .portfolio-hero { min-height: 300px; padding: 40px 0 30px; display: block; } .portfolio-hero h1 { margin-top: 25px; font-size: 65px; } .hero-side { width: auto; max-width: 290px; margin-top: 55px; } .project-grid { display: block; padding-bottom: 70px; } .project-card, .project-card.project-2 { width: 100%; margin: 0 0 48px; } .project-info { display: block; } .project-meta { text-align: left; margin-top: 14px; } .about-strip { display: block; } .about-strip p { margin: 30px 0; font-size: 20px; } .about-strip .arrow-link { display: inline-block; } .contact-hero { min-height: 330px; padding: 40px 0 45px; } .contact-hero h1 { font-size: 65px; } .contact-details { display: block; padding-bottom: 65px; } .contact-details a { margin-bottom: 25px; } }
@media (max-width: 700px) { .detail-heading { display: block; padding: 58px 0 42px; } .detail-heading h1 { font-size: 65px; } .detail-summary { margin-top: 36px; } .detail-cover { width: 100%; margin-top: 25px; } .detail-cover img { max-height: 240px; } .detail-body { display: block; margin-top: 48px; padding-bottom: 52px; } .detail-copy { margin-top: 30px; font-size: 20px; } .gallery-grid { display: block; } .gallery-grid figure { margin-bottom: 15px; } .gallery-viewport { aspect-ratio: 4 / 3; } .header-back { display: none; } }
@media (max-width: 700px) { .timeline::before { left: 67px; } }
@media (min-width: 701px) { .timeline-row::after { left: 50%; transform: translateX(-50%); } }
@media (max-width: 700px) { .timeline-row::after { left: 67px; transform: translateX(-50%); } }
@media (min-width: 701px) { .timeline-row.left .event-card { text-align: right; } .timeline-row.left .event-card p { margin-left: auto; } .timeline-row.left .event-meta { justify-content: flex-end; } }
 .event-meta { flex-direction: column; align-items: flex-start; gap: 5px; } .event-meta .category-tag { margin-left: 0; } @media (min-width: 701px) { .timeline-row.left .event-meta { align-items: flex-end; } }
.event-card { border-top: 0; padding-top: 0; } .event-card::after { display: none; } .event-date { margin-bottom: 6px; } .event-card h3 { margin-top: 0; }
.project-image { transition: box-shadow .25s ease; } .project-image:hover { box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .1); }
.timeline-row::after { width: 8px; height: 8px; border: 0; background: var(--paper); }
@media (min-width: 701px) { .detail-heading { padding-top: 42px; } }
@media (max-width: 700px) { .detail-heading { padding-top: 40px; } }
 .detail-heading { border-bottom: 0; } .detail-body { margin-top: 0; }
