@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");
@font-face {
  font-family: "Groillim";
  src: url("./Groillim.otf") format("opentype");
  font-weight: 400;
}
:root {
  --ink: #102030;
  --accent: #e95044;
  --paper: #fffaf4;
  --peach: #ffe8e1;
  --cream: #f7e9d3;
  --green: #064c30;
  --muted: #66717b;
  --border: #d8dce0;
  --radius: 20px;
  --shadow: 6px 6px 0 var(--ink);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
.navbar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.nav-shell,
.hero-shell,
.portfolio-shell,
.section-shell,
.availability-shell,
.footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}
.nav-shell,
.brand,
.nav-links,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}
.nav-shell {
  justify-content: space-between;
  gap: 24px;
}
.brand {
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}
.nav-links {
  gap: 8px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: #edf0f2;
}
.hamburger {
  display: none;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hero {
  padding: clamp(64px, 9vw, 120px) 24px;
}
.hero-shell {
  display: block;
}
.hero-header {
  max-width: 1120px;
  margin: 0 auto clamp(44px, 7vw, 76px);
  text-align: center;
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.eyebrow,
.portfolio-category {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.availability-section h2 {
  font-family: "Groillim", "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 0.95;
}
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(58px, 8vw, 108px);
}
.hero-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.proof-grid > div {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.proof-grid strong {
  font-size: 20px;
}
.proof-grid span {
  color: var(--muted);
  font-size: 12px;
}
.button,
.cta-button {
  display: inline-block;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary {
  color: #fff;
  background: var(--ink);
}
.button-secondary {
  background: transparent;
}
.inquiry-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--peach);
  box-shadow: var(--shadow);
}
.form-heading h2 {
  margin: 8px 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}
.form-heading > p:last-child,
.form-note {
  color: var(--muted);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.inquiry-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c8aaa2;
  border-radius: 9px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}
.inquiry-form textarea {
  resize: vertical;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(233, 80, 68, 0.18);
}
.form-submit {
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.form-submit:disabled {
  cursor: progress;
  opacity: 0.6;
}
.form-hp {
  display: none;
}
.form-status {
  padding: 11px 14px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: rgba(6, 76, 48, 0.08);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.form-status--error {
  border-color: var(--accent);
  background: rgba(233, 80, 68, 0.1);
  color: var(--accent);
}
.form-note {
  font-size: 12px;
  text-align: center;
}
.portfolio-section,
.expertise-section,
.process-section,
.faq-section,
.contact-section,
.availability-section {
  padding: clamp(72px, 9vw, 120px) 24px;
}
.expertise-section {
  background: white;
}
.expertise-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.expertise-card,
.benefits-grid > div {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
}
.expertise-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}
.expertise-card p,
.benefits-grid p {
  color: var(--muted);
}
.benefits-heading {
  max-width: 720px;
  margin: clamp(64px, 8vw, 100px) 0 34px;
}
.benefits-heading h2 {
  margin-top: 12px;
  font-family: "Groillim", "Open Sans", sans-serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  line-height: 1;
}
.benefits-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}
.portfolio-section {
  background: var(--accent);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 68px);
}
.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(52px, 7vw, 88px);
}
.section-heading > p {
  max-width: 520px;
  font-size: 18px;
}
.portfolio-section .eyebrow,
.portfolio-category {
  color: var(--ink);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-card {
  min-width: 0;
  height: 380px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.portfolio-open {
  display: grid;
  width: 100%;
  border: 0;
  color: white;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.portfolio-open > * {
  grid-area: 1 / 1;
}
.portfolio-open picture,
.dialog-gallery picture {
  display: block;
}
.portfolio-open img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.portfolio-open > span {
  display: flex;
  align-self: end;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 48px 18px 18px;
  background: linear-gradient(transparent, rgba(16, 32, 48, 0.94));
}
.portfolio-open strong {
  font-size: 18px;
  line-height: 1.25;
}
.portfolio-open small {
  flex: 0 0 auto;
  font-weight: 700;
}
.portfolio-open:hover img,
.portfolio-open:focus-visible img {
  filter: brightness(0.82);
}
.project-dialog {
  width: min(1760px, 96vw);
  max-width: none;
  height: 94vh;
  max-height: none;
  margin: auto;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: white;
}
.project-dialog::backdrop {
  background: rgba(8, 16, 24, 0.72);
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: sticky;
  z-index: 2;
  top: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 18px 18px -60px auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.dialog-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(34px, 5vw, 72px);
}
.dialog-info {
  position: sticky;
  top: 72px;
  align-self: start;
}
.dialog-info h3 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}
.dialog-info h4 {
  margin: 34px 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.dialog-info > p:not(.portfolio-role) {
  color: #34414b;
}
.portfolio-role {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.project-case-link {
  margin-top: 24px;
}
.dialog-gallery {
  display: grid;
  gap: 24px;
}
.dialog-gallery img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
}
body.dialog-open {
  overflow: hidden;
}
.portfolio-tags,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.portfolio-tags {
  padding-top: 4px;
}
.portfolio-tags span,
.service-list span {
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.process-section {
  color: #fff;
  background: var(--ink);
}
.process-section .section-heading > p {
  color: #c9d0d6;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.process-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #41505e;
  border-radius: var(--radius);
  background: #172b3d;
}
.process-card > span {
  color: #ff9d93;
  font-size: 14px;
  font-weight: 700;
}
.process-card h3,
.contact-card h3 {
  margin: 18px 0 14px;
  font-size: 30px;
}
.process-card p {
  color: #c9d0d6;
}
.faq-section {
  background: white;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  max-width: 850px;
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 17px;
}.contact-section {
  background: var(--peach);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.contact-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #d8bdb5;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
}
.contact-card h3 {
  margin-top: 0;
}
.contact-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #d8bdb5;
}
.contact-list > div:last-child {
  border-bottom: 0;
}
.contact-list dt {
  color: var(--muted);
  font-weight: 700;
}
.contact-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
.service-list {
  align-content: flex-start;
}
.availability-section {
  color: #fff;
  text-align: center;
  background: var(--green);
}
.availability-shell {
  max-width: 850px;
}
.availability-section .eyebrow {
  color: #ffb5ae;
}
.availability-section h2 {
  margin: 18px 0 24px;
  font-size: clamp(52px, 8vw, 96px);
}
.availability-section > div > p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  color: #d8e7df;
  font-size: 19px;
}
.cta-button {
  margin-top: 32px;
  border-color: #fff;
  color: var(--green);
  background: #fff;
}
.footer {
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  color: var(--muted);
  font-size: 14px;
}
.footer a {
  font-weight: 700;
}
@media (max-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .hero-body,
  .section-heading {
    grid-template-columns: 1fr;
  }
  .project-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }
  .dialog-info {
    position: static;
  }
}
@media (max-width: 680px) {
  .hamburger {
    display: block;
  }
  .nav-shell {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.active {
    display: flex;
  }
  .portfolio-grid,
  .expertise-grid,
  .benefits-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 440px) {
  .navbar,
  .hero,
  .portfolio-section,
  .expertise-section,
  .process-section,
  .faq-section,
  .contact-section,
  .availability-section {
    padding-inline: 16px;
  }
  .brand span {
    display: none;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .button {
    text-align: center;
  }
  .portfolio-card {
    border-radius: 15px;
    box-shadow: 4px 4px 0 var(--ink);
  }
}
