*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #f7f5f2;
  --text: #1a1a1a;
  --accent: #d6c7b2;
  --muted: rgba(26, 26, 26, 0.62);
  --container: 1200px;
  --mobile-margin: 24px;
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --slow: 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  --medium: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-body), serif;
  background: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

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

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

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  padding: 0 48px;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--text);

  transition:
          height var(--medium),
          background var(--medium),
          color var(--medium);
}

.site-header.scrolled {
  height: 68px;
  background: rgba(247, 245, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  width: 96px;
}

.header-logo img {
  width: 96px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.9;
  transition: opacity var(--medium);
}

.desktop-nav a:hover {
  opacity: 0.45;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--font-body), serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--background);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);

  transition:
          opacity var(--medium),
          visibility var(--medium),
          transform var(--medium);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-title), serif;
  font-size: 34px;
  font-weight: 300;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--background);
}

.hero-sketch {
  position: absolute;
  inset: 0;

  background:
          linear-gradient(
                  rgba(247, 245, 242, 0.18),
                  rgba(247, 245, 242, 0.55)
          ),
          url("assets/croquis.webp") center / cover no-repeat;

  opacity: 0.34;
  filter: grayscale(1) contrast(1.12);
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  animation: heroFade 0.8s ease forwards;
}

.hero-logo-img {
  width: 200px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.hero-logo-text {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text);
}

.hero-logo-text h1 {
  font-family: var(--font-title), serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-logo-text span {
  margin-top: 8px;
  font-family: var(--font-body), serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);

  width: 1px;
  height: 54px;
  background: rgba(26, 26, 26, 0.18);
  overflow: hidden;
}

.scroll-indicator span {
  display: block;
  width: 100%;
  height: 22px;
  background: var(--text);
  animation: scrollLine 1.8s ease-in-out infinite;
}

/* TRANSITION */
.transition-section {
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 0 48px;

  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.transition-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.transition-col {
  display: flex;
  flex-direction: column;
}

.transition-image {
  height: 460px;
  overflow: hidden;
  background: var(--accent);
}

.transition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
          opacity var(--medium),
          transform var(--slow);
}

.project-image img {
  opacity: 0.92;
}

.transition-image:hover img {
  opacity: 0.8;
  transform: scale(1.025);
}

/* COMMON */
.section-container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-small {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}

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

.section-heading h2 {
  font-family: var(--font-title), serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}

/* SEO INTRO */
.seo-intro-section {
  padding: 120px 48px 40px;
  text-align: center;
}

.seo-intro-content {
  max-width: 760px;
  margin: 0 auto;
}

.seo-intro-content h2 {
  font-family: var(--font-title), serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 24px;
}

.seo-intro-content p:last-child {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}

/* PROJECTS */
.projects-section {
  padding: 120px 48px;

  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 60px;
}

.project-card a {
  display: block;
}

.project-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--accent);
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
          opacity var(--medium),
          transform var(--slow);
}

.project-card:hover img {
  opacity: 0.8;
  transform: scale(1.025);
}

.project-card h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.project-card p {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.78);
}

.project-card-link::after {
  content: "";
  width: 34px;
  height: 1px;
  margin-left: 12px;
  background: rgba(26, 26, 26, 0.36);
  transition:
          width var(--medium),
          background var(--medium);
}

.project-card:hover .project-card-link::after {
  width: 48px;
  background: var(--text);
}

/* PRESENTATION */
.presentation-page {
  padding-top: 82px;
}

.presentation-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  height: calc(100vh - 82px);
  min-height: 680px;
  align-items: stretch;
  background: var(--background);
  color: var(--text);
}

.presentation-portrait {
  height: 100%;
  overflow: hidden;
  background: var(--accent);
}

.presentation-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.presentation-hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  align-self: center;
  padding: 88px 72px;
}

.presentation-hero .section-small {
  color: var(--muted);
}

.presentation-hero h1 {
  font-family: var(--font-title), serif;
  font-size: 86px;
  font-weight: 300;
  line-height: 0.98;
}

.presentation-hero-content > p:last-of-type {
  max-width: 540px;
  margin-top: 28px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted);
}

.presentation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.presentation-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid currentColor;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
          background var(--medium),
          color var(--medium),
          opacity var(--medium);
}

.presentation-link.primary {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}

.presentation-link:hover {
  opacity: 0.72;
}

.presentation-intro {
  padding: 140px 48px;
}

.presentation-intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 88px;
  align-items: start;
}

.presentation-mark {
  position: sticky;
  top: 110px;
  padding-top: 10px;
}

.presentation-mark span {
  display: block;
  font-family: var(--font-title), serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;
}

.presentation-mark p {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.presentation-story {
  display: grid;
  gap: 34px;
}

.presentation-story p {
  font-family: var(--font-title), serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.32;
}

.presentation-story p + p {
  color: rgba(26, 26, 26, 0.72);
}

.presentation-approach {
  padding: 130px 48px;
  background: #20201e;
  color: #ffffff;
}

.presentation-approach-heading {
  max-width: 760px;
  margin-bottom: 72px;
}

.presentation-approach .section-small {
  color: rgba(255, 255, 255, 0.54);
}

.presentation-approach-heading h2 {
  font-family: var(--font-title), serif;
  font-size: 54px;
  font-weight: 300;
  line-height: 1.08;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-item {
  min-height: 310px;
  padding: 34px 34px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

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

.approach-item span {
  display: block;
  margin-bottom: 70px;
  font-family: var(--font-title), serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
}

.approach-item h3 {
  font-family: var(--font-title), serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.approach-item p {
  max-width: 320px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

.presentation-services {
  padding: 130px 48px;
}

.presentation-services-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.16);
}

.presentation-service {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);
}

.presentation-service p {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.presentation-service h2 {
  max-width: 860px;
  font-family: var(--font-title), serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.18;
}

.presentation-signature {
  padding: 130px 48px 150px;
  text-align: center;
  background: #ffffff;
}

.presentation-signature-inner {
  max-width: 820px;
  margin: 0 auto;
}

.presentation-signature h2 {
  margin-bottom: 34px;
  font-family: var(--font-title), serif;
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
}

/* PROJECT DETAIL */
.project-detail-page {
  padding-top: 82px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: calc(100vh - 82px);
  background: var(--background);
}

.detail-hero-media {
  min-height: 620px;
  overflow: hidden;
  background: var(--accent);
}

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

.detail-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.back-link {
  width: max-content;
  margin-bottom: 44px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity var(--medium);
}

.back-link:hover {
  opacity: 0.58;
}

.project-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.project-breadcrumb a {
  transition: opacity var(--medium);
}

.project-breadcrumb a:hover {
  opacity: 0.58;
}

.project-breadcrumb [aria-current="page"] {
  color: var(--text);
}

.detail-hero-copy h1 {
  max-width: 620px;
  font-family: var(--font-title), serif;
  font-size: 58px;
  font-weight: 300;
  line-height: 1.02;
}

.detail-hero-copy > p:last-child {
  max-width: 560px;
  margin-top: 28px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

.detail-overview,
.detail-gallery-section,
.more-projects-section {
  padding: 120px 48px;
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 88px;
  align-items: start;
}

.detail-description > p:last-child {
  max-width: 760px;
  font-family: var(--font-title), serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.45;
}

.detail-meta {
  display: grid;
  gap: 24px;
  padding-top: 10px;
}

.detail-meta div {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);
}

.detail-meta dt {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-meta dd {
  font-family: var(--font-title), serif;
  font-size: 25px;
  font-weight: 300;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.detail-gallery-item {
  min-height: 420px;
  overflow: hidden;
  background: var(--accent);
}

.detail-gallery-item:nth-child(3n + 1) {
  grid-column: span 2;
}

.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
          opacity var(--medium),
          transform var(--slow);
  background: #f7f5f2;
}

.detail-gallery-item:hover img {
  opacity: 0.86;
  transform: scale(1.018);
}

.gallery-image-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-image-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 70px 96px;
  background: rgba(10, 10, 10, 0.9);
  opacity: 0;
  visibility: hidden;
  transition:
          opacity var(--medium),
          visibility var(--medium);
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  width: auto;
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 150px);
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-control {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.72);
  color: #ffffff;
  font-family: var(--font-body), serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
          background var(--medium),
          transform var(--medium),
          opacity var(--medium);
}

.lightbox-control:hover {
  background: rgba(26, 26, 26, 0.86);
  transform: translateY(-2px);
}

.lightbox-control:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.lightbox-control[hidden] {
  display: none;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.lightbox-prev {
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(calc(-50% - 2px));
}

.lightbox-next {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(calc(-50% - 2px));
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
}

.detail-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.detail-documents .section-small {
  flex-basis: 100%;
  margin-bottom: 0;
}

.document-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(26, 26, 26, 0.18);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
          background var(--medium),
          opacity var(--medium);
}

.document-link:hover {
  background: #ffffff;
  opacity: 0.72;
}

.more-projects-section {
  padding-top: 60px;
}

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

/* PHILOSOPHY */
.philosophy-section {
  padding: 160px 48px;
  display: flex;
  justify-content: center;
  text-align: center;

  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

.philosophy-content {
  max-width: 600px;
}

.philosophy-content p:last-child {
  font-family: var(--font-title), serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
}

/* SERVICES NEW DESIGN */
.services-section {
  padding: 150px 48px;
}

.services-header {
  max-width: 720px;
  margin-bottom: 70px;
}

.services-header h2 {
  font-family: var(--font-title), serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.08;
}

.services-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}

.services-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--accent);
}

.services-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.82) contrast(1.02);
  transition:
          transform var(--slow),
          opacity var(--medium);
}

.services-visual:hover img {
  transform: scale(1.025);
  opacity: 0.82;
}

.services-visual-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 24px;

  background: rgba(247, 245, 242, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.services-visual-note span {
  display: block;
  margin-bottom: 6px;

  font-family: var(--font-title), serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.12em;
}

.services-visual-note p {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.services-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(26, 26, 26, 0.16);
}

.service-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);

  transition:
          padding var(--medium),
          opacity var(--medium);
}

.service-line:hover {
  padding-left: 18px;
}

.service-index {
  font-family: var(--font-title), serif;
  font-size: 26px;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.34);
  line-height: 1;
}

.service-info h3 {
  font-family: var(--font-title), serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 18px;
}

.service-info p {
  max-width: 620px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

/* AMBIANCE */
.ambiance-section {
  padding: 120px 48px;

  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

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

.ambiance-item {
  height: 400px;
  overflow: hidden;
  background: var(--accent);
}

.ambiance-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
          opacity var(--medium),
          transform var(--slow);
}

.ambiance-item:hover img {
  opacity: 0.8;
  transform: scale(1.025);
}

/* CONTACT */
.contact-section {
  padding: 120px 48px;
  text-align: center;

  content-visibility: auto;
  contain-intrinsic-size: 520px;
}

.contact-content {
  max-width: 680px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-content h2 {
  font-family: var(--font-title), serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 8px;
}

.contact-content a,
.contact-content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.contact-content p {
  color: var(--muted);
}

.contact-content a {
  transition: opacity var(--medium);
}

.contact-content a:hover {
  opacity: 0.65;
}

.contact-email {
  margin-bottom: 16px;
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 10px 0 8px;
}

.social-link {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(214, 199, 178, 0.16);

  transition:
          transform var(--medium),
          opacity var(--medium),
          background var(--medium),
          border-color var(--medium),
          box-shadow var(--medium);
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: var(--text);

  transition:
          fill var(--medium),
          transform var(--medium);
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-4px);
  background: #ffffff;
  border-color: transparent;
  box-shadow: 0 18px 45px rgba(26, 26, 26, 0.12);
}

.social-link:hover svg {
  transform: scale(1.08);
}

.social-link.whatsapp:hover svg {
  fill: #25D366;
}

.social-link.instagram:hover svg {
  fill: #E4405F;
}

.social-link.linkedin:hover svg {
  fill: #0A66C2;
}

/* FOOTER */
.footer {
  padding: 32px 48px;
  text-align: center;
}

.footer p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(38px);

  transition:
          opacity var(--slow),
          transform var(--slow);
}

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

.slide-left {
  transform: translateX(-42px);
}

.slide-right {
  transform: translateX(42px);
}

.slide-left.visible,
.slide-right.visible {
  transform: translateX(0);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% {
    transform: translateY(-24px);
  }

  100% {
    transform: translateY(60px);
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .slide-left,
  .slide-right {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-showcase {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .services-visual {
    min-height: 520px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 var(--mobile-margin);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-logo {
    width: 82px;
  }

  .header-logo img {
    width: 82px;
    mix-blend-mode: multiply;
  }

  .hero {
    height: 80vh;
    min-height: 600px;
  }

  .hero-logo-img {
    width: 180px;
    mix-blend-mode: multiply;
  }

  .hero-logo-text h1 {
    font-size: 20px;
  }

  .hero-logo-text span {
    font-size: 10px;
    letter-spacing: 0.18em;
    max-width: 320px;
  }

  .transition-section {
    min-height: auto;
    padding: 100px var(--mobile-margin);
  }

  .transition-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .transition-image {
    height: 380px;
  }

  .seo-intro-section,
  .projects-section,
  .services-section,
  .ambiance-section,
  .contact-section {
    padding: 100px var(--mobile-margin);
  }

  .seo-intro-content h2 {
    font-size: 26px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .presentation-page {
    padding-top: 68px;
  }

  .presentation-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .presentation-portrait {
    min-height: 560px;
  }

  .presentation-portrait img {
    min-height: 560px;
    object-position: center 16%;
  }

  .presentation-hero-content {
    padding: 64px var(--mobile-margin) 80px;
  }

  .presentation-hero h1 {
    font-size: 64px;
  }

  .presentation-hero-content > p:last-of-type {
    font-size: 16px;
  }

  .presentation-intro,
  .presentation-approach,
  .presentation-services,
  .presentation-signature {
    padding: 100px var(--mobile-margin);
  }

  .presentation-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .presentation-mark {
    position: static;
  }

  .presentation-story p {
    font-size: 28px;
  }

  .presentation-approach-heading {
    margin-bottom: 54px;
  }

  .presentation-approach-heading h2 {
    font-size: 38px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .approach-item {
    min-height: auto;
    padding: 30px 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .approach-item:last-child {
    border-bottom: 0;
  }

  .approach-item span {
    margin-bottom: 34px;
  }

  .presentation-service {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0;
  }

  .presentation-service h2 {
    font-size: 31px;
  }

  .presentation-signature h2 {
    font-size: 42px;
  }

  .project-detail-page {
    padding-top: 68px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .detail-hero-media {
    min-height: 440px;
  }

  .detail-hero-copy {
    padding: 56px var(--mobile-margin) 80px;
  }

  .detail-hero-copy h1 {
    font-size: 42px;
  }

  .detail-hero-copy > p:last-child {
    font-size: 15px;
  }

  .detail-overview,
  .detail-gallery-section,
  .more-projects-section {
    padding: 100px var(--mobile-margin);
  }

  .detail-overview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail-description > p:last-child {
    font-size: 24px;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery-item,
  .detail-gallery-item:nth-child(3n + 1) {
    grid-column: auto;
  }

  .detail-gallery-item {
    min-height: 360px;
  }

  .gallery-lightbox {
    padding: 76px 72px;
  }

  .lightbox-image {
    max-height: calc(100vh - 170px);
  }

  .lightbox-control {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-section {
    padding: 120px var(--mobile-margin);
  }

  .philosophy-content p:last-child {
    font-size: 18px;
    line-height: 1.7;
  }

  .services-header {
    margin-bottom: 46px;
  }

  .services-header h2 {
    font-size: 34px;
  }

  .services-visual {
    min-height: 430px;
  }

  .service-line {
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .service-line:hover {
    padding-left: 0;
  }

  .service-index {
    font-size: 21px;
  }

  .service-info h3 {
    font-size: 29px;
  }

  .ambiance-grid {
    grid-template-columns: 1fr;
  }

  .ambiance-item {
    height: 360px;
  }

  .footer {
    padding: 32px var(--mobile-margin);
  }
}

@media (max-width: 520px) {
  .hero-logo-img {
    width: 160px;
  }

  .hero-logo-text {
    margin-top: 14px;
  }

  .hero-logo-text h1 {
    font-size: 18px;
    letter-spacing: 0.16em;
  }

  .hero-logo-text span {
    font-size: 9px;
    letter-spacing: 0.12em;
    max-width: 280px;
  }

  .header-logo {
    width: 76px;
  }

  .header-logo img {
    width: 76px;
  }

  .transition-image {
    height: 320px;
  }

  .presentation-hero {
    min-height: auto;
  }

  .presentation-portrait,
  .presentation-portrait img {
    min-height: 470px;
  }

  .presentation-hero-content {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .presentation-hero h1 {
    font-size: 50px;
  }

  .presentation-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .presentation-link {
    min-height: 46px;
    padding: 0 16px;
  }

  .presentation-mark span {
    font-size: 36px;
  }

  .presentation-story p {
    font-size: 24px;
  }

  .presentation-approach-heading h2,
  .presentation-signature h2 {
    font-size: 34px;
  }

  .presentation-service h2 {
    font-size: 28px;
  }

  .detail-hero-media {
    min-height: 360px;
  }

  .detail-hero-copy {
    padding-top: 44px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .detail-hero-copy h1 {
    font-size: 34px;
  }

  .detail-gallery-item {
    min-height: 310px;
  }

  .gallery-lightbox {
    padding: 82px 18px 78px;
  }

  .lightbox-image {
    max-height: calc(100vh - 176px);
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    transform: translateY(-2px);
  }

  .lightbox-counter {
    bottom: 30px;
  }

  .services-visual {
    min-height: 360px;
  }

  .services-visual-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px;
  }

  .services-visual-note span {
    font-size: 20px;
  }

  .services-visual-note p {
    font-size: 10px;
  }

  .service-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ambiance-item {
    height: 320px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .social-link svg {
    width: 19px;
    height: 19px;
  }
}
