@font-face {
  font-family: "Noto Serif KR";
  src: url("/assets/fonts/NotoSerifKR-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Pretendard;
  src: url("/assets/fonts/Pretendard-Regular.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: Pretendard;
  src: url("/assets/fonts/Pretendard-SemiBold.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --paper-deep: #edeae0;
  --ink: #242621;
  --ink-soft: #54564f;
  --hairline: #c9c6bb;
  --accent: #713c30;
  --frame: #e8e5dc;
  --page-gutter: clamp(1.125rem, 5.2vw, 5.25rem);
  --header-height: 5rem;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  --sans: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture {
  display: block;
}

img {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 30;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.55rem 0.8rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.7rem, 3vw, 3rem);
  height: var(--header-height);
  padding-inline: var(--page-gutter);
  border-bottom: 1px solid rgb(36 38 33 / 12%);
  background: var(--paper);
}

.wordmark,
.footer-wordmark {
  width: fit-content;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2.8rem);
}

.site-nav a,
.header-cta,
.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.site-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.header-cta,
.hero-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: background-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.header-cta {
  background: transparent;
  color: var(--ink);
}

.header-cta:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.hero-cta:hover {
  background: transparent;
  color: var(--ink);
}

.journey {
  position: relative;
  z-index: 0;
  height: 165vh;
  height: 165svh;
  background: var(--paper);
}

.journey__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.journey__stage::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-bottom: 1px solid rgb(36 38 33 / 16%);
  content: "";
  pointer-events: none;
}

.hero-poster {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  transition: opacity 420ms ease;
}

.poster-frame {
  position: absolute;
  margin: 0;
  padding: 0.55rem 0.55rem 1.35rem;
  background: var(--frame);
  outline: 1px solid rgb(36 38 33 / 10%);
  outline-offset: -1px;
  backface-visibility: hidden;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-frame picture {
  width: 100%;
  height: 100%;
}

.poster-frame--one {
  top: 9%;
  left: 6%;
  width: min(31vw, 30rem);
  aspect-ratio: 1.48;
  transform: rotate(-5deg);
}

.poster-frame--two {
  top: 8%;
  right: 8%;
  width: min(26vw, 25rem);
  aspect-ratio: 1.42;
  transform: rotate(4deg);
}

.poster-frame--three {
  top: 48%;
  left: 14%;
  width: min(22vw, 20rem);
  aspect-ratio: 0.77;
  transform: rotate(3deg);
}

.poster-frame--four {
  right: 14%;
  bottom: 6%;
  width: min(29vw, 27rem);
  aspect-ratio: 1.47;
  transform: rotate(-3deg);
}

.poster-frame--five {
  top: 43%;
  right: -3%;
  width: min(19vw, 18rem);
  aspect-ratio: 1.47;
  transform: rotate(6deg);
}

.poster-frame--six {
  bottom: 9%;
  left: -4%;
  width: min(22vw, 21rem);
  aspect-ratio: 1.42;
  transform: rotate(-7deg);
}

.memory-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 460ms ease;
  pointer-events: none;
}

.journey.has-webgl .hero-poster {
  opacity: 0;
}

.journey.has-webgl .memory-canvas {
  opacity: 1;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  inset: var(--header-height) 0 0;
  display: grid;
  place-items: center;
  padding: 1.25rem var(--page-gutter) 2.5rem;
  text-align: center;
}

.hero-copy::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(92vw, 74rem);
  height: min(68svh, 39rem);
  transform: translate(-50%, -50%);
  background: var(--paper);
  opacity: 0.8;
  clip-path: polygon(1% 4%, 11% 2%, 30% 4%, 49% 1%, 70% 3%, 99% 4%, 97% 24%, 100% 47%, 98% 72%, 99% 95%, 75% 97%, 51% 95%, 30% 99%, 1% 96%, 3% 72%, 0 49%, 2% 26%);
  content: "";
  filter: drop-shadow(0 1px 0 rgb(36 38 33 / 10%));
}

.hero-copy__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 61rem);
  flex-direction: column;
  align-items: center;
  gap: clamp(0.7rem, 1.8vh, 1.2rem);
}

.hero-kicker,
.serabie-byline {
  margin: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-copy h1 {
  display: grid;
  justify-items: center;
  gap: 0.04em;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.45rem, 6.2vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 1.31;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.company-summary {
  max-width: 48rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  letter-spacing: -0.035em;
  line-height: 1.9;
  text-wrap: balance;
  word-break: keep-all;
}

.company-summary__location {
  white-space: nowrap;
}

.hero-cta {
  min-height: 3rem;
  margin-top: 0.25rem;
  padding-inline: 1.35rem;
}

.ai-disclosure {
  display: block;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.story {
  padding: clamp(5.5rem, 10vw, 10rem) var(--page-gutter) clamp(5.5rem, 9vw, 9rem);
  background: var(--paper);
}

.story-intro,
.story-scenes,
.principles,
.serabie-section > .section-heading,
.serabie-layout,
.history-inner,
.about-english > div {
  width: min(100%, 84rem);
  margin-inline: auto;
}

.story-intro {
  margin-bottom: clamp(2.6rem, 6vw, 5.25rem);
}

.story-disclosure {
  max-width: 42rem;
  margin-top: 0.9rem;
}

.story-intro h2,
.principles h3,
.section-heading h2,
.history h2,
.about-english h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.4;
}

.story-intro h2 {
  font-size: clamp(2.5rem, 5.3vw, 5rem);
}

.story-scenes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.story-photo {
  position: relative;
  margin: 0;
  padding: 0.65rem 0.65rem 4.45rem;
  background: #e9e6dd;
  outline: 1px solid rgb(36 38 33 / 10%);
  outline-offset: -1px;
  transition: transform 320ms ease;
}

.story-photo picture {
  width: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo--window {
  --photo-rotation: -1.2deg;
  grid-column: 1 / 5;
  margin-top: 0.2rem;
  transform: rotate(var(--photo-rotation));
}

.story-photo--guitar {
  --photo-rotation: 1deg;
  grid-column: 5 / 9;
  margin-top: 5.5rem;
  transform: rotate(var(--photo-rotation));
}

.story-photo--coast {
  --photo-rotation: -0.65deg;
  grid-column: 9 / 13;
  margin-top: 1.8rem;
  transform: rotate(var(--photo-rotation));
}

.story-photo--window picture {
  aspect-ratio: 0.82;
}

.story-photo--guitar picture {
  aspect-ratio: 0.9;
}

.story-photo--coast picture {
  aspect-ratio: 0.82;
}

.story-photo figcaption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.55rem;
  left: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.scene-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.4;
}

.story-photo .ai-disclosure {
  font-size: 13px;
  line-height: 1.45;
}

.principles {
  margin-top: clamp(5.5rem, 10vw, 9rem);
}

.principles h3 {
  margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.principle-list li {
  min-height: 11.5rem;
  padding: 1.55rem clamp(1rem, 2.5vw, 2.5rem) 0 0;
}

.principle-list li + li {
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--hairline);
}

.principle-list h4 {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.principle-list p {
  max-width: 24rem;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.85;
  word-break: keep-all;
}

.serabie-section {
  padding: clamp(5.75rem, 10vw, 10rem) var(--page-gutter) clamp(6.5rem, 10vw, 10rem);
  background: var(--paper-deep);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading p {
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-heading h2 {
  font-size: clamp(3rem, 5.4vw, 5.5rem);
}

.serabie-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(19rem, 0.94fr);
  align-items: center;
  gap: clamp(2.25rem, 7vw, 7rem);
}

.serabie-phones {
  display: flex;
  min-width: 0;
  min-height: 27rem;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.35vw, 1.25rem);
  padding: 1.5rem 0.2rem;
}

.phone {
  position: relative;
  width: min(29%, 11.5rem);
  min-width: 0;
  flex: 0 1 29%;
  margin: 0;
  padding: 0.48rem;
  border: 1px solid #4a4945;
  border-radius: 1.8rem;
  background: #292a27;
  box-shadow: 0 1.25rem 2.5rem rgb(36 38 33 / 18%), 0 0.25rem 0.4rem rgb(36 38 33 / 14%);
}

.phone::before {
  position: absolute;
  z-index: 1;
  top: 0.43rem;
  left: 50%;
  width: 22%;
  height: 0.32rem;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #292a27;
  content: "";
}

.phone-screen {
  overflow: hidden;
  border-radius: 1.42rem;
  background: #d9d5ca;
}

.phone-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.48;
  object-fit: cover;
}

.phone--one {
  transform: translateY(1.15rem) rotate(-5.5deg);
}

.phone--two {
  z-index: 1;
  transform: translateY(-0.55rem);
}

.phone--three {
  transform: translateY(0.9rem) rotate(5deg);
}

.serabie-copy {
  max-width: 36rem;
}

.serabie-byline {
  margin-bottom: 0.4rem;
}

.serabie-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.45;
}

.serabie-description {
  margin: 0 0 1.6rem;
  color: #41433d;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  letter-spacing: -0.03em;
  line-height: 1.85;
  word-break: keep-all;
}

.weekly-rhythm {
  padding: 0;
  margin: 0;
  border-top: 1px solid #bcb9af;
  list-style: none;
}

.weekly-rhythm li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid #bcb9af;
}

.weekly-rhythm strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.weekly-rhythm span {
  color: #41433d;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.serabie-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  margin-top: 1.6rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.serabie-link:hover {
  background: transparent;
  color: var(--ink);
}

.history {
  padding: clamp(5.5rem, 9vw, 9rem) var(--page-gutter) clamp(4rem, 7vw, 7rem);
  background: var(--paper);
}

.history h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
}

.timeline {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.timeline li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.045em;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 2rem;
}

.contact-details p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: -0.025em;
}

.contact-details a {
  margin-left: 0.45rem;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.about-english {
  padding: clamp(3.5rem, 6.5vw, 6.5rem) var(--page-gutter);
  background: #e8e5dc;
}

.about-english > div {
  display: grid;
  grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.about-english h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.06em;
}

.about-english p {
  max-width: 54rem;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.9;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 7.5rem;
  padding: 1.75rem var(--page-gutter);
  background: var(--paper);
}

.footer-wordmark {
  font-size: 1.5rem;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.9rem, 2.5vw, 2.5rem);
}

.footer-links a,
.copyright {
  color: #4b4d46;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.not-found {
  display: flex;
  width: min(100% - 2.5rem, 36rem);
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.not-found .wordmark {
  font-size: 2rem;
}

.not-found p {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
}

.not-found .serabie-link {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .serabie-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.9fr);
    gap: 2rem;
  }

  .serabie-phones {
    min-height: 23rem;
  }

  .phone {
    width: 30%;
    padding: 0.38rem;
    border-radius: 1.4rem;
  }

  .phone-screen {
    border-radius: 1.08rem;
  }

  .phone::before {
    top: 0.33rem;
    height: 0.25rem;
  }
}

@media (max-width: 700px) {
  :root {
    --page-gutter: 1.15rem;
    --header-height: 4.45rem;
  }

  .site-header {
    gap: 0.55rem;
  }

  .wordmark {
    font-size: 1.45rem;
  }

  .site-nav {
    gap: clamp(0.45rem, 2.4vw, 0.85rem);
  }

  .site-nav a {
    font-size: clamp(0.75rem, 3vw, 0.85rem);
  }

  .header-cta {
    min-height: 2.35rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }

  .journey__stage {
    min-height: 35rem;
  }

  .poster-frame {
    padding: 0.36rem 0.36rem 0.95rem;
  }

  .poster-frame--one {
    top: 13%;
    left: -8%;
    width: 53vw;
  }

  .poster-frame--two {
    top: 12%;
    right: -8%;
    width: 48vw;
  }

  .poster-frame--three {
    top: 43%;
    left: -8%;
    width: 39vw;
  }

  .poster-frame--four {
    right: -8%;
    bottom: 8%;
    width: 50vw;
  }

  .poster-frame--five {
    top: 47%;
    right: -13%;
    width: 35vw;
  }

  .poster-frame--six {
    bottom: 8%;
    left: -14%;
    width: 39vw;
  }

  .hero-copy {
    padding: 1rem var(--page-gutter) 1.5rem;
  }

  .hero-copy::before {
    width: 94vw;
    height: min(72svh, 37rem);
  }

  .hero-copy__inner {
    gap: 0.72rem;
    width: 100%;
  }

  .hero-kicker {
    font-size: 0.8rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.12rem, 8.6vw, 3.3rem);
    line-height: 1.38;
  }

  .company-summary {
    max-width: 35rem;
    font-size: clamp(0.92rem, 3.9vw, 1.02rem);
    line-height: 1.78;
  }

  .hero-cta {
    min-height: 2.75rem;
    margin-top: 0.1rem;
  }

  .story {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .story-intro {
    margin-bottom: 2.7rem;
  }

  .story-intro h2 {
    font-size: clamp(2.4rem, 9vw, 3.35rem);
  }

  .story-scenes {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-photo--window,
  .story-photo--guitar,
  .story-photo--coast {
    grid-column: auto;
    width: min(100%, 30rem);
    margin: 0;
  }

  .story-photo--window {
    justify-self: start;
    --photo-rotation: -1deg;
    transform: rotate(var(--photo-rotation));
  }

  .story-photo--guitar {
    justify-self: end;
    --photo-rotation: 1deg;
    transform: rotate(var(--photo-rotation));
  }

  .story-photo--coast {
    justify-self: center;
    --photo-rotation: -0.5deg;
    transform: rotate(var(--photo-rotation));
  }

  .story-photo--window picture,
  .story-photo--guitar picture {
    aspect-ratio: 1.12;
  }

  .story-photo--coast picture {
    aspect-ratio: 1.15;
  }

  .story-photo {
    padding-bottom: 4.2rem;
  }

  .story-photo figcaption {
    right: 0.75rem;
    bottom: 0.45rem;
    left: 0.75rem;
  }

  .scene-title {
    font-size: 1.18rem;
  }

  .principles {
    margin-top: 5.5rem;
  }

  .principles h3 {
    margin-bottom: 1.4rem;
    font-size: 2.25rem;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list li,
  .principle-list li + li {
    min-height: 0;
    padding: 1.25rem 0 1.35rem;
    border-bottom: 1px solid var(--hairline);
    border-left: 0;
  }

  .principle-list h4 {
    margin-bottom: 0.3rem;
  }

  .serabie-section {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .section-heading {
    gap: 0.75rem;
    margin-bottom: 1.6rem;
  }

  .section-heading h2 {
    font-size: 3.3rem;
  }

  .serabie-layout {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .serabie-phones {
    min-height: 0;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 1rem 0.15rem 1.5rem;
  }

  .phone {
    width: 29%;
    max-width: 8.3rem;
    padding: 0.34rem;
    border-radius: 1.2rem;
  }

  .phone::before {
    top: 0.3rem;
    height: 0.22rem;
  }

  .phone-screen {
    border-radius: 0.92rem;
  }

  .phone--one {
    transform: translateY(0.65rem) rotate(-4.5deg);
  }

  .phone--two {
    transform: translateY(-0.25rem);
  }

  .phone--three {
    transform: translateY(0.55rem) rotate(4deg);
  }

  .serabie-copy h3 {
    font-size: 2.1rem;
  }

  .serabie-description {
    margin-bottom: 1.2rem;
  }

  .history {
    padding-top: 5rem;
    padding-bottom: 3.5rem;
  }

  .history h2 {
    margin-bottom: 1rem;
    font-size: 2.6rem;
  }

  .timeline li {
    padding: 0.9rem 0;
    font-size: 1.15rem;
  }

  .contact-details {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .contact-details a {
    margin-left: 0.25rem;
  }

  .about-english {
    padding-block: 3.5rem;
  }

  .about-english > div {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-english h2 {
    font-size: 1.75rem;
  }

  .about-english p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    gap: 1.1rem 1.5rem;
    padding-block: 1.6rem;
  }

  .footer-links {
    justify-content: flex-end;
    gap: 0.45rem 0.9rem;
  }

  .footer-links a,
  .copyright {
    font-size: 0.75rem;
  }

  .copyright {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 0.9rem;
  }

  .site-header {
    gap: 0.4rem;
  }

  .site-nav {
    gap: 0.42rem;
  }

  .site-nav a {
    font-size: 0.68rem;
  }

  .header-cta {
    padding-inline: 0.5rem;
    font-size: 0.7rem;
  }
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1rem) rotate(var(--photo-rotation, 0deg));
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: rotate(var(--photo-rotation, 0deg));
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
