/*
Theme Name: Winslow Portfolio
Theme URI: https://winslowdelaney.com/
Author: Custom theme starter for Winslow Delaney
Description: An image-led, Elementor-friendly portfolio theme for UX/product design and creative work.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: winslow-portfolio
Tags: portfolio, custom-logo, custom-menu, featured-images, full-width-template, accessibility-ready
*/
:root {
  --wp--preset--color--ink: #171918;
  --wp--preset--color--paper: #f6f5f1;
  --wp--preset--color--muted: #6c716d;
  --wp--preset--color--line: #d9dbd5;
  --wp--preset--color--accent: #d5ff3f;
  --wp--preset--font-family--body: Inter, "Helvetica Neue", Arial, sans-serif;
  --wp--preset--font-family--display: "Helvetica Neue", Arial, sans-serif;
  --wp--custom--content-width: 1240px;
  --wp--custom--gutter: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--paper);
  font-family: var(--wp--preset--font-family--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #506b00; outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 12px 16px; background: white; color: black; }
.skip-link:focus { left: 8px; }
.site-header { position: relative; z-index: 20; background: var(--wp--preset--color--paper); }
.header-inner { width: min(100% - 2 * var(--wp--preset--spacing--gutter, var(--wp--custom--gutter)), var(--wp--custom--content-width)); margin: 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.custom-logo { max-height: 48px; width: auto; }
.site-title { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.site-title a { text-decoration: none; }
.site-description { margin: 4px 0 0; color: var(--wp--preset--color--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.primary-navigation ul { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.5vw, 34px); list-style: none; margin: 0; padding: 0; }
.primary-navigation a { font-size: 13px; font-weight: 650; text-decoration: none; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; border: 1px solid var(--wp--preset--color--line); background: transparent; border-radius: 999px; padding: 9px 13px; font: inherit; font-size: 13px; }
.site-main { min-height: 60vh; }
.container { width: min(100% - 2 * var(--wp--custom--gutter), var(--wp--custom--content-width)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.eyebrow { display: inline-block; margin: 0 0 18px; font-size: 11px; line-height: 1.3; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.display-heading { max-width: 1000px; margin: 0; font-size: clamp(44px, 8.2vw, 112px); line-height: .94; letter-spacing: -.075em; font-weight: 700; }
.display-heading em { font-style: normal; color: #6d756e; }
.intro-copy { max-width: 650px; margin: 24px 0 0; color: #454a46; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1; letter-spacing: -.06em; }
.section-heading p { max-width: 440px; margin: 0; color: var(--wp--preset--color--muted); }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.project-card { grid-column: span 6; min-width: 0; }
.project-card:nth-child(4n + 1), .project-card:nth-child(4n + 4) { grid-column: span 7; }
.project-card:nth-child(4n + 2), .project-card:nth-child(4n + 3) { grid-column: span 5; }
.project-card__link { display: block; text-decoration: none; }
.project-card__media { position: relative; overflow: hidden; background: #e5e5df; aspect-ratio: 1.36 / 1; }
.project-card:nth-child(4n + 2) .project-card__media, .project-card:nth-child(4n + 3) .project-card__media { aspect-ratio: 1 / 1.08; }
.project-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card__link:hover .project-card__media img { transform: scale(1.035); }
.project-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; padding: 24px; color: #555c54; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.project-card__meta { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding-top: 14px; }
.project-card__title { margin: 0; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -.045em; }
.project-card__type { display: block; margin-top: 7px; color: var(--wp--preset--color--muted); font-size: 12px; }
.project-card__year { flex-shrink: 0; color: var(--wp--preset--color--muted); font-size: 12px; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #aeb3aa; border-radius: 999px; padding: 11px 16px; text-decoration: none; font-size: 13px; font-weight: 650; transition: background .2s, color .2s; }
.pill-link:hover { background: var(--wp--preset--color--ink); color: white; }
.dual-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.dual-intro h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.065em; }
.dual-intro p { margin-top: 0; color: #454a46; font-size: 18px; }
.contact-band { background: var(--wp--preset--color--accent); padding: clamp(36px, 6vw, 76px); display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.contact-band h2 { max-width: 750px; margin: 0; font-size: clamp(34px, 6vw, 72px); line-height: .96; letter-spacing: -.07em; }
.contact-band .pill-link { background: var(--wp--preset--color--ink); color: white; border-color: var(--wp--preset--color--ink); }
.site-footer { border-top: 1px solid var(--wp--preset--color--line); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--wp--preset--color--muted); font-size: 12px; }
.footer-inner p { margin: 0; }
.page-header { padding-block: clamp(48px, 8vw, 100px) 40px; }
.page-title { margin: 0; font-size: clamp(42px, 7vw, 88px); line-height: .95; letter-spacing: -.07em; }
.page-description { max-width: 720px; color: #515750; font-size: 18px; }
.entry-content { max-width: 850px; margin-inline: auto; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { letter-spacing: -.04em; line-height: 1.1; }
.entry-content img { border-radius: 2px; }
.entry-content a { text-decoration-thickness: 1px; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; }
.post-card { padding: 24px 0; border-top: 1px solid var(--wp--preset--color--line); }
.post-card h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.04em; }
.post-card p { color: var(--wp--preset--color--muted); }
.elementor-page .site-main { min-height: 0; }
.elementor-page .entry-content { max-width: none; margin: 0; }
.elementor-page .entry-content > * { max-width: none; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 1240px; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.wp-caption, .gallery-caption { color: var(--wp--preset--color--muted); font-size: 12px; }
.alignwide { max-width: 1240px; margin-inline: auto; }
.alignfull { max-width: none; }
@media (max-width: 760px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { display: none; width: 100%; padding: 0 0 14px; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { flex-direction: column; gap: 14px; padding-top: 8px; }
  .project-card, .project-card:nth-child(n) { grid-column: span 12; }
  .project-card:nth-child(n) .project-card__media { aspect-ratio: 1.2 / 1; }
  .section-heading, .contact-band, .footer-inner { align-items: start; flex-direction: column; }
  .dual-intro { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
