/* SCROOM Web制作 — shared-site extension */

.web-page {
  background: var(--paper);
}

.web-breadcrumb {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.web-breadcrumb a {
  color: var(--blue);
}

.web-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.web-hero {
  position: relative;
  overflow: hidden;
  padding-block: 82px 96px;
  color: white;
  background:
    radial-gradient(circle at 82% 16%, rgba(37, 99, 170, .36), transparent 33%),
    radial-gradient(circle at 8% 92%, rgba(169, 67, 0, .26), transparent 30%),
    var(--ink-deep);
}

.web-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 78%, transparent);
}

.web-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 7vw, 96px);
}

.web-hero-copy h1 {
  margin: 15px 0 22px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.28;
  letter-spacing: -.055em;
}

.web-hero-copy h1 .web-hero-accent {
  color: #ffb05f;
}

.web-nowrap {
  color: inherit;
  white-space: nowrap;
}

.web-hero-lead {
  max-width: 650px;
  margin: 0;
  color: #e7edf5;
  font-size: 18px;
  line-height: 1.9;
}

.web-hero-copy .button-ghost {
  border-color: rgba(255,255,255,.62);
}

.web-hero-note {
  margin: 15px 0 0;
  color: #bdc9d9;
  font-size: 13px;
  font-weight: 700;
}

.web-hero-visual {
  position: relative;
  padding: 22px 0 44px;
}

.web-browser-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.95);
  border-radius: 20px;
  background: white;
  box-shadow: 0 34px 80px rgba(0,0,0,.42);
  transform: rotate(1.2deg);
}

.web-browser-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding-inline: 10px;
  color: #718096;
  background: #edf1f6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.web-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a94300;
}

.web-browser-bar span:nth-child(2) { background: #e6a23c; }
.web-browser-bar span:nth-child(3) { background: #36a36d; }
.web-browser-bar b { margin-left: 7px; font-weight: 700; }

.web-browser-image {
  overflow: hidden;
  aspect-ratio: 1.56;
  background: #101625;
}

.web-browser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.web-visual-tag {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 180px;
  padding: 13px 16px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  line-height: 1.45;
}

.web-visual-tag b { font-size: 14px; }
.web-visual-tag span { color: var(--muted); font-size: 11px; font-weight: 700; }
.web-visual-tag-one { right: -25px; bottom: 5px; }
.web-visual-tag-two { bottom: -18px; left: -24px; }

.web-trust-strip {
  color: white;
  background: var(--blue);
}

.web-trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.web-trust-strip span {
  position: relative;
  padding: 17px 12px 17px 30px;
  border-right: 1px solid rgba(255,255,255,.24);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.web-trust-strip span:first-child { border-left: 1px solid rgba(255,255,255,.24); }
.web-trust-strip span::before { content: "✓"; margin-right: 7px; color: #ffd166; }

.web-choice-section {
  background: linear-gradient(180deg, white, #fbfcfe);
}

.web-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.web-choice-grid article {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(24,38,58,.06);
}

.web-choice-grid article > b {
  position: absolute;
  top: 5px;
  right: 18px;
  color: #edf2f8;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.08em;
}

.web-card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 42px;
  place-items: center;
  color: var(--orange-dark);
  border: 1px solid #f0d5b6;
  border-radius: 16px;
  background: var(--warm);
}

.web-card-icon svg { width: 28px; height: 28px; }
.web-choice-grid h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.5; }
.web-choice-grid p { margin: 0; color: var(--muted); font-size: 15px; }

.web-works-section {
  background: #f2f5f9;
}

.web-live-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.web-live-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 38px rgba(24,38,58,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.web-live-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.web-live-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.65;
  background: #dce3ec;
}

.web-live-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.web-live-card:hover .web-live-image img { transform: scale(1.035); }

.web-live-image > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  color: #533100;
  border: 1px solid rgba(83,49,0,.12);
  border-radius: 999px;
  background: #ffd166;
  font-size: 12px;
  font-weight: 900;
}

.web-live-card > div:last-child { padding: 25px 28px 29px; }
.web-live-card small { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .05em; }
.web-live-card h3 { margin: 6px 0 9px; font-size: 24px; }
.web-live-card p { min-height: 60px; margin: 0 0 15px; color: var(--muted); font-size: 15px; }
.web-live-card strong { color: var(--orange); font-size: 14px; }

.web-works-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 22px 26px;
  border: 1px solid #ccd7e4;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}

.web-works-action p { margin: 0; color: var(--muted); font-size: 15px; }

.web-case-story {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: end;
  margin-top: 24px;
  padding: 30px;
  border: 1px solid #bfcddd;
  background: white;
  box-shadow: 0 14px 36px rgba(24,38,58,.07);
}

.web-case-story small { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.web-case-story h3 { margin: 8px 0 22px; font-size: clamp(22px,2.4vw,29px); line-height: 1.5; }
.web-case-story__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; border: 1px solid #d7e0e9; border-radius: 12px; background: #d7e0e9; }
.web-case-story__step { position: relative; min-height: 155px; padding: 21px 18px 18px; background: #f7f9fc; }
.web-case-story__step b { display: block; margin-bottom: 9px; color: var(--ink); font-size: 13px; }
.web-case-story__step b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }
.web-case-story__step p { color: #536276; font-size: 13px; line-height: 1.75; }
.web-case-story > div > p { margin-top: 14px; font-size: 11px; line-height: 1.7; }
.web-case-story > .button { white-space: nowrap; }

.web-promise-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8eb, #fff 55%, #eef6ff);
}

.web-promise-section::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 430px;
  height: 430px;
  border: 75px solid rgba(255, 174, 79, .14);
  border-radius: 50%;
}

.web-promise-section .wrap {
  position: relative;
}

.web-promise-section .section-heading {
  max-width: 900px;
}

.web-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.web-promise-grid article {
  min-height: 245px;
  padding: 30px;
  border: 1px solid #ded6ca;
  border-radius: 19px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 15px 38px rgba(36, 47, 62, .08);
}

.web-promise-grid b {
  display: block;
  margin-bottom: 40px;
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
}

.web-promise-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.5;
}

.web-promise-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.web-promise-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 22px 25px;
  color: #f5f8fc;
  border-radius: 15px;
  background: var(--ink-deep);
}

.web-promise-note p {
  margin: 0;
  color: #d7e0eb;
  font-size: 13px;
  line-height: 1.8;
}

.web-promise-note b {
  color: white;
}

.web-promise-note .button {
  flex: none;
}

.web-method-section {
  background: white;
}

.web-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.web-method-grid article {
  min-height: 375px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 5px solid #9fb3c9;
  border-radius: 18px;
  background: white;
}

.web-method-grid article.featured {
  color: white;
  border-color: #2563aa;
  border-top-color: #ffd166;
  background: var(--blue);
  box-shadow: 0 20px 48px rgba(37,99,170,.2);
  transform: translateY(-9px);
}

.web-method-grid article > span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.web-method-grid article.featured > span { color: #ffd166; }
.web-method-grid h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.5; }
.web-method-grid p { min-height: 112px; margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.web-method-grid article.featured p { color: #edf5ff; }
.web-method-grid ul { display: grid; gap: 8px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.web-method-grid article.featured ul { border-color: rgba(255,255,255,.26); }
.web-method-grid li { font-size: 14px; font-weight: 800; }
.web-method-grid li::before { content: "●"; margin-right: 9px; color: var(--orange); font-size: 8px; }
.web-method-grid article.featured li::before { color: #ffd166; }

.web-price-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 12%, rgba(169,67,0,.27), transparent 28%),
    radial-gradient(circle at 85% 88%, rgba(37,99,170,.33), transparent 35%),
    var(--ink-deep);
}

.web-price-section::before {
  content: "PRICE";
  position: absolute;
  right: -20px;
  bottom: -50px;
  color: rgba(255,255,255,.035);
  font-size: clamp(130px, 22vw, 300px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}

.web-price-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

.web-price-copy h2 {
  margin: 10px 0 15px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.35;
  letter-spacing: -.045em;
}

.web-price-number {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 20px 0 13px;
  white-space: nowrap;
}

.web-price-number span {
  padding: 5px 9px;
  color: var(--ink-deep);
  border-radius: 5px;
  background: #ffd166;
  font-size: 13px;
  font-weight: 900;
}

.web-price-number strong {
  color: white;
  font-size: clamp(50px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -.055em;
}

.web-price-number b { color: #ffbd7c; font-size: 21px; }
.web-price-copy > p:not(.eyebrow) { margin: 0 0 25px; color: #cbd6e4; font-size: 15px; }

.web-price-panel {
  padding: 32px 35px;
  color: var(--ink);
  border-radius: 22px;
  background: white;
  box-shadow: 0 26px 66px rgba(0,0,0,.28);
}

.web-price-panel h3 { margin: 0 0 18px; font-size: 23px; }
.web-price-panel ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.web-price-panel li { display: grid; grid-template-columns: 165px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.web-price-panel li b { color: var(--blue); font-size: 14px; }
.web-price-panel li span { color: var(--muted); font-size: 13px; line-height: 1.65; }
.web-price-caution { margin: 17px 0 0; padding: 13px 15px; color: #72511d; border-radius: 10px; background: #fff7e8; font-size: 11px; line-height: 1.7; }

.web-flow-section { background: #f3f6fa; }
.web-flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: white; list-style: none; box-shadow: 0 12px 34px rgba(24,38,58,.06); }
.web-flow-grid li { position: relative; min-height: 225px; padding: 25px 22px; border-right: 1px solid var(--line); }
.web-flow-grid li:last-child { border-right: 0; }
.web-flow-grid li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 38px; right: -12px; display: grid; width: 24px; height: 24px; place-items: center; color: white; border-radius: 50%; background: var(--blue); font-size: 12px; font-weight: 900; }
.web-flow-grid b { display: block; margin-bottom: 38px; color: var(--orange); font-size: 35px; line-height: 1; }
.web-flow-grid h3 { margin: 0 0 8px; font-size: 19px; }
.web-flow-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.web-owner-section { background: white; }
.web-owner-grid { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; align-items: center; gap: clamp(48px, 8vw, 100px); }
.web-owner-photo { position: relative; width: min(100%, 390px); padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: #f4f7fb; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.web-owner-photo::before { content: ""; position: absolute; z-index: -1; inset: 24px -18px -18px 28px; border-radius: 24px; background: #dbeafa; transform: rotate(3deg); }
.web-owner-photo img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center top; border-radius: 15px; }
.web-owner-photo > span { position: absolute; right: -26px; bottom: 23px; padding: 11px 17px; color: white; border-radius: 10px; background: var(--ink-deep); box-shadow: 0 14px 30px rgba(14,23,40,.3); font-size: 12px; line-height: 1.55; }
.web-owner-photo > span b { color: #ffb05f; font-size: 16px; }
.web-owner-grid h2 { margin: 9px 0 15px; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.4; letter-spacing: -.04em; }
.web-owner-grid p { color: var(--muted); }
.web-owner-grid .lead-copy { color: var(--ink); font-size: 20px; font-weight: 800; }
.web-owner-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.web-owner-tags span { padding: 7px 11px; color: #174e83; border: 1px solid #cfe0f2; border-radius: 999px; background: #f1f7fd; font-size: 12px; font-weight: 900; }

.web-faq-section { background: #f3f6fa; }
.web-contact-section { background: var(--ink-deep); }

/* Portfolio */
.portfolio-page { background: #f3f6fa; }

.portfolio-hero {
  position: relative;
  overflow: hidden;
  padding-block: 76px 86px;
  color: white;
  background:
    radial-gradient(circle at 80% 10%, rgba(37,99,170,.4), transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(169,67,0,.25), transparent 30%),
    var(--ink-deep);
}

.portfolio-hero::after {
  content: "WORKS";
  position: absolute;
  right: -20px;
  bottom: -60px;
  color: rgba(255,255,255,.045);
  font-size: clamp(150px, 26vw, 340px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.09em;
}

.portfolio-hero-inner { position: relative; z-index: 1; max-width: 850px; }
.portfolio-hero h1 { margin: 11px 0 17px; font-size: clamp(42px, 5.7vw, 68px); line-height: 1.28; letter-spacing: -.055em; }
.portfolio-hero h1 span { color: #ffb05f; }
.portfolio-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: #d9e3ef; font-size: 17px; }
.portfolio-legend { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.portfolio-legend span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 12px; font-weight: 900; }
.portfolio-legend span:first-child { color: #533100; border-color: #ffd166; background: #ffd166; }

.portfolio-section { padding-block: 90px 110px; }
.portfolio-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.portfolio-intro .section-heading { margin-bottom: 0; }
.portfolio-note { max-width: 330px; margin: 0; padding: 14px 16px; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; background: white; font-size: 12px; line-height: 1.75; }

.portfolio-group-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}

.portfolio-group-heading > span {
  color: var(--orange);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.portfolio-group-heading small {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.portfolio-group-heading h2 {
  margin: 2px 0 0;
  font-size: 24px;
  line-height: 1.35;
}

.portfolio-demo-heading {
  margin-top: 75px;
}

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 12px 34px rgba(24,38,58,.07); transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.portfolio-card-image { position: relative; overflow: hidden; aspect-ratio: 1.55; background: #dce3ec; }
.portfolio-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.045); }
.portfolio-kind { position: absolute; top: 13px; left: 13px; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.portfolio-card.is-live .portfolio-kind { color: #533100; background: #ffd166; }
.portfolio-card.is-demo .portfolio-kind { color: #174e83; border: 1px solid #cfe0f2; background: #f1f7fd; }
.portfolio-open { position: absolute; right: 12px; bottom: 12px; display: grid; width: 40px; height: 40px; place-items: center; color: white; border-radius: 50%; background: rgba(14,23,40,.82); font-size: 16px; font-weight: 900; transition: transform .2s ease, background .2s ease; }
.portfolio-card:hover .portfolio-open { background: var(--orange); transform: rotate(-12deg); }
.portfolio-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 23px 25px; }
.portfolio-card-body small { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.portfolio-card-body h2 { margin: 6px 0 9px; font-size: 21px; line-height: 1.45; }
.portfolio-card-body p { margin: 0 0 17px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.portfolio-tags span { padding: 4px 7px; color: #536174; border: 1px solid var(--line); border-radius: 5px; background: #f7f9fb; font-size: 11px; font-weight: 800; }

.portfolio-cta { position: relative; overflow: hidden; padding-block: 82px; color: white; background: var(--blue); }
.portfolio-cta::before { content: ""; position: absolute; width: 460px; height: 460px; right: -160px; top: -210px; border: 80px solid rgba(255,255,255,.07); border-radius: 50%; }
.portfolio-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.portfolio-cta h2 { margin: 7px 0 12px; font-size: clamp(32px, 4vw, 46px); line-height: 1.4; }
.portfolio-cta p:not(.eyebrow) { max-width: 650px; margin: 0; color: #e5f0fc; }
.portfolio-cta .button-row { min-width: 270px; flex-direction: column; }
.portfolio-cta .button { width: 100%; }

@media (max-width: 1000px) {
  .web-hero-grid { grid-template-columns: 1fr; }
  .web-hero-copy { max-width: 780px; }
  .web-hero-visual { width: min(100%, 720px); margin-inline: auto; }
  .web-price-grid { grid-template-columns: 1fr; }
  .web-price-copy { max-width: 720px; }
  .web-method-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .web-method-grid article, .web-method-grid article.featured { min-height: 0; transform: none; }
  .web-method-grid p { min-height: 0; }
  .web-flow-grid { grid-template-columns: repeat(3, 1fr); }
  .web-flow-grid li:nth-child(3) { border-right: 0; }
  .web-flow-grid li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .web-flow-grid li:nth-child(3)::after { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .web-hero { padding-block: 62px 72px; }
  .web-hero-grid { gap: 34px; }
  .web-hero-copy h1 { font-size: clamp(36px, 9vw, 48px); }
  .web-hero-lead { font-size: 16px; }
  .web-visual-tag-one { right: 4px; }
  .web-visual-tag-two { left: 4px; }
  .web-trust-strip .wrap { width: 100%; grid-template-columns: 1fr 1fr; }
  .web-trust-strip span { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.22); font-size: 12px; }
  .web-choice-grid, .web-live-grid { grid-template-columns: 1fr; }
  .web-promise-grid { grid-template-columns: 1fr; }
  .web-promise-grid article { min-height: 0; }
  .web-promise-grid b { margin-bottom: 22px; }
  .web-promise-note { grid-template-columns: 1fr; }
  .web-promise-note .button { width: 100%; }
  .web-choice-grid article { min-height: 0; }
  .web-card-icon { margin-bottom: 30px; }
  .web-live-card p { min-height: 0; }
  .web-works-action { align-items: stretch; flex-direction: column; }
  .web-case-story { grid-template-columns: 1fr; padding: 24px; }
  .web-case-story__steps { grid-template-columns: 1fr; }
  .web-case-story__step { min-height: 0; }
  .web-case-story > .button { width: 100%; white-space: normal; }
  .web-price-panel li { grid-template-columns: 1fr; gap: 2px; }
  .web-owner-grid { grid-template-columns: 1fr; }
  .web-owner-photo { margin-inline: auto; }
  .web-flow-grid { grid-template-columns: 1fr 1fr; }
  .web-flow-grid li, .web-flow-grid li:nth-child(3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .web-flow-grid li:nth-child(even) { border-right: 0; }
  .web-flow-grid li:nth-child(3)::after { display: grid; }
  .web-flow-grid li:nth-child(even)::after { display: none; }
  .web-flow-grid li:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .portfolio-intro { align-items: stretch; flex-direction: column; }
  .portfolio-note { max-width: none; }
  .portfolio-cta-inner { align-items: stretch; flex-direction: column; gap: 24px; }
  .portfolio-cta .button-row { width: 100%; }
}

@media (max-width: 620px) {
  .web-breadcrumb { min-height: 48px; font-size: 11px; }
  .web-hero-copy h1 { font-size: clamp(33px, 10vw, 41px); line-height: 1.38; }
  .web-hero-copy h1 br { display: none; }
  .web-hero-copy h1 .web-hero-accent { display: block; }
  .web-hero-visual { padding-bottom: 76px; }
  .web-browser-card { border-width: 5px; border-radius: 14px; transform: none; }
  .web-browser-bar { height: 30px; }
  .web-visual-tag { min-width: 155px; padding: 10px 12px; }
  .web-visual-tag-one { right: 0; bottom: 25px; }
  .web-visual-tag-two { bottom: -24px; left: 0; }
  .web-trust-strip span { display: grid; place-items: center; line-height: 1.45; }
  .web-trust-strip span::before { margin: 0 0 2px; }
  .web-choice-grid article, .web-price-panel { padding: 23px; }
  .web-live-card > div:last-child { padding: 22px; }
  .web-price-number { gap: 5px; }
  .web-price-number strong { font-size: clamp(44px, 14vw, 58px); }
  .web-price-number b { font-size: 17px; }
  .web-flow-grid { grid-template-columns: 1fr; }
  .web-flow-grid li, .web-flow-grid li:nth-child(3), .web-flow-grid li:nth-child(even) { display: grid; min-height: 0; grid-template-columns: 54px 1fr; gap: 6px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .web-flow-grid li::after, .web-flow-grid li:nth-child(3)::after { display: none; }
  .web-flow-grid b { grid-row: 1 / 3; margin: 0; font-size: 30px; }
  .web-flow-grid h3 { margin: 0; }
  .web-owner-photo { width: min(90%, 350px); }
  .web-owner-photo > span { right: -12px; bottom: 15px; }
  .portfolio-hero { padding-block: 58px 66px; }
  .portfolio-hero h1 { font-size: clamp(35px, 10vw, 43px); }
  .portfolio-section { padding-block: 70px 82px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-live-grid { grid-template-columns: 1fr; }
  .portfolio-demo-heading { margin-top: 58px; }
  .portfolio-card-body { padding: 20px; }
  .portfolio-cta { padding-block: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  .web-browser-card,
  .web-live-card,
  .portfolio-card,
  .web-method-grid article.featured,
  .web-owner-photo {
    transform: none !important;
  }
}
