/* Styles are now inline in index.html — this file is kept as a placeholder. */

/* ─── 1. RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #111820;
  --dark-2:  #1a2230;
  --white:   #ffffff;
  --cream:   #f5f4f0;
  --text:    #1a1a1a;
  --mid:     #555555;
  --light:   #999999;
  --border:  #e2e0db;
  --pad:     clamp(1.5rem, 5vw, 5rem);
  --max:     1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* ─── 2. TYPOGRAPHY ───────────────────────────────────────────── */
.display-heading {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.display-heading--right {
  text-align: right;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
}

/* ─── 3. LAYOUT HELPERS ───────────────────────────────────────── */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) var(--pad);
}

/* ─── 4. ICON BUTTON ──────────────────────────────────────────── */
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.icon-btn:hover {
  background: var(--text);
  color: var(--white);
}

/* ─── 5. NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--dark);
  height: 56px;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.85rem 1rem; }
}

/* ─── 6. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  padding-top: 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
  padding-bottom: clamp(2rem, 5vw, 5rem);
}

.hero-brand {
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
}

.hero-logo {
  height: clamp(40px, 7vw, 80px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-pe {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  padding-bottom: 0.15em;
}

/* ─── 7. ABOUT ────────────────────────────────────────────────── */
.about {
  background: var(--white);
  padding: clamp(3rem, 7vw, 7rem) var(--pad) 0;
}

.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-copy p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.75;
}
.about-copy p + p { margin-top: 0.75rem; }

.about-right img {
  width: 100%;
  height: clamp(300px, 40vw, 560px);
  object-fit: cover;
  display: block;
}

.about-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--pad) clamp(3rem, 7vw, 7rem);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── 8. PORTFOLIO ────────────────────────────────────────────── */
.portfolio {
  background: var(--cream);
}

.portfolio .display-heading { margin: 0.75rem 0 2.5rem; }

/* Category row */
.cat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1px;
}
.cat-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cat-img {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--white);
}
.cat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text);
}

/* Project grid */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 1px;
}
.proj-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.proj-img {
  overflow: hidden;
  flex: 1;
  min-height: 220px;
}
.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-meta {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.proj-meta--dark {
  background: var(--dark);
}
.proj-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proj-year {
  font-size: 0.72rem;
  color: var(--light);
}
.proj-meta--dark .proj-name,
.proj-meta--dark .proj-year { color: var(--white); }

@media (max-width: 900px) {
  .cat-row { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ─── 9. FEATURE DARK ─────────────────────────────────────────── */
.feature-dark {
  position: relative;
  min-height: clamp(380px, 55vw, 700px);
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.feature-img {
  position: absolute;
  inset: 0;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,18,0.85) 0%, rgba(10,12,18,0.1) 60%);
}

.feature-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.feature-tagline {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1;
  text-align: right;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.feature-caption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 0.4rem;
}
.feature-sep { opacity: 0.4; }

/* ─── 10. MATERIALS ───────────────────────────────────────────── */
.materials { background: var(--white); }
.materials .display-heading { margin: 0.75rem 0 2.5rem; }

.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.mat-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mat-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.mat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mat-card:hover .mat-img img { transform: scale(1.04); }
.mat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}
.mat-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}

@media (max-width: 768px) {
  .mat-grid { grid-template-columns: 1fr; }
}

/* ─── 11. AREAS ───────────────────────────────────────────────── */
.areas {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
}

.areas-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.areas-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.areas-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

.areas-copy {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 420px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--text);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--text);
  cursor: default;
  transition: background 0.2s, color 0.2s;
}
.tag:hover {
  background: var(--text);
  color: var(--white);
}

@media (max-width: 768px) {
  .areas-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .areas-copy { max-width: none; }
}

/* ─── 12. CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--white); }

.contact .display-heading { margin-bottom: 3rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
}

.form-full  { grid-column: span 4; }
.form-half  { grid-column: span 2; }
.form-quarter { grid-column: span 1; }
.form-three-quarter { grid-column: span 3; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0;
  border: none;
  border-bottom: 1.5px solid var(--border);
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--text);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Radio group inline */
.form-radio-group {
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.radio-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.radio-opt input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  accent-color: var(--text);
  flex-shrink: 0;
}
.radio-opt span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* Submit row */
.form-submit-row {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.submit-btn {
  padding: 0.75rem 2.5rem;
  background: var(--dark);
  color: var(--white);
  border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.submit-btn:hover { background: var(--dark-2); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-msg {
  font-size: 0.85rem;
  font-weight: 500;
}
.form-msg.success { color: #16a34a; }
.form-msg.error   { color: #dc2626; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-full  { grid-column: span 2; }
  .form-half  { grid-column: span 1; }
  .form-quarter { grid-column: span 1; }
  .form-three-quarter { grid-column: span 2; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-full, .form-half, .form-quarter, .form-three-quarter { grid-column: span 1; }
}

/* ─── 13. FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-col--left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
  filter: brightness(0) invert(1);
}
.footer-social:hover img { opacity: 1; }

.footer-address {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  height: clamp(28px, 4vw, 44px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-pe {
  height: clamp(14px, 2vw, 20px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-col--right {
  text-align: right;
}

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col--left { align-items: center; }
  .footer-col--right { text-align: center; }
}
