/* Synthia Jahan Studio, shared styles for the Intelligence and Art pages.
   Header, type scale, intro, chapter rules, closing invitation and footer match Space v6. */

@font-face { font-family: "Baskervville"; src: url("../fonts/baskervville-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Baskervville"; src: url("../fonts/baskervville-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "SJS Bangla"; src: url("../fonts/utsa-bangla-subset.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }

:root {
  --ink: #191919;
  --cream: #f5f3eb;
  --rule: #d4d2cb;
  --muted: #66655e;
  --blue: #2442c5;
  --red: #d43d2c;
  --serif: "Baskervville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --sans: "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.38 var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
figure, p, h1, h2, h3, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

.skip { position: absolute; top: -200px; left: 24px; padding: 9px; background: white; z-index: 10; }
.skip:focus { top: 8px; }

.shell { width: min(calc(100% - 2 * clamp(24px, 5.2vw, 88px)), 1320px); margin-inline: auto; }

/* Header */
.site-head { display: flex; align-items: baseline; justify-content: space-between; padding-top: max(32px, env(safe-area-inset-top)); }
.logo { font: 26px/.9 var(--serif); letter-spacing: .005em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 35px); }
.site-nav a { padding-bottom: 4px; font-size: 12px; letter-spacing: .105em; }
.site-nav a[aria-current] { border-bottom: 1px solid var(--ink); }
.site-nav a:hover { border-bottom: 1px solid var(--ink); }

/* Intro */
.page-intro { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: end; padding-top: clamp(95px, 10.7vw, 160px); padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
h1 { font-size: clamp(64px, 7vw, 104px); letter-spacing: -.065em; line-height: .92; font-weight: 400; }
.intro-italic { font: italic 400 clamp(21px, 2.1vw, 30px)/1.25 var(--serif); letter-spacing: -.005em; margin-top: clamp(16px, 1.6vw, 24px); }
.intro-copy { font-size: 17px; line-height: 1.36; max-width: 340px; justify-self: end; margin-bottom: 2px; }

/* Chapter rule */
.chapter { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 21px; font-size: 12px; letter-spacing: .012em; border-top: 1px solid var(--rule); }
.chapter .right { color: #61615e; text-align: right; }

.arrow-link { display: inline-flex; align-items: baseline; gap: 7px; font-size: 12px; letter-spacing: .095em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.arrow-link svg { width: 9px; height: 9px; flex: none; transform: translateY(1px); }
.arrow-link:hover { color: var(--blue); border-color: var(--blue); }

/* Closing invitation */
.project-end { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: clamp(120px, 14vw, 195px); }
.project-end p { font-size: 13px; max-width: 52ch; }
.project-end p strong { font-weight: 400; display: block; font-size: 15px; margin-bottom: 4px; }
.project-end a { font-size: 12px; letter-spacing: .095em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 4px; white-space: nowrap; }
.project-end a:hover { color: var(--blue); border-color: var(--blue); }
.project-end .also { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.project-end .also a { font-size: 11px; letter-spacing: .06em; text-transform: none; border-bottom-color: var(--rule); }

footer.shell { display: flex; align-items: end; justify-content: space-between; padding-top: 72px; padding-bottom: max(30px, env(safe-area-inset-bottom)); font-size: 11px; color: var(--muted); flex-wrap: wrap; gap: 10px 24px; }
footer.shell .foot-mail { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
footer.shell .foot-mail:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- Intelligence: Composition 07 ---------- */
.c07-section { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(36px, 6vw, 110px); padding-top: clamp(56px, 7vw, 104px); }
/* Utsa side U = min(52svh, 560px); the composition is 1.5515U wide by 1.7082U tall.
   Nishash is a 430:932 portrait, PIGMENT 1/phi, Morphos 1/phi squared, and every gap is U/phi^5. */
.c07 { position: relative; flex: 0 0 auto; width: min(100%, calc(1.5515 * min(52svh, 560px))); aspect-ratio: 1.5515 / 1.7082; container-type: inline-size; }
.plane { position: absolute; display: block; overflow: hidden; transition: opacity .35s ease; }
.plane--nishash { left: 0; top: 0; width: 29.736%; height: 58.541%; background: #af235f; }
.plane--utsa { left: 35.548%; top: 0; width: 64.452%; height: 58.541%; background: #050507; }
.plane--pigment { left: 35.548%; top: 63.820%; width: 39.833%; height: 36.180%; background: #5bbab8; }
.plane--morphos { left: 5.118%; top: 63.820%; width: 24.618%; height: 22.361%; background: #d6d6d2; }
.c07.is-focused .plane:not(.is-active) { opacity: .32; }

.utsa-network { position: absolute; left: 17%; top: 27%; width: 66%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.utsa-network img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; animation: utsa-turn 240s linear infinite; }
.utsa-word { position: absolute; left: 0; right: 0; top: 7.5%; text-align: center; color: #fff; font: 400 6.45cqw/1 "SJS Bangla", "Noto Serif Bengali", "Kohinoor Bangla", "Bangla Sangam MN", "Nirmala UI", serif; }
@keyframes utsa-turn { to { transform: rotate(360deg); } }

.plane--nishash::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 228, .34) 0%, rgba(255, 214, 228, 0) 62%); scale: .55; animation: nishash-breath 11s ease-in-out infinite; }
@keyframes nishash-breath { 0%, 100% { scale: .55; opacity: .55; } 50% { scale: 1; opacity: 1; } }

.pigment-peach { position: absolute; left: 61.8%; top: 0; right: 0; bottom: 0; background: #f5bd8e; }
.pigment-lavender { position: absolute; left: 23.6%; top: 38.2%; width: 61.8%; height: 23.6%; background: #b7acd1; }

.morphos-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(10, 1fr); gap: 1px; padding: 1px; background: #d6d6d2; }
.morphos-grid span { background: #fff; }
.morphos-grid span.on { background: var(--blue); }

.c07-index { flex: 1 1 260px; max-width: 420px; padding-top: 2px; counter-reset: c07; }
.c07-index li + li { border-top: 1px solid var(--rule); }
.c07-index a { display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; padding: 18px 0 19px; transition: opacity .35s ease; }
.c07-index .swatch { width: 14px; height: 14px; margin-top: 7px; }
.c07-index .name { font-size: clamp(24px, 2.2vw, 31px); letter-spacing: -.04em; line-height: 1.05; }
.c07-index .inquiry { grid-column: 2; font-size: 12px; color: var(--muted); margin-top: 7px; letter-spacing: .012em; }
.c07-index.is-focused a:not(.is-active) { opacity: .4; }
.swatch--utsa { background: #050507; }
.swatch--nishash { background: #af235f; width: 8px !important; height: 17px !important; margin-left: 3px; margin-top: 5px !important; }
.swatch--pigment { background: linear-gradient(90deg, #5bbab8 61.8%, #f5bd8e 61.8%); }
.swatch--morphos { background: #fff; box-shadow: inset 0 0 0 1px #c9c9c4; position: relative; }
.swatch--morphos::after { content: ""; position: absolute; left: 3px; top: 3px; width: 5px; height: 5px; background: var(--blue); }

/* Project chapters */
.projects { margin-top: clamp(110px, 12vw, 180px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(90px, 10vw, 150px); }
.project-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding-top: clamp(28px, 3vw, 44px); }
.project-body h2 { font-size: clamp(40px, 4.4vw, 66px); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.project-copy { max-width: 620px; }
.project-copy .lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.03em; }
.project-copy .description { font-size: 16px; line-height: 1.45; margin-top: 20px; max-width: 54ch; }
.project-copy .role { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 58ch; }
.project-copy .links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 30px; }

/* Chapter covers repeat each project's plane from Composition 07 at the same proportions:
   Utsa C, Nishash C tall at 430:932, PIGMENT C/phi, Morphos C/phi squared, with C = min(440px, column). */
.cover-figure { grid-column: 2; margin-top: clamp(34px, 4vw, 56px); }
.cover-figure figcaption { font-size: 11px; color: var(--muted); margin-top: 12px; max-width: 34ch; }
.cover { position: relative; overflow: hidden; container-type: inline-size; }
.cover--utsa { width: min(440px, 100%); aspect-ratio: 1; background: #050507; }
.cover--utsa .utsa-word { font-size: 10cqw; }
.cover--nishash { width: calc(min(440px, 100%) * .4614); aspect-ratio: 430 / 932; background: #af235f; }
.cover--nishash::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 228, .34) 0%, rgba(255, 214, 228, 0) 62%); scale: .55; animation: nishash-breath 11s ease-in-out infinite; }
.cover--pigment { width: calc(min(440px, 100%) * .618); aspect-ratio: 1; background: #5bbab8; }
.cover--morphos { width: calc(min(440px, 100%) * .382); aspect-ratio: 1; background: #d6d6d2; }

/* Morphos system sketch, drawn in HTML so it stays legible on phones */
.system { grid-column: 2; margin-top: clamp(34px, 4vw, 56px); background: #ecebe4; padding: clamp(22px, 3.4vw, 44px); }
.system-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.system-row span { border: 1px solid var(--ink); padding: clamp(10px, 1.4vw, 18px) 8px; text-align: center; font-size: clamp(10px, 1vw, 13px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; background: var(--cream); }
.system-link { height: clamp(22px, 3vw, 38px); width: 1px; background: var(--ink); margin-inline: auto; }
.system-core { width: min(62%, 360px); margin-inline: auto; background: var(--blue); color: #fff; text-align: center; padding: clamp(14px, 2vw, 24px) 10px; }
.system-core b { display: block; font-weight: 400; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: .06em; }
.system-core small { display: block; font-size: clamp(9px, .95vw, 12px); letter-spacing: .14em; margin-top: 4px; }
.system-note { font-size: 11px; color: var(--muted); margin-top: 18px; }


/* ---------- Art ---------- */
.art-intro h1 { font-size: clamp(64px, 7vw, 104px); }
.art-line { font: 400 clamp(26px, 3.1vw, 46px)/1.14 var(--serif); letter-spacing: -.012em; max-width: 36ch; text-wrap: balance; padding-top: clamp(64px, 8vw, 120px); }
/* Painting spans the width. Below it, the archive portrait (4:5) and the Samatata square
   share a baseline; the square's height is 1/phi of the portrait's. */
.destinations { display: grid; grid-template-columns: 1fr .7725fr; align-items: end; column-gap: clamp(20px, 3vw, 44px); row-gap: clamp(56px, 6vw, 88px); margin-top: clamp(64px, 8vw, 120px); }
.destination { display: block; }
.destination .frame { overflow: hidden; background: #e4e1d7; }
.destination img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.destination:hover img { transform: scale(1.02); }
.destination .label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.destination h2 { font-size: clamp(27px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.destination:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.destination .meta { font-size: 11px; color: var(--muted); letter-spacing: .02em; text-align: right; }
.destination .go { display: block; font-size: 11px; letter-spacing: .095em; text-transform: uppercase; margin-top: 8px; }
.dest--painting { grid-column: 1 / -1; }
.dest--painting .frame { aspect-ratio: 1500 / 737; }
.dest--archive .frame { aspect-ratio: 4 / 5; }
.dest--samatata .frame { aspect-ratio: 1; }

/* ---------- Homes + Land ---------- */
.hl-crumb { font-size: 12px; letter-spacing: .012em; color: #61615e; margin-bottom: 22px; }
.hl-crumb a { border-bottom: 1px solid var(--rule); }
.hl-crumb a:hover { color: var(--ink); border-color: var(--ink); }
.hl-hero { margin-top: clamp(36px, 4vw, 56px); }
.hl-hero img { width: 100%; height: auto; aspect-ratio: 1600 / 1064; object-fit: cover; background: #e4e1d7; }
.hl-hero figcaption, .hl-pair figcaption { font-size: 11px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }
.hl-section { margin-top: clamp(90px, 10vw, 150px); }
.hl-h2 { font-size: clamp(28px, 3vw, 44px) !important; letter-spacing: -.045em !important; line-height: 1.08 !important; max-width: 16ch; }
.hl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); margin-top: clamp(44px, 5vw, 72px); counter-reset: none; }
.hl-steps li { border-top: 1px solid var(--ink); padding-top: 16px; }
.hl-steps span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hl-steps h3, .hl-faq h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 400; letter-spacing: -.025em; line-height: 1.2; margin-top: 10px; }
.hl-steps p, .hl-faq p { font-size: 14px; line-height: 1.5; margin-top: 10px; color: #3b3b37; }
.hl-facts-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; margin-top: clamp(56px, 6vw, 90px); }
.hl-facts { margin: 0; }
.hl-facts div + div { margin-top: 18px; }
.hl-facts dt { font-size: 11px; letter-spacing: .105em; text-transform: uppercase; color: var(--muted); }
.hl-facts dd { margin: 6px 0 0; font-size: 14px; line-height: 1.45; max-width: 34ch; }
.hl-writing { max-width: 620px; }
.hl-writing p { font-size: 16px; line-height: 1.5; }
.hl-writing p + p { margin-top: 14px; }
.hl-writing a { border-bottom: 1px solid var(--ink); }
.hl-writing a:hover { color: var(--blue); border-color: var(--blue); }
.hl-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 4vw, 60px); max-width: 980px; }
.hl-pair img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #e4e1d7; }
.hl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(48px, 5vw, 76px); }
.hl-card { display: block; }
.hl-card-img { overflow: hidden; aspect-ratio: 4 / 3; background: #e4e1d7; }
.hl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.hl-card:hover .hl-card-img img { transform: scale(1.02); }
.hl-status { display: block; font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-top: 14px; }
.hl-card h3 { font-size: clamp(24px, 2.2vw, 31px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin-top: 8px; }
.hl-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hl-card p { font-size: 13px; line-height: 1.45; margin-top: 8px; color: #3b3b37; max-width: 40ch; }
.hl-more { display: inline-flex; gap: 7px; align-items: baseline; margin-top: 14px; font-size: 11px; letter-spacing: .095em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hl-more svg { width: 9px; height: 9px; }
.hl-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); margin-top: clamp(40px, 4vw, 60px); }
.hl-faq > div { border-top: 1px solid var(--rule); padding-top: 4px; }
@media (max-width: 800px) {
  .hl-steps, .hl-faq { grid-template-columns: minmax(0, 1fr); }
  .hl-facts-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hl-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hl-h2 { font-size: 28px !important; }
  .hl-cards { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hl-pair { gap: 10px; }
  .hl-writing p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hl-card-img img { transition: none; } }

/* ---------- FT Ranch case study: the pavilion leads; the site plan appears once, on a sage field ---------- */
.ftr-hero { margin-top: clamp(40px, 4.5vw, 64px); }
.ftr-hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 58%; background: #c4bbb0; }
.ftr-hero figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }
.ftr-section .hl-writing .hl-h2 { margin-bottom: 18px; }
.ftr-full { margin-top: clamp(80px, 9vw, 130px); }
.ftr-sheet { background: #dce4d4; padding: clamp(14px, 3vw, 44px); }
.ftr-sheet img { width: 100%; height: auto; mix-blend-mode: multiply; }
.ftr-full figcaption { font-size: 11px; color: var(--muted); margin-top: 10px; }
.ftr-pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(70px, 8vw, 110px); padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12px; letter-spacing: .04em; }
.ftr-pager a:hover { color: var(--blue); }
@media (max-width: 600px) {
  .ftr-hero img { aspect-ratio: 1; }
  .ftr-hero figcaption { display: block; }
  .ftr-hero figcaption span { display: block; }
  .ftr-hero figcaption span + span { margin-top: 4px; }
}

@media (max-width: 800px) {
  .page-intro { padding-top: 92px; grid-template-columns: 1fr 1fr; gap: 18px; }
  h1 { font-size: clamp(58px, 10vw, 78px); }
  .intro-copy { font-size: 15px; }
  .project-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cover-figure, .system { grid-column: 1; }
  .c07-index { max-width: none; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 44px); }
  .site-head { padding-top: max(26px, env(safe-area-inset-top)); }
  .logo { font-size: 22px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 10px; letter-spacing: .055em; }
  .page-intro { padding-top: 76px; padding-bottom: 25px; grid-template-columns: 1fr; gap: 23px; }
  h1 { font-size: 58px; }
  .intro-copy { font-size: 14px; justify-self: start; max-width: 31ch; }
  .chapter { padding-top: 15px; font-size: 11px; }
  .c07-section { padding-top: 44px; gap: 36px; }
  .project-body h2 { font-size: 40px; }
  .project-copy .lead { font-size: 21px; }
  .project-copy .description { font-size: 15px; }
  .project-end { margin-top: 95px; display: block; }
  .project-end a { display: inline-block; margin-top: 18px; }
  footer.shell { padding-top: 70px; font-size: 10px; }
  footer.shell .foot-mail { order: -1; flex-basis: 100%; font-size: 12px; margin-bottom: 6px; border: 0; text-decoration: underline; text-underline-offset: 3px; }
  .system-row span { letter-spacing: .03em; padding-inline: 4px; }
  .destinations { column-gap: 14px; row-gap: 44px; }
  .destination .label { display: block; }
  .destination .meta { text-align: left; margin-top: 6px; }
  .destination h2 { font-size: 25px; }
}
@media (max-width: 360px) {
  .site-nav { gap: 8px; }
  .site-nav a { font-size: 9.2px; }
  .shell { width: calc(100% - 40px); }
  .logo { font-size: 20px; }
  .system-row span { font-size: 9px; letter-spacing: .02em; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .utsa-network img, .plane--nishash::after, .cover--nishash::after { animation: none; }
  .plane--nishash::after, .cover--nishash::after { scale: .8; opacity: .8; }
  .plane, .c07-index a, .destination img { transition: none; }
}

/* Intelligence: a quiet route for hiring managers beside the project invitation */
.project-end .also.hire { display: block; margin-top: 14px; font-size: 12px; color: #61615e; }
.project-end .also.hire a { display: inline; margin: 0; padding-bottom: 1px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink); border-bottom: 1px solid currentColor; white-space: normal; }
.project-end .also.hire a:hover { color: var(--blue); }
