/* The Travelographer & Co. - monochrome, sharp corners, follows the chevron logo */
@font-face { font-family: "Outfit"; src: url(fonts/outfit.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #f4f4f2;
  --bg-2: #eaeae7;
  --ink: #151515;
  --muted: #5b5b58;
  --line: #d6d6d2;
  --on-ink: #f4f4f2;
  --sans: "Outfit", system-ui, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111110; --bg-2: #1a1a19; --ink: #ecebe8; --muted: #a3a29e; --line: #2c2c2a; --on-ink: #111110; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; z-index: 30; }
.skip:focus { left: 8px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; white-space: nowrap; padding: 13px 22px; background: var(--ink); color: var(--on-ink); text-decoration: none; font: 400 13px/1 var(--type); letter-spacing: .12em; text-transform: uppercase; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { opacity: .86; }
.btn:active { transform: translateY(1px) scale(.98); }
.link { font: 400 14px/1 var(--type); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.link:hover { opacity: .7; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 54px; height: auto; flex: none; }
.logo span { font: 700 13px/1 var(--type); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.logo i { font-style: normal; font-weight: 400; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav nav a:not(.btn):hover, .nav nav a[aria-current] { color: var(--ink); }
.nav .btn { padding: 11px 18px; }
.menu { display: none; }

/* ---------- shared blocks ---------- */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 144px) var(--gut) 0; }
.block.first { padding-top: clamp(40px, 6vw, 88px); }
.h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.02em; font-weight: 300; margin-bottom: 20px; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.015em; font-weight: 300; margin-bottom: 36px; }
.h3 { font: 700 13px/1.4 var(--type); letter-spacing: .14em; text-transform: uppercase; margin: 36px 0 10px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 48px; }
.crumb { margin: 0 0 12px; font: 400 13px/1 var(--type); letter-spacing: .12em; text-transform: uppercase; }
.crumb a { color: var(--muted); text-decoration: none; }
.center { text-align: center; margin-top: 56px; }

/* ---------- hero ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--gut) 0; display: grid; grid-template-columns: 11fr 13fr; gap: clamp(28px, 4vw, 64px); align-items: end; min-height: calc(100dvh - 68px); }
.hero-copy { padding-bottom: clamp(8px, 3vw, 48px); }
.hero h1 { font-size: clamp(38px, 3.9vw, 64px); line-height: 1.04; letter-spacing: -.025em; font-weight: 300; margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 300; display: block; padding-bottom: 4px; color: var(--muted); }
.hero .sub { max-width: 38ch; color: var(--muted); font-size: 18px; margin: 0 0 32px; }
.ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-pic { margin: 0; height: min(78dvh, 820px); overflow: hidden; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }

/* home intro motion: mark chevrons + hero rise in */
.home .nav .mark polygon, .home .nav .mark circle { opacity: 0; transform: translateX(-30px); animation: chev .9s var(--ease) forwards; }
.home .nav .mark .c1 { animation-delay: .05s; } .home .nav .mark .c2 { animation-delay: .17s; } .home .nav .mark .c3 { animation-delay: .29s; }
.home .nav .mark circle { animation-delay: .4s; }
@keyframes chev { to { opacity: 1; transform: none; } }
.home .hero-copy > * { opacity: 0; transform: translateY(18px); animation: chev 1s var(--ease) forwards; }
.home .hero-copy > :nth-child(2) { animation-delay: .12s; } .home .hero-copy > :nth-child(3) { animation-delay: .22s; }
.home .hero-pic img { transform: scale(1.06); animation: settle 1.8s var(--ease) forwards; }
@keyframes settle { to { transform: none; } }

/* ---------- bento (8 projects, 8 cells) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 300px); gap: 12px;
  grid-template-areas: "a a b c" "a a d c" "e f f g" "e h h g"; }
.cell { position: relative; overflow: hidden; display: block; text-decoration: none; background: var(--bg-2); }
.c-a { grid-area: a; } .c-b { grid-area: b; } .c-c { grid-area: c; } .c-d { grid-area: d; }
.c-e { grid-area: e; } .c-f { grid-area: f; } .c-g { grid-area: g; } .c-h { grid-area: h; }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cell:hover img { transform: scale(1.04); }
.cell .cap { position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px; color: #f4f4f2; background: linear-gradient(transparent, rgba(10,10,10,.62)); display: flex; flex-direction: column; }
.cap b { font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); }
.cap small { font-size: 14px; opacity: .85; }

/* ---------- philosophy ---------- */
.philosophy ol { list-style: none; margin: 0; padding: 0; }
.philosophy li { display: grid; grid-template-columns: clamp(56px, 7vw, 96px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.philosophy li:last-child { border-bottom: 1px solid var(--line); }
.philosophy .chev { width: 100%; height: auto; }
.philosophy li > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: baseline; }
.philosophy h3 { font-size: clamp(30px, 4vw, 60px); font-weight: 300; letter-spacing: -.02em; }
.philosophy p { color: var(--muted); margin: 0; max-width: 52ch; }

/* ---------- places rail ---------- */
.places { max-width: none; padding-left: 0; padding-right: 0; }
.places .h2 { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 var(--gut); }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 20px; scroll-padding: var(--gut); scrollbar-width: thin; }
.place { flex: 0 0 clamp(200px, 22vw, 300px); scroll-snap-align: start; text-decoration: none; }
.place img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: opacity .3s; }
.place:hover img { opacity: .85; }
.place span { display: block; margin-top: 10px; font: 400 14px/1.2 var(--type); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- hire (overlapping pair + copy) ---------- */
.hire { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hire-pics { position: relative; padding-bottom: 18%; }
.hire-pics img:first-child { width: 78%; aspect-ratio: 4/5; object-fit: cover; }
.hire-pics img:last-child { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 10px solid var(--bg); }
.hire-copy p { color: var(--muted); max-width: 46ch; margin: 0 0 28px; }

/* ---------- quote ---------- */
.quote { margin-top: clamp(72px, 10vw, 144px); min-height: 76dvh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px var(--gut); background: linear-gradient(rgba(10,10,10,.45), rgba(10,10,10,.55)), var(--photo) center/cover no-repeat; color: #f4f4f2; }
.quote p { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.12; font-weight: 300; letter-spacing: -.02em; max-width: 18ch; margin: 0 auto 20px; font-style: italic; padding-bottom: 4px; }
.quote cite { font: 400 13px/1 var(--type); letter-spacing: .16em; text-transform: uppercase; font-style: normal; }

/* ---------- work list ---------- */
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px); }
.work-row { text-decoration: none; display: block; }
.work-row:nth-child(4n+2), .work-row:nth-child(4n+3) { }
.work-row:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.work-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: opacity .3s; }
.work-row:hover img { opacity: .88; }
.work-row span { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; margin-top: 14px; }
.work-row b { font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); }
.work-row small { color: var(--muted); grid-column: 1; }
.work-row em { font: 400 13px/1 var(--type); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); grid-row: 1; grid-column: 2; align-self: center; }

/* ---------- gallery ---------- */
.masonry { columns: 3 300px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; break-inside: avoid; background: var(--bg-2); }
.masonry img { width: 100%; transition: opacity .3s; }
.masonry a:hover img { opacity: .86; }
.next-link { position: relative; display: block; height: clamp(260px, 40vw, 520px); overflow: hidden; color: #f4f4f2; text-decoration: none; }
.next-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.next-link:hover img { transform: scale(1.03); }
.next-link span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: var(--gut); background: rgba(10,10,10,.42); }
.next-link small { font: 400 13px/1 var(--type); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.next-link b { font-weight: 300; font-size: clamp(36px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; }
.next-link .chev { width: 34px; height: auto; margin-top: 20px; transition: transform .4s var(--ease); }
.next-link:hover .chev { transform: translateX(8px); }

/* ---------- services ---------- */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 24px; }
.feature-copy p { color: var(--muted); max-width: 50ch; }
.feature-pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.feature-pics img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.feature-pics img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.svc { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); }
.svc h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.01em; }
.svc-for { color: var(--muted); margin: 4px 0 24px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tier { border-top: 1px solid var(--ink); padding-top: 14px; }
.tier-name { margin: 0; font: 700 12px/1 var(--type); letter-spacing: .16em; text-transform: uppercase; }
.price { margin: 10px 0 12px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; line-height: 1.1; }
.price small { font: 400 13px/1 var(--type); letter-spacing: .08em; vertical-align: .55em; }
.price span { display: block; font-size: 14px; color: var(--muted); font-weight: 300; margin-top: 4px; }
.tier ul { margin: 0; padding: 0 0 0 16px; color: var(--muted); font-size: 15px; }
.tier li { margin-bottom: 4px; }
.note { margin: 40px 0 0; color: var(--muted); display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }

/* ---------- prints ---------- */
.prints { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.print { margin: 0; }
.print:nth-child(3n+2) { margin-top: clamp(0px, 6vw, 80px); }
.print img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.print figcaption { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 12px; }
.print b { font-weight: 400; font-size: 20px; }
.print span { color: var(--muted); grid-column: 1; }
.print figcaption a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 400 13px/1 var(--type); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-pic { margin: 0; position: sticky; top: 92px; }
.about-pic img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-copy p { max-width: 60ch; }
.about-copy .btn { margin-top: 24px; }
.about-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-strip img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- journal ---------- */
.entry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.entry img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.entry p { color: var(--muted); max-width: 52ch; margin: 0; }
.entry .h2 { margin-bottom: 16px; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(96px, 12vw, 176px); border-top: 1px solid var(--line); padding: 0 var(--gut); }
.home .foot { margin-top: 0; border-top: 0; }
.foot-top { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.foot-line { font-size: clamp(30px, 4vw, 56px); line-height: 1.1; font-weight: 300; letter-spacing: -.02em; margin: 0; }
.foot-bottom { max-width: var(--max); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.foot-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.foot-bottom nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.foot-bottom nav a:hover { color: var(--ink); }
.foot-bottom p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 40; background: rgba(12,12,11,.97); display: flex; align-items: center; justify-content: center; color: #ecebe8; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(92vw, 1800px); max-height: 84dvh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; font: 400 13px/1 var(--type); letter-spacing: .12em; text-transform: uppercase; color: #a3a29e; }
.lightbox button { position: absolute; background: none; border: 0; color: inherit; cursor: pointer; padding: 16px; }
.lb-close { top: 10px; right: 14px; font: 400 13px/1 var(--type); letter-spacing: .14em; text-transform: uppercase; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-chev { width: 22px; height: auto; display: block; }
.lb-chev.flip { transform: scaleX(-1); }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1080px) {
  .nav nav a:not(.btn) { font-size: 14px; }
  .logo span { display: none; }
}
@media (max-width: 860px) {
  .menu { display: block; background: none; border: 1px solid var(--ink); color: var(--ink); font: 400 12px/1 var(--type); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }
  .nav nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gut) 24px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .nav.open nav { transform: none; opacity: 1; visibility: visible; }
  .nav nav a:not(.btn) { font-size: 22px; color: var(--ink); padding: 10px 0; width: 100%; }
  .nav nav .btn { margin-top: 16px; }
  .logo span { display: inline; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .logo .mark { width: 44px; }
  .logo span { font-size: 11px; letter-spacing: .1em; }
  .hero { grid-template-columns: 1fr; min-height: 0; align-items: start; padding-top: 0; }
  .hero-pic { height: 56dvh; order: -1; margin: 0 calc(var(--gut) * -1); }
  .hero-copy { padding-bottom: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; grid-template-areas: "a a" "a a" "b c" "d e" "f g" "h h"; gap: 8px; }
  .cell .cap { padding: 40px 12px 10px; }
  .cap small { display: none; }
  .philosophy li > div { grid-template-columns: 1fr; gap: 6px; }
  .philosophy li { align-items: start; }
  .hire, .feature, .about, .entry { grid-template-columns: 1fr; }
  .about-pic { position: static; }
  .work-list, .svc-grid, .prints { grid-template-columns: 1fr; }
  .work-row:nth-child(even), .print:nth-child(3n+2) { margin-top: 0; }
  .tiers { grid-template-columns: 1fr; gap: 20px; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry a { margin-bottom: 8px; }
  .about-strip { grid-template-columns: 1fr 1fr; }
  .foot-bottom { grid-template-columns: 1fr; }
  .foot-bottom nav { justify-content: flex-start; }
  .quote { min-height: 60dvh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .home .nav .mark polygon, .home .nav .mark circle, .home .hero-copy > * { opacity: 1; transform: none; }
  .home .hero-pic img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
