/* ==========================================================================
   MPT PROJECT — Official Homepage
   Implemented from the confirmed Claude Design mockup.
   Font: Pretendard (open-source) used as the closest available substitute
   for "Pretendard JP" specified in the design system.
   ========================================================================== */

:root {
  /* Color tokens — extracted 1:1 from the design mockup */
  --bg-ivory: #FAF8F3;
  --bg-warm-ivory: #F3F0E8;
  --bg-mobile-frame: #EDEAE1;

  --text-charcoal: #1C1C1A;
  --text-body: #4A4944;
  --text-muted: #5B5B57;
  --text-faint: #8A887F;

  --green-primary: #2E7D32;
  --green-deep: #1B5E20;
  --green-tint-bg: #E8F0E9;
  --green-tint-border: rgba(46, 125, 50, 0.25);

  --line-hairline: rgba(28, 28, 26, 0.10);
  --line-neutral: rgba(28, 28, 26, 0.12);
  --line-strong: rgba(28, 28, 26, 0.22);
  --line-dashed: rgba(28, 28, 26, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --shadow-soft: 0 20px 60px rgba(28, 28, 26, 0.12);

  --max-width: 1140px;
  --pad-desktop: 64px;
  --pad-mobile: 24px;
  --rhythm-desktop: 140px;
  --rhythm-mobile: 56px;

  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', 'Apple SD Gothic Neo', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg-ivory);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }

/* Applied to <body> while the lightbox is open. Simple overflow lock —
   keeps the current scroll offset intact, so closing the modal leaves
   the page exactly where it was. */
body.no-scroll {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-desktop);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 16px;
}

.section-heading {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-hairline);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--pad-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.brand img {
  height: 22px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--green-primary);
  border-bottom-color: var(--green-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin: -8px;
}

.nav-toggle__bar,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-charcoal);
  border-radius: 2px;
}

.nav-toggle {
  position: relative;
  width: 36px;
  height: 36px;
}
.nav-toggle__bar { position: absolute; top: 17px; left: 8px; }
.nav-toggle::before { position: absolute; top: 11px; left: 8px; }
.nav-toggle::after { position: absolute; top: 23px; left: 8px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 18px 40px;
  border-radius: var(--radius-pill);
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.contact-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
  min-height: 18px;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 64px var(--pad-desktop) 72px;
}

.hero__inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 76px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 28px 0;
}

.hero__slogan {
  font-size: 32px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 44px 0;
  max-width: 560px;
}

.hero__status {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.hero__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  flex-shrink: 0;
}

.hero__more {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__more span:first-child {
  border-bottom: 1px solid rgba(138, 136, 127, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero__more:hover span:first-child,
.hero__more:focus-visible span:first-child {
  color: var(--green-primary);
  border-color: var(--green-primary);
}

/* ==========================================================================
   SECTION GENERIC
   ========================================================================== */

.section {
  padding: var(--rhythm-desktop) var(--pad-desktop);
}

.section--bordered { border-top: 1px solid var(--line-neutral); }
.section--warm { background: var(--bg-warm-ivory); }

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
}

.about__body { max-width: 620px; }

.about__body p {
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 22px 0;
}

.about__quote {
  border-top: 1px solid var(--line-neutral);
  padding-top: 36px;
  margin-top: 26px;
}

.about__quote p:first-child {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--green-deep);
  margin: 0 0 12px 0;
}

.about__quote p:last-child {
  font-size: 15px;
  color: var(--text-faint);
  margin: 0;
}

/* ==========================================================================
   CURRENT PROJECTS
   ========================================================================== */

.projects__intro {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 56px 0;
  max-width: 640px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.project-card--feature {
  grid-column: 1 / 9;
  min-height: 500px;
  background: var(--bg-ivory);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
}

.project-card--feature .project-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.project-card--feature .project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-card--feature .project-card__body {
  padding: 40px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}

.project-card__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.status-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-primary);
  border: 1px solid var(--green-primary);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  white-space: nowrap;
}

.status-pill--muted {
  color: var(--text-faint);
  border-color: var(--line-strong);
}

.project-card--feature h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.project-card--feature p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 14px 0;
}
.project-card--feature p:last-child { margin-bottom: 0; }

.project-card--side {
  grid-column: 9 / 13;
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 260px;
}

.project-card--side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card--side .project-card__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-charcoal);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.project-card {
  background: var(--bg-ivory);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card--col-a { grid-column: 1 / 5; }
.project-card--col-b { grid-column: 5 / 9; }
.project-card--col-c { grid-column: 9 / 13; }

.project-card__media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__media--preparing {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(28,28,26,0.045),
    rgba(28,28,26,0.045) 10px,
    transparent 10px,
    transparent 20px
  );
  background-color: var(--bg-warm-ivory);
}

.preparing-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
}

.preparing-mark__dots {
  display: flex;
  gap: 6px;
}

.preparing-mark__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.5;
}
.preparing-mark__dots span:nth-child(1) { animation: dot-pulse 1.6s ease-in-out infinite; }
.preparing-mark__dots span:nth-child(2) { animation: dot-pulse 1.6s ease-in-out 0.2s infinite; }
.preparing-mark__dots span:nth-child(3) { animation: dot-pulse 1.6s ease-in-out 0.4s infinite; }

@keyframes dot-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

.preparing-mark__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.project-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 4px 0;
}
.project-card p:last-child { margin-bottom: 0; }

.project-card--pending p {
  color: var(--text-faint);
}

.coming-next {
  grid-column: 1 / 13;
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.coming-next__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.coming-next h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 8px 0;
}

.coming-next p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-faint);
  margin: 0;
}

.coming-next__arrow {
  font-size: 22px;
  color: var(--text-faint);
  flex-shrink: 0;
}

/* ==========================================================================
   FEATURED PROJECT
   ========================================================================== */

.featured__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.featured h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 44px 0;
}

.featured__lead {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 0 40px 0;
}

.featured__intro {
  max-width: 640px;
  margin: 0 0 64px 0;
}

.featured__intro p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-body);
  margin: 0 0 6px 0;
}
.featured__intro p:last-child { margin-bottom: 0; margin-top: 16px; }

.featured__main-shot {
  position: relative;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.featured__main-shot img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.shot-caption {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.featured__detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 100px 0;
}

.featured__detail-grid figure { margin: 0; }

.featured__detail-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.featured__block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  margin-bottom: 100px;
}

.featured__block h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.featured__block-body { max-width: 620px; }

.featured__block-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0 0 20px 0;
}
.featured__block-body p:last-child { margin-bottom: 0; }

.feature-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line-neutral);
}

.feature-row__key {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-deep);
}

.feature-row__desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.feature-row__items {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-faint);
  margin: 0;
}

.featured__status-box {
  max-width: 820px;
  background: var(--green-tint-bg);
  border: 1px solid var(--green-tint-border);
  border-radius: var(--radius-md);
  padding: 32px 36px;
}

.featured__status-box .feature-label {
  color: var(--green-deep);
  margin-bottom: 12px;
}

.featured__status-box p {
  font-size: 16px;
  line-height: 1.8;
  color: #2A2A26;
  margin: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact__eyebrow { margin-bottom: 20px; }

.contact__headline {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 36px 0;
}

.contact h2 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.contact__body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0 0 44px 0;
}

/* ==========================================================================
   PROJECT LOG
   ========================================================================== */

.log__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
}

.log__year {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.log__timeline {
  border-left: 1px solid var(--line-strong);
  list-style: none;
  margin: 0;
  padding: 0;
}

.log__entry {
  position: relative;
  padding: 20px 0 20px 28px;
}

.log__entry::before {
  content: '';
  position: absolute;
  left: -4.5px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
}

.log__entry-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 560px;
  gap: 16px;
  flex-wrap: wrap;
}

.log__entry-name {
  font-size: 19px;
  font-weight: 700;
}

.log__entry-status {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.log__cursor-line {
  margin-top: 80px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.log__cursor-line p {
  font-size: 24px;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0;
  font-style: italic;
}

.log__cursor {
  display: inline-block;
  width: 2px;
  height: 24px;
  background: var(--green-deep);
  animation: cursor-pulse 1.4s ease-in-out infinite;
}

@keyframes cursor-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 56px var(--pad-desktop);
  border-top: 1px solid var(--line-neutral);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer .brand img { height: 20px; }

.site-footer__tagline,
.site-footer__copy {
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   SCROLL REVEAL (subtle, respects reduced motion)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   LIGHTBOX TRIGGERS
   Applied only to real product/UI screenshots the visitor needs to inspect
   closely (MPT STUDY screens). Decorative photos and the logo are untouched.
   ========================================================================== */

.lightbox-trigger {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.lightbox-trigger img {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lightbox-trigger:hover img,
.lightbox-trigger:focus-visible img {
  transform: scale(1.02);
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: -2px;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 26, 0.82);
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1400px);
  max-height: 92vh;
  background: var(--bg-ivory);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1400px);
  max-height: 92vh;
  object-fit: contain;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-ivory);
  border: 1px solid var(--line-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
  background: #fff;
  transform: scale(1.06);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-charcoal);
}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 860px) {
  .container { padding: 0 var(--pad-mobile); }

  .site-header__inner { padding: 16px var(--pad-mobile); }

  .site-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg-ivory);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad-mobile) 32px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 90;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__link {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-hairline);
    font-size: 16px;
  }

  .nav-toggle { display: block; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { opacity: 0; }
  .nav-toggle[aria-expanded="true"]::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"]::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: unset;
    padding: 40px var(--pad-mobile) 56px;
  }

  .hero h1 { font-size: 42px; margin-bottom: 20px; }
  .hero__slogan { font-size: 22px; margin-bottom: 16px; }
  .hero__sub { font-size: 16px; margin-bottom: 36px; }
  .hero__eyebrow { margin-bottom: 20px; }
  .btn-primary { width: 100%; padding: 16px 0; font-size: 15px; }

  .section { padding: var(--rhythm-mobile) var(--pad-mobile); }

  .section-heading { font-size: 28px; }

  .about__grid,
  .log__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__body p { font-size: 16px; margin-bottom: 18px; }
  .about__quote { padding-top: 28px; margin-top: 10px; }
  .about__quote p:first-child { font-size: 22px; }

  .projects__intro { font-size: 15px; margin-bottom: 36px; }

  .projects__grid { grid-template-columns: 1fr; gap: 20px; }

  .project-card--feature {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .project-card--feature .project-card__media { height: 220px; min-height: unset; }
  .project-card--feature .project-card__body { padding: 24px; }
  .project-card--feature h3 { font-size: 21px; }

  .project-card--side { display: none; }

  .project-card--col-a,
  .project-card--col-b,
  .project-card--col-c {
    grid-column: 1 / -1;
  }

  .project-card__media { height: 180px; }
  .project-card__body { padding: 24px; }
  .project-card h3 { font-size: 19px; }
  .project-card p { font-size: 14px; }

  .coming-next {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .coming-next__arrow { display: none; }

  .featured h2 { font-size: 32px; margin-bottom: 28px; }
  .featured__lead { font-size: 24px; margin-bottom: 28px; }
  .featured__intro p { font-size: 16px; }
  .featured__intro { margin-bottom: 40px; }

  .featured__main-shot img { height: 320px; }
  .featured__detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 48px;
  }
  .featured__detail-grid img { height: 220px; margin-bottom: 12px; }

  .featured__block {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .featured__block h3 { font-size: 22px; }
  .featured__block-body p { font-size: 16px; }
  .feature-label { margin-bottom: 16px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .feature-row__key { font-size: 19px; }

  .featured__status-box { padding: 24px; }

  .contact__headline { font-size: 22px; margin-bottom: 24px; }
  .contact h2 { font-size: 28px; margin-bottom: 20px; }
  .contact__body { font-size: 16px; margin-bottom: 32px; }

  .log__entry-name { font-size: 17px; }
  .log__cursor-line { margin-top: 56px; }
  .log__cursor-line p { font-size: 19px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px var(--pad-mobile);
    text-align: left;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__dialog {
    max-width: 100vw;
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-md);
  }

  .lightbox__image {
    max-width: 100vw;
    max-height: 92vh;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}
