@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #f5f5f2;
  --text: #111;
  --muted: #6d6d68;
  --line: #d8d8d2;
  --dark: #111;
  --white: #fff;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* # HEADER: top navigation and logo area */
.site-header {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

/* # BRAND: DISLEIK logo container */
.brand {
  display: inline-flex;
  align-items: center;
}

/* # DISLEIK LOGO: logo size and display */
.brand-logo {
  width: auto;
  height: 25px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: #555;
}

.nav a:hover, .nav a.active { color: #111; }

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #111;
}

main {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

/* # MAIN PAGE: homepage introduction area */
.hero {
  min-height: 720px;
  padding: 150px 0 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1020px;
}

.eyebrow, .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

/* # EYEBROW: small uppercase section labels */
.eyebrow { color: #777; }

.hero h1, .page-heading h1, .contact-layout h1 {
  margin: 24px 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 800;
}

.hero h1 span, .page-heading h1 span, .contact-layout h1 span {
  font-weight: 300;
}

.hero-copy, .page-heading > p, .contact-layout > div:first-child > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  padding: 15px 22px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--dark); color: var(--white); }

.text-link {
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #999;
  padding-bottom: 3px;
}

.text-link span { margin-left: 8px; }

/* # INTRO GRID: Overview of the websites */
.intro-grid {
  border-top: 1px solid var(--line);
  padding: 70px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.intro-grid h2, .category-row h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 600;
}

.intro-grid p, .category-row p {
  margin: 0;
  padding-top: 30px;
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}


/* # OTHER PAGES: 130 standard | now 180 to be centered */
.page-heading {
  padding: 177px 0 100px;
  max-width: 950px;
}

.category-row {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 70px 0;
}

.category-row .text-link { display: inline-block; margin-top: 26px; }

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 120px;
}


/* # 3D DESIGN CARDS: image containers */
.placeholder-card {
  aspect-ratio: 1 / 1;
  background: #e6e6e0;
  overflow: hidden;
  position: relative;
}

/* # 3D DESIGN IMAGES: fill the entire card */
.placeholder-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* # PROJECT CARDS: clickable project layout */
.placeholder-card a {
  display: block;
  height: 100%;
}

/* # PROJECT IMAGE: image area inside project cards */
.placeholder-card img,
.project-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}

/* # PROJECT PLACEHOLDER: temporary image area */
.project-placeholder {
  background: #e6e6e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #777;
}

.project-placeholder span {
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
}

.project-placeholder strong {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* # PROJECT INFO: title underneath each image */
.project-info {
  padding-top: 16px;
}

.project-info h3 {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.program-list { border-top: 1px solid var(--line); padding-bottom: 120px; }

.program-card {
  display: grid;
  grid-template-columns: 100px 1fr 180px;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.program-number { font-size: 13px; color: #777; }
.program-main h2 { margin: 9px 0; font-size: 32px; letter-spacing: -.03em; }
.program-main p { margin: 0; max-width: 650px; color: var(--muted); }
.program-action { text-align: right; color: #777; font-size: 13px; }

/* # PROJECT PAGE: main project introduction */
.project-heading {
  padding: 140px 0 80px;
  max-width: 900px;
}

.project-heading h1 {
  margin: 24px 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 800;
}

.project-heading h1 span {
  font-weight: 300;
}

.project-heading p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}


/* # PROJECT GALLERY: large main image */
.project-gallery {
  border-top: 1px solid var(--line);
  padding: 60px 0 100px;
}

.project-main-image {
  width: 100%;
  width: 90%; /*# resize project images */
  margin: 0 auto; /*# resize project images */
  background: #e6e6e0;
  overflow: hidden;
}

.project-main-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* # PROJECT DOTS: image navigation */
.project-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.project-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5c5c0;
  cursor: pointer;
}

.project-dots button.active {
  background: #111;
}


/* # PROJECT DETAILS: description and purchase area */
.project-details {
  border-top: 1px solid var(--line);
  padding: 70px 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.project-details h2 {
  margin: 14px 0 20px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 600;
}

.project-details p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* # PROJECT ACTION BOX: clean purchase area */
.project-action-box {
  padding-top: 0;
}

/* # PROJECT ACTION: spacing between availability and button */
.project-action-box .button {
  margin-top: 43px; /* # overall: 43px top, 74px middle, 123px bottom)  */
  margin-left: 28px;
}


/* # PROJECT PAGE: mobile layout */
@media (max-width: 760px) {

  .project-heading {
    padding: 100px 0 70px;
  }

  .project-gallery {
    padding: 40px 0 70px;
  }

  .project-details {
    grid-template-columns: 1fr;
    gap: 50px;
  }

}

/* # LEGAL PAGES: simple document-style layout */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal-header {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.legal-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  padding-top: 50px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* # CONTACT PAGE: 140 standard | now 90 to be centered */
.contact-layout {
  min-height: 700px;
  padding: 90px 0 121px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.contact-box {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contact-box > a {
  display: block;
  margin: 14px 0 24px;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.04em;
}

.small-note { color: var(--muted); font-size: 12px; max-width: 400px; }


/* # BOTTOM LINE: padding (28px) = distance top/bottom */
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 11px;
  letter-spacing: .05em;
}


/* # LEGAL CONTENT: reduce space between headings and paragraphs */
.legal-content h1 + p,
.legal-content h2 + p,
.legal-content h3 + p {
  margin-top: 0;
}

/* # LEGAL NOTICE: reduce space between heading and paragraph */
.legal-content h1,
.legal-content h2,
.legal-content h3 {
  margin-bottom: 0px;
}

.legal-content .intro-grid {
  padding: 40px 0;
}


/* # FOOTER LINK: Legal Notice link */
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* # LEGAL FOOTER: underline the currently viewed legal page */
.site-footer a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* # MOBILE: responsive adjustments */
@media (max-width: 760px) {
  .site-header { min-height: 76px; }
  .nav { gap: 13px; font-size: 11px; }
  .brand-logo { height: 10px; }
  .hero { min-height: 620px; padding: 100px 0 80px; }
  .hero h1, .page-heading h1, .contact-layout h1 { font-size: clamp(48px, 14vw, 76px); }
  .intro-grid, .category-row, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .page-heading { padding: 100px 0 70px; }
  .placeholder-grid { grid-template-columns: 1fr; }
  .program-card { grid-template-columns: 45px 1fr; gap: 18px; }
  .program-action { grid-column: 2; text-align: left; }
  .site-footer { gap: 20px; flex-direction: column; }
}
