@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --forest-950: #071b10;
  --forest-900: #0b2818;
  --forest-850: #10331f;
  --forest-800: #153d27;
  --forest-700: #21543a;
  --moss-600: #66795f;
  --moss-400: #8fa084;
  --moss-200: #c6d0bf;
  --bronze-700: #8d7259;
  --bronze-500: #b79a7c;
  --bronze-300: #d3bea6;
  --sand-200: #e8dfd2;
  --sand-100: #f1ebe2;
  --ivory: #f8f5ef;
  --paper: #fffdf9;
  --ink: #162119;
  --muted: #637068;
  --line: rgba(22, 33, 25, 0.14);
  --white-line: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 12px 28px rgba(8, 28, 17, 0.08);
  --shadow-md: 0 24px 60px rgba(8, 28, 17, 0.15);
  --shadow-lg: 0 36px 90px rgba(5, 22, 13, 0.25);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 42px;
  --container: 1240px;
  --header-height: 86px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--paper);
  background: var(--forest-700);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--forest-950);
  background: var(--paper);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 48px), 920px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--compact {
  padding: 84px 0;
}

.section--paper {
  background: var(--paper);
}

.section--sand {
  background: var(--sand-100);
}

.section--dark {
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 18%, rgba(143, 160, 132, 0.14), transparent 30%),
    radial-gradient(circle at 14% 90%, rgba(183, 154, 124, 0.12), transparent 28%),
    var(--forest-950);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head--center {
  display: block;
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--bronze-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--bronze-300);
}

.display-title {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.section-title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.section-title em,
.display-title em {
  color: var(--bronze-700);
  font-weight: 500;
}

.section--dark .section-title em,
.hero .display-title em,
.page-hero .display-title em {
  color: var(--bronze-300);
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.75;
}

.section--dark .lead,
.hero .lead,
.page-hero .lead {
  color: rgba(248, 245, 239, 0.74);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--forest-800);
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 16px;
  color: var(--bronze-700);
}

.section--dark .text-link {
  color: var(--paper);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:focus-visible,
.text-link:focus-visible,
.nav-link:focus-visible,
.card-open:focus-visible,
.filter-btn:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid rgba(183, 154, 124, 0.55);
  outline-offset: 4px;
}

.btn--primary {
  color: var(--paper);
  background: var(--forest-700);
  box-shadow: 0 14px 30px rgba(13, 52, 31, 0.18);
}

.btn--primary:hover {
  background: var(--forest-900);
  box-shadow: 0 18px 34px rgba(13, 52, 31, 0.24);
}

.btn--bronze {
  color: var(--forest-950);
  background: var(--bronze-300);
}

.btn--bronze:hover {
  background: var(--sand-200);
}

.btn--outline {
  color: var(--forest-850);
  border-color: rgba(21, 61, 39, 0.32);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--forest-850);
  background: rgba(21, 61, 39, 0.06);
}

.btn--outline-light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(5, 20, 12, 0.56), transparent);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.site-header--solid {
  height: 74px;
  color: var(--ink);
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid rgba(22, 33, 25, 0.08);
  box-shadow: 0 8px 30px rgba(7, 27, 16, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 230px;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.16));
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 300;
  letter-spacing: 0.035em;
}

.brand-subtitle {
  color: var(--bronze-300);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand-subtitle,
.site-header.site-header--solid .brand-subtitle {
  color: var(--bronze-700);
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 11px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--bronze-300);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.site-header.site-header--solid .nav-link:hover,
.site-header.site-header--solid .nav-link.is-active {
  color: var(--forest-800);
  background: rgba(21, 61, 39, 0.08);
}

.header-cta {
  min-height: 42px;
  padding: 11px 16px;
  color: var(--forest-950);
  background: var(--bronze-300);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.site-header--solid .menu-toggle {
  border-color: rgba(22, 33, 25, 0.22);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 18%, rgba(143, 160, 132, 0.15), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(183, 154, 124, 0.12), transparent 32%),
    linear-gradient(125deg, var(--forest-950) 0%, var(--forest-900) 58%, #163c27 100%);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -24vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-mark {
  position: absolute;
  top: 8%;
  left: -3%;
  width: min(340px, 30vw);
  opacity: 0.045;
  transform: rotate(-7deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.75fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 720px;
}

.hero .display-title {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 7.2vw, 7.2rem);
}

.hero .lead {
  max-width: 630px;
  margin-bottom: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(248, 245, 239, 0.68);
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-notes li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bronze-300);
  content: "";
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-frame-back {
  position: absolute;
  top: 8%;
  right: 7%;
  width: 76%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 220px 220px 30px 30px;
}

.hero-image-wrap {
  position: absolute;
  top: 3%;
  right: 0;
  width: 88%;
  height: 86%;
  overflow: hidden;
  border-radius: 240px 240px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 22, 13, 0.42), transparent 46%);
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-seal {
  position: absolute;
  z-index: 3;
  bottom: 5%;
  left: 0;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--forest-950);
  background: var(--bronze-300);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  text-align: center;
  transform: rotate(-7deg);
}

.hero-seal span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.05;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::after {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), transparent);
  content: "";
}

/* Intro band */
.manifesto-band {
  position: relative;
  z-index: 3;
  margin-top: -28px;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  color: var(--paper);
  background: var(--forest-800);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.manifesto-item {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 22px 28px;
  border-right: 1px solid var(--white-line);
}

.manifesto-item:last-child {
  border-right: 0;
}

.manifesto-item strong {
  color: var(--bronze-300);
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 500;
  line-height: 1;
}

.manifesto-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* What is */
.art-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.art-media {
  position: relative;
  min-height: 680px;
}

.art-media-main {
  position: absolute;
  inset: 0 14% 9% 0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 12px 12px;
  box-shadow: var(--shadow-md);
}

.art-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-media-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  padding: 24px;
  color: var(--paper);
  background: var(--forest-850);
  border: 8px solid var(--ivory);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.art-media-detail strong {
  display: block;
  margin-bottom: 7px;
  color: var(--bronze-300);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.art-media-detail span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.art-copy .lead {
  margin-bottom: 26px;
}

.word-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.word-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.word-card strong {
  display: block;
  color: var(--forest-800);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1;
}

.word-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.quote-block {
  margin: 30px 0 0;
  padding: 24px 28px;
  border-left: 2px solid var(--bronze-500);
  color: var(--forest-800);
  background: var(--sand-100);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
}

/* Featured gallery */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--forest-900);
  box-shadow: var(--shadow-sm);
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  grid-column: span 7;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3),
.feature-card:nth-child(5),
.feature-card:nth-child(6) {
  grid-column: span 5;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.65,.25,1);
}

.feature-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 22, 13, 0.88), rgba(5, 22, 13, 0.03) 62%);
  content: "";
}

.feature-card:hover img {
  transform: scale(1.045);
}

.feature-content {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 25px;
  left: 26px;
  color: var(--paper);
}

.feature-content .piece-tag {
  margin-bottom: 10px;
}

.feature-content h3 {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}

.feature-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.piece-tag {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(7, 27, 16, 0.28);
  backdrop-filter: blur(10px);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Environment */
.environment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.environment-card {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--white-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.environment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 190, 166, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.environment-number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
}

.environment-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 60px;
  color: var(--bronze-300);
}

.environment-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
}

.environment-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 720px;
}

.about-media::before {
  position: absolute;
  top: 5%;
  right: 0;
  width: 76%;
  height: 86%;
  border: 1px solid rgba(141, 114, 89, 0.4);
  border-radius: 220px 220px 24px 24px;
  content: "";
}

.about-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 86%;
  height: 92%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 230px 230px 26px 26px;
  box-shadow: var(--shadow-md);
}

.about-stamp {
  position: absolute;
  right: 0;
  bottom: 2%;
  width: 190px;
  padding: 24px;
  color: var(--paper);
  background: var(--forest-800);
  border: 9px solid var(--ivory);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.about-stamp strong {
  display: block;
  color: var(--bronze-300);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 0.9;
}

.about-stamp span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .signature {
  margin-top: 28px;
  color: var(--forest-800);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  counter-increment: process;
}

.process-card::before {
  display: block;
  margin-bottom: 60px;
  color: var(--bronze-700);
  font-family: var(--font-display);
  font-size: 2rem;
  content: "0" counter(process);
}

.process-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.05;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Instructor */
.instructor-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  min-height: 520px;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest-850);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.instructor-copy {
  position: relative;
  z-index: 2;
  padding: clamp(42px, 7vw, 86px);
}

.instructor-copy .section-title {
  max-width: 650px;
}

.instructor-copy .lead {
  max-width: 620px;
}

.instructor-image {
  position: relative;
  min-height: 520px;
}

.instructor-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--forest-850), transparent 45%);
  content: "";
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Care */
.care-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.care-aside {
  position: sticky;
  top: 120px;
}

.care-aside-card {
  margin-top: 30px;
  padding: 28px;
  color: var(--paper);
  background: var(--forest-850);
  border-radius: 18px;
}

.care-aside-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bronze-300);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
}

.care-aside-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  padding: 26px 54px 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.72rem;
  line-height: 1.15;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest-800);
  font-family: var(--font-body);
  font-size: 1rem;
  content: "+";
  transform: translateY(-50%);
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion .accordion-content {
  max-width: 760px;
  padding: 0 54px 28px 0;
  color: var(--muted);
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(7, 27, 16, 0.98), rgba(7, 27, 16, 0.78)),
    url('../images/portfolio/jabuticabeira.webp') center 58% / cover no-repeat;
}

.cta-section::before {
  position: absolute;
  top: -80%;
  right: -8%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.cta-content .section-title {
  font-size: clamp(3rem, 5.8vw, 5.8rem);
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 80px) 0 90px;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 22%, rgba(143, 160, 132, 0.16), transparent 32%),
    linear-gradient(125deg, var(--forest-950), var(--forest-850));
}

.page-hero-mark {
  position: absolute;
  top: -10%;
  right: -2%;
  width: min(380px, 32vw);
  opacity: 0.055;
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 60px;
  align-items: center;
}

.page-hero .display-title {
  font-size: clamp(3.7rem, 7vw, 6.6rem);
}

.page-hero-media {
  position: relative;
  min-height: 390px;
}

.page-hero-media .media-one,
.page-hero-media .media-two {
  position: absolute;
  overflow: hidden;
  border: 8px solid rgba(248, 245, 239, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.page-hero-media .media-one {
  top: 0;
  right: 8%;
  width: 65%;
  height: 74%;
}

.page-hero-media .media-two {
  right: 38%;
  bottom: 0;
  width: 48%;
  height: 48%;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio toolbar and cards */
.portfolio-intro {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.portfolio-note {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.portfolio-count {
  flex: 0 0 auto;
  color: var(--bronze-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-toolbar {
  position: sticky;
  z-index: 40;
  top: 88px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 245, 239, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--paper);
  background: var(--forest-800);
}

.search-box {
  position: relative;
  flex: 0 0 250px;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.search-box input:focus {
  border-color: var(--bronze-500);
  box-shadow: 0 0 0 3px rgba(183, 154, 124, 0.15);
}

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

.portfolio-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 25, 0.1);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(8, 28, 17, 0.055);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.portfolio-card.is-hidden {
  display: none;
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand-100);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(.2,.65,.25,1);
}

.portfolio-card:hover .card-media img {
  transform: scale(1.045);
}

.card-open {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.card-badges {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.card-badge {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(7, 27, 16, 0.72);
  backdrop-filter: blur(9px);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.card-kicker {
  margin-bottom: 6px;
  color: var(--bronze-700);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.02;
}

.card-scientific {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: italic;
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: auto 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--forest-800);
  font-size: 0.78rem;
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.card-details,
.card-whatsapp {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.card-details {
  flex: 1;
  border: 1px solid var(--line);
  background: transparent;
}

.card-details:hover {
  border-color: var(--forest-800);
}

.card-whatsapp {
  width: 42px;
  border: 0;
  color: var(--paper);
  background: var(--forest-800);
}

.card-whatsapp svg {
  width: 18px;
  height: 18px;
}

.no-results {
  display: none;
  padding: 70px 24px;
  border: 1px dashed rgba(22, 33, 25, 0.22);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.no-results.is-visible {
  display: block;
}

/* Modal */
.modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 18, 10, 0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  max-height: min(88vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-media {
  min-height: 580px;
  background: var(--sand-100);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.9);
  cursor: pointer;
}

.modal-close svg {
  width: 19px;
  height: 19px;
}

.modal-title {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 500;
  line-height: 0.95;
}

.modal-scientific {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

.modal-description {
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 28px;
}

.modal-spec {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.modal-spec span {
  display: block;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.modal-spec strong {
  display: block;
  margin-top: 4px;
  color: var(--forest-800);
  font-size: 0.82rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(45px, 8vw, 100px);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 118px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--forest-800);
  border-radius: 50%;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  color: var(--forest-800);
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form-panel {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-form-panel h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  color: var(--forest-800);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(22, 33, 25, 0.18);
  border-radius: 12px;
  color: var(--ink);
  background: var(--ivory);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input,
.form-field select {
  height: 50px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--bronze-500);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(183, 154, 124, 0.15);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.72rem;
}

.checkbox-row input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--forest-800);
}

.checkbox-row a {
  color: var(--forest-800);
  text-decoration: underline;
}

.bot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

/* Legal and status pages */
.legal-content {
  padding-top: calc(var(--header-height) + 70px);
}

.legal-header {
  margin-bottom: 54px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.95;
}

.legal-header p {
  margin: 0;
  color: var(--muted);
}

.legal-body {
  color: var(--muted);
}

.legal-body h2 {
  margin: 44px 0 14px;
  color: var(--forest-800);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.legal-body h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.legal-body ul {
  padding-left: 22px;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 24px 70px;
  color: var(--paper);
  background:
    radial-gradient(circle at 75% 20%, rgba(143, 160, 132, 0.16), transparent 30%),
    var(--forest-950);
  text-align: center;
}

.status-card {
  width: min(100%, 760px);
}

.status-number {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 13rem);
  line-height: 0.8;
}

.status-card h1 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.status-card p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.68);
}

/* Footer */
.site-footer {
  color: var(--paper);
  background: #05150c;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(160px, 0.55fr));
  gap: 54px;
  padding: 76px 0 54px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: var(--bronze-300);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--bronze-300);
}

.footer-contact-item,
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-contact-icon {
  display: block;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  max-width: 14px;
  min-height: 14px;
  max-height: 14px;
  flex: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-contact-link span,
.footer-contact-item span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.68);
  overflow-wrap: anywhere;
}

.footer-contact-link:hover span {
  color: var(--bronze-300);
}

.footer-bottom {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.67rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--bronze-300);
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--forest-700);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(5, 22, 13, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  background: #1d6541;
  transform: translateY(-4px) scale(1.03);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1120px) {
  :root { --header-height: 78px; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 420px);
    height: 100dvh;
    display: grid;
    align-content: center;
    gap: 30px;
    padding: 90px 40px 50px;
    color: var(--paper);
    background: var(--forest-950);
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.22);
    transform: translateX(105%);
    transition: transform 0.3s ease;
  }

  .site-nav.is-open { transform: translateX(0); }
  .nav-list { display: grid; gap: 5px; }
  .nav-link { padding: 12px 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .nav-link:hover, .nav-link.is-active { color: var(--bronze-300); background: transparent; }
  .site-header.is-scrolled .nav-link:hover,
  .site-header.is-scrolled .nav-link.is-active,
  .site-header.site-header--solid .nav-link:hover,
  .site-header.site-header--solid .nav-link.is-active { color: var(--bronze-300); background: transparent; }
  .site-nav .header-cta { width: 100%; }
  .menu-toggle { position: relative; z-index: 2; display: block; }

  .hero { min-height: 760px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr); gap: 42px; }
  .hero-media { min-height: 540px; }
  .hero-seal { width: 126px; height: 126px; }
  .hero-seal span { font-size: 1.08rem; }

  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-toolbar { position: static; align-items: flex-start; flex-direction: column; }
  .search-box { width: 100%; flex-basis: auto; }

  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr); }
}

@media (max-width: 900px) {
  .section { padding: 92px 0; }
  .section--compact { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }

  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 90px); padding-bottom: 100px; }
  .hero-copy { max-width: 760px; }
  .hero-media { min-height: 620px; width: min(100%, 620px); margin-inline: auto; }
  .hero-image-wrap { width: 82%; right: 4%; }
  .hero-frame-back { right: 10%; width: 74%; }
  .hero-seal { left: 5%; }
  .scroll-cue { display: none; }

  .manifesto-inner { grid-template-columns: repeat(2, 1fr); }
  .manifesto-item:nth-child(2) { border-right: 0; }
  .manifesto-item:nth-child(-n+2) { border-bottom: 1px solid var(--white-line); }

  .art-grid,
  .about-grid,
  .care-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .art-media { min-height: 620px; width: min(100%, 650px); }
  .about-media { min-height: 720px; width: min(100%, 630px); }
  .care-aside,
  .contact-info { position: static; }

  .feature-card:nth-child(n) { grid-column: span 6; min-height: 430px; }
  .environment-grid,
  .process-grid { grid-template-columns: 1fr; }
  .environment-card { min-height: 300px; }
  .environment-icon { margin-bottom: 40px; }

  .instructor-panel { grid-template-columns: 1fr; }
  .instructor-image { min-height: 430px; order: -1; }
  .instructor-image::after { background: linear-gradient(to top, var(--forest-850), transparent 50%); }

  .page-hero { min-height: auto; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { width: min(100%, 590px); margin-inline: auto; }

  .modal-dialog { width: min(100%, 680px); max-height: 92vh; grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media { min-height: 360px; max-height: 42vh; }
  .modal-content { overflow: visible; padding: 36px; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-height: 70px; }
  .container,
  .container--narrow { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 76px 0; }
  .section--compact { padding: 62px 0; }

  .brand { min-width: 0; }
  .brand-mark { width: 31px; height: 42px; }
  .brand-name { font-size: 0.94rem; }
  .brand-subtitle { font-size: 0.5rem; }

  .hero .display-title { font-size: clamp(3.5rem, 17vw, 5rem); }
  .hero-grid { padding-top: calc(var(--header-height) + 72px); gap: 28px; }
  .hero-media { min-height: 500px; }
  .hero-image-wrap { width: 94%; height: 87%; right: 0; }
  .hero-frame-back { width: 85%; right: 5%; }
  .hero-seal { width: 112px; height: 112px; left: -1%; bottom: 2%; padding: 18px; }
  .hero-seal span { font-size: 0.98rem; }

  .manifesto-band { margin-top: -18px; }
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-item { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--white-line); }
  .manifesto-item:last-child { border-bottom: 0; }

  .art-media { min-height: 520px; }
  .art-media-main { right: 8%; }
  .art-media-detail { width: 54%; padding: 18px; }
  .word-pair { grid-template-columns: 1fr; }

  .feature-grid { gap: 14px; }
  .feature-card:nth-child(n) { grid-column: 1 / -1; min-height: 390px; }

  .about-media { min-height: 590px; }
  .about-media img { width: 92%; height: 90%; }
  .about-media::before { width: 78%; }
  .about-stamp { width: 162px; padding: 18px; }

  .instructor-copy { padding: 36px 26px 44px; }
  .instructor-image { min-height: 360px; }

  .accordion summary { font-size: 1.45rem; }

  .page-hero { padding: calc(var(--header-height) + 64px) 0 72px; }
  .page-hero .display-title { font-size: clamp(3.4rem, 16vw, 5rem); }
  .page-hero-media { min-height: 310px; }

  .portfolio-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 18px; }
  .filter-list { display: grid; width: 100%; grid-template-columns: repeat(2, 1fr); }
  .filter-btn { width: 100%; }
  .portfolio-toolbar { padding: 12px; }

  .modal { padding: 12px; }
  .modal-dialog { border-radius: 18px; }
  .modal-media { min-height: 300px; }
  .modal-content { padding: 30px 22px 26px; }
  .modal-specs { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }

  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 60px; }
  .site-footer .footer-contact-icon { width: 14px !important; min-width: 14px !important; max-width: 14px !important; height: 14px !important; flex-basis: 14px !important; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom-links { flex-wrap: wrap; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}

/* V1.3 — icon refinement and hard sizing */
.contact-item {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-icon {
  width: 38px;
  height: 38px;
  color: var(--forest-800);
  background: rgba(11, 47, 27, 0.07);
  border: 1px solid rgba(11, 47, 27, 0.12);
}

.contact-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.site-footer .footer-contact-icon {
  display: block !important;
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  flex: 0 0 14px !important;
  color: rgba(255, 255, 255, 0.58);
}
