@import url("assets/fonts/google-fonts.css");
@import url("assets/fonts/commissioner.css");

:root {
  --ink: #101417;
  --paper: #f7f2ea;
  --paper-strong: #fffaf2;
  --bronze: #b87945;
  --sea: #17495d;
  --clay: #c8583b;
  --mist: #dfe7e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::selection { background: var(--bronze); color: white; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.topbar {
  align-items: center;
  background: rgba(16, 20, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  display: flex;
  gap: 24px;
  inset: 0 0 auto 0;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(18px, 5vw, 70px);
  position: fixed;
  z-index: 20;
  backdrop-filter: blur(18px);
  animation: nav-drop 700ms ease both;
}
.brand { align-items: baseline; display: flex; gap: 10px; min-width: max-content; }
.brand span { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.16em; }
.brand small { color: rgba(255, 255, 255, 0.76); font-size: 0.78rem; text-transform: uppercase; }
.navlinks { display: flex; gap: clamp(14px, 3vw, 34px); font-size: 0.9rem; }
.navlinks a { color: rgba(255, 255, 255, 0.78); }
.navlinks a:hover { color: white; }
.topbar-actions { align-items: center; display: flex; gap: 14px; }
.language-switcher {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}
.language-switcher a {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  height: 32px;
  justify-content: center;
  line-height: 1;
  opacity: 0.66;
  width: 34px;
}
.language-switcher a:hover,
.language-switcher a.active {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}
.nav-cta, .button, .contact-form button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.nav-cta:hover, .button:hover, .contact-form button:hover { transform: translateY(-2px); }

.hero {
  align-items: end;
  color: white;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 86px) 58px;
  position: relative;
}
.hero-image {
  animation: slow-drift 22s ease-in-out infinite alternate;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.88), rgba(7, 10, 12, 0.48) 47%, rgba(7, 10, 12, 0.12)),
    linear-gradient(0deg, rgba(7, 10, 12, 0.82), rgba(7, 10, 12, 0.08) 42%);
  inset: 0;
  position: absolute;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero-content .eyebrow { animation: hero-reveal 760ms 120ms ease both; }
.hero-content h1 { animation: hero-reveal 820ms 240ms ease both; }
.hero-copy { animation: hero-reveal 820ms 380ms ease both; }
.eyebrow {
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-family: "Commissioner", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 28px;
  max-width: 980px;
}
.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.6;
  max-width: 720px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-actions .button { animation: hero-reveal 720ms 520ms ease both; }
.button.primary, .contact-form button { background: var(--bronze); border-color: var(--bronze); color: white; font-weight: 800; }
.button.ghost { background: rgba(255, 255, 255, 0.09); color: white; }
.hero-panel { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 64px; position: relative; z-index: 2; }
.hero-panel span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 16px;
  backdrop-filter: blur(14px);
  animation: soft-rise 700ms ease both;
}
.hero-panel span:nth-child(1) { animation-delay: 640ms; }
.hero-panel span:nth-child(2) { animation-delay: 740ms; }
.hero-panel span:nth-child(3) { animation-delay: 840ms; }

.intro-band { background: var(--sea); color: white; padding: clamp(34px, 6vw, 72px) clamp(20px, 9vw, 130px); }
.intro-band p {
  font-family: "Commissioner", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 3.6rem);
  line-height: 1.12;
  margin: 0;
  max-width: 1100px;
}
.section { padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 86px); }
.section-heading { max-width: 860px; margin-bottom: 38px; }
.intro-band p,
.section-heading,
.tab-controls,
.tab-copy,
.video-card,
.work-card,
.about-media,
.about-copy,
.service-item,
.contact-copy,
.contact-form {
  animation: soft-rise 760ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}
.video-card:nth-child(2),
.work-card:nth-child(2),
.service-item:nth-child(2),
.contact-form label:nth-child(2) { animation-delay: 90ms; }
.work-card:nth-child(3),
.service-item:nth-child(3),
.contact-form label:nth-child(3) { animation-delay: 160ms; }
.service-item:nth-child(4),
.contact-form label:nth-child(4) { animation-delay: 230ms; }
.service-item:nth-child(5),
.contact-form label:nth-child(5) { animation-delay: 300ms; }
.service-item:nth-child(6),
.contact-form label:nth-child(6) { animation-delay: 370ms; }
h2, h3 {
  font-family: "Commissioner", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
}
h2 { font-size: clamp(2rem, 4vw, 4.6rem); line-height: 1; margin-bottom: 18px; }

.tabs > input { opacity: 0; pointer-events: none; position: absolute; }
.tab-controls {
  background: rgba(16, 20, 23, 0.08);
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
  padding: 6px;
}
.tab-controls label { cursor: pointer; font-weight: 800; min-width: min(42vw, 260px); padding: 14px 18px; text-align: center; }
#tab-wedding:checked ~ .tab-controls label[for="tab-wedding"],
#tab-commercial:checked ~ .tab-controls label[for="tab-commercial"] { background: var(--ink); color: white; }
.tab-copy { display: none; max-width: 760px; margin-bottom: 34px; }
.tab-copy h3 { font-size: clamp(1.3rem, 2vw, 2rem); margin-bottom: 10px; }
.tab-copy p { color: rgba(16, 20, 23, 0.7); line-height: 1.7; }
#tab-wedding:checked ~ .wedding-copy,
#tab-commercial:checked ~ .commercial-copy { display: block; }

.featured-videos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr); gap: 18px; margin: 0 0 30px; }
.video-card { background: #111719; color: white; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.video-frame {
  background: linear-gradient(135deg, rgba(184, 121, 69, 0.24), transparent), #070a0c;
  overflow: hidden;
  position: relative;
}
.wide-video .video-frame { aspect-ratio: 16 / 9; }
.short-video .video-frame { aspect-ratio: 9 / 16; }
.video-frame iframe { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }
.video-copy { padding: 22px; }
.video-copy span {
  color: var(--bronze);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.video-copy h3 { font-size: clamp(1.1rem, 2vw, 1.75rem); line-height: 1.12; margin-bottom: 10px; }
.video-copy p { color: rgba(255, 255, 255, 0.68); line-height: 1.6; margin: 0; }

.portfolio-grid { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#tab-wedding:checked ~ .wedding-grid,
#tab-commercial:checked ~ .commercial-grid { display: grid; }
.work-card { background: var(--paper-strong); border: 1px solid rgba(16, 20, 23, 0.1); overflow: hidden; }
.work-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 500ms ease;
}
.work-card:hover img { transform: scale(1.04); }
.work-card div { padding: 22px; }
.work-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.work-card .term-note { color: rgba(16, 20, 23, 0.58); display: block; font-size: 0.78rem; line-height: 1.45; margin: -2px 0 10px; }
.work-card p { color: rgba(16, 20, 23, 0.68); line-height: 1.55; margin: 0; }

.about {
  align-items: center;
  background: #111719;
  color: white;
  display: grid;
  gap: clamp(28px, 6vw, 90px);
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
}
.about-media img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; width: 100%; }
.about-copy p:not(.eyebrow) { color: rgba(255, 255, 255, 0.74); font-size: 1.04rem; line-height: 1.8; }
.equipment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.equipment span, .service-item { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); padding: 16px; }

.services { background: var(--mist); }
.service-list { background: rgba(16, 20, 23, 0.16); display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-item { background: var(--paper); border: 0; min-height: 150px; }
.service-item span { color: var(--clay); display: block; font-weight: 900; margin-bottom: 22px; }
.service-item p { font-size: clamp(1.05rem, 1.8vw, 1.55rem); font-weight: 800; line-height: 1.2; margin: 0; }

.contact {
  background: var(--ink);
  color: white;
  display: grid;
  gap: clamp(32px, 7vw, 96px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
}
.contact-copy { align-self: start; position: sticky; top: 110px; }
.contact-copy p { color: rgba(255, 255, 255, 0.72); line-height: 1.75; }
.contact-copy a { color: var(--bronze); display: table; font-weight: 800; margin-top: 12px; }
.contact-copy .site-link {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}
.contact-details {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 24px 0 18px;
  padding-top: 22px;
}
.contact-details .contact-service {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 14px;
}
.contact-details a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  display: flex;
  gap: 12px;
  font-weight: 800;
  margin-top: 8px;
  padding: 12px 14px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.contact-icon {
  align-items: center;
  background: rgba(184, 121, 69, 0.16);
  border: 1px solid rgba(184, 121, 69, 0.34);
  color: var(--bronze);
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.contact-icon svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 18px;
}
.contact-details a:hover {
  border-color: var(--bronze);
  transform: translateX(3px);
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}
.contact-form label {
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  min-width: 0;
  text-transform: uppercase;
}
.contact-form .full,
.contact-form .service-field,
.contact-form button,
.form-notice,
.hp-field { grid-column: 1 / -1; }
.hp-field { display: none; }
.form-notice {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  display: none;
  line-height: 1.5;
  margin: 0;
  padding: 14px 16px;
  text-transform: none;
}
.contact-form input, .contact-form select, .contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  max-width: 100%;
  min-height: 54px;
  min-width: 0;
  outline: none;
  padding: 0 16px;
  width: 100%;
}
.contact-form select {
  appearance: none;
  background-color: rgba(255, 255, 255, 0.08);
  background-image:
    linear-gradient(45deg, transparent 50%, #b87945 50%),
    linear-gradient(135deg, #b87945 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  overflow: hidden;
  padding-right: 46px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-form select option {
  background: #fffaf2;
  color: #101417;
}
.contact-form select option:disabled {
  color: #6b6258;
}
.contact-form textarea { min-height: 150px; padding-top: 16px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--bronze); }
.contact-form ::placeholder { color: rgba(255, 255, 255, 0.42); }
.contact-form button { cursor: pointer; justify-self: start; min-width: 190px; }

.site-credit {
  align-items: center;
  background: #0b0f11;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 6px;
  justify-content: center;
  padding: 18px 20px;
}
.site-credit a {
  color: var(--bronze);
  font-weight: 800;
}
.site-credit a:hover { color: white; }

.consent-banner {
  align-items: flex-end;
  background: rgba(16, 20, 23, 0.97);
  bottom: 0;
  box-shadow: 0 -10px 30px rgba(16, 20, 23, 0.18);
  color: white;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 0;
  padding: 18px clamp(18px, 5vw, 70px);
  position: fixed;
  right: 0;
  z-index: 50;
}
.consent-copy strong { display: block; font-family: "Commissioner", "Noto Sans", sans-serif; font-size: 1rem; margin-bottom: 5px; }
.consent-copy p { color: rgba(255, 255, 255, 0.76); font-size: 0.86rem; line-height: 1.5; margin: 0 0 6px; max-width: 760px; }
.consent-link { background: none; border: 0; color: #f2c28e; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.consent-actions { align-items: center; display: flex; gap: 10px; }
.consent-button { border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer; font: inherit; font-weight: 700; min-height: 42px; padding: 0 16px; }
.consent-reject { background: transparent; color: white; }
.consent-accept { background: var(--bronze); border-color: var(--bronze); color: white; }
.consent-settings { border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; flex-wrap: wrap; gap: 16px; grid-column: 1 / -1; padding-top: 14px; }
.consent-settings label { color: rgba(255, 255, 255, 0.82); font-size: 0.84rem; }
.consent-settings-actions { margin-left: auto; }
.consent-banner[hidden] { display: none; }
.consent-settings[hidden] { display: none; }

@keyframes slow-drift {
  from { transform: scale(1.03) translate3d(-1%, 0, 0); }
  to { transform: scale(1.12) translate3d(1.5%, -1%, 0); }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 920px) {
  .portfolio-grid, .featured-videos, .about, .service-list, .contact { grid-template-columns: 1fr; }
  .short-video { grid-template-columns: minmax(180px, 0.44fr) minmax(0, 1fr); grid-template-rows: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 820px) {
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .topbar { gap: 12px; min-height: 68px; }
  .brand small, .navlinks { display: none; }
  .topbar-actions { gap: 8px; }
  .language-switcher a { height: 30px; width: 31px; }
  .nav-cta { min-height: 40px; padding: 0 14px; }
  .hero { padding-top: 118px; }
  .hero-panel, .hero-actions, .tab-controls, .equipment, .contact-form { grid-template-columns: 1fr; }
  .tab-controls { display: grid; width: 100%; }
  .tab-controls label { min-width: 0; }
  .contact-form { display: grid; }
  .short-video { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .consent-banner { align-items: stretch; grid-template-columns: 1fr; padding: 16px 18px; }
  .consent-actions { justify-content: stretch; }
  .consent-button { flex: 1; }
  .consent-settings-actions { margin-left: 0; width: 100%; }
}
