/* LLDCPDX -- shared styles for all pages. Palette: Fog / Basalt / Douglas Fir / Rose City / Mist. */

:root {
  --ground: #F4F4F1;
  --surface: #FFFFFF;
  --ink: #1C2429;
  --muted: #57636A;
  --fir: #24594A;
  --rose: #D8385F;
  --on-rose: #FFFFFF;
  --line: #C9D1D1;
  --ph-bg: #FFF6DC;
  --ph-line: #B8860B;
  --ph-ink: #6B4F00;
  --header-bg: rgba(28, 36, 41, 0.05);
  --header-border: rgba(28, 36, 41, 0.08);
  --paper-noise: url("img/paper-texture.jpg");
  --paper-opacity: 0.16;
  --paper-size: 96px;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #10171A;
    --surface: #182126;
    --ink: #E9EEED;
    --muted: #9AA8AD;
    --fir: #7CC4AC;
    --rose: #D8385F;
    --line: #2B383D;
    --ph-bg: #33290C;
    --ph-line: #C79A2C;
    --ph-ink: #EBCB7A;
    --header-bg: rgba(0, 0, 0, 0.32);
    --header-border: rgba(255, 255, 255, 0.08);
    /* The handmade-paper photo is a light material and doesn't suit a dark ground,
       so dark mode keeps a plain generated grain instead of the real texture. */
    --paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --paper-opacity: 1;
    --paper-size: 240px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

@keyframes logo-settle {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--paper-noise);
  background-repeat: repeat;
  background-size: var(--paper-size);
  opacity: var(--paper-opacity);
  filter: saturate(60%);
  pointer-events: none;
}
img { max-width: 100%; display: block; }
a { color: var(--fir); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--fir); outline-offset: 3px; }

.c { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
section { padding-block: 72px; }
.sec-top { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.sec-top h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; }
.sec-top p.dek { color: var(--muted); max-width: 60ch; margin-top: 4px; }

/* placeholders: dashed amber so real content is never mistaken for finished copy */
.ph { border: 1.5px dashed var(--ph-line); background: var(--ph-bg); color: var(--ph-ink); border-radius: 4px; padding: 12px 14px; }
.ph .tag { display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.ph-inline { background: var(--ph-bg); color: var(--ph-ink); border-bottom: 1.5px dashed var(--ph-line); padding: 0 4px; }

/* header / nav */
header.top {
  background: var(--header-bg);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--header-border);
  position: sticky; top: 0; z-index: 20;
}
header.top .c { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; animation: logo-settle 0.35s ease-out; }
@media (prefers-color-scheme: dark) {
  /* The logo file has its own fixed colors, including a solid black bar, so it
     disappears against a dark page. A small light chip behind it guarantees
     contrast in dark mode without touching how it looks in light mode at all. */
  .brand img { background: #F4F4F1; border-radius: 6px; padding: 5px; }
}
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.brand small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a.link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav.main a.link:hover, nav.main a.link[aria-current="page"] { color: var(--fir); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 10px; }
.nav-toggle svg { display: block; }
@media (max-width: 760px) {
  .brand small { display: none; }
  .nav-toggle { display: block; }
  nav.main { position: fixed; inset: 61px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; }
  nav.main.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  nav.main a.link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  nav.main .btn.primary { margin-top: 12px; text-align: center; }
}

.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: 4px; padding: 12px 20px; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); }
.btn.primary { background: var(--rose); color: var(--on-rose); }
.btn.primary:hover { filter: brightness(0.93); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: var(--ground); }

/* page hero (used on About / Portfolio / Contact) */
.page-hero { padding-block: 56px 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; max-width: 20ch; }
.page-hero .lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

/* home hero */
.hero { padding-block: 80px 56px; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); font-weight: 750; line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.hero .lead { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 440px; margin-left: auto; }
.hero-art img { position: absolute; object-fit: cover; border-radius: 4px; }
.hero-art .a { top: 0; right: 0; width: 86%; height: 68%; }
.hero-art .b { left: 0; bottom: 0; width: 34%; height: 42%; border: 6px solid var(--ground); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }
.facts { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* work grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px; }
figure.tile { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); border-radius: 4px; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.tile:hover .shot img { transform: scale(1.03); }
.shot.contain img { object-fit: contain; object-position: center; }
.shot.square { aspect-ratio: 1 / 1; }
.visit-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.85rem; font-weight: 600; color: var(--fir); }
a .shot { cursor: pointer; }
.shot[role="button"] { cursor: zoom-in; }

/* lightbox, for tiles with no live site to link to */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 32px;
  background: rgba(10, 12, 13, 0.86);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.lightbox-close {
  position: absolute; top: 18px; right: 20px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
figcaption { display: flex; flex-direction: column; gap: 4px; }
figcaption h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }
figcaption p { color: var(--muted); font-size: 0.95rem; }
.see-all { margin-top: 32px; }

/* case story */
.story {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start;
  background: var(--header-bg);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--header-border);
  border-radius: 6px; padding: 24px;
}
.story .shot { aspect-ratio: 10 / 7; }
.story dl { margin: 0; display: grid; gap: 14px; }
.story dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.story dd { margin: 0; }

/* services */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 32px; padding-block: 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.row h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.01em; }
.row p { color: var(--muted); }
.row .recent { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; } }
.also { margin-top: 20px; color: var(--muted); }

/* photography / portfolio categories */
.photo { background: var(--surface); border-block: 1px solid var(--line); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.photo-grid .shot { aspect-ratio: 4 / 5; }
.photo-grid .shot img { object-position: center; }
.frame-ph { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 16px; }
.cat { border-top: 1px solid var(--line); padding-block: 48px; }
.cat:first-of-type { border-top: none; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.cat-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }

/* clients */
.names { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -0.01em; }
.names span { white-space: nowrap; }
.names .more { color: var(--muted); font-weight: 500; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--fir); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.steps h3 { font-size: 1.15rem; font-weight: 650; }
.steps p { color: var(--muted); font-size: 0.93rem; }

/* about page specifics */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .bio p + p { margin-top: 16px; }
.facts-list { margin: 0; display: grid; gap: 14px; }
.facts-list dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.facts-list dd { margin: 0; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tools span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.quotes .ph { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quotes blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; font-weight: 500; }

/* contact */
.contact { background: var(--ink); color: var(--ground); }
.contact .mono { color: color-mix(in srgb, var(--ground) 65%, transparent); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.contact h1, .contact h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 750; line-height: 1.02; letter-spacing: -0.025em; }
.contact .say { margin-top: 20px; display: grid; gap: 12px; max-width: 46ch; }
.contact .say a { color: var(--ground); }
.contact .ph-inline { color: var(--ph-ink); }
.contact .links { margin-top: 24px; display: flex; gap: 20px; }
.contact .links a { color: var(--ground); }
form { background: var(--surface); color: var(--ink); border-radius: 6px; padding: 24px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--muted); min-height: 1.4em; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

footer { padding-block: 40px; }
footer .c { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* animated stories sub-page */
.back-link { color: inherit; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.igs-dek { margin: -12px 0 24px; color: var(--muted); max-width: 60ch; }
.igs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 20px; }
.igs { margin: 0; }
.igs-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--line); box-shadow: 0 8px 24px rgba(28, 36, 41, 0.12); }
.igs-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.igs figcaption { margin-top: 10px; font-size: 0.92rem; font-weight: 600; }
.igs-sound { position: absolute; right: 8px; top: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(16, 23, 26, 0.72); color: #fff; font: 600 0.78rem var(--font-body); cursor: pointer; }
.igs-sound[aria-pressed="true"] { background: var(--rose); }
.igs-sound:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.more-link { margin-top: 28px; }
@media (min-width: 1000px) { .igs-grid { grid-template-columns: repeat(6, 1fr); gap: 26px 18px; } .igs figcaption { font-size: 0.85rem; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.3rem; color: var(--rose); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--fir); outline-offset: 4px; }
.faq-item p { margin: 0 0 20px; max-width: 65ch; color: var(--muted); }
