/* ============ NAVBAR ============ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(249, 248, 246, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-center {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 8px 18px;
  transition: color 0.15s;
  border-bottom: 1.5px solid transparent;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.current {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-contact-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.03em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 10;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: all 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--paper);
  padding: 100px 48px 48px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--mid);
}

.mobile-menu .mob-email {
  margin-top: auto;
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.03em;
  padding: 20px 0 0;
  border-bottom: none;
  text-transform: none;
}

.mobile-menu .mob-email:hover {
  color: var(--ink);
}

.mob-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--mid);
  cursor: pointer;
  line-height: 1;
}

/* ============ HERO (page hero) ============ */
.page-hero {
  position: relative;
  padding: 160px 0 120px;
  color: var(--white);
  overflow: hidden;
  margin-top: 68px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.5) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-label {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  max-width: 880px;
  margin-bottom: 28px;
}

.page-hero-desc {
  font-size: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.page-hero-bb {
  border-bottom: 1px solid var(--rule);
}

.page-hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  padding: 14px 28px;
}

.btn-primary:hover {
  background: var(--ink-2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  padding: 13px 27px;
  border: 1px solid var(--ink-2);
}

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

.btn-text {
  background: transparent;
  color: var(--ink);
  padding: 0;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.btn-text:hover {
  color: var(--mid);
  border-color: var(--mid);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
}

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

.btn-sm {
  font-size: 11px;
  padding: 11px 22px;
}

.btn-lg {
  font-size: 13px;
  padding: 16px 36px;
}

.arrow-r {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  flex-shrink: 0;
}

.btn-primary .arrow-r,
.btn-accent .arrow-r,
.form-submit .arrow-r {
  stroke: var(--white);
}

/* ============ TYPOGRAPHY ============ */
.t-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-display-i {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-heading {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.t-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.t-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  font-weight: 300;
}

.t-body-sm {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
  font-weight: 300;
}

/* ============ RULE LABEL ============ */
.rule-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 28px;
}

.rule-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ink-2);
  flex-shrink: 0;
}

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-weight: 300;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3l3 4 3-4' stroke='%239b9b9b' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-submit {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 15px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  background: var(--ink-2);
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-xl) 48px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
  font-weight: 300;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--white);
}

.sub-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.sub-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-weight: 300;
}

.sub-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.sub-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.sub-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.sub-btn:hover {
  background: var(--accent-hover);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.03em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ============ CTA DARK SECTION ============ */
.cta-section {
  padding: 100px 0;
}

.cta-label-light {
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(36px, 4vw, 56px);
  max-width: 640px;
  margin: 0 auto 24px;
}

.cta-desc-muted {
  color: rgba(255, 255, 255, 0.45);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}

.reveal-fade.in {
  opacity: 1;
}

.d1 { transition-delay: 0.07s; }
.d2 { transition-delay: 0.14s; }
.d3 { transition-delay: 0.21s; }
.d4 { transition-delay: 0.28s; }
.d5 { transition-delay: 0.35s; }
