@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #0d1c22;
  --ink-soft: #1a333c;
  --sea: #1f6f6a;
  --sea-bright: #2a8f88;
  --amber: #e0a84a;
  --fog: #eef2f1;
  --paper: #f6f8f7;
  --muted: #5c6e74;
  --line: rgba(13, 28, 34, 0.1);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1100px, calc(100% - 2.4rem));
  margin-inline: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.35s var(--ease);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: #fff;
  z-index: 102;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-check:checked ~ .site-header .logo {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1rem !important;
  background: var(--amber);
  color: var(--ink) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  transition: background 0.25s, transform 0.25s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #f0bc5c;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 102;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: 0.3s var(--ease);
}

.page-inner .nav-toggle span {
  background: var(--ink);
}

.nav-check:checked ~ .site-header .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-check:checked ~ .site-header .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-check:checked ~ .site-header .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0bc5c;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--sea);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 24s ease-in-out infinite alternate;
}

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 28, 34, 0.25) 0%, rgba(13, 28, 34, 0.45) 35%, rgba(13, 28, 34, 0.9) 100%),
    linear-gradient(90deg, rgba(13, 28, 34, 0.55) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.5rem) 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
  animation: rise 0.85s var(--ease) both;
}

.hero-brand span {
  color: var(--amber);
}

.hero h1 {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  max-width: 28rem;
  margin-bottom: 0.65rem;
  opacity: 0.95;
  animation: rise 0.85s 0.1s var(--ease) both;
}

.hero p {
  max-width: 26rem;
  opacity: 0.75;
  margin-bottom: 1.85rem;
  animation: rise 0.85s 0.18s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.85s 0.28s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(224, 168, 74, 0.18), transparent),
    linear-gradient(145deg, var(--ink) 0%, var(--ink-soft) 55%, var(--sea) 140%);
  color: #fff;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
  animation: rise 0.7s var(--ease) both;
}

.page-hero p {
  max-width: 34rem;
  opacity: 0.78;
  animation: rise 0.7s 0.08s var(--ease) both;
}

/* sections */
.section {
  padding: 5rem 0;
}

.section-fog {
  background: var(--fog);
}

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

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.75rem;
}

.section-ink .label {
  color: var(--amber);
}

.title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

.section-ink .title {
  color: #fff;
}

.lead {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.section-ink .lead {
  color: rgba(255, 255, 255, 0.7);
}

.fade {
  animation: rise 0.8s var(--ease) both;
}

.fade-2 { animation-delay: 0.12s; }
.fade-3 { animation-delay: 0.22s; }

/* features */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.strip-item {
  padding: 1.75rem 1.4rem;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}

.strip-item:last-child {
  border-right: none;
}

.strip-item:hover {
  background: var(--fog);
}

.strip-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.strip-item p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* services grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(13, 28, 34, 0.08);
}

.service-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.service-body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.service-body p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split:hover .split-media img {
  transform: scale(1.04);
}

.split-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.split-body p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.split-body p:last-of-type {
  margin-bottom: 1.5rem;
}

/* works */
.works {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.85rem;
}

.works-item {
  overflow: hidden;
  position: relative;
}

.works-item:first-child {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.works-item:not(:first-child) {
  aspect-ratio: 16 / 11;
}

.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.works-item:hover img {
  transform: scale(1.05);
}

.works-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(13, 28, 34, 0.75));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* prices */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.price-table th,
.price-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.925rem;
}

.price-table th {
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table .price {
  font-weight: 700;
  color: var(--sea);
  white-space: nowrap;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
}

.contact-list dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.3rem;
}

.contact-list dd {
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--sea);
}

.contact-box {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-box h3 {
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}

.contact-box p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-box .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* cta */
.cta {
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 28, 34, 0.92), rgba(31, 111, 106, 0.85)),
    url("../images/interior.jpg") center / cover;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.65rem;
}

.cta p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  max-width: 26rem;
  margin-inline: auto;
}

/* footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.footer-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 0.2rem;
  letter-spacing: 0;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: var(--amber);
}

.footer-bottom a:hover {
  color: #fff;
}

.list-check li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--amber);
}

@media (max-width: 900px) {
  .strip,
  .services {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .split,
  .contact-grid,
  .footer-grid,
  .works {
    grid-template-columns: 1fr;
  }

  .works-item:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav-check:checked ~ .site-header .nav-links {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    color: var(--ink) !important;
    font-size: 1.15rem;
  }

  .nav-check:checked ~ .site-header .nav-toggle span {
    background: var(--ink);
  }

  .section {
    padding: 3.5rem 0;
  }

  .price-table {
    display: block;
    overflow-x: auto;
  }
}
