:root {
  --bg: #f7fbf9;
  --surface: #ffffff;
  --text: #17241f;
  --muted: #66756f;
  --line: #dcebe4;
  --accent: #50b48a;
  --accent-dark: #2f7f62;
  --accent-soft: #e8f6f0;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 8%, rgba(80, 180, 138, 0.14), transparent 25rem),
    radial-gradient(circle at 8% 34%, rgba(80, 180, 138, 0.07), transparent 22rem),
    var(--bg);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 84px;
  margin: 0;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(100deg, #286f56, var(--accent-dark) 55%, #3c9875);
  box-shadow: 0 8px 28px rgba(23, 72, 54, 0.12);
}
.logo {
  flex: 0 0 auto;
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 12px;
  white-space: nowrap;
}
.nav a {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}
.nav a:hover {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.12);
}
.link-list a:hover { color: var(--accent-dark); }
main { overflow: hidden; }
.hero, .section, .site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-left: auto;
  margin-right: auto;
}
.hero { min-height: 76vh; padding: 9vh 0 10vh; display: flex; align-items: center; }
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 28px);
}
.hero-logo::before {
  content: "";
  position: absolute;
  inset: 8% 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 180, 138, 0.14), rgba(80, 180, 138, 0) 68%);
  filter: blur(8px);
}
.hero-logo img {
  position: relative;
  width: min(100%, 460px);
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(47, 127, 98, 0.10);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.1rem, 2.7vw, 2rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.02em;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.lead { max-width: 520px; margin-bottom: 34px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.button:hover { color: var(--surface); background: var(--accent-dark); transform: translateY(-1px); }
.section {
  padding: 92px 0;
  border-top: 1px solid rgba(47, 127, 98, 0.16);
}
.section-heading {
  position: relative;
  margin-bottom: 40px;
  padding-left: 18px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 5px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}
.section-heading .eyebrow { margin-bottom: 7px; }
h2 {
  margin-bottom: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.28;
}
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: 14px 14px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}
.card-visual {
  width: 100%;
  height: 260px;
  margin-bottom: 20px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}
.visual-drop {
  background:
    radial-gradient(circle at 42% 34%, rgba(255,255,255,.95) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 55%, #d5c6d4 0 18%, transparent 19%),
    linear-gradient(145deg, #efe7ed, #ddd7cb);
}
.visual-dress {
  background:
    radial-gradient(circle at 58% 40%, #d3b8be 0 10%, transparent 11%),
    radial-gradient(circle at 43% 58%, #e3d7b8 0 13%, transparent 14%),
    linear-gradient(150deg, #eee6dc, #d7ccd4);
}
.visual-morning {
  background:
    radial-gradient(circle at 68% 27%, #f6e4b9 0 9%, transparent 10%),
    linear-gradient(180deg, #dce3e2 0 48%, #eee3da 49% 100%);
}
.card h3 {
  margin-bottom: 8px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
  font-weight: 500;
}
.card p, .about p { color: var(--muted); font-size: 0.92rem; }
.card-detail-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-dark);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.card-detail-link:hover { text-decoration: underline; }
.about {
  margin-top: 18px;
  margin-bottom: 18px;
  padding-left: clamp(24px, 4vw, 48px);
  padding-right: clamp(24px, 4vw, 48px);
  border-top: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(232, 246, 240, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: inset 0 0 0 1px rgba(47, 127, 98, 0.08);
}
.about-note {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.about-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(23, 72, 54, 0.10);
}
.about-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-copy { min-width: 0; }
.about .about-lead {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--text);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.06rem, 1.8vw, 1.34rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.015em;
}
.about .about-body {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.95;
}
.about .about-signature {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-align: right;
}
.link-list { display: grid; border-top: 1px solid var(--line); }
.link-list a {
  display: flex;
  justify-content: space-between;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, padding 160ms ease;
}
.link-list a:hover {
  padding-left: 16px;
  background: rgba(232, 246, 240, 0.72);
}

.link-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.link-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--accent-dark);
}
.link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-icon--brand svg {
  fill: currentColor;
  stroke: none;
}
.link-icon .link-icon-fill {
  fill: currentColor;
  stroke: none;
}
.link-arrow {
  flex: 0 0 auto;
  margin-left: 16px;
}
.site-footer { padding: 52px 0 72px; color: var(--muted); font-size: 0.78rem; }
@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    height: 72px;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    gap: clamp(10px, 3vw, 14px);
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .nav a { font-size: 0.74rem; }
  .hero { min-height: auto; padding: 7vh 0 9vh; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-logo { order: -1; padding: 0 12vw; }
  .hero-logo img { width: min(100%, 360px); border-radius: 22px; }
  h1 { font-size: clamp(1rem, 5vw, 2rem); }
  .cards { grid-template-columns: 1fr; }
  .card-visual { height: 220px; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 32px; padding-left: 15px; }
  .section-heading::before { width: 3px; }
  .about {
    padding-left: 22px;
    padding-right: 22px;
    border-radius: 24px;
  }
  .about-note {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-visual { border-radius: 18px; }
  .about .about-lead {
    font-size: clamp(1.02rem, 5vw, 1.22rem);
    line-height: 1.85;
  }
  .about .about-body { line-height: 1.9; }
}

/* Promo carousel */
.promo-carousel {
  position: relative;
  width: min(calc(100% - 40px), 1320px);
  margin: 28px auto 0;
}
.promo-carousel__viewport {
  overflow: hidden;
  border: 1px solid rgba(47, 127, 98, 0.12);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 20px 52px rgba(23, 72, 54, 0.12);
}
.promo-carousel__track {
  display: flex;
  transform: translateX(0);
  transition: transform 420ms ease;
  will-change: transform;
}
.promo-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: block;
  background: var(--surface);
  text-decoration: none;
}
.promo-carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1942 / 809;
  object-fit: contain;
  display: block;
}
.promo-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 127, 98, 0.18);
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(23, 72, 54, 0.18);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.promo-carousel__arrow:hover {
  background: var(--surface);
  transform: translateY(-50%) scale(1.04);
}
.promo-carousel__arrow span {
  margin-top: -3px;
  font-size: 2rem;
  line-height: 1;
}
.promo-carousel__arrow--prev { left: 14px; }
.promo-carousel__arrow--next { right: 14px; }
.promo-carousel__dots {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-top: 12px;
}
.promo-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 127, 98, 0.24);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}
.promo-carousel__dot[aria-current="true"] {
  width: 27px;
  background: var(--accent-dark);
}

@media (max-width: 760px) {
  .promo-carousel {
    width: 100%;
    margin-top: 0;
  }
  .promo-carousel__viewport {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(23, 72, 54, 0.08);
    touch-action: pan-y;
  }
  .promo-carousel__arrow {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.84);
  }
  .promo-carousel__arrow--prev { left: 8px; }
  .promo-carousel__arrow--next { right: 8px; }
  .promo-carousel__arrow span { font-size: 1.65rem; }
  .promo-carousel__dots {
    min-height: 25px;
    padding-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-carousel__track,
  .promo-carousel__arrow,
  .promo-carousel__dot {
    transition: none;
  }
}

/* Works index and detail pages */
.works-page,
.work-detail-page { overflow: hidden; }
.works-index-hero {
  padding-top: clamp(72px, 10vw, 118px);
  padding-bottom: 56px;
}
.works-index-hero h1,
.work-detail-hero h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
}
.works-index-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
.work-detail-hero h1 {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.works-index-intro,
.work-detail-lead,
.work-detail-body {
  max-width: 720px;
  color: var(--muted);
}
.works-index-intro { font-size: clamp(1rem, 1.5vw, 1.12rem); }
.works-index-list { padding-top: 40px; }
.works-index-home {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.work-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 40px);
}
.work-index-card {
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(23, 72, 54, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.work-index-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 127, 98, 0.34);
  box-shadow: 0 24px 58px rgba(23, 72, 54, 0.13);
}
.work-index-card img {
  width: 100%;
  height: clamp(300px, 38vw, 470px);
  display: block;
  object-fit: cover;
}
.work-index-card__copy { padding: 28px 30px 32px; }
.work-index-card__copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}
.work-index-card__copy p:not(.eyebrow) { color: var(--muted); }
.work-index-card__link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.work-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
  padding-top: clamp(64px, 9vw, 110px);
}
.work-detail-hero__copy { min-width: 0; }
.work-detail-lead {
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}
.work-detail-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 22px 58px rgba(23, 72, 54, 0.12);
}
.work-detail-visual img {
  width: 100%;
  min-height: 420px;
  max-height: 640px;
  display: block;
  object-fit: cover;
}
.work-detail-body {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 2;
}
.compatibility-section {
  padding-left: clamp(20px, 3.5vw, 42px);
  padding-right: clamp(20px, 3.5vw, 42px);
  border-top: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(232, 246, 240, 0.86), rgba(255, 255, 255, 0.66));
  box-shadow: inset 0 0 0 1px rgba(47, 127, 98, 0.08);
}
.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.compatibility-item {
  min-height: 92px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(47, 127, 98, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}
.compatibility-item.is-unavailable {
  color: #87918c;
  background: rgba(255, 255, 255, 0.44);
}
.compatibility-mark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}
.is-available .compatibility-mark {
  color: #fff;
  background: var(--accent-dark);
}
.is-unavailable .compatibility-mark {
  color: #87918c;
  background: rgba(102, 117, 111, 0.10);
}
.compatibility-label {
  font-size: 0.91rem;
  line-height: 1.45;
}
.compatibility-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.work-detail-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.9rem;
}
.text-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .work-index-grid { grid-template-columns: 1fr; }
  .work-index-card img { height: 300px; }
  .work-index-card__copy { padding: 24px 22px 28px; }
  .work-detail-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 56px;
  }
  .work-detail-hero h1 { font-size: clamp(1.5rem, 7vw, 2.8rem); }
  .work-detail-visual { order: -1; border-radius: 22px; }
  .work-detail-visual img { min-height: 300px; max-height: 460px; }
  .compatibility-section {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 24px;
  }
  .compatibility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compatibility-item {
    min-height: 84px;
    padding: 15px 12px;
    gap: 9px;
  }
  .compatibility-mark { flex-basis: 27px; width: 27px; height: 27px; }
  .compatibility-label { font-size: 0.82rem; }
  .work-detail-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
}


/* News pages */
.news-page { overflow: hidden; }
.news-hero {
  padding-top: clamp(72px, 10vw, 118px);
  padding-bottom: 56px;
}
.news-hero h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
.news-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.featured-news { padding-top: 40px; }
.featured-news-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 54px rgba(23, 72, 54, 0.09);
}
.featured-news-visual {
  display: flex;
  align-items: center;
  background: var(--surface);
}
.featured-news-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.featured-news-image--portrait {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin: 0 auto;
}
.featured-news-copy {
  padding: clamp(28px, 4vw, 48px);
  align-self: center;
}
.featured-news-copy time {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.featured-news-copy h3 {
  margin-bottom: 14px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.35;
}
.featured-news-copy p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}
.x-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
.social-feed-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 40px rgba(23, 72, 54, 0.06);
}
.social-feed-heading {
  margin-bottom: 16px;
  padding: 4px 4px 0;
}
.social-feed-heading .eyebrow { margin-bottom: 4px; }
.social-feed-heading h3 {
  margin-bottom: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
  font-weight: 500;
}
.twitter-timeline {
  display: block;
  min-height: 420px;
  color: var(--accent-dark);
}
.x-embed { min-width: 0; }
.x-embed.is-fallback .twitter-timeline {
  display: none;
  min-height: 0;
}
.x-fallback[hidden] { display: none; }
.x-fallback {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 28px 24px;
  border: 1px dashed rgba(47, 127, 98, 0.28);
  border-radius: 18px;
  background: rgba(232, 246, 240, 0.46);
}
.x-fallback p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.news-home {
  display: flex;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 60px;
}
.instagram-profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(232, 246, 240, 0.86), rgba(255, 255, 255, 0.84));
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(23, 72, 54, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.instagram-profile-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 127, 98, 0.34);
  box-shadow: 0 20px 48px rgba(23, 72, 54, 0.10);
}
.instagram-profile-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  color: var(--accent-dark);
}
.instagram-profile-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.instagram-profile-icon circle:last-child { fill: currentColor; stroke: none; }
.instagram-profile-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.instagram-profile-copy strong { font-size: 1rem; }
.instagram-profile-copy span { color: var(--muted); font-size: 0.88rem; }
.instagram-profile-arrow { color: var(--accent-dark); font-size: 1.2rem; }
.nav a[aria-current="page"] {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .featured-news-card { grid-template-columns: 1fr; border-radius: 24px; }
  .featured-news-copy { padding: 24px 22px 28px; }
  .x-feed-grid { grid-template-columns: 1fr; }
  .social-feed-card { padding: 14px; border-radius: 20px; }
  .twitter-timeline { min-height: 360px; }
  .instagram-profile-card { gap: 14px; padding: 20px 18px; border-radius: 20px; }
  .instagram-profile-icon { width: 36px; height: 36px; }
}


/* Work image carousels */
.work-carousel {
  position: relative;
  width: 100%;
}
.work-carousel__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}
.work-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 520ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.work-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}
.work-carousel__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.work-carousel--card {
  margin-bottom: 20px;
}
.work-carousel--card .work-carousel__viewport {
  height: 260px;
  border-radius: 15px;
}
.work-carousel--card .card-visual {
  height: 100%;
  margin-bottom: 0;
  border-radius: 0;
}
.work-carousel--index .work-carousel__viewport {
  height: clamp(300px, 38vw, 470px);
}
.work-carousel--index .work-carousel__slide img {
  height: 100%;
}
.work-detail-visual .work-carousel--detail {
  height: 100%;
}
.work-carousel--detail .work-carousel__viewport {
  height: clamp(420px, 42vw, 640px);
}
.work-detail-visual .work-carousel__slide img {
  min-height: 0;
  max-height: none;
  height: 100%;
}
.work-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  pointer-events: none;
}
.work-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(23, 72, 54, 0.13);
  transition: width 180ms ease, background 180ms ease;
}
.work-carousel__dot[aria-current="true"] {
  width: 18px;
  background: rgba(255, 255, 255, 0.96);
}
.work-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(23, 72, 54, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}
.work-carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.94);
}
.work-carousel__arrow span {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-1px);
}
.work-carousel__arrow--prev { left: 12px; }
.work-carousel__arrow--next { right: 12px; }

@media (max-width: 760px) {
  .work-carousel--card .work-carousel__viewport {
    height: 220px;
  }
  .work-carousel--index .work-carousel__viewport {
    height: 300px;
  }
  .work-carousel--detail .work-carousel__viewport {
    height: clamp(300px, 75vw, 460px);
  }
  .work-carousel__arrow {
    width: 38px;
    height: 38px;
  }
  .work-carousel__arrow--prev { left: 8px; }
  .work-carousel__arrow--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-carousel__track {
    transition: none;
  }
}


/* Header navigation: never wrap; collapse only when the measured menu no longer fits. */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}
.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}
.nav-toggle__line {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}
.site-header.nav-compact .nav-toggle { display: inline-flex; }
.site-header.nav-compact .nav { display: none; }
.site-header.nav-compact.nav-open .nav {
  display: flex;
  position: absolute;
  top: calc(100% + 8px);
  right: max(20px, calc((100% - var(--max)) / 2));
  width: min(280px, calc(100vw - 40px));
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 10px;
  white-space: normal;
  background: #286f56;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(23, 72, 54, 0.22);
}
.site-header.nav-compact.nav-open .nav a {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.82rem;
}
.site-header.nav-compact.nav-open .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-compact.nav-open .nav-toggle__line:nth-child(2) { opacity: 0; }
.site-header.nav-compact.nav-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .site-header.nav-compact.nav-open .nav {
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__line { transition: none; }
}
