:root {
  --black: #000000;
  --white: #F1F0EB;  /* brand cream */
  --gray: #A7A9AC;
  --line: rgba(255,255,255,0.18);
  --font: "Barlow", "D-DIN", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 3rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
}
.wordmark { display: block; line-height: 0; flex-shrink: 0; }
.wordmark img { display: block; height: 46px; width: auto; }
.site-nav { display: flex; gap: 2rem; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gray); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--white); }
.menu-toggle {
  background: none; border: 0; color: var(--white); cursor: pointer;
  display: none; flex-direction: column; gap: 6px; padding: 6px 0;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* Slide-out menu (mobile) */
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 30;
  width: min(22rem, 100%); background: var(--black);
  border-left: 1px solid var(--line);
  padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 2.5rem 2.5rem;
  transform: translateX(100%); transition: transform 0.35s ease; visibility: hidden;
}
.menu.open { transform: translateX(0); visibility: visible; }
.menu a {
  display: block; text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 500; font-size: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.menu-close {
  position: absolute; top: calc(1.5rem + env(safe-area-inset-top, 0px)); right: 2rem;
  background: none; border: 0; color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
}

/* Full-screen panels */
.panel {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; padding: 0 3rem 14vh;
  background-color: var(--black);
  background-image:
    linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.5) 100%),
    var(--img, none),
    radial-gradient(ellipse at 70% 30%, #1B232C 0%, #000 65%);
  background-size: cover; background-position: center;
}
.panel.short { min-height: 80vh; min-height: 80svh; }
.panel-content { max-width: 40rem; }
.label {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray); margin: 0 0 0.75rem;
}
h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; margin: 0 0 1.25rem; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); }
p.body { font-weight: 300; font-size: 1.15rem; margin: 0 0 2rem; max-width: 36rem; }

.btn {
  display: inline-block; text-decoration: none; border: 2px solid var(--white);
  padding: 0.95rem 2.25rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn + .btn { margin-left: 1rem; }
.btn.ghost { border-color: rgba(255,255,255,0.45); }

.hero .panel-content { animation: rise 1.1s ease-out 0.2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Content sections */
.section { padding: 8rem 3rem; border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 4rem; }
.section-head h2 { margin: 0; }
.intro-text {
  font-weight: 300; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4;
  max-width: 50rem; margin: 0;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.item { border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem; }
.item h3 {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.item p { margin: 0; color: var(--gray); font-weight: 300; }

/* Other services */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; }
.others a {
  display: block; text-decoration: none; border-top: 1px solid var(--line);
  padding: 1.75rem 0; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.others a span { display: block; color: var(--gray); font-weight: 300; letter-spacing: 0; text-transform: none; margin-top: 0.4rem; }
.others a:hover { color: var(--gray); }

/* Credentials strip */
.credentials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  padding: 4rem 3rem; border-top: 1px solid var(--line);
}
.credentials strong {
  display: block; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.35rem;
}
.credentials span { color: var(--gray); font-weight: 300; }

/* Footer */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  padding: 2.5rem 3rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
}
footer nav { display: flex; gap: 2rem; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 900px) {
  .grid, .grid.two, .others, .credentials { grid-template-columns: 1fr; }
  .credentials { gap: 2rem; }
}
@media (max-width: 560px) {
  .site-header { padding-left: 1.5rem; padding-right: 1.5rem; }
  .wordmark img { height: 34px; }
  .panel { padding: 0 1.5rem 12vh; }
  .section { padding: 5.5rem 1.5rem; }
  .credentials, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .btn + .btn { margin: 1rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .panel-content { animation: none; }
  .menu { transition: none; }
}
