@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmsans/v15/rP2Yp2ywxg089UriI5-g7M8btVsD8Ck0q7u0-K4.woff2) format('woff2');
}
@font-face {
  font-family: 'Baskervville SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baskervvillesc/v1/X7n94bc_DeKlh6bBbk_WiKnBSUvh6F52.woff2) format('woff2');
}
:root {
  --bg: #EAEAEA;
  --fg: #0F0F10;
  --dg: #07070a;
  --muted: #6B6B6B;
  --line: #D1D1D1;
}
html {
  scroll-behavior: smooth;
}
html, body, .offcanvas, .grey {
  font-family: "DM Sans", sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: "Baskervville SC", serif;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3rem, 10vw, 8.5rem);
}
h2 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}
h3 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.1;
}
h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.display-4 {
  font-family: "Baskervville SC", serif;
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
a, a.nav-link {
  color: var(--fg);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}
a:hover, a.nav-link:hover {
  opacity: 0.5;
}
a.linkes {
  text-decoration: none;
}
.actives {
  border-bottom: 1px solid var(--fg);
  padding-bottom: 3px;
}
.caps {
  text-transform: uppercase;
}
.caps-sm {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8em;
}
.small {
  font-size: 0.85em;
  color: var(--muted);
  line-height: 1.6;
}
::selection {
  color: var(--bg);
  background: var(--fg);
}
.img-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.img-icon-footer {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.slide img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.zoom {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.zoom:hover {
  transform: scale(1.03);
}
.img-cover-section {
  width: 100%;
  height: 650px;
  object-fit: cover;
}
.img-section-project {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.img-section-project-detail {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.img-section-services {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.btn, button {
  border-radius: 0;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
}
.page-link {
  background-color: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.9rem;
}
.page-link:hover {
  background-color: var(--fg);
  color: var(--bg);
  border-radius: 0;
}
.form-control {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 1.2rem 0;
  font-size: 1.1rem;
}
.form-control:focus {
  background-color: transparent;
  border-color: var(--fg);
  box-shadow: none;
}
.lintong {
  transition: all 0.2s ease;
  display: inline-block;
}
.lintong:hover {
  background-color: var(--fg);
  color: var(--bg);
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 1024px) {
  html, body, .offcanvas, .grey {
    font-size: 17px;
  }
  .img-cover-section { height: 500px; }
  .img-section-project-detail { height: 400px; }
}
@media (max-width: 768px) {
  html, body, .offcanvas, .grey {
    font-size: 16px;
  }
  h1 { line-height: 0.95; }
  h2 { line-height: 0.95; }
  .slide img { height: 360px; }
  .img-cover-section { height: 400px; }
  .img-section-project { height: 260px; }
  .img-section-project-detail { height: 320px; }
  .img-section-services { height: 200px; }
}

.offcanvas-body .display-4 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem) !important;
  line-height: 1;
  letter-spacing: -0.02em;
}
.offcanvas-body .ms-3 {
  margin-left: 0 !important;
  padding: 0.25rem 0 !important;
}
.navbar-brand {
  font-family: "Baskervville SC", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem) !important;
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
}
.navbar {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.navbar-brand {
  font-family: "Baskervville SC", serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-weight: 400;
}
h1, h2, h3, .display-4 {
  text-transform: uppercase;
  font-weight: 400;
}
h1 span, h2 span {
  text-transform: none;
}
.offcanvas-body .display-4 {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
section, .border-top, .border-bottom {
  border-width: 1px !important;
}
.btn {
  border: 1px solid var(--fg);
  padding: 0.8rem 1.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
.btn:hover {
  background: var(--fg);
  color: var(--bg);
}
h2, h3 {
  text-decoration: none !important;
}
h1, h2 {
  text-decoration: none !important;
  border-bottom: none !important;
}
h1 u, h2 u, h3 u {
  text-decoration: none !important;
}
.prose, .content-body, main p {
  max-width: 72ch;
  line-height: 1.8;
  font-size: 1.05rem;
}
.blog-meta {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.img-section-project-detail {
  height: 600px;
}
@media (max-width: 768px) {
  .prose, .content-body, main p {
    max-width: 100%;
  }
}
.border-none {border: none;}