:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --surface-warm: #f4ece1;
  --surface-soft: #eef3ee;
  --text: #25231f;
  --muted: #726b61;
  --accent: #6f7f55;
  --accent-dark: #4f5f3d;
  --accent-soft: #e2ead8;
  --highlight-soft: #c9d7b7;
  --line: #e4ddd2;
  --shadow: 0 16px 34px rgba(79, 69, 56, 0.07);
  --shadow-hover: 0 22px 42px rgba(79, 69, 56, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(226, 234, 216, 0.72), transparent 34rem),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px max(24px, calc((100vw - 1200px) / 2 + 24px)) 10px;
  border-bottom: 1px solid rgba(228, 221, 210, 0.72);
  background: rgba(251, 247, 241, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-blob {
  position: absolute;
  inset: 5px 6px 3px 0;
  border-radius: 42% 58% 49% 51% / 58% 42% 57% 43%;
  background: var(--accent-soft);
  transform: rotate(-6deg);
}

.brand-leaves {
  position: absolute;
  left: 10px;
  top: 6px;
  z-index: 2;
  width: 41px;
  height: auto;
  transform: rotate(-7deg);
}

.brand-name {
  color: var(--text);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-dark);
}

.nav a.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
}

.hero,
.section,
.page-head,
.project-detail,
.text-page,
.contact-list,
.focus-band,
.cta-section,
.article-page,
.timeline-section,
.featured-article-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}

.hero {
  max-width: 1200px;
  min-height: 0;
}

.journal-hero {
  padding-top: 6px;
  padding-bottom: 18px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(18px, 2.25vw, 26px);
  border: 1px solid rgba(228, 221, 210, 0.8);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(226, 234, 216, 0.58));
  box-shadow: 0 24px 70px rgba(79, 69, 56, 0.08);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Prata", "Playfair Display", Georgia, serif;
  font-weight: 400;
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(36px, 3.85vw, 50px);
  line-height: 1.03;
  letter-spacing: 0;
}

.text-highlight {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.text-highlight::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.04em;
  z-index: -1;
  height: 0.34em;
  background: var(--highlight-soft);
}

.page-head h1 {
  font-size: clamp(34px, 4.2vw, 48px);
}

h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-text p {
  margin-bottom: 14px;
}

.hero-text p:last-child,
.lead:last-child,
.page-head p:last-child,
.focus-band p:last-child,
.cta-content p:last-child {
  margin-bottom: 0;
}

.lead,
.page-head p,
.focus-band p,
.cta-content p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-actions .button {
  min-height: 42px;
  padding: 0 17px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  padding-left: 0;
  padding-bottom: 58px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px -18px 24px 32px;
  z-index: -1;
  border-radius: 32px;
  background: rgba(201, 215, 183, 0.72);
  transform: rotate(-2deg);
}

.hero-photo-wrap {
  position: relative;
  margin: 0;
  margin-top: 0;
  width: 100%;
  max-width: 450px;
  align-self: start;
  justify-self: end;
  aspect-ratio: 4 / 3;
  overflow: visible;
  border-radius: 24px;
  box-shadow: 0 22px 52px rgba(79, 69, 56, 0.14);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 18px;
  padding-right: 128px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(111, 127, 85, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
}

.fitto-mascot {
  position: absolute;
  left: -74px;
  bottom: 18px;
  z-index: 2;
  height: 112px;
  width: auto;
  filter: drop-shadow(0 12px 18px rgba(79, 69, 56, 0.16));
  transform-origin: 50% 90%;
  transition: transform 180ms ease, filter 180ms ease;
}

.fitto-mascot::after {
  content: "";
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: -62px;
  bottom: 18px;
  z-index: 1;
  width: 96px;
  height: 18px;
  border-radius: 999px;
  background: rgba(111, 127, 85, 0.15);
  filter: blur(2px);
}

.fitto-mascot:hover {
  filter: drop-shadow(0 16px 20px rgba(79, 69, 56, 0.18));
  transform: translateY(-4px) rotate(-1deg);
}

.featured-article-section {
  padding-top: 10px;
}

.home-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-panel,
.article-panel,
.note-panel,
.projects-preview-panel,
.cta-panel {
  border: 1px solid rgba(228, 221, 210, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 30px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(244, 236, 225, 0.66));
}

.featured-article h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.featured-article p {
  color: var(--muted);
}

.featured-article .button {
  align-self: center;
  white-space: nowrap;
}

.mini-chip,
.note-tags span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(111, 127, 85, 0.16);
  border-radius: 999px;
  background: rgba(226, 234, 216, 0.62);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.featured-article-copy .mini-chip,
.note-panel .mini-chip {
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
}

.button.secondary:hover {
  background: var(--accent-soft);
}

.muted {
  max-width: none;
  background: linear-gradient(180deg, rgba(238, 243, 238, 0.78), rgba(244, 236, 225, 0.62));
}

.muted > * {
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
}

.compact {
  padding-top: 24px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
}

.approach-panel {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(244, 236, 225, 0.46));
}

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

.four-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit,
.project-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit h3,
.project-card h3 {
  line-height: 1.24;
}

.card-number {
  width: fit-content;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.benefit p,
.project-card p,
.text-page p,
.project-detail p,
.project-detail li {
  color: var(--muted);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.project-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.project-card a:hover,
.article-card a:hover,
.back-link:hover,
.contact-list a:hover {
  color: var(--accent);
}

.project-direction {
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.section-action {
  margin-top: 28px;
}

.focus-band {
  padding-top: 36px;
  padding-bottom: 36px;
}

.note-panel,
.cta-content {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(226, 234, 216, 0.48));
}

.note-panel h2,
.cta-content h2 {
  max-width: 740px;
}

.note-panel p {
  max-width: 820px;
}

.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.projects-preview-panel {
  max-width: 1072px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.58);
}

.projects-preview-panel .project-grid {
  align-items: stretch;
}

.cta-section {
  padding-top: 42px;
}

.cta-panel {
  max-width: 860px;
  padding: 30px 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 236, 225, 0.58));
}

.page-head.projects-page-head,
.page-head.project-page-head,
.page-head.articles-page-head,
.page-head.contacts-page-head {
  max-width: 1200px;
  padding-top: 34px;
  padding-bottom: 28px;
}

.intro-panel,
.project-case-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(228, 221, 210, 0.82);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(226, 234, 216, 0.54));
  box-shadow: 0 24px 70px rgba(79, 69, 56, 0.08);
}

.intro-panel {
  min-height: 310px;
  padding: clamp(34px, 5vw, 58px);
}

.articles-intro-panel {
  overflow: visible;
}

.projects-intro-panel::after {
  content: "";
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: 14px;
  z-index: 1;
  width: 96px;
  height: 18px;
  border-radius: 999px;
  background: rgba(111, 127, 85, 0.15);
  filter: blur(2px);
  pointer-events: none;
}

.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.intro-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.intro-tags {
  margin-top: 20px;
}

.fitto-accent {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: 18px;
  z-index: 2;
  width: auto;
  height: 118px;
  opacity: 0.9;
  filter: drop-shadow(0 14px 20px rgba(79, 69, 56, 0.14));
}

.fitto-projects {
  right: clamp(22px, 4.5vw, 54px);
  bottom: 10px;
  height: 132px;
}

.fitto-article {
  right: clamp(26px, 5vw, 68px);
  bottom: -34px;
  height: 142px;
}

.fitto-contact {
  right: clamp(26px, 5vw, 66px);
  bottom: 12px;
  height: 122px;
}

.projects-list-section {
  padding-top: 22px;
}

.projects-list-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.projects-list-heading p {
  color: var(--muted);
  font-size: 17px;
}

.projects-page-grid .project-card {
  min-height: 310px;
}

.project-hero.project-case-hero {
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
}

.project-case-hero h1 {
  max-width: 840px;
  margin-bottom: 18px;
}

.project-case-hero .project-hero-text > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.project-case-hero .project-direction {
  margin-bottom: 18px;
}

.project-detail.project-case-detail {
  max-width: 1120px;
  gap: 28px;
  padding-top: 22px;
}

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

.project-detail-card,
.project-story-panel {
  border: 1px solid rgba(228, 221, 210, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.project-case-detail .project-detail-card {
  padding: 28px;
  border-left: 1px solid rgba(228, 221, 210, 0.82);
}

.project-stack-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(226, 234, 216, 0.46));
}

.fitto-project-note {
  width: auto;
  height: 104px;
  opacity: 0.86;
  filter: drop-shadow(0 12px 18px rgba(79, 69, 56, 0.12));
}

.fitto-project-detail {
  height: 110px;
}

.project-story-panel {
  display: grid;
  gap: 0;
  padding: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 236, 225, 0.46));
}

.project-case-detail .project-story-panel article {
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid rgba(228, 221, 210, 0.86);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-case-detail .project-story-panel article + article {
  padding-top: 28px;
}

.project-case-detail .project-story-panel article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-head {
  padding-bottom: 36px;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.project-hero-text {
  min-width: 0;
}

.project-hero-actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 14px;
}

.project-hero-actions .button {
  min-width: 154px;
}

.project-detail,
.text-page {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}

.project-detail article,
.text-page article {
  padding: 30px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.text-page article p:last-child {
  margin-bottom: 0;
}

.project-detail ul {
  margin: 0;
  padding-left: 20px;
}

.project-detail li {
  margin-bottom: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 18px;
}

.articles-list-section {
  padding-top: 22px;
}

.editorial-article-grid {
  grid-template-columns: minmax(0, 940px);
  gap: 20px;
}

.article-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.editorial-article-grid .article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 30px 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 236, 225, 0.5));
}

.featured-article-card {
  border-radius: 30px;
}

.article-card-copy {
  max-width: 680px;
}

.article-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.article-card p {
  color: var(--muted);
}

.article-card a,
.back-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.article-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(111, 127, 85, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.article-read-link:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.article-date {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.article-page {
  max-width: 860px;
  padding-top: 48px;
}

.article-detail-page {
  max-width: 980px;
}

.article-hero-panel,
.reading-panel,
.article-end-panel {
  border: 1px solid rgba(228, 221, 210, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.article-hero-panel {
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(226, 234, 216, 0.5));
}

.article-page h1 {
  font-size: clamp(36px, 4.8vw, 56px);
}

.article-lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
}

.article-content {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.72;
}

.reading-panel {
  max-width: 100%;
  margin: 24px auto 0;
  padding: clamp(28px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.78);
}

.article-content p {
  color: var(--text);
  margin-bottom: 20px;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-inline-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(111, 127, 85, 0.34);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.article-inline-link:hover {
  color: var(--accent);
  text-decoration-color: rgba(111, 127, 85, 0.72);
}

.article-content blockquote {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(226, 234, 216, 0.42);
  color: var(--muted);
}

.article-content ul,
.article-content ol {
  margin: 0 0 26px;
  padding-left: 24px;
  color: var(--text);
}

.article-content li {
  margin-bottom: 10px;
}

.article-end-panel {
  max-width: 100%;
  margin: 24px auto 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 236, 225, 0.52));
}

.article-end-panel h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.article-end-panel p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
}

.page-head.about-page-head {
  max-width: 1200px;
  padding-top: 24px;
  padding-bottom: 10px;
}

.about-intro-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: end;
  min-height: 0;
  padding: clamp(20px, 3vw, 30px) clamp(26px, 4vw, 40px);
}

.about-intro-panel h1 {
  margin-bottom: 0;
}

.about-script-title {
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 600;
  line-height: 0.95;
  color: var(--text);
}

.about-intro-panel p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.about-expertise-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 16px;
}

.about-expertise-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(228, 221, 210, 0.82);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 236, 225, 0.44));
  box-shadow: var(--shadow);
}

.about-photo-card {
  margin: 0;
  width: 100%;
  max-width: 390px;
  max-height: 470px;
  justify-self: start;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  border: 1px solid rgba(228, 221, 210, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 38px rgba(79, 69, 56, 0.09);
}

.about-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-expertise-content {
  display: grid;
  gap: 16px;
  align-content: start;
}

.about-expertise-copy {
  max-width: 680px;
}

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

.about-expertise-copy p:not(.eyebrow) {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.65;
}

.about-expertise-copy p:last-child {
  margin-bottom: 0;
}

.about-snapshot-card {
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(228, 221, 210, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 30px rgba(79, 69, 56, 0.06);
}

.about-snapshot-group h2 {
  margin-bottom: 9px;
  font-size: 21px;
}

.about-snapshot-card .note-tags {
  gap: 7px;
  margin-top: 0;
}

.about-snapshot-card .note-tags span {
  min-height: 26px;
  padding: 3px 9px;
  font-size: 12px;
}

.about-snapshot-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(111, 127, 85, 0.16);
  border-radius: 16px;
  background: rgba(226, 234, 216, 0.5);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.timeline-section {
  padding-top: 24px;
}

.about-timeline-section {
  padding-top: 16px;
}

.about-timeline-section .section-heading {
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 980px;
  padding-left: 72px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  border-radius: 999px;
  background: var(--line);
}

.about-timeline-section .timeline::before {
  top: 14px;
  bottom: 12px;
  left: 18px;
  width: 2px;
  background: rgba(111, 127, 85, 0.34);
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  top: 26px;
  left: -62px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(111, 127, 85, 0.72);
  background: var(--bg);
  box-shadow: 0 0 0 5px rgba(251, 247, 241, 0.92);
}

.timeline-marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: var(--accent);
}

.timeline-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.about-timeline-section .timeline-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.timeline-period {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.timeline-card h3 {
  margin-bottom: 12px;
}

.timeline-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
  min-height: 360px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(228, 221, 210, 0.82);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(226, 234, 216, 0.54));
  box-shadow: 0 24px 70px rgba(79, 69, 56, 0.08);
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p:not(.eyebrow):not(.contact-note-panel) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(111, 127, 85, 0.42);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(79, 69, 56, 0.05);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-button:hover {
  background: var(--accent-soft);
  box-shadow: 0 14px 28px rgba(79, 69, 56, 0.08);
  transform: translateY(-1px);
}

.contact-note-panel {
  max-width: 720px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(111, 127, 85, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.contact-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 220px;
}

.contact-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  width: 76px;
  height: 12px;
  border-radius: 999px;
  background: rgba(111, 127, 85, 0.15);
  filter: blur(2px);
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-fitto {
  position: relative;
  z-index: 2;
  width: auto;
  height: 168px;
  opacity: 0.92;
  filter: drop-shadow(0 14px 20px rgba(79, 69, 56, 0.14));
}

.contact-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
}

.contact-note {
  width: 100%;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 18px;
}

.secondary-note {
  font-size: 16px;
}

.contact-list a {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a.placeholder-link {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  cursor: default;
  opacity: 0.62;
}

.contact-list a.placeholder-link:hover {
  color: var(--muted);
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 50px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .four-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: clamp(30px, 6vw, 48px);
  }

  .hero-photo-wrap {
    justify-self: start;
    max-width: 520px;
  }

  .fitto-mascot {
    height: 100px;
    right: 8px;
    bottom: 0;
  }

  .hero-badges {
    justify-content: flex-start;
    padding-right: 88px;
  }

  .about-expertise-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-expertise-content {
    order: 1;
  }

  .about-photo-card {
    order: 2;
    max-width: 520px;
    min-height: auto;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-visual {
    justify-content: flex-end;
    min-height: 120px;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 6px;
  }

  .hero,
  .section,
  .page-head,
  .project-detail,
  .text-page,
  .contact-list,
  .focus-band,
  .cta-section,
  .about-expertise-section,
  .article-page,
  .timeline-section,
  .featured-article-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text,
  .lead,
  .page-head p,
  .focus-band p,
  .cta-content p {
    font-size: 17px;
  }

  .hero-photo-wrap {
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  .hero-photo {
    object-position: center center;
  }

  .hero-visual::before {
    inset: -12px -10px 18px 24px;
  }

  .hero-visual::after,
  .fitto-mascot {
    display: none;
  }

  .hero-badges {
    padding-right: 0;
  }

  .benefits-grid,
  .project-grid,
  .four-columns {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .project-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-panel,
  .project-case-hero {
    padding: 28px;
    border-radius: 26px;
  }

  .intro-panel {
    min-height: 0;
    padding-bottom: 110px;
  }

  .about-intro-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 28px;
  }

  .about-script-title {
    font-size: clamp(40px, 9vw, 54px);
  }

  .about-expertise-section {
    padding-top: 10px;
    padding-bottom: 22px;
  }

  .about-expertise-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .about-photo-card {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .about-photo-card img {
    object-position: center 35%;
  }

  .about-snapshot-card {
    padding: 22px;
  }

  .contact-panel {
    min-height: 0;
    padding: 28px;
    border-radius: 26px;
  }

  .contact-copy p:not(.eyebrow):not(.contact-note-panel) {
    font-size: 17px;
  }

  .contact-fitto {
    height: 126px;
  }

  .contact-visual::after {
    bottom: 14px;
    width: 58px;
    height: 10px;
  }

  .intro-copy p,
  .projects-list-heading p,
  .project-case-hero .project-hero-text > p:last-child {
    font-size: 17px;
  }

  .fitto-accent {
    right: 24px;
    bottom: 14px;
    height: 88px;
  }

  .projects-intro-panel::after {
    right: 24px;
    bottom: 13px;
    width: 76px;
    height: 14px;
  }

  .fitto-article {
    right: 24px;
    bottom: -24px;
    height: 102px;
  }

  .project-overview-grid {
    grid-template-columns: 1fr;
  }

  .project-stack-card {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .fitto-project-note {
    height: 82px;
    justify-self: end;
  }

  .project-case-detail .project-detail-card,
  .project-story-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .project-story-panel {
    padding: 26px;
  }

  .project-hero-actions {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .approach-panel,
  .focus-band > div,
  .projects-preview-panel,
  .cta-content {
    padding: 24px;
    border-radius: 24px;
  }

  .featured-article {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 22px;
    border-radius: 24px;
  }

  .featured-article .button {
    justify-self: start;
  }

  .editorial-article-grid .article-card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 24px;
  }

  .article-hero-panel,
  .reading-panel,
  .article-end-panel {
    border-radius: 24px;
  }

  .article-hero-panel,
  .reading-panel {
    padding: 24px;
  }

  .article-lead {
    font-size: 17px;
  }

  .article-content {
    font-size: 17px;
    line-height: 1.68;
  }

  .timeline {
    gap: 16px;
    padding-left: 48px;
  }

  .timeline::before {
    left: 8px;
  }

  .about-timeline-section .timeline::before {
    top: 14px;
    left: 9px;
  }

  .timeline-marker {
    left: -47px;
  }

  .timeline-card {
    padding: 22px;
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 70px;
    height: 48px;
  }

  .brand-leaves {
    left: 12px;
    top: 7px;
    width: 44px;
  }

  .brand-name {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .nav a {
    padding-left: 0;
  }

  h1 {
    font-size: 36px;
    line-height: 1.07;
  }

  .button {
    width: auto;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .featured-article .button {
    width: 100%;
  }

  .article-read-link,
  .article-end-panel .button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-button {
    width: 100%;
  }

  .hero-panel {
    border-radius: 24px;
    padding: 24px;
  }

  .hero-badges span:nth-child(n + 4) {
    display: none;
  }

  .intro-panel,
  .project-case-hero {
    padding: 24px;
  }

  .intro-panel {
    padding-bottom: 94px;
  }

  .about-intro-panel {
    padding-bottom: 24px;
  }

  .about-expertise-panel,
  .about-snapshot-card {
    padding: 20px;
  }

  .about-photo-card {
    aspect-ratio: 4 / 3.2;
  }

  .about-snapshot-group h2 {
    font-size: 21px;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-note-panel {
    padding: 12px 14px;
  }

  .contact-fitto {
    height: 108px;
  }

  .contact-visual::after {
    bottom: 12px;
    width: 50px;
    height: 9px;
  }

  .fitto-accent {
    height: 74px;
  }

  .projects-intro-panel::after {
    width: 66px;
    height: 12px;
  }

  .fitto-article {
    bottom: -18px;
    height: 86px;
  }

  .project-story-panel {
    padding: 22px;
  }

  .article-hero-panel,
  .reading-panel,
  .article-end-panel {
    padding: 20px;
  }
}
