/* Montserrat substitutes Typekit "europa" (body/nav); Rokkitt substitutes Typekit "fenwick" (logo). */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Rokkitt";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/rokkitt-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --fg: #222222;
  --muted: #8a8a8a;
  --accent: #a0b7c5;
  --border: #ececec;
  --max-width: 1200px;
  --gutter: 30px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

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

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 60px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 60px 0 60px;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 100px;
}

.main-nav {
  padding-bottom: 0;
}

.site-title {
  font-family: "Rokkitt", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 5px;
  margin: 0;
  line-height: 1.2;
}

.site-title a {
  color: var(--accent);
}

.site-title a:hover {
  opacity: 1;
  color: var(--accent);
}

.site-tagline {
  margin: 2px 0 0;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.01px;
  text-transform: uppercase;
  line-height: 2;
  color: #000;
}

/* ---------- Navigation ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  color: #000;
  padding: 8px 0;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 100px;
}

.nav-links a {
  font-family: "Rokkitt", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 43px;
  color: #000;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ---------- Main ---------- */
main {
  padding: 0 0 60px;
  min-height: 50vh;
}

/* ---------- Gallery ---------- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-item {
  margin: 0;
  cursor: zoom-in;
  overflow: hidden;
  background: #f6f6f6;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

/* ---------- About ---------- */
.page {
  max-width: 960px;
  margin: 0;
}

.about-photo {
  margin: 40px 0 0;
}

.about-photo img {
  width: 100%;
  height: auto;
}

.page h1,
.page h2 {
  font-family: "Rokkitt", Georgia, serif;
  font-weight: 400;
  letter-spacing: 1px;
}

.page h1 {
  font-size: 2.4rem;
  margin: 0 0 24px;
}

.page h2 {
  font-size: 1.8rem;
  margin: 44px 0 16px;
}

.page p {
  font-size: 1.05rem;
  margin: 0 0 20px;
  color: hsl(0, 0%, 40%);
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: hsl(0, 0%, 40%);
}

/* ---------- Contact ---------- */
.contact-intro {
  margin-bottom: 34px;
}

.contact-heading {
  font-family: "Rokkitt", Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin: 44px 0 12px;
}

.name-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.name-group legend {
  padding: 0;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 8px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 8px;
}

.field label .req {
  color: var(--muted);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fafafa;
  color: var(--fg);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fg);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  justify-self: start;
  font-family: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-submit:hover {
  background: transparent;
  color: var(--fg);
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 44px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0 0 18px;
}

.social-links a {
  color: var(--muted);
  display: inline-flex;
}

.social-links a:hover {
  color: var(--fg);
  opacity: 1;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-note {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .main-nav {
    order: -1;
    padding-bottom: 0;
    text-align: center;
  }

  .site-logo {
    text-align: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 320px;
    margin-top: 14px;
  }

  .nav-links li {
    padding: 10px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
