:root {
  color: #111827;
  background: #f8fafc;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc;
  color: #111827;
}

.site-header,
main,
footer {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
  font-weight: 700;
}

.product-name {
  color: #2563eb;
}

.intro {
  padding-block: 72px 80px;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro p {
  max-width: 650px;
  margin: 30px 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.6;
}

.showcase {
  margin-bottom: 84px;
}

h2,
.code-example figcaption {
  margin: 0 0 18px;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

figure {
  margin: 0;
}

.phone-frame {
  width: min(100%, 390px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #ffffff;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.report-frame {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.report-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-gallery {
  display: grid;
  gap: 18px;
}

.desktop-gallery figure {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.desktop-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.roles {
  margin-block: 96px;
  padding: 28px;
  border-left: 4px solid #2563eb;
  background: #eff6ff;
}

.roles p {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.roles p + p {
  margin-top: 14px;
}

.code-example {
  margin-bottom: 96px;
}

.code-example pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  background: #111827;
  color: #ffffff;
  font: 0.86rem/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 44px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 760px);
  }

  .intro {
    padding-block: 52px 64px;
  }

  .showcase {
    margin-bottom: 64px;
  }

  .roles {
    margin-block: 72px;
    padding: 22px;
  }

  .code-example pre {
    padding: 20px;
    font-size: 0.72rem;
  }
}

/* Portfolio layout */
.hero,
main,
footer {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.hero {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 720px;
  margin: 38px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.button-primary:hover {
  border-color: #1d4ed8;
  background: #1d4ed8;
}

.button-secondary {
  background: #ffffff;
}

.button-secondary:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}

.projects {
  padding-block: 112px;
  border-top: 1px solid #e5e7eb;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.leadership h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: none;
}

.project-card {
  padding: 40px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.project-card + .project-card {
  margin-top: 36px;
}

.project-intro {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  margin-bottom: 38px;
}

.project-number {
  margin: 5px 0 0;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
}

.project-intro h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.045em;
}

.project-intro div > p {
  max-width: 740px;
  margin: 14px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.desktop-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.desktop-gallery figure,
.report-frame,
.phone-frame {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background: #ffffff;
}

.desktop-gallery figcaption,
.maamule-gallery figcaption {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maamule-gallery {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.maamule-gallery .phone-frame {
  width: 100%;
}

.roles {
  margin-block: 36px;
}

.roles p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.code-example {
  margin-bottom: 0;
}

.leadership {
  margin-bottom: 112px;
  padding: 52px;
  border: 1px solid #e5e7eb;
  background: #eff6ff;
}

.leadership > p:not(.eyebrow) {
  max-width: 740px;
  margin: 24px 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.leadership a {
  color: #1d4ed8;
  font-weight: 700;
}

footer {
  color: #111827;
}

@media (max-width: 720px) {
  .hero,
  main,
  footer {
    width: min(100% - 28px, 1080px);
  }

  .hero {
    min-height: 0;
    padding-block: 84px;
  }

  .hero h1 {
    font-size: clamp(4rem, 26vw, 7rem);
  }

  .projects {
    padding-block: 80px;
  }

  .project-card {
    padding: 22px;
  }

  .project-intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .desktop-gallery,
  .maamule-gallery {
    grid-template-columns: 1fr;
  }

  .maamule-gallery .phone-frame {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .leadership {
    margin-bottom: 80px;
    padding: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.desktop-gallery,
.maamule-gallery {
  width: min(100%, 980px);
  margin-inline: auto;
}

.private-work {
  width: min(100%, 980px);
  margin: 140px auto 0;
  padding: 52px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.private-work .eyebrow {
  margin-bottom: 16px;
}

.private-work > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

footer {
  align-items: flex-start;
  padding-block: 40px 56px;
}

footer > div,
footer address {
  display: grid;
  gap: 8px;
}

footer address {
  font-style: normal;
  text-align: right;
}

footer a {
  color: #111827;
  font-weight: 400;
  text-decoration: none;
}

footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .private-work {
    margin-top: 96px;
    padding-block: 40px;
  }

  footer address {
    text-align: left;
  }
}

/* Refined editorial presentation */
.hero,
main,
footer {
  width: min(100% - 48px, 1320px);
}

.hero {
  min-height: 88vh;
  padding-block: 120px;
}

.hero h1,
.section-heading h2,
.project-intro h3,
.leadership h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button {
  min-height: 50px;
  padding-inline: 24px;
}

.projects {
  padding-block: 140px;
}

.section-heading {
  margin-bottom: 100px;
}

.project-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.project-card + .project-card {
  margin-top: 160px;
  padding-top: 140px;
  border-top: 1px solid #e5e7eb;
}

.project-intro {
  max-width: 900px;
  grid-template-columns: 56px 1fr;
  margin-bottom: 64px;
}

.project-intro h3 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.project-intro div > p {
  max-width: 700px;
  margin-top: 24px;
}

.desktop-gallery,
.maamule-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 96px;
}

.desktop-gallery figure,
.maamule-gallery figure,
.desktop-gallery .phone-frame,
.maamule-gallery .phone-frame,
.report-frame {
  width: 100%;
  border: 0;
  background: transparent;
}

.desktop-gallery img,
.report-frame img {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.maamule-gallery .phone-frame {
  padding-top: 72px;
  background: #eff6ff;
}

.maamule-gallery .phone-frame img {
  width: min(100% - 48px, 440px);
  margin-inline: auto;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.desktop-gallery figcaption,
.maamule-gallery figcaption {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0 0;
  border: 0;
  color: #111827;
  letter-spacing: 0;
  text-transform: none;
}

.maamule-gallery .phone-frame figcaption {
  margin-top: 72px;
  padding: 28px;
  background: #f8fafc;
}

.desktop-gallery figcaption strong,
.maamule-gallery figcaption strong {
  color: #1d4ed8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.desktop-gallery figcaption span,
.maamule-gallery figcaption span {
  max-width: 680px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.roles,
.code-example {
  width: min(100%, 860px);
  margin-inline: auto;
}

.roles {
  margin-block: 120px 48px;
  padding: 36px;
}

.code-example {
  margin-bottom: 0;
}

.leadership {
  margin-bottom: 140px;
  padding: 72px;
}

@media (max-width: 720px) {
  .hero,
  main,
  footer {
    width: min(100% - 28px, 1320px);
  }

  .hero {
    min-height: 78vh;
    padding-block: 88px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 26vw, 7rem);
  }

  .projects {
    padding-block: 96px;
  }

  .section-heading {
    margin-bottom: 72px;
  }

  .project-card + .project-card {
    margin-top: 104px;
    padding-top: 88px;
  }

  .project-intro {
    grid-template-columns: 1fr;
    margin-bottom: 44px;
  }

  .desktop-gallery,
  .maamule-gallery {
    gap: 64px;
  }

  .desktop-gallery figcaption,
  .maamule-gallery figcaption {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .maamule-gallery .phone-frame {
    padding-top: 36px;
  }

  .maamule-gallery .phone-frame figcaption {
    margin-top: 36px;
    padding: 22px 14px;
  }

  .roles {
    margin-top: 80px;
  }

  .leadership {
    margin-bottom: 96px;
    padding: 32px 24px;
  }
}

.desktop-gallery {
  width: min(100%, 800px);
}

.maamule-gallery {
  width: min(100%, 680px);
}

.maamule-gallery .phone-frame,
.maamule-gallery .report-frame {
  width: min(100%, 620px);
  margin-inline: auto;
}

.maamule-gallery .phone-frame img {
  width: min(100% - 48px, 360px);
}

.hero {
  align-items: center;
  text-align: center;
}

.hero h1 {
  width: 100%;
  padding-block: 22px 28px;
  border-top: 2px dotted #2563eb;
  border-bottom: 2px dotted #2563eb;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
}

.hero-copy {
  margin-inline: auto;
}

.hero-actions {
  justify-content: center;
}

.section-heading,
.project-intro,
.leadership {
  text-align: center;
}

.section-heading::after {
  display: block;
  width: 72px;
  margin: 30px auto 0;
  border-bottom: 3px dotted #2563eb;
  content: "";
}

.project-intro {
  display: block;
  margin-inline: auto;
}

.project-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  border: 2px dotted #2563eb;
  border-radius: 50%;
}

.project-intro div > p,
.leadership > p:not(.eyebrow) {
  margin-inline: auto;
}

.leadership .eyebrow::before,
.leadership .eyebrow::after {
  color: #2563eb;
  content: "· · ·";
}

.leadership .eyebrow::before {
  margin-right: 12px;
}

.leadership .eyebrow::after {
  margin-left: 12px;
}

footer {
  align-items: center;
  text-align: center;
}

footer address {
  text-align: center;
}

@media (max-width: 720px) {
  .hero h1 {
    padding-block: 18px 22px;
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  footer,
  footer address {
    align-items: flex-start;
    text-align: left;
  }
}

.hero-contact {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto 0;
  border: 1px dotted #2563eb;
  background: #ffffff;
  font-size: 0.82rem;
  font-style: normal;
}

.hero-contact a {
  padding: 11px 16px;
  color: #111827;
  text-decoration: none;
}

.hero-contact a + a {
  border-left: 1px dotted #2563eb;
}

.hero-contact a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

@media (max-width: 620px) {
  .hero-contact {
    display: grid;
    width: min(100%, 340px);
  }

  .hero-contact a + a {
    border-top: 1px dotted #2563eb;
    border-left: 0;
  }
}
