/*
Theme Name: Bo Lane Editorial
Theme URI: https://bolane.org/
Author: Bo Lane
Description: A sophisticated editorial portfolio theme for BoLane.org.
Version: 4.0.0
Text Domain: bolane
*/

:root {
  --paper: #f7f6f2;
  --paper-cool: #eff0f5;
  --paper-warm: #f3f0e9;
  --ink: #111111;
  --muted: #6f7078;
  --line: #d6d8df;
  --accent: #9d6db0;
  --accent-strong: #ff5a2a;
  --dark: #080808;
  --dark-2: #131313;
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: #ddd0e3; color: #111; }

.shell {
  width: min(calc(100% - 96px), var(--shell));
  margin-inline: auto;
}
.kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(247,246,242,.94);
  border-bottom: 1px solid rgba(17,17,17,.12);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-mark__name {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.site-mark__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
}
.primary-nav ul,
.footer-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.primary-nav a,
.footer-nav a {
  color: #333;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.primary-nav a:hover,
.footer-nav a:hover { color: var(--accent-strong); }

/* Hero */
.home-hero {
  background: var(--paper-cool);
  border-bottom: 1px solid var(--line);
}
.home-hero__grid {
  min-height: min(830px, calc(100vh - 86px));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .62fr);
  gap: clamp(70px, 8vw, 150px);
  align-items: center;
  padding-top: clamp(72px, 8vw, 128px);
  padding-bottom: clamp(72px, 8vw, 128px);
}
.home-hero__title {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 7.6vw, 9.2rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .9;
}
.home-hero__title span { display: block; }
.home-hero__accent { color: var(--accent); }
.home-hero__intro-row {
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  gap: 46px;
  align-items: end;
  max-width: 860px;
  margin-top: clamp(54px, 7vw, 92px);
}
.home-hero__intro-row p {
  margin: 0;
  color: #575863;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.65;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.text-link span { transition: transform .22s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link--light { color: #fff; }
.home-hero__portrait { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.home-hero__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.2;
  background: #d9d9de;
}
.home-hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.08);
  pointer-events: none;
}
.home-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 47%;
  filter: saturate(.66) contrast(.98) brightness(1.02);
  transform: scale(1.02);
}
.home-hero__portrait figcaption {
  margin-top: 12px;
  color: #777985;
  font-size: .72rem;
}

/* Practice */
.practice-section {
  padding: clamp(100px, 10vw, 160px) 0 clamp(110px, 11vw, 175px);
  background: var(--paper-cool);
}
.section-heading { max-width: 1050px; }
.section-heading h1,
.section-heading h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .96;
}
.section-heading h2 { font-size: clamp(3.8rem, 6.6vw, 7.5rem); }
.section-heading--left { margin-bottom: clamp(72px, 8vw, 120px); }
.section-heading--center { max-width: 1000px; margin: 0 auto clamp(70px, 8vw, 116px); text-align: center; }
.section-heading--dark { color: #fff; }
.section-heading--dark h2 { color: #fff; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 6vw, 95px);
}
.practice-item {
  padding-top: 30px;
  border-top: 1px solid #cfd1d9;
}
.practice-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent-strong);
  font-size: .78rem;
  font-weight: 700;
}
.practice-item h3 {
  max-width: 330px;
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.18;
}
.practice-item p {
  max-width: 390px;
  margin: 0;
  color: #656670;
  font-size: 1rem;
  line-height: 1.75;
}

/* Featured work */
.featured-work {
  padding: clamp(110px, 11vw, 175px) 0 clamp(120px, 12vw, 190px);
  background: var(--dark);
  color: #fff;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 6vw, 96px);
}
.featured-project__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.35 / 1;
  background: #1a1a1a;
  text-decoration: none;
}
.featured-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .5s ease;
}
.featured-project:hover .featured-project__media img { transform: scale(1.018); filter: brightness(1.04); }
.project-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 50px;
  background: #181818;
  color: #c7c7c7;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: .92;
  text-align: center;
}
.project-placeholder--light { background: #e7e7ec; color: #7a7b83; }
.featured-project__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  color: #8e8e8e;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.featured-project h3 {
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.4vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
}
.featured-project h3 a { text-decoration: none; }
.featured-project__excerpt {
  max-width: 620px;
  margin: 0 0 26px;
  color: #b7b7b7;
  font-size: 1rem;
  line-height: 1.72;
}
.status-label {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.status-label--dark { color: #985b43; }

/* Case-study rows */
.case-work { background: var(--paper); }
.case-work__intro {
  padding-top: clamp(100px, 10vw, 155px);
  padding-bottom: clamp(70px, 7vw, 105px);
}
.case-work__intro h2 {
  max-width: 760px;
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}
.case-list { border-top: 1px solid #dedbd3; }
.case-row { border-bottom: 1px solid #dedbd3; }
.case-row:nth-child(even) { background: #f1f0eb; }
.case-row__inner {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: clamp(65px, 8vw, 135px);
  align-items: center;
  padding-top: clamp(70px, 7vw, 105px);
  padding-bottom: clamp(70px, 7vw, 105px);
}
.case-row--reverse .case-row__copy { order: 2; }
.case-row--reverse .case-row__media { order: 1; }
.case-row__meta {
  margin: 0 0 16px;
  color: #6e706f;
  font-size: .75rem;
  letter-spacing: .03em;
}
.case-row h3 {
  max-width: 610px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5vw, 6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .93;
}
.case-row__excerpt {
  max-width: 520px;
  margin: 28px 0 28px;
  color: #4f514f;
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}
.case-row__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.62 / 1;
  background: #e6e4de;
  text-decoration: none;
}
.case-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.case-row:hover .case-row__media img { transform: scale(1.015); }
.archive-cta { padding: 54px 0 90px; }

/* Contact */
.contact-section {
  padding: clamp(100px, 10vw, 155px) 0;
  background: var(--paper-cool);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}
.contact-heading h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}
.contact-heading > p:last-child {
  max-width: 550px;
  margin: 30px 0 0;
  color: #5d5f68;
  font-size: 1.05rem;
}
.contact-form { display: grid; gap: 24px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #686a72;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0 12px;
  border: 0;
  border-bottom: 1px solid #bfc1c9;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form__honeypot { position: absolute; left: -9999px; }
.submit-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}
.submit-button:hover { background: transparent; color: var(--ink); }
.contact-notice { margin: 0 0 28px; color: #5f6b61; }
.contact-notice--error { color: #8c3f34; }

/* Interior pages */
.page-shell { padding: clamp(90px, 9vw, 145px) 0 clamp(120px, 12vw, 185px); background: var(--paper); }
.page-grid {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1.25fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}
.page-header { position: sticky; top: 40px; }
.page-header h1,
.project-detail__header h1,
.archive-shell h1 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}
.page-header h1 { font-size: clamp(4rem, 6vw, 7rem); }
.page-body { padding-top: 12px; }
.entry-content { max-width: 860px; font-size: 1.08rem; color: #33343a; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.45em; }
.entry-content h2,
.entry-content h3 {
  margin: 2.2em 0 .7em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.entry-content h2 { font-size: clamp(2.6rem, 4vw, 4.5rem); }
.entry-content h3 { font-size: clamp(2rem, 3vw, 3.2rem); }
.entry-content a { text-underline-offset: 3px; }
.entry-content img { margin: 2.5em 0; }

/* Project detail */
.project-detail { padding: clamp(90px, 9vw, 145px) 0 clamp(120px, 12vw, 185px); }
.project-detail__header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: end;
}
.project-detail__header h1 { font-size: clamp(4.8rem, 7.6vw, 9rem); }
.project-detail__intro > p {
  margin: 0 0 26px;
  color: #5a5b61;
  font-size: 1.18rem;
  line-height: 1.65;
}
.project-detail__header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.project-detail__media { margin-top: clamp(70px, 8vw, 120px); }
.project-detail__media img { width: 100%; max-height: 900px; object-fit: cover; }
.project-detail__body {
  display: grid;
  grid-template-columns: minmax(220px, .4fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 140px);
  padding-top: clamp(70px, 8vw, 115px);
}
.project-detail__aside { color: #6b6d72; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.project-detail__aside strong { display: block; margin: 8px 0 18px; color: var(--ink); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.project-like-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: #777; cursor: pointer; }
.project-like-button svg { width: 15px; height: 15px; }
.project-like-button.is-liked { color: var(--accent-strong); }

/* Archive */
.archive-shell { padding: clamp(100px, 10vw, 160px) 0; }
.archive-shell .section-intro { max-width: 900px; margin-bottom: 70px; }
.archive-shell h1 { font-size: clamp(5rem, 8vw, 9rem); }
.archive-list { border-top: 1px solid #d9d7d0; }
.archive-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #d9d7d0;
  text-decoration: none;
}
.archive-item span { color: #777; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.archive-item strong { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 4rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.archive-item:hover strong { color: var(--accent); }

.site-footer {
  padding: 34px 0;
  background: var(--dark);
  color: #bdbdbd;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: .74rem;
}
.footer-signoff { display: flex; gap: 16px; align-items: center; }
.footer-name { color: #fff; font-weight: 700; }
.footer-meta { display: flex; gap: 28px; align-items: center; }
.footer-nav a { color: #bdbdbd; }

@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 56px), var(--shell)); }
  .home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(310px, .52fr); gap: 60px; }
  .home-hero__intro-row { grid-template-columns: 1fr; gap: 24px; }
  .case-row__inner { min-height: auto; grid-template-columns: .78fr 1.22fr; gap: 60px; }
  .page-grid, .project-detail__body { gap: 70px; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .header-inner { min-height: 74px; }
  .primary-nav ul { gap: 18px; }
  .primary-nav a { font-size: .68rem; }
  .home-hero__grid { min-height: auto; grid-template-columns: 1fr; gap: 56px; padding-top: 70px; padding-bottom: 70px; }
  .home-hero__title { font-size: clamp(4.1rem, 15vw, 7rem); }
  .home-hero__portrait { max-width: 520px; }
  .practice-grid, .featured-grid, .contact-grid, .page-grid, .project-detail__header, .project-detail__body { grid-template-columns: 1fr; }
  .practice-grid { gap: 58px; }
  .practice-number { margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(3.5rem, 12vw, 6.2rem); }
  .case-row__inner { grid-template-columns: 1fr; gap: 44px; }
  .case-row--reverse .case-row__copy, .case-row--reverse .case-row__media { order: initial; }
  .case-row__media { aspect-ratio: 1.45 / 1; }
  .page-header { position: static; padding-bottom: 42px; border-bottom: 1px solid #d9d7d0; }
  .project-detail__header { align-items: start; }
  .project-detail__body { gap: 36px; }
  .contact-grid { gap: 70px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-meta { width: 100%; justify-content: space-between; }
}

@media (max-width: 560px) {
  .primary-nav li:first-child { display: none; }
  .primary-nav ul { gap: 14px; }
  .home-hero__title { font-size: clamp(3.6rem, 17vw, 5.6rem); }
  .home-hero__intro-row p { font-size: 1.03rem; }
  .contact-form__row { grid-template-columns: 1fr; }
  .archive-item { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .archive-item > span:first-child { grid-column: 1 / -1; }
  .footer-signoff span:last-child { display: none; }
}
