@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/pt-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/pt-serif-700.woff2") format("woff2");
}

:root {
  --teal: #29b49d;
  --gold: #fab61b;
  --ink: #000;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Reserve a short scroll even on tall screens. The footer stays against the
   viewport's bottom while the white content scrolls away in front of it. */
body { margin: 0; min-height: calc(100vh + clamp(80px, 12vh, 160px)); min-height: calc(100svh + clamp(80px, 12svh, 160px)); display: flex; flex-direction: column; isolation: isolate; color: var(--ink); background: #fff; font-family: "PT Serif", Georgia, serif; font-size: 1rem; line-height: 1.875; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
.container { width: calc(100% - 180px); max-width: 1425px; margin-inline: auto; }
.site-header { position: relative; flex: none; z-index: 2; background: #fff; }
.header-inner { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: block; flex: 0 1 auto; }
.logo img { display: block; width: 261.45px; height: auto; }
.navigation { display: flex; align-items: center; gap: 82px; }
.navigation a { position: relative; line-height: 1; padding-block: 14px; }
.navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.navigation a[aria-current="page"]::after, .navigation a:hover::after { transform: scaleX(1); }
main { position: relative; flex: 1 0 auto; z-index: 1; background: #fff; }
h1, h2, p { margin: 0; }
h1 { font-size: 3.5rem; line-height: 1.054; font-weight: 700; letter-spacing: 0; }
.home { padding-block: 120px 88px; }
.intro { max-width: 680px; font-size: 1.25rem; line-height: 1.5; margin-top: 27px; }
.project-inquiry { margin-top: 30px; font-size: 1.25rem; line-height: 1.7; }
.project-inquiry a { white-space: nowrap; }
.project-inquiry a:hover { color: var(--teal); }
.contact { padding-block: 40px 64px; }
.contact-list { margin-top: 98px; }
.contact-item h2 { font-size: 1.25rem; line-height: 1.6; font-weight: 700; margin-bottom: 8px; }
.contact-item + .contact-item { margin-top: 67px; }
.contact-item a { color: var(--teal); overflow-wrap: anywhere; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { position: sticky; bottom: 0; flex: none; display: flex; flex-direction: column; align-items: center; z-index: 0; padding: 266px 24px 115px; text-align: center; background-color: var(--gold); background-image: linear-gradient(rgba(250,182,27,.9),rgba(250,182,27,.9)),url("assets/footer-background.jpg"); background-size: cover; background-position: center; }
.site-footer > * { flex-shrink: 0; }
.site-footer h2 { color: var(--teal); font-size: 1rem; font-weight: 700; line-height: 34px; text-transform: capitalize; margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.footer-email { margin-top: 30px; }
.site-footer a:hover { color: var(--teal); }
.copyright { margin-top: 20px; font-size: .75rem; line-height: 30px; }
.skip-link { position: absolute; left: 24px; top: -80px; z-index: 5; background: #fff; padding: 8px 16px; }
.skip-link:focus { top: 8px; }

@media (min-width: 1600px) { .container { width: calc(100% - 180px); } }
@media (max-width: 999px) {
  body { min-height: 100vh; min-height: 100svh; }
  .container { width: 84%; }
  .header-inner { min-height: 120px; }
  .logo img { width: 218px; }
  .navigation { gap: 36px; }
  .home { padding-block: 90px 70px; }
  h1 { font-size: 2.75rem; line-height: 1.15; }
  .contact-list { margin-top: 75px; }
  .site-footer { position: relative; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 104px; gap: 16px; }
  .logo img { width: 165px; max-width: 100%; }
  .navigation { gap: 20px; flex-shrink: 0; }
  .home { padding-block: 70px 65px; }
  h1 { font-size: 2.25rem; line-height: 1.17; }
  .intro, .project-inquiry { font-size: 1.125rem; }
  .intro { margin-top: 25px; }
  .desktop-break { display: none; }
  .project-inquiry { margin-top: 28px; }
  .contact { padding-block: 45px 65px; }
  .contact-list { margin-top: 60px; }
  .contact-item h2 { font-size: 1.125rem; }
  .contact-item + .contact-item { margin-top: 45px; }
  .site-footer { padding-block: 50px; min-height: 0; }
}
/* In short landscape windows, leave the whole footer in normal flow so none
   of its links are trapped above the viewport. */
@media (max-height: 480px) {
  body { min-height: 100vh; min-height: 100svh; }
  .site-footer { position: relative; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
