/* YH | Organized CSS
   Original design preserved; section-specific responsive rules grouped together.
   Breakpoints: 900px / 600px (privacy and modal: 768px).
*/

/* ========================================
   01. BASE
======================================== */

@font-face {
  font-family: "Noto Sans JP:Regular";
  src: url("https://static.figma.com/font/NotoSansJP-VF_2") format("woff2");
  font-style: normal;
  font-weight: 400
}

@font-face {
  font-family: "Noto Sans JP:Bold";
  src: url("https://static.figma.com/font/NotoSansJP-VF_2") format("woff2");
  font-style: normal;
  font-weight: 700
}

@font-face {
  font-family: "Roboto:Regular";
  src: url("https://static.figma.com/font/Roboto_wdth_wght__3") format("woff2");
  font-style: normal;
  font-weight: 400
}

@font-face {
  font-family: "Roboto:SemiBold";
  src: url("https://static.figma.com/font/Roboto_wdth_wght__3") format("woff2");
  font-style: normal;
  font-weight: 600
}

@font-face {
  font-family: "Roboto:Bold";
  src: url("https://static.figma.com/font/Roboto_wdth_wght__3") format("woff2");
  font-style: normal;
  font-weight: 700
}

:root {
  --ink: #202428;
  --blue: #526575;
  --tint: #E8F0F6;
  --gray: #F9F9F9;
  --footer: #464646;
  --max: 1280px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto:Regular", "Noto Sans JP:Regular", sans-serif;
  font-size: 16px;
  line-height: 1.5
}

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

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

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

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

.global-nav a,
.footer-top a {
  position: relative
}

.global-nav a:after,
.footer-top a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right .25s
}

.global-nav a:hover:after,
.footer-top a:hover:after {
  right: 0
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  transition: transform .25s, background .25s, color .25s
}

.button:hover {
  transform: translateY(-3px)
}

.button-primary,
.button-outline {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue)
}

.button-primary:hover {
  background: #547b9c
}

.button-outline.blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue)
}

.button-dark {
  background: var(--footer);
  ;
  color: #fff;
  border-color: #000
}

.actions {
  display: flex;
  gap: 16px;
  align-items: center
}

.section {
  padding: 112px 0
}

.section-tint {
  background: var(--tint)
}

.section-heading {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 80px
}

.section-heading span,
.eyebrow {
  font-family: "Roboto:SemiBold"
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-family: "Roboto:Bold";
  font-size: 48px;
  line-height: 1.2;
  margin: 16px 0 24px
}

.section-heading p {
  font-size: 18px;
  margin: 0
}

#works,
#about,
#contact {
  background: #fff
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 30, 0.55);
}

.contact-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 55px 35px 45px;
  background: #fff;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);

  transform: translateY(15px);
  transition: transform 0.3s;
}

.contact-modal.is-open .contact-modal-content {
  transform: translateY(0);
}

.contact-modal-content h3 {
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}

@media screen and (max-width: 768px) {
  .contact-modal-content {
    padding: 45px 25px 35px;
  }

  .contact-modal-content h3 {
    font-size: 19px;
  }
}

@media (max-width:900px) {
  .container {
    width: min(calc(100% - 48px), var(--max))
  }

  .section {
    padding: 72px 0
  }

  .about-grid,
  .contact-grid,
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .section-heading {
    margin-bottom: 48px
  }
}

@media (max-width:600px) {
  .container {
    width: calc(100% - 40px)
  }

  .section {
    padding: 56px 0
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .works-grid,
  .service-card,
  .step-grid,
  .form-row {
    grid-template-columns: 1fr
  }

  .about-grid,
  .contact-grid {
    gap: 40px
  }

  .section-heading {
    margin-bottom: 40px
  }

  .actions {
    flex-wrap: wrap
  }
}

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

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}

.privacy-footer .logo {
  color: #fff;
}


/* ========================================
   02. HEADER
======================================== */

.site-header {
  height: 72px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, .94);
  position: sticky;
  top: 0;
  z-index: 20
}

.logo {
  margin-right: auto;
  font-size: 26px;
}

.global-nav {
  display: flex;
  gap: 32px
}

.header-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: #202428;
  text-decoration: none;
}

.header-logo span {
  color: #526575;
}

.header-cta {
  min-height: 42px;
  padding: 7px 20px;
  background-color: var(--footer);
  border: 1px solid var(--footer);
}

.header-cta:hover {
  background-color: #6f6f6f;
}

.menu-button {
  display: none
}

@media (max-width:900px) {
  .site-header {
    padding: 0 24px
  }
}

@media (max-width:900px) {
  .menu-button {
    display: flex;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px
  }
}

@media (max-width:900px) {
  .menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000
  }
}

@media (max-width:900px) {
  .header-cta {
    display: none
  }
}

@media (max-width:900px) {
  .global-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    box-shadow: 0 10px 20px #0002;
    flex-direction: column
  }
}

@media (max-width:900px) {
  .global-nav.open {
    display: flex
  }
}


/* ========================================
   03. HERO
======================================== */

.hero {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(120deg,
      #F8FAFC 0%,
      #E8F0F6 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 100%;
  top: 0;
  right: 15%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;

  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-left: 30px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.hero-label span {
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.hero-label::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--blue);
}

.hero h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
}

.hero-copy>p {
  font-size: 15px;
  line-height: 2;
  max-width: 520px;
  margin: 0 0 40px;
}

.hero-image {
  position: relative;
  height: 480px;
  overflow: hidden;
  margin-left: -30px;

  clip-path: polygon(18% 0,
      100% 0,
      100% 100%,
      0 100%);
}

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

.hero .actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero .button {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 14px;
}

.hero .button-primary {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.hero .button-primary span {
  font-size: 20px;
  transition: transform 0.3s;
}

.hero .button-primary:hover span {
  transform: translateX(5px);
}

.hero .button-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

@media screen and (max-width: 900px) {
  .hero {
    padding: 80px 0;
  }

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

  .hero-image {
    height: 400px;
    aspect-ratio: auto;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    padding: 65px 0 70px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .hero-copy {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  .hero-label {
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-label span {
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .hero-label::after {
    width: 30px;
    flex-shrink: 0;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 28px;
  }
}

@media screen and (max-width: 600px) {
  .hero h1 br {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .hero-copy>p {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 35px;
  }
}

@media screen and (max-width: 600px) {
  .hero .actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
}

@media screen and (max-width: 600px) {
  .hero .button {
    min-height: 46px;
    padding: 12px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media screen and (max-width: 600px) {
  .hero .button-primary {
    gap: 8px;
  }
}

@media screen and (max-width: 600px) {
  .hero .button-primary span {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .hero-image {
    width: 100%;
    height: 280px;
    margin-left: 0;

    clip-path: polygon(10% 0,
        100% 0,
        100% 100%,
        0 100%);
  }
}

@media screen and (max-width: 600px) {
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media screen and (min-width: 901px) {
  .hero-image {
    width: calc(100% + max(64px, (100vw - 1280px) / 2));
    max-width: none;
  }
}


/* ========================================
   04. WORKS
======================================== */

#works {
  background: #fff;
}

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

.work-card {
  min-width: 0;
}

.work-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.work-image:hover img {
  transform: scale(1.05);
}

.work-image-arrow {
  position: absolute;
  right: 0;
  bottom: 0;

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

  width: 48px;
  height: 48px;

  background: var(--blue);
  color: #fff;

  font-size: 22px;

  transition: background 0.3s ease;
}

.work-image:hover .work-image-arrow {
  background: #3D4E5D;
}

.work-info {
  padding-top: 24px;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.work-number {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-weight: 600;
}

.work-category {
  font-size: 11px;
  padding: 5px 10px;
  background: var(--tint);
  color: var(--blue);
}

.work-card h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.work-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 0 0 28px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;

  padding-bottom: 8px;
  border-bottom: 1px solid var(--blue);

  color: var(--blue);
  font-size: 14px;
  font-weight: 600;

  transition: gap 0.3s ease;
}

.work-link span {
  font-size: 20px;
}

.work-link:hover {
  gap: 32px;
}

@media screen and (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

@media screen and (max-width: 900px) {
  .work-card h3 {
    font-size: 21px;
  }
}

@media screen and (max-width: 900px) {
  .work-image {
    aspect-ratio: 4 / 3;
  }
}

@media screen and (max-width: 600px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media screen and (max-width: 600px) {
  .work-image {
    aspect-ratio: 4 / 3;
  }
}

@media screen and (max-width: 600px) {
  .work-info {
    padding-top: 20px;
  }
}

@media screen and (max-width: 600px) {
  .work-card h3 {
    font-size: 22px;
  }
}

@media screen and (max-width: 600px) {
  .work-card p {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 600px) {
  .work-image-arrow {
    width: 42px;
    height: 42px;
  }
}

.center {
  text-align: center;
  margin-top: 64px
}

@media (max-width:900px) {
  .works-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:600px) {
  .works-grid {
    gap: 48px
  }
}


/* ========================================
   05. SERVICES
======================================== */

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

.service-card {
  background: #fff;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(32, 36, 40, 0.08);
}

.service-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-number {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 600;
}

.service-card h3 {
  font-size: 26px;
  line-height: 1.5;
  margin: 16px 0 20px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 32px;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #E0E6EA;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  justify-content: space-between;
}

.service-card .text-link b {
  font-size: 20px;
}

@media (max-width:900px) {
  .service-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:600px) {
  .service-card>img {
    height: 240px
  }
}


/* ========================================
   06. ABOUT
======================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.about-copy>p {
  font-size: 18px;
  margin: 0 0 32px
}

.about-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  padding: 0 80px;
}

@media (max-width:900px) {
  .about-image {
    height: auto;
    max-height: 620px
  }
}


/* ========================================
   07. FLOW
======================================== */

#flow {
  background: var(--tint);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.flow-main,
.step-card {
  background: #fff;
  border: none;
  transition: transform 0.3s ease,
    box-shadow 0.3s ease;
}

.flow-main:hover,
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(32, 36, 40, 0.06);
}

.flow-main {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.flow-main-content {
  position: relative;
  height: 100%;
  padding: 48px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-number {
  font-family: Arial, sans-serif;
  font-size: clamp(120px, 15vw, 220px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #E8F0F6;
}

.flow-main-text {
  position: relative;
  z-index: 1;
}

.flow-step-label {
  display: block;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.flow-main h3 {
  font-size: 32px;
  line-height: 1.4;
  margin: 0 0 20px;
}

.flow-main p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 32px;
  max-width: 420px;
}

.flow-main .button {
  gap: 24px;
}

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

.step-card {
  position: relative;
  min-width: 0;
  padding: 32px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-number {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #B8CAD6;
}

.step-card h3 {
  font-size: 21px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

@media screen and (max-width: 900px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 900px) {
  .flow-main {
    min-height: 400px;
  }
}

@media screen and (max-width: 900px) {
  .flow-number {
    font-size: 140px;
  }
}

@media screen and (max-width: 900px) {
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .flow-grid {
    gap: 16px;
  }
}

@media screen and (max-width: 600px) {
  .flow-main {
    min-height: auto;
  }
}

@media screen and (max-width: 600px) {
  .flow-main-content {
    padding: 32px 24px;
    gap: 24px;
  }
}

@media screen and (max-width: 600px) {
  .flow-number {
    font-size: 100px;
  }
}

@media screen and (max-width: 600px) {
  .flow-main h3 {
    font-size: 26px;
  }
}

@media screen and (max-width: 600px) {
  .flow-main p {
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  .step-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media screen and (max-width: 600px) {
  .step-card {
    min-height: 200px;
    padding: 28px 24px;
    gap: 24px;
  }
}

@media screen and (max-width: 600px) {
  .step-number {
    font-size: 52px;
  }
}

@media screen and (max-width: 600px) {
  .step-card h3 {
    font-size: 20px;
  }
}

@media (max-width:600px) {
  .flow-main>div {
    padding: 28px
  }
}

@media (max-width:600px) {
  .flow-main h3 {
    font-size: 32px
  }
}


/* ========================================
   08. CONTACT
======================================== */

#contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy .eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 20px;
}

.contact-copy h2 {
  font-size: 42px;
  margin: 0 0 32px;
}

.contact-copy>p {
  font-size: 16px;
  line-height: 2;
  margin: 0;
}

.contact-info {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #C9D5DE;
}

.contact-info-title {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 24px;
}

.contact-copy address {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-style: normal;
}

.contact-copy address a,
.contact-copy address span {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.contact-copy address img {
  width: 20px;
  height: 20px;
}

.contact-form {
  background: var(--tint);
  padding: 48px;

  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form .required {
  position: static;
  display: inline-block;
  align-self: auto;
  font-size: 10px;
  font-weight: 400;
  color: var(--blue);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;

  border: 1px solid #D9E1E6;
  background: #F9FAFB;

  border-radius: 0;
  font-size: 14px;

  transition: border-color 0.3s,
    background-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
  background: #fff;
}

.contact-form textarea {
  height: 180px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;

  padding: 10px 60px;

  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);

  font-size: 14px;
  cursor: pointer;
}

.contact-submit span {
  font-size: 20px;
  transition: transform 0.3s;
}

.contact-submit:hover {
  background: #3D4E5D;
}

.contact-submit:hover span {
  transform: translateX(5px);
}

.contact-form .is-invalid {
  border-color: #c65b5b !important;
  background-color: #fffafa;
}

.form-error {
  display: block;
  margin-top: 6px;
  color: #c65b5b;
  font-size: 12px;
  line-height: 1.6;
}

@media screen and (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media screen and (max-width: 900px) {
  .contact-copy {
    padding-top: 0;
  }
}

@media screen and (max-width: 900px) {
  .contact-info {
    margin-top: 40px;
  }
}

@media screen and (max-width: 900px) {
  .contact-form {
    padding: 40px;
  }
}

@media screen and (max-width: 600px) {
  .contact-grid {
    gap: 40px;
  }
}

@media screen and (max-width: 600px) {
  .contact-copy h2 {
    font-size: 34px;
  }
}

@media screen and (max-width: 600px) {
  .contact-copy>p {
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  .contact-info {
    margin-top: 32px;
  }
}

@media screen and (max-width: 600px) {
  .contact-form {
    padding: 28px 20px;
    gap: 24px;
  }
}

@media screen and (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media screen and (max-width: 600px) {
  .contact-submit {
    width: 100%;
    justify-content: center;
  }
}

.contact-privacy {
  margin: 24px 0 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #777;
  text-align: center;
}

.contact-privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}

.contact-privacy a:hover {
  opacity: 0.6;
}


/* ========================================
   09. MODAL
======================================== */

.modal-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.modal-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--tint);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: modal-spin 0.8s linear infinite;
}

.modal-icon.is-success::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 26px;
}

.modal-icon.is-error::before {
  content: "!";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #c65b5b;
  border-radius: 50%;
  color: #c65b5b;
  font-size: 26px;
}

.modal-description {
  font-size: 13px;
  line-height: 1.9;
  color: #777;
  overflow-wrap: anywhere;
}

.modal-close {
  display: none;
  margin: 30px auto 0;
  padding: 12px 45px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 0.8;
}

.modal-close.is-visible {
  display: block;
}

body.modal-open {
  overflow: hidden;
}


/* ========================================
   10. FOOTER
======================================== */

.footer-logo {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 80px 0
}

.footer-top {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  padding-bottom: 80px
}

.footer-top nav {
  margin: auto;
  display: flex;
  gap: 32px;
  font: 600 14px "Roboto:SemiBold"
}

.site-footer .container>p {
  text-align: center;
  margin: 32px 0 0;
  font-size: 14px
}

/* =========================
   FOOTER - SMARTPHONE
========================= */

@media screen and (max-width: 600px) {

  .site-footer {
    padding: 56px 0;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
    padding-bottom: 48px;
  }

  .footer-top nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
  }

}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: inherit;
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 768px) {
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    margin-top: 20px;
  }
}


/* ========================================
   11. PRIVACY
======================================== */

.privacy-page {
  color: var(--ink);
  background-color: #fff;
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6%;
  border-bottom: 1px solid #eee;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.privacy-back:hover {
  opacity: 0.6;
}

.privacy-main {
  padding: 100px 24px 120px;
}

.privacy-container {
  max-width: 850px;
  margin: 0 auto;
}

.privacy-heading {
  margin-bottom: 80px;
}

.privacy-label {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.privacy-heading h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.privacy-content {
  font-size: 14px;
  line-height: 2.2;
}

.privacy-intro {
  margin-bottom: 60px;
}

.privacy-section {
  margin-bottom: 52px;
}

.privacy-section h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ddd;
}

.privacy-section p {
  color: #555;
}

.privacy-section ul {
  margin-top: 16px;
  padding-left: 24px;
  list-style: disc;
}

.privacy-section li {
  color: #555;
  margin-bottom: 6px;
}

.privacy-section a {
  color: var(--blue);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.privacy-date {
  margin-top: 80px;
  text-align: right;
  font-size: 12px;
  color: #777;
}

.privacy-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 6%;
  background-color: var(--footer);
  color: #fff;
}

.privacy-footer p {
  font-size: 11px;
  color: #ddd;
}

@media screen and (max-width: 768px) {
  .privacy-header {
    padding: 20px 5%;
  }
}

@media screen and (max-width: 768px) {
  .privacy-back {
    font-size: 11px;
    gap: 6px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-main {
    padding: 70px 20px 90px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-heading {
    margin-bottom: 55px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-heading h1 {
    font-size: 25px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-content {
    font-size: 13px;
    line-height: 2;
  }
}

@media screen and (max-width: 768px) {
  .privacy-intro {
    margin-bottom: 45px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-section {
    margin-bottom: 42px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-section h2 {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-date {
    margin-top: 60px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-footer {
    padding: 30px 5%;
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .privacy-footer p {
    font-size: 10px;
  }
}


/* ========================================
   12. ANIMATION
======================================== */

@keyframes modal-spin {
  to {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}


/* ========================================
   RESPONSIVE LAYOUT RESTORATION
   WORKS / ABOUT: preserve original cascade
======================================== */
@media screen and (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media screen and (max-width: 600px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-grid {
    gap: 40px;
  }
}